Commit Graph
11 Commits
Author SHA1 Message Date
Arnaud Dartois d93eaca043 Sign agent releases and complete snapshot media lifecycle 2026-10-23 18:54:14 +02:00
Arnaud Dartois 8f00f69a5f Track manual snapshots and apply versioned camera config
Heimdall Gitea / Build and tests (pull_request) Failing after 1m34s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-23 07:30:58 +02:00
Arnaud Dartois f0cf011c30 Remove RabbitMQ and use existing SignalR agent channel
Heimdall Gitea / Build and tests (pull_request) Failing after 49s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-21 17:52:53 +02:00
Arnaud Dartois cef3434c3c fix(ops): confine local storage and repair maintenance jobs (Refs #1) 2026-10-20 02:27:03 +02:00
Arnaud Dartois 80ee2aa1bb feat(persons): interface Persons — page liste + détail avec échantillons visage (#163) 2026-08-27 15:06:06 +02:00
Arnaud Dartois e0290c8a1b feat(db): partitionnement camera_events + gestion automatique des partitions mensuelles (#164) 2026-08-27 00:31:12 +02:00
Arnaud Dartois ca43c6d28e feat(analysis): scheduler de jobs d'analyse avec routage par capacités, priorités et dead-letter (#159) 2026-08-26 23:44:38 +02:00
Arnaud Dartois e3d14eec04 feat(jobs): jobs Hangfire rétention/cleanup + dashboard admin (Fixes #8)
- RetentionCheckJob (quotidien 3h) : purge enregistrements expirés par
  StoragePolicy via ExecuteDelete (1 requête, pas de boucle), défaut 30 j
- CleanupUnknownFacesJob (dim 5h) : personnes 'unknown' > 30 j
- CleanupLicensePlatesJob (dim 6h) : plaques non associées > 30 j
- DatabaseMaintenanceJob (dim 7h) : VACUUM events + REINDEX (VACUUM FULL
  1er dimanche)
- Dashboard Hangfire /hangfire protégé AdminJobs (filtre custom)
- S3CleanupJob dépend du ticket #7 (stockage S3) — non inclus ici
- Tests : 2 (rétention avec/sans politique)
2026-08-12 09:43:45 +02:00
Arnaud Dartois 0c7bb86eae feat(logs): purge des logs agents — AgentLogCleanupJob Hangfire (Fixes #53)
- Job quotidien 4h : supprime les AgentLogEntry plus vieux que la rétention
  (Logs:RetentionDays, défaut 7 j), par lots de 5000 + pause 100 ms
  (pas de verrou long ni de transaction log explosée)
- Enregistré dans JobSetup + DI BackgroundJobs
- Tests : 2 (purge des vieux uniquement, rien si rien de vieux)
2026-08-12 09:29:03 +02:00
Arnaud Dartois f9be0f1e0d feat: implémenter SignalR hubs (Monitoring, Notifications, Admin) + système de notifications complet
SignalR Hubs:
- MonitoringHub (/hubs/monitoring) — statuts agents/caméras/stockage/GPU jobs
- NotificationsHub (/hubs/notifications) — notifications in-app badge temps réel
- AdminHub (/hubs/admin) — broadcast changements config (Admin only)

Notification System:
- Nouvelles entités: Notification, NotificationTemplate, UserNotificationConfig
- CQRS/MediatR: 6 handlers (list, unread, mark-read, mark-all, config get/update)
- Infrastructure: NotificationService orchestrator + EmailService + GotifyService
- Rate limiter IMemoryCache (20 events/min/camera/type)
- Hangfire jobs: SendNotification, DailyDigest, WeeklyDigest
- NotificationsController API (6 endpoints)
- Blazor UI: NotificationsPage + NotificationBadge
- Migration AddNotifications (3 nouvelles tables)
- 644 nouveaux tests (Domain: 131, Application: 321, Infra: 151, Integration: 120, +autres)
2026-07-26 20:45:35 +00:00
Arnaud Dartois 1d1ac8387e feat(cqrs): update controllers, add AutoMapper profiles, SignalR notifications, Hangfire config
- 13 controllers migrated from service DI to IMediator dispatch
- 11 AutoMapper mapping profiles (Sites, Cameras, Auth, Users, Agents, Events, Assignments, Settings, Groups, Persons, Discovery)
- SignalR notifications bridged via MediatR INotificationHandler
- Hangfire config moved from Program.cs to Infrastructure/BackgroundJobs
- 0 build errors, 0 warnings
2026-07-22 19:54:55 +00:00