Arnaud Dartois
85bfdac7ee
feat(settings): boutons Tester email/ntfy/IA + clés techniques masquées (partiel #80 )
...
- Endpoints POST api/settings/{email,ntfy,ai}/test (Admin) :
- email : envoi réel via EmailService vers l'expéditeur configuré
- ntfy : SendTestAsync (nouvelle méthode INtfyService, retour HTTP 2xx)
- ai : ping CodeProject.AI/Ollama via AiHealthCheck
- Client API : TestEmailAsync/TestNtfyAsync/TestAiAsync + record TestActionResult
- UI : boutons Tester dans NotificationSettingsSection (ntfy + email) et
AiSettingsSection (moteurs IA) avec résultat inline
- AgentDetail : la clé brute n'est plus affichée (libellé global/surchargé)
- Tests bUnit : 3 nouveaux (POST par endpoint + affichage résultat) — 224 verts
2026-08-12 11:50:47 +02:00
Arnaud Dartois
d527f3ccc9
feat(settings): sections visuelles IA/Notifications/Défauts agents — suppression du CRUD clé/valeur ( Fixes #79 )
...
- SettingsPage refondue : plus de création/édition clé/valeur arbitraire,
chaque domaine a sa section dédiée (pattern StorageSettingsSection)
- NotificationSettingsSection : ntfy (baseUrl, token) + email SMTP (from,
host, port, user, password, SSL) — secrets masqués, redaction API respectée
- AiSettingsSection : URLs CodeProject.AI/Ollama + toggle détection IA
- AgentDefaultsSection : niveau de log global (select), rétention logs,
intervalle heartbeat, DSN Sentry
- Seed #80 étendu : ai.detection.enabled, log.level, log.retentionDays,
heartbeat.interval.seconds, sentry.dsn (idempotent, catégories cohérentes)
- Tests bUnit : 12 tests (4 page + 8 sections) — rendu, PUT par clé, secrets
redactés invisibles ; 221 tests Web verts
2026-08-12 10:46:09 +02:00