cedric
|
8c66473371
|
chore: change port to 8066
|
2026-05-14 17:23:36 +04:00 |
|
cedric
|
6e12f46add
|
fix: create docker networks
|
2026-05-14 17:20:21 +04:00 |
|
cedric
|
0751790cbf
|
build: upgrade to directus 11.17.2
|
2026-04-14 17:38:47 +04:00 |
|
cedric
|
0e56909626
|
test: tests Vitest pour les extensions Directus (18 tests, 0 échec)
- disallow-votes (13 tests) : mock knex chaînable + VersionsService
- versionId manquant, version introuvable, version > 3j, version obsolète
- échec non bloquant de compare(), collection ignorée si ≠ votes
- items.delete : voteId manquant, vote introuvable, version associée ancienne
- new-user (5 tests) : mock MailService + database
- MailService absent, EMAIL_NEW_USER absent, email déjà utilisé
- envoi e-mail admin, fallback URL par défaut, erreur SMTP non bloquante
- vitest.config.mjs : pointe sur extensions/*/src/__tests__/**/*.test.js
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-14 06:35:01 +04:00 |
|
cedric
|
d59972af91
|
security: restreindre CORS_ORIGIN à une whitelist explicite
Remplace CORS_ORIGIN=true (toutes origines autorisées) par la valeur
de production https://konstitisyon.nu dans .env.sample.
Documente également la valeur de dev local (http://localhost:3000).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-13 21:35:10 +04:00 |
|
cedric
|
154856b2a9
|
docs: corrige l'URL /websocket et ajoute timeout dans la configuration nginx
|
2026-01-24 17:58:00 +04:00 |
|
cedric
|
df3219c3ba
|
docs: ajout de la documentation pour le déploiement
|
2026-01-23 23:23:21 +04:00 |
|
cedric
|
fe8b3baf1f
|
chore: renomme domaine api.konstitisyon.la vers api.konstitisyon.nu
|
2026-01-10 23:42:30 +04:00 |
|
cedric
|
6a9717008b
|
Bloquer votes sur versions obsolètes
|
2026-01-04 13:04:10 +04:00 |
|
cedric
|
5595587c6f
|
build: upgrade to directus 11.5.1
|
2025-12-26 10:14:55 +04:00 |
|
cedric
|
cb8e918279
|
feat: add docker-compose.yml file
|
2025-06-10 03:24:39 +02:00 |
|
cedric
|
a06e208bfa
|
refactor: move data.sample.db to dbtbbase directory
|
2025-06-07 14:00:23 +02:00 |
|
cedric
|
5ac4b99e32
|
Ajout de la variable DIRECTUS_URL pour l'envoie de l'e-mail
|
2024-12-22 03:57:22 +04:00 |
|
cedric
|
bc0aafa8b3
|
Création de l'extension 'directus-extension-new-user'
|
2024-12-22 03:43:07 +04:00 |
|
cedric
|
90f07c68db
|
feat: ajout de l'extension disallow-votes
|
2024-12-17 12:34:42 +04:00 |
|
cedric
|
67f8c565cc
|
docs: création du README avec la documentation complète de l'API
|
2024-12-16 14:19:30 +04:00 |
|
cedric
|
56aef7751a
|
Add data.sample.db
|
2024-12-16 14:13:19 +04:00 |
|
cedric
|
428f2d7d9a
|
first commit
|
2024-12-02 21:57:24 +04:00 |
|