Commit graph

82 commits

Author SHA1 Message Date
990fe99e2c feat: Ajouter et documenter configuration par env 2024-02-14 14:49:58 -05:00
4b42f8d215 Merge branch 'refactor/serpents' 2023-10-08 01:38:27 -04:00
679b594c80 Migrate config to codeberg.org/vlbeaudoin/serpents v1.0.0
Raw cobra+viper flags that were not yet migrated to Register* functions
now migrated to serpents as well
2023-10-08 01:37:06 -04:00
dc65ce6c4d Merge branch 'feature/presencesget' 2023-10-02 14:08:20 -04:00
29b4d0da31 Ajouter et implémenter PresencesGET 2023-10-02 14:08:03 -04:00
75b0819ae4 Merge branch 'feature/decompte' 2023-09-19 18:25:20 -04:00
6c09f1fa65 Ajouter décompte 2023-09-19 18:25:12 -04:00
7351f970f7 Merge branch 'fix/api-route-key' 2023-09-19 16:59:00 -04:00
10901b3f6e Ajouter keyauth à scan request 2023-09-19 16:57:39 -04:00
51c0930f98 Merge branch 'feature/auth' 2023-09-19 16:49:35 -04:00
a74e36afc1 Ajouter basicauth web 2023-09-19 16:48:29 -04:00
3b9a51c767 Ajouter API keyauth
Defer dbclient.DB.Close() dans apiCmd
2023-09-19 16:47:57 -04:00
9ac6bf7940 Ajouter flags web.password et web.user 2023-09-19 16:46:44 -04:00
acc8b010ad Merge branch 'update/voki-v1.3.1' 2023-09-18 21:12:19 -04:00
924ba88014 Update go.sum 2023-09-18 21:11:27 -04:00
655e5ca2a5 Update voki -> v1.3.1 2023-09-18 21:08:42 -04:00
4822e91452 Merge branch 'refactor/voki' 2023-09-18 18:45:09 -04:00
3052a989b0 Migrer redéfinitions de Response à voki 2023-09-18 18:44:20 -04:00
78ea51e2c5 Migrer client API à voki 2023-09-18 18:34:53 -04:00
1b046cc5e0 Merge branch 'fix/scan-result-clarity' into main 2023-09-17 16:40:14 -04:00
2da8e181e8 Ajouter emojis pour clarifier résultat de scan web 2023-09-17 16:39:54 -04:00
380e749a2a Merge branch 'feature/implement-web' into main 2023-09-17 16:33:09 -04:00
c218860e33 Implémenter page web de scan de présence
Voir diff pour détails
2023-09-17 16:32:40 -04:00
c6f3a52f91 Merge branch 'fix/web-index-template' into main 2023-09-17 01:27:08 -04:00
46f85acf81 Ajouter bloc {{ define "index-html" }} manquant 2023-09-17 01:25:45 -04:00
82d5aa0d16 Merge branch 'fix/webresponse' into main 2023-09-17 01:25:16 -04:00
55a033e8bd Ajouter webresponse/ à Dockerfile 2023-09-17 01:25:06 -04:00
27d5f19071 Merge branch 'feature/basic-webcontent' into main 2023-09-17 01:12:59 -04:00
f986c2e8e1 Add basic webcontent 2023-09-17 01:12:46 -04:00
2dec57d097 Merge branch 'feature/apiclient' into main 2023-09-16 23:23:01 -04:00
f77fcd551f Ajouter apiclient.APIClient et méthodes de base
Ajouter apiclient.New

Ajouter apiclient.APIClient.Call

Ajouter apiclient.APIClient.CallResponder
2023-09-16 23:21:46 -04:00
30b47d2792 Ajouter interface Responder 2023-09-16 23:21:27 -04:00
c22c20b306 Merge branch 'feature/scan-post' into main 2023-09-16 23:08:22 -04:00
efcecbce6e Implémenter apihandler.APIHandler.ScanPOST 2023-09-16 23:07:52 -04:00
cfba108df9 Retirer apiresponse.ScanGET.Data
MembreID n'était pas nécessaire de garder dans le struct, sera ramené
si jamais le data est nécessaire
2023-09-16 23:07:07 -04:00
bae70e1569 Ajouter dbclient.DBClient.InsertPresence 2023-09-16 23:06:24 -04:00
91ee8738c6 Merge branch 'fix/health-get-statuscode' into main 2023-09-16 19:17:08 -04:00
f3f15dd311 Fix HealthGET statuscode et message parfois vide 2023-09-16 19:16:43 -04:00
a98d11f4b4 Merge branch 'feature/db-flags' into main 2023-09-16 18:40:49 -04:00
7e3531aa90 Ajouter et implémenter db flags
Ajouter config.RegisterBool
2023-09-16 18:40:18 -04:00
4bbc91878f Merge branch 'feature/bottin-flags' into main 2023-09-16 18:23:16 -04:00
532c85f200 Ajouter et implémenter cfg.Bottin.API.Port et cfg.Bottin.API.Protocol 2023-09-16 18:21:39 -04:00
9b6dd055ef Ajouter et implémenter cfg.Bottin.API.Key 2023-09-16 18:18:19 -04:00
ea49f1609f Implémenter cfg.Bottin.API.Host 2023-09-16 18:16:32 -04:00
bc55ef03f1 Merge branch 'fix/ignore-testcmd' into main 2023-09-16 18:13:34 -04:00
f6476316e9 Ignorer cmd/test.go 2023-09-16 18:13:13 -04:00
573ac4f810 Merge branch 'feature/bottin-api-host-flag' into main 2023-09-16 18:12:47 -04:00
d2df4cd469 Register bottin.api.host 2023-09-16 18:12:02 -04:00
ee478c8f2a Merge branch 'feature/register-flag' into main 2023-09-16 18:10:57 -04:00
5b109ae973 Ajouter config.RegisterInt et config.RegisterString 2023-09-16 18:10:14 -04:00