|
|
ef8b2fac2f
|
build: move httpserver main.go to ./cmd/httpserver
|
2024-06-27 20:35:32 +02:00 |
|
|
|
0c9cbc9d7a
|
test(server): repeating slug in test caused race conditions: segfault: nil ptr dereference
|
2024-06-27 19:20:40 +02:00 |
|
|
|
f2bab62e08
|
test(server): check for returned vars being not empty on list trainings
|
2024-06-27 09:15:39 +02:00 |
|
|
|
7c4c42f1b2
|
fix(server): return slug when listing all trainings
|
2024-06-27 09:15:06 +02:00 |
|
|
|
36230f02e5
|
fix(server): do not overlay idx var
|
2024-06-27 09:14:59 +02:00 |
|
|
|
aee7cbc526
|
feat(server): implement training by slug endpoint
|
2024-06-27 09:14:15 +02:00 |
|
|
|
e0594892d5
|
feat(training): add Repository.FindBySlug() method
|
2024-06-27 09:08:04 +02:00 |
|
|
|
fe38dd6683
|
feat(api): add get training by slug endpoint
|
2024-06-27 09:06:43 +02:00 |
|
|
|
6c2da08375
|
fix(Makefile): moved migrations to db/migrations/ dir
|
2024-06-26 22:39:41 +02:00 |
|
|
|
91adc7f414
|
feat!(migrations): init migration has unique constraint on column slug
|
2024-06-26 22:38:57 +02:00 |
|
|
|
278c1ffd32
|
fix(migrations): rename table training.attendees
|
2024-06-26 22:38:32 +02:00 |
|
|
|
7500fcb3f5
|
chore(Makefile): add targets to build docker images
|
2024-06-26 22:28:26 +02:00 |
|
|
|
d1a3420390
|
refactor(migrations): move migrations to db/migrations dir
|
2024-06-26 22:28:05 +02:00 |
|
|
|
2d32c80182
|
feat!: add slug to training
BREAKING CHANGE: update init migration
|
2024-06-26 22:24:36 +02:00 |
|
|
|
556b4f4e79
|
style(migrations): lowecase for column names
|
2024-06-26 20:44:03 +02:00 |
|
|
|
6a38994190
|
chore(build): copy openapi.yaml file to the built image
|
2024-06-25 07:57:16 +02:00 |
|
|
|
daedf8af04
|
refactor(deploy): use external (hand-made) image pull secret
|
2024-06-25 07:33:35 +02:00 |
|
|
|
b0437179d0
|
fix(deploy): add explicit helm hook-delete-policy
|
2024-06-25 07:21:39 +02:00 |
|
|
|
72ae193d3c
|
refactor(deploy): use dns clusterissuer for certificates
|
2024-06-24 19:47:00 +02:00 |
|
|
|
9be1b5db3c
|
fix(deploy): ingress annotation for cert-manager.io/cluster-issuer=letsencrypt-production
|
2024-06-24 19:35:39 +02:00 |
|
|
|
b99b07b647
|
fix(deploy): rename image pull secret
|
2024-06-24 19:29:45 +02:00 |
|
|
|
d803ba643f
|
ci: add deploy stage and deploy to k8s staging environment
|
2024-06-24 19:04:20 +02:00 |
|
|
|
3ebc8f2637
|
ci: replace image for helm:test job, using ghcr.io/vojtechmares/toolkit
|
2024-06-24 10:01:27 +02:00 |
|
|
|
bb1a9403bb
|
feat: add helm chart for deployment to k8s
|
2024-06-24 08:44:41 +02:00 |
|
|
|
917376899c
|
ci: fix location of Dockerfiles: build/package/, not build/packageS/
|
2024-06-23 13:36:06 +02:00 |
|
|
|
92191814e4
|
ci: update location of Dockerfile and build image for migrations
|
2024-06-23 13:30:24 +02:00 |
|
|
|
4c7f1c2aec
|
build: move Dockerfile for httpserver to build/ dir
|
2024-06-23 13:30:06 +02:00 |
|
|
|
4814883454
|
build: create Dockerfile for migrations
|
2024-06-23 13:29:47 +02:00 |
|
|
|
c3795dba6a
|
refactor(training): use golang style of naming (do not repeat pacakge name in struct/func names)
|
2024-06-23 13:13:44 +02:00 |
|
|
|
e0f401f0a9
|
feat(Makefile): pretty test output with tparse
|
2024-06-23 13:13:21 +02:00 |
|
|
|
370531a9a5
|
refactor: use serial as id instead of uuid
|
2024-06-23 12:40:55 +02:00 |
|
|
|
18b033add1
|
chore(Makefile): add target to run tests
|
2024-06-23 10:57:02 +02:00 |
|
|
|
a9fd693da2
|
chore(deps): bump all deps
|
2024-06-23 10:38:51 +02:00 |
|
|
|
8aeef510a5
|
chore(.gitignore): move postgres_url to secrets/
|
2024-06-23 10:37:03 +02:00 |
|
|
|
ff7e320481
|
feat: add postgres repository for training
|
2024-06-23 10:35:38 +02:00 |
|
|
|
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 |
|