Commit Graph
11 Commits
Author SHA1 Message Date
Arnaud Dartois 3adb44449e docs: restructure with README index, trim specs.md, replace Refit with Kiota
- Create docs/README.md as central navigation index with quick links
- Rewrite specs.md from 1473 to 253 lines — remove all content now
  duplicated in dedicated files, keep only unique content (vision,
  architecture, domain model, features, Docker, quality)
- Replace Refit with Kiota (Microsoft) in mobile-app.md:
  - Kiota generates API client from OpenAPI spec
  - IAuthenticationProvider for JWT
  - CI/CD regeneration step
  - Comparison table Kiota vs Refit
  - All NuGet deps updated
2026-07-16 19:33:11 +00:00
Arnaud Dartois 2428e0ec2a docs: add mobile app, auth roles, notifications, hangfire, signalr specs
- Add mobile-app.md: Android Avalonia UI app spec with 6 pages, WebRTC
  via WebView bridge, SignalR real-time, offline cache, push notifications
- Add auth-roles.md: 2 user types (Admin + User), site-scoped permissions,
  policy-based authorization, UI visibility per role
- Add notifications.md: Email SMTP (FluentEmail), Gotify push, Scriban
  Markdown templates i18n editable from UI, per-user config
- Add hangfire-usage.md: Central PostgreSQL jobs (retention, cleanup,
  digests) + Agent InMemory jobs (heartbeat, camera health, GPU watchdog)
- Add signalr-usage.md: 5 hubs (events, streaming, monitoring, notifications,
  admin) with full hub code, group management, Agent SignalR connection
- Update implementation.md: 23 phases with mobile app (phase 21)
- Update specs.md: reference all new documentation files
2026-07-16 19:29:07 +00:00
Arnaud Dartois 32ba481da1 docs: restructure documentation with UI pages, fix implementation order
- Create docs/ui-pages.md with detailed descriptions of all 8 UI pages
  (Login, Dashboard, Sites, Cameras, Persons, Events, Admin, Alerts)
  including MudBlazor components, states, and tests per page
- Rewrite implementation.md with correct dependency order:
  Auth → Sites → Agent Registration → ONVIF → Cameras → FFmpeg →
  AI → Storage → Hangfire → Blazor (basic) → WebRTC → Live Video LAST
- Add Agent bootstrap flow with token registration
- Add two-tier AI pipeline (CPU pre-detect on Agent, GPU on Central)
- Add IMU camera protocol specifics and ONVIF network limitations
- Add GPU passthrough Docker documentation
- Add Blazor Server + WebRTC JS Interop pattern
- Add MinIO/S3 centralized storage model with bandwidth impact analysis
- Add SFU (MediaMTX) for multi-user WebRTC scenarios
2026-07-16 19:21:14 +00:00
Arnaud Dartois bfb3e06bc1 feat: initialize .NET 10 Clean Architecture solution
Create Heimdall solution with 17 projects following Clean
Architecture for a maintainable and loosely coupled codebase.

src/ (9 projects):
- Domain, Domain.Primitives, Contracts (core layer, no deps)
- Application (ref. Domain) — CQRS/MediatR ready
- Infrastructure (ref. Application + Domain) — EF Core
  PostgreSQL ready
- Api, Web (Blazor), Agent, Workers (hosts, ref. Application +
  Infrastructure)

tests/ (8 projects):
- xUnit + Shouldly + NSubstitute + bUnit (Web.Tests)
- One test project per source project (Domain -> IntegrationTests)

Config: Directory.Build.props (Nullable, ImplicitUsings,
TreatWarningsAsErrors)
2026-07-16 19:09:28 +00:00
Arnaud Dartois 698520cce9 fix init opencode 2026-07-16 20:49:23 +02:00
Arnaud Dartois 6d1d0c1743 init opencode 2026-07-16 20:46:56 +02:00
Arnaud Dartois 291ec113fc chore: add opencode shared rules submodule 2026-07-16 20:46:36 +02:00
Arnaud Dartois 9d936dbf57 wip 2026-07-16 20:33:46 +02:00
Arnaud Dartois b69a2a3ce4 init opencode 2026-07-16 20:32:41 +02:00
Arnaud Dartois 48076947ac chore: add opencode shared rules submodule 2026-07-16 20:28:39 +02:00
Arnaud Dartois 0680f832a5 docs: initial spec 2026-07-16 20:19:11 +02:00