Commit graph

126 commits

Author SHA1 Message Date
Victor Lacasse-Beaudoin
5f4c95b1d4 Merge branch 'feature/apihandlers' 2023-09-18 22:59:12 -04:00
Victor Lacasse-Beaudoin
aa6f3479f6 Réutiliser *data.DataClient à travers API handlers 2023-09-18 22:55:40 -04:00
Victor Lacasse-Beaudoin
bf12cd123d Merge branch 'feature/voki' 2023-09-18 22:08:12 -04:00
Victor Lacasse-Beaudoin
b36d36d669 Update go.mod and go.sum 2023-09-18 22:07:41 -04:00
Victor Lacasse-Beaudoin
ad83bc081a Migrate webclient to voki and add webhandlers.Handler 2023-09-18 22:07:02 -04:00
Victor Lacasse-Beaudoin
6dff76d871 Move APIClient to voki 2023-09-18 22:06:26 -04:00
Victor Lacasse-Beaudoin
025f9d74ce Migrer responses à voki/response 2023-09-18 22:05:30 -04:00
Victor Lacasse-Beaudoin
eca6672746 Update golang et alpine 2023-09-18 22:04:54 -04:00
0b25ed6562 Merge pull request 'Permettre upload par CSV' (#36) from feature/csv-upload into main
Reviewed-on: #36
2023-09-05 17:05:26 -05:00
7b9ff49444 Permettre upload par CSV 2023-09-05 18:03:28 -04:00
4a4e35b76c Merge branch 'rework/get-health-response' into main 2023-09-05 16:31:36 -04:00
0f56348746 Implémenter Response dans GetHealthResponse 2023-09-05 16:30:15 -04:00
a13bb131f4 Merge branch 'refactor/post-responses' into main 2023-09-05 16:20:50 -04:00
59eeb7a38a Implémenter responses POST pour application/json 2023-09-05 16:15:40 -04:00
6faca0e708 Ajouter PostMembres et postProgrammes responses 2023-09-05 16:15:22 -04:00
93334871e9 Ajouter Response et Responder 2023-09-05 16:14:54 -04:00
93495d76e9 Merge pull request 'Seed() la base de données lors de apiCmd' (#30) from feature/autoseed into main
Reviewed-on: #30
2023-06-29 17:37:48 -05:00
47670ec979 Seed() la base de données lors de apiCmd 2023-06-29 18:36:13 -04:00
c7d88737b8 Merge pull request 'Créer les tables seulement si elles n'existent pas déjà' (#27) from fix/seed-if-not-exists into main
Reviewed-on: #27
2023-06-29 16:20:01 -05:00
2a391ae80d Créer les tables seulement si elles n'existent pas déjà 2023-06-29 17:18:38 -04:00
26c0af3ad7 Merge pull request 'Cleanup blocs de commentaires désuets' (#23) from cleanup/comments into main
Reviewed-on: #23
2023-06-08 19:06:24 -05:00
55f5ce96b8 Cleanup blocs de commentaires désuets 2023-06-08 20:05:05 -04:00
ecb30b2d9b Merge pull request 'Defer DB.Close() sur chaque DataClient' (#22) from fix/defer-dataclient-close into main
Reviewed-on: #22
2023-06-08 18:48:56 -05:00
3870ef42dd Defer DB.Close() sur chaque DataClient 2023-06-08 19:47:25 -04:00
e492e82960 Merge pull request 'Simplifier dataclient dans insert handler' (#21) from fix/insert-dataclientfromviper into main
Reviewed-on: #21
2023-06-03 18:34:33 -05:00
1ca4670375 Simplifier dataclient dans insert handler 2023-06-03 19:33:56 -04:00
58de9758a7 Merge pull request 'Remettre license à v4' (#20) from fix/v4-license into main
Reviewed-on: #20
2023-06-03 18:22:46 -05:00
bcdbe4bd17 Remettre license à v4 2023-06-03 19:22:17 -04:00
d81b1ac84b Merge pull request 'Remettre barebones v4' (#19) from retract/v4 into main
Reviewed-on: #19
2023-06-03 18:20:28 -05:00
4327176d44 Remettre barebones v4 2023-06-03 19:19:50 -04:00
73a4225454 Merge pull request 'Pointer subfolders vers agecem/bottin/v5' (#18) from fix/v5-subpackages into main
Reviewed-on: #18
2023-06-02 16:47:27 -05:00
382ba09850 Pointer subfolders vers agecem/bottin/v5 2023-06-02 17:46:57 -04:00
74c31f9e32 Merge pull request 'Bump go.mod à v5' (#17) from fix/bump-mod-v5 into main
Reviewed-on: #17
2023-06-02 16:40:11 -05:00
3f8074b237 Bump go.mod à v5 2023-06-02 17:38:42 -04:00
77b62ebad6 Merge pull request '[DOCS] Retirer références à /v4 de README.md' (#16) from docs/update-readme-v5 into main
Reviewed-on: #16
2023-06-02 15:43:07 -05:00
607165a021 Retirer références à /v4 de README.md 2023-06-02 16:42:29 -04:00
5cfbf696bd Merge pull request 'Officiellement migrer à /v5' (#15) from bump/v5 into main
Reviewed-on: #15
2023-06-02 15:40:44 -05:00
b45c074a12 Ajouter responses/ à build step 2023-06-02 16:36:08 -04:00
764093f99d Bump routes v4 -> v5
Remplacer références GetV4 -> GetHealth

Ajouter package responses

Remplacer handlers.GetHealthResponse -> responses.GetHealth
2023-06-02 16:33:13 -04:00
9ac95672b9 Fix ApiClient.GetHealth
Utiliser type handlers.GetHealthResponse

Pointer vers route /v4/health
2023-06-02 16:21:14 -04:00
883edccf87 Cleanup dataclient pour cmd/api
Utiliser NewDataClientFromViper
2023-06-02 16:16:18 -04:00
412727bf9c Fix local imports 2023-06-02 16:08:08 -04:00
b6d3949a11 Merge pull request '[BREAKING] Déplacer route /v4 vers /v4/health' (#12) from breaking/v4-to-health into main
Reviewed-on: #12
2023-06-02 02:20:12 -05:00
7823541f0e Ajouter ping de database à healthcheck 2023-06-02 03:17:43 -04:00
b4af26d3dd Fix /v4/health 2023-06-02 03:17:40 -04:00
6d010c5009 Cleanup webhandlers.GetMembre
Remplacer data.NewApiClient() -> data.NewApiClientFromViper()

Cleanup comments
2023-06-02 02:46:08 -04:00
80a0260021 Ajouter data.NewDataClientFromViper() 2023-06-02 02:44:11 -04:00
4673612e06 Ajouter data.NewApiClientFromViper() 2023-06-02 02:43:37 -04:00
098d255190 Déplacer /v4 -> /v4/health
Renommer handler GetV4 pour GetHealth

Ajouter GetHealthResponse pour serialize et deserialize json response
2023-06-02 02:35:15 -04:00
23d6507a96 Merge pull request 'Merge v4 with root of project' (#8) from breaking/merge-v3-v4 into main
Reviewed-on: #8
2023-05-29 17:20:46 -05:00