Commit graph

104 commits

Author SHA1 Message Date
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
9782ef77f6 Update copyright years 2023-05-29 18:20:00 -04:00
9a0bf87e7b Bump root version to v4
Remove all files from v3

Move all files from v4/ to project root
2023-05-29 18:19:31 -04:00
3c0d45fa04 Merge pull request 'Ajouter license manquante à v4' (#7) from fix/missing-license into main
Reviewed-on: #7
2023-05-29 16:40:07 -05:00
c421c86f21 Ajouter license manquante à v4 2023-05-29 17:39:36 -04:00
be183055c8 Merge pull request 'Ajouter style basique pour client web' (#6) from style/web into main
Reviewed-on: #6
2023-05-26 01:10:33 -05:00
2d3b291e9b Ajouter style basique pour client web 2023-05-26 02:09:18 -04:00
fa71f729f2 Merge pull request 'Fix client web démarre sans API server accessible' (#5) from fix/web-without-api into main
Reviewed-on: #5
2023-05-26 00:45:48 -05:00
942b69407d Fix client web démarre sans API server accessible
Ajouter apiClient.GetV4() comme health check du API server
2023-05-26 01:43:58 -04:00
3e42ac0454 Merge pull request 'Réécrire le projet pour la v4' (#4) from breaking/v4 into main
Reviewed-on: #4
2023-05-25 22:31:14 -05:00
7887be1838 Mettre à jour README.md 2023-05-25 23:29:54 -04:00
801df2c522 Retirer commentaires 2023-05-25 23:20:50 -04:00
97ee9458bb Fix typo 2023-05-25 23:19:35 -04:00
641a144019 Ajouter autofocus sur text input 2023-05-25 23:15:57 -04:00
7aca281a3c Ajouter multistage build docker
Valeurs par défaut devraient fonctionner pour évaluer l'application hors-production
2023-05-25 23:03:28 -04:00
e585b65565 Permettre au client web de rechercher unE membre 2023-05-25 22:07:53 -04:00
719c92a652 Remove debug prints 2023-05-25 19:26:37 -04:00
3aa7faa2f6 [WIP] Add web client
Ignore .swp files

Rename serverCmd to apiCmd (the web client is technically a server too)

Add webCmd for html routes hosting

Add embedding and templating for web client

Add webhandlers

Fix some variables not being filled automatically by viper

Change flags and reorganize config structure
2023-05-25 19:22:46 -04:00
3e37e8ffef Améliorer insert error management 2023-05-25 05:03:46 -04:00
ef4e9f7050 Set sensible flags pour server 2023-05-25 04:44:06 -04:00
9e7a8b3e46 Trier déclarations de routes 2023-05-25 04:40:13 -04:00
1a8fce6361 Ignore fichiers .env 2023-05-25 04:35:00 -04:00
Victor Lacasse-Beaudoin
b9044fa08d Ajouter update de membre.prefered_name 2023-05-25 04:31:29 -04:00