Commit Graph
11 Commits
Author SHA1 Message Date
Arnaud Dartois d78da50c93 feat(notifications): fan out camera events to authorized users
Heimdall Gitea / Build and tests (pull_request) Failing after 0s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 19:43:18 +02:00
Arnaud Dartois 8fafbdfaec fix(events): query duplicate retries through context interface
Heimdall Gitea / Build and tests (pull_request) Failing after 1s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-22 19:31:28 +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 99aa8d4b28 test(gallery): verify translated snapshot search paging 2026-10-20 21:00:38 +02:00
Arnaud Dartois 0042bf6abc feat(gallery): add snapshot filters and paging 2026-10-20 07:32:56 +02:00
Arnaud Dartois b97d3bec11 feat(security): enforcement — filtrage caméra dans les endpoints sensibles (#175) 2026-08-27 20:28:41 +02:00
Arnaud Dartois 17d2233f56 chore: auto-commit 2026-08-10 21:48 [Heimdall] src/Heimdall.Application/Events/Queries/GetEvents/GetEventsHandler.cs, src/Heimdall.Application/Events/Queries/GetEvents/GetEventsQuery.cs, src/Heimdall.Web/Components/Pages/EventsPage.razor, src/Heimdall.Web/Controllers/EventsController.cs, src/Heimdall.Web/Services/HeimdallApiClient.cs… 2026-08-10 21:48:53 +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 55620b0776 fix(cqrs): address code review findings
Critical fixes:
- Publish EventCreatedNotification (SignalR broadcast was broken)
- Use ValidateAsync in ValidationBehavior (async validators were skipped)

Important fixes:
- Remove dead UnitOfWorkBehavior (handlers manage saves themselves)
- Remove dead ConfigChangedNotification (controller broadcasts directly)
- Guard MappingProfile Activator.CreateInstance against missing ctor
- Add CA1711 pragma with justification
2026-07-22 20:22:34 +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
Arnaud Dartois c1b3b3d3b4 feat(cqrs): migrate Events, Agents, Assignments, Discovery, Others to CQRS
- Events: CRUD commands/queries + EventCreatedNotification for SignalR
- Agents: Register (with API key gen), Heartbeat, queries
- Assignments: Assign, Failover, Release commands + queries
- Discovery: 10 handlers delegating to existing probes/services
- Groups/Persons/Settings/Audit/Stats: full CQRS for remaining domains
- Extend IApplicationDbContext with all DbSets
2026-07-22 19:48:16 +00:00