|
|
8c277ef692
|
chore(server): bump generated api
|
2024-06-05 10:15:31 +02:00 |
|
|
|
69b60032f9
|
chore(deps): bump oapi-codegen/fiber-middleware
|
2024-06-05 10:14:38 +02:00 |
|
|
|
716b7a67da
|
test(server): add tests for training date attendee
|
2024-05-19 10:08:02 +02:00 |
|
|
|
21480e9242
|
fix(server): list training date attendees returns correct object
|
2024-05-19 10:07:22 +02:00 |
|
|
|
e4992b4352
|
test(server): add test for adding training date attendee
|
2024-05-15 00:17:18 +02:00 |
|
|
|
ee51874892
|
chore(server): test name fix
|
2024-05-14 23:43:20 +02:00 |
|
|
|
32874f9748
|
test(server): add tests for /upcoming-dates endpoints
|
2024-05-14 21:52:25 +02:00 |
|
|
|
e2fc77f767
|
test(server): add tests for trainingDate resources
|
2024-05-13 22:21:46 +02:00 |
|
|
|
d62a942b41
|
refactor(server): trainingDate.date using oapi-codegen type date instead of time.Time
|
2024-05-13 22:21:06 +02:00 |
|
|
|
6f360d9a5d
|
chore(server): bump api.gen.go
|
2024-05-13 22:20:16 +02:00 |
|
|
|
35a0035fdc
|
refactor(api): trainingDate.date is using oapi-codegen date type instead of time.Time
|
2024-05-13 22:19:27 +02:00 |
|
|
|
62e1ec30b9
|
fix(api): NewTrainingDate schema no longer has required parameter trainingID (infered from URL instead)
|
2024-05-13 21:31:12 +02:00 |
|
|
|
f5e632a46f
|
feat: add endpoints to update payment and attendance status of training date attendee
|
2024-05-13 12:55:13 +02:00 |
|
|
|
140ec493bf
|
chore: add .gitignore
|
2024-05-13 07:30:32 +02:00 |
|
|
|
51c8cad1f0
|
ci: cache go dependencies for tests
|
2024-05-12 23:37:10 +02:00 |
|
|
|
79632c409a
|
test(server): add tests for updating, deleteing and listing trainings
|
2024-05-12 23:34:25 +02:00 |
|
|
|
81c265252f
|
feat(server): implement api changes
- 404 response
- price amount as string instead of number
|
2024-05-12 23:33:44 +02:00 |
|
|
|
4c5e7c1d2f
|
chore(server): bump generated code
|
2024-05-12 23:33:25 +02:00 |
|
|
|
17b3c30b51
|
fix(api): add 404 response to creating attendee
|
2024-05-12 23:32:31 +02:00 |
|
|
|
bb0267015c
|
refactor(api): money amount is string, not number
|
2024-05-12 23:31:54 +02:00 |
|
|
|
103241182e
|
test: add tests for training endpoints
|
2024-05-12 22:59:04 +02:00 |
|
|
|
9800573814
|
ci: generate code coverage while running tests
|
2024-05-12 22:21:47 +02:00 |
|
|
|
e8cc1e03fe
|
ci: remove semver-tag and release jobs, we are not there yet
|
2024-05-12 22:17:47 +02:00 |
|
|
|
e69ffa6f37
|
ci: add test stage to run tests
|
2024-05-12 22:15:49 +02:00 |
|
|
|
05deed2452
|
refactor(server): testing server
|
2024-05-12 22:15:23 +02:00 |
|
|
|
8fd2dffcb9
|
ci: run tagging and releasing only on 'release' branch
|
2024-05-12 15:07:20 +02:00 |
|
|
|
c3cc6749a5
|
ci: fixing wrong job name in needs
|
2024-05-12 12:09:05 +02:00 |
|
|
|
d634a376bb
|
ci: add find next semver tag and use to to create gitlab release and tag too
|
2024-05-12 12:06:27 +02:00 |
|
|
|
38812ec489
|
ci: add docker manifest inspect after build is done
|
2024-05-12 11:25:33 +02:00 |
|
|
|
4ff2563fa7
|
ci: add --provenance=false to docker buildx build
|
2024-05-12 11:21:40 +02:00 |
|
|
|
2208f60f21
|
ci: use docker buildx for multiarch
|
2024-05-12 08:14:42 +02:00 |
|
|
|
9013cd548c
|
build(Dockerfile): build multiarch image
|
2024-05-12 08:14:15 +02:00 |
|
|
|
65bd079691
|
feat(server): return TrainingDateAttendee data on GET, POST and PUT
|
2024-05-11 20:30:50 +02:00 |
|
|
|
67f015ec97
|
feat(api): TrainingDateAttendee: bill, hasPaid, hasAttended are not present when creating attendee
|
2024-05-11 20:30:21 +02:00 |
|
|
|
2650d412fb
|
chore(deps): bump deps
|
2024-05-11 20:28:28 +02:00 |
|
|
|
040609b80d
|
fix(server): use errors.Is() for error comparison
|
2024-05-11 20:25:04 +02:00 |
|
|
|
4a58dc3a81
|
feat(server): implement new api handlers for TrainingDateAttendees
|
2024-05-07 22:07:30 +02:00 |
|
|
|
ab4c27739e
|
chore(api): bump generated api code
|
2024-05-07 22:06:50 +02:00 |
|
|
|
c9c47fbcbf
|
feat(api): add routes for handling training date attendees
|
2024-05-07 22:06:14 +02:00 |
|
|
|
1fe2867b05
|
feat(training): add repository interface and InMemory repository for TrainingDateAttendee
|
2024-05-07 22:05:20 +02:00 |
|
|
|
96eec62a5d
|
feat(training): add model for TrainingDateAttendee
|
2024-05-07 22:04:30 +02:00 |
|
|
|
fc9e9d4b1f
|
fix(main): server var name change to srv, so it does not collide with an imported package
|
2024-05-07 22:02:34 +02:00 |
|
|
|
ef1526a1ac
|
refactor: move currency to money package and add new type Price, refactor api and use price there too
|
2024-05-05 18:19:56 +02:00 |
|
|
|
18d1c98b76
|
refactor: move testing data to custom package faker (interna/faker)
|
2024-05-05 17:51:48 +02:00 |
|
|
|
bd135bcfe6
|
refactor(training): remove FindAllUpcoming() method from TrainingDateRepository and its implementations
|
2024-05-05 17:50:47 +02:00 |
|
|
|
715ce009b1
|
refactor: /v1/trainings/upcoming-dates sends response with trainingID and list of dates together
|
2024-05-05 17:49:29 +02:00 |
|
|
|
401cc5330e
|
feat(server): bump generated api code and implement upcoming training date handlers
|
2024-05-05 16:25:10 +02:00 |
|
|
|
97d6532f71
|
feat(api): add routes to get only upcoming training dates per training and general
|
2024-05-05 16:24:02 +02:00 |
|
|
|
606854d1d5
|
feat(training): TrainingDateRepository: add FindUpcomingByTrainingID() and FindAllUpcoming() methods
|
2024-05-05 16:22:55 +02:00 |
|
|
|
2dcaa4c646
|
feat(server): bump generated api and server implements handlers for new routes
|
2024-05-05 16:01:35 +02:00 |
|