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 |
|
Arnaud Dartois
|
7d6213696f
|
feat(storage): stockage configurable par l'IHM — providers Fichier + S3 (Fixes #78)
- IStorageProvider (Application) : Upload/Download/Delete/DeleteBatch/Health
- LocalStorageProvider : écriture atomique (tmp + move), anti path-traversal
- AlarikStorageProvider : S3-compatible (AWS SDK, ForcePathStyle), upload
staging→final (atomique), batch delete 1000/appel (Correctif D6)
- StorageProviderFactory : provider résolu depuis les settings DB
(storage.provider = Local|S3) avec fallback env, re-résolu à chaque appel
- Seed idempotent des clés storage.* (catégorie 'storage') au démarrage
- UI : section 'Stockage' dédiée dans SettingsPage (sélecteur Local/S3,
champs conditionnels, clé secrète masquée, bouton Tester → POST
/api/settings/storage/test)
- Tests : 6 LocalStorageProvider (roundtrip, delete, batch, traversal,
health) ; Web 217/217, Infrastructure 177/177, Application 391/391
|
2026-08-12 10:14:40 +02:00 |
|