feat(admin): panneau Paramètres - sauvegarde config + test SMTP

- Onglet Paramètres dans l'admin avec 3 sections (Email, Personnalisation, Avancé)
- Service ConfigurationService (GET config, PATCH bulk, POST test-smtp)
- Bouton Sauvegarder et bouton Tester SMTP (sauvegarde avant test)
- Endpoints api_config pour configuration

Closes #15

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-13 11:16:37 +01:00
co-authored by Cursor
parent c43f55bed6
commit 1834eb8c79
5 changed files with 688 additions and 74 deletions
@@ -14,6 +14,13 @@ class ApiConfig {
static const String userProfile = '/users/profile';
static const String userChildren = '/users/children';
// Configuration (admin)
static const String configuration = '/configuration';
static const String configurationSetupStatus = '/configuration/setup/status';
static const String configurationSetupComplete = '/configuration/setup/complete';
static const String configurationTestSmtp = '/configuration/test-smtp';
static const String configurationBulk = '/configuration/bulk';
// Dashboard endpoints
static const String dashboard = '/dashboard';
static const String events = '/events';