Commit graph

244 commits

Author SHA1 Message Date
4cc879ddbc Merge pull request 'Ajouter de l'injection de dépendance à handlers API' (#145) from refactor/api-v1-handler-dependency-injection into main
Reviewed-on: #145
2023-08-30 12:47:44 -05:00
83bad16462 Ajouter de l'injection de dépendance à handlers API 2023-08-30 13:45:07 -04:00
91dba52a26 Merge pull request 'Ajouter section Contact à page d'index' (#144) from feature/index-contact into main
Reviewed-on: #144
2023-08-29 13:18:55 -05:00
47c2e50111 Ajouter section Contact à page d'index 2023-08-29 14:17:33 -04:00
2d9144f265 Merge pull request 'Ajouter description de l'AGECEM' (#142) from feature/ajout-description into main
Reviewed-on: #142
2023-08-29 12:36:37 -05:00
42b28622d7 Ajouter description de l'AGECEM 2023-08-29 13:35:07 -04:00
19ad40e104 Merge pull request 'Ajouter local ASEG à /vie-etudiante' (#141) from fix/local-aseg into main
Reviewed-on: #141
2023-08-23 15:10:36 -05:00
91e1e1efa1 Ajouter local ASEG à /vie-etudiante 2023-08-23 16:10:04 -04:00
29ad72481e Merge pull request 'Fix implémentations de UploadDocument et models.NotFoundResponse()' (#140) from fix/not-found-and-v1-document-create-response into main
Reviewed-on: #140
2023-08-23 15:03:00 -05:00
48a8c8a37a Fix implémentations de UploadDocument et models.NotFoundResponse() 2023-08-23 16:01:57 -04:00
37eb18cfa5 Merge pull request 'Ajouter et implémenter models.NotImplementedResponse()' (#139) from refactor/not-implemented-response into main
Reviewed-on: #139
2023-08-23 14:44:06 -05:00
b19238e1cc Ajouter et implémenter models.NotImplementedResponse() 2023-08-23 15:43:10 -04:00
742cf9999b Merge pull request 'Ajouter et implémenter models.V1DocumentCreateResponse' (#137) from refactor/v1-document-create-response into main
Reviewed-on: #137
2023-08-23 14:26:45 -05:00
5612b593e2 Ajouter et implémenter models.V1DocumentCreateResponse 2023-08-23 15:26:01 -04:00
89291a24ba Merge pull request 'Ajout de table dans /vie-etudiante' (#135) from feature/vie-etudiante-table into main
Reviewed-on: #135
2023-08-22 17:16:36 -05:00
39221d0001 Ajout de table dans /vie-etudiante
Présente les organismes et associations assumées présentement actives.

Doit présentement être mis à jour manuellement dans le html du projet
2023-08-22 18:12:20 -04:00
bea6c06668 Merge pull request 'Implémenter models.NotFoundResponse()' (#134) from refactor/not-found-response into main
Reviewed-on: #134
2023-08-22 14:26:56 -05:00
ba43df3e31 Implémenter NotFoundResponse() 2023-08-22 15:25:42 -04:00
83d669b7a5 Ajouter SimpleResponse et NotFoundResponse() 2023-08-22 15:24:57 -04:00
e53a879c92 Merge pull request 'Implémenter models.V1BucketReadResponse' (#133) from refactor/handle-v1-bucket-read-response into main
Reviewed-on: #133
2023-08-22 14:10:12 -05:00
a6ba62fd62 Implémenter models.V1BucketReadResponse 2023-08-22 15:08:10 -04:00
cd8c2d4955 Merge pull request 'Création et implémentation d'une snackbar' (#107) from feature/snackbar into main
Reviewed-on: #107
2023-08-22 12:59:59 -05:00
ae9c45d4db Merge branch 'main' into feature/snackbar 2023-08-22 12:59:14 -05:00
79a5c06eae Merge pull request 'Finaliser implémentation de HandleDocumentationResponse' (#132) from fix/handle-documentation-response into main
Reviewed-on: #132
2023-08-20 17:36:32 -05:00
502b57bcd5 Finaliser implémentation de HandleDocumentationResponse 2023-08-20 18:35:07 -04:00
8c4fde507b Merge pull request 'Ajouter et implémenter certaines responses' (#118) from fix/bucket_list_response into main
Reviewed-on: #118
2023-08-20 17:04:53 -05:00
3ce7ac53ca Fix web_handlers avec nouvelles responses 2023-08-20 18:03:45 -04:00
9ebf27dbaf Ajouter API.ListBuckets() 2023-08-20 17:57:36 -04:00
d736d53a43 Implémenter HandleV1BucketListResponse 2023-08-20 17:57:14 -04:00
c8af2acae9 Ajouter responses pour certaines routes 2023-08-20 17:56:49 -04:00
01317686ae Merge pull request 'Refactor api_handlers et web_handlers' (#117) from refactor/handlers into main
Reviewed-on: #117
2023-08-20 15:24:44 -05:00
3a602486df Mettre à jour Dockerfile avec refactor de packages 2023-08-20 16:21:44 -04:00
3bab5b3b51 Refactor api_handlers et web_handlers
serverhandlers -> api_handlers
html handlers dans cmd/server -> web_handlers
2023-08-20 16:19:05 -04:00
8e102e8199 Merge pull request 'Ajouter models/ pour type Bucket' (#109) from refactor/models into main
Reviewed-on: #109
2023-08-19 19:31:37 -05:00
8dd0049fba Mettre à jour utilisation de models.Bucket et V1SeedResponse 2023-08-19 19:58:09 -04:00
ab5ba6708c Ajouter models.V1SeedResponse 2023-08-19 19:57:47 -04:00
6b19aa8db6 Ajouter field Response.Error 2023-08-19 19:25:13 -04:00
8cce7414ef Déplacer UploadDocumentResponse dans models/
Refactor UploadDocumentResponse selon type models.Response

Implémenter models.Response struct et models.Responder interface
2023-08-19 15:49:57 -04:00
d4f26435e8 Remplacer deprecated ioutil.ReadAll -> io.ReadAll 2023-08-19 15:38:52 -04:00
73b5ce1bc2 Ajouter error handling à api.API#UploadDocument
Créer moins d'objets UploadDocumentResponse
2023-08-19 15:35:56 -04:00
9975d4032d Merge branch 'main' into refactor/models 2023-08-19 15:29:06 -04:00
588432e979 Merge pull request 'Standardiser l'utilisation de api#NewApiClientFromViper' (#110) from fix/use-api-client-from-viper into main
Reviewed-on: #110
2023-08-19 14:24:18 -05:00
25aaad42b6 Utiliser api.NewApiClientFromViper 2023-08-19 15:23:10 -04:00
0f60e58ec2 Ajouter models/ pour type Bucket
models.Bucket est utilisé dans cmd/server pour contenir les données
relatives à la documentation dans certaines routes html
2023-08-19 14:56:13 -04:00
a4b56214b2 Documenter NewApiClientFromViper 2023-08-19 14:45:07 -04:00
fa093f3e73 Retrait du body height: 100%; 2023-08-18 16:25:34 -04:00
d63746fb4c Création et implémentation d'une snackbar 2023-08-18 16:24:44 -04:00
966dc49a9e Merge pull request 'feature/affichage-documentation' (#105) from feature/affichage-documentation into main
Reviewed-on: #105
Reviewed-by: Victor Lacasse-Beaudoin <vlbeaudoin@agecem.org>
2023-08-16 16:53:29 -05:00
bb9c54bd06 Merge branch 'main' into feature/affichage-documentation 2023-08-16 16:53:06 -05:00
44c3d03a99 Modification du padding du lien de document 2023-08-16 17:27:37 -04:00