Arnaud Dartois
8a0c4c7f33
fix(agent): correct health build and event mapping
Heimdall Gitea / Build and tests (pull_request) Failing after 5m8s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 20:20:53 +02:00
Arnaud Dartois
183e1b37f7
fix(agent): persist detection events until central accepts
Heimdall Gitea / Build and tests (pull_request) Failing after 50s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 19:24:18 +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
2d1734114f
feat(metrics): métriques OpenTelemetry Prometheus (spec §13.1) ( #161 )
2026-08-20 18:22:37 +02:00
Arnaud Dartois
45c6ce82eb
perf: add ConfigureAwait(false) to all async calls in library projects
...
Add ConfigureAwait(false) to all await expressions in Application and
Infrastructure projects (111 files). This follows .NET best practices
for library code to avoid potential deadlocks when consumed from
synchronization contexts (legacy, unit test runners).
Also fix 4 test assertions that check SaveChangesAsync — update to
SaveChangesWithRetryAsync to match the handler changes from Fix 4.
2026-07-27 18:59:12 +00:00
Arnaud Dartois
892ca88de8
fix(efcore): adopt SaveChangesWithRetryAsync across all infrastructure services
2026-07-20 10:15:39 +00:00
Arnaud Dartois
ba968a5f23
fix(security): harden Docker, CSRF, EventsHub scoping, secret logging, tests
...
- Docker: remove default passwords from prod compose (required env vars)
- CSRF: validate antiforgery tokens on /_auth/signin and /_auth/signout
- EventsHub: broadcast to site-scoped Group() instead of Clients.All
- SettingsController: redact secret values in logs
- Create SetAgentSettingValidator + UpdateAppSettingValidator classes
- Replace 3 placeholder test projects with meaningful tests
- Remove FluentValidation auto-validation (incompatible with .NET 10)
2026-07-19 20:53:48 +00:00
Arnaud Dartois
153be535d4
fix(multiple): auth, workers, EF Core, MudTheme fixes
...
- Auth: AssignmentsController auth bug, ReleaseCamera result, logout endpoint
- Security: open redirect fix
- Workers: AgentState thread-safety, CameraStreamService async, HttpClientFactory
- EF Core: AddCameraDiscoveryFields migration, DI interceptors, retry helper
- UI: MudTheme palette config, aria-labels on icon buttons
2026-07-19 19:58:45 +00:00
Arnaud Dartois
70176124cb
refactor(css): merge duplicate dark mode media blocks into one
...
- Single @media (prefers-color-scheme: dark) block containing both
auth-specific rules and general (body, blazor-error-ui) rules
- Removes duplicate @media query, simplifies maintenance
2026-07-19 15:49:46 +00:00
Arnaud Dartois
c5728fa810
feat(events): add SignalR real-time event broadcasting to web UI
2026-07-19 15:24:52 +00:00
Arnaud Dartois
358443ff1a
feat(events): implement camera event pipeline with AI detection storage
...
Adds the foundation for AI-powered detection events storage, query,
and snapshot management. Agents can POST detection events (motion,
person, vehicle, face, etc.) with confidence scores and metadata;
users can query, filter, and view event history.
- CameraEvent entity with EF Core configuration + migration
- ICameraEventService / CameraEventService with paged query + filters
- EventsController: 5 REST endpoints (create, get, query, attach snapshot, delete)
- Agent-side CameraStreamService: FFmpeg-based RTSP frame capture (foundation)
- Supports both ApiKey (agent) and JWT (user) authentication
2026-07-19 12:55:05 +00:00