Commit Graph
19 Commits
Author SHA1 Message Date
Arnaud Dartois 88033e8e26 refactor(docker): separate core and optional compose services
Heimdall Gitea / Detect CI scope (pull_request) Successful in 5s
Heimdall Gitea / Build and tests (pull_request) Successful in 13m35s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Successful in 6m28s
Heimdall Gitea / Build and scan server image (pull_request) Successful in 8m24s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / CI policy (pull_request) Successful in 3s
2026-10-26 05:59:55 +01:00
Arnaud Dartois aea3b46f68 docs(agent): describe heartbeat failover policy
Heimdall Gitea / Build and tests (pull_request) Canceled after 0s
Heimdall Gitea / Build and scan server image (pull_request) Canceled after 0s
Heimdall Gitea / Build and scan agent image (pull_request) Canceled after 0s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Canceled after 0s
Heimdall Gitea / Publish versioned release (pull_request) Canceled after 0s
2026-10-25 02:56:06 +02:00
Arnaud Dartois 1144b7fb83 ci: split affected tests and publish main images to Docker Hub
Heimdall Gitea / Build and tests (pull_request) Failing after 6m13s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-23 22:23:11 +02:00
Arnaud Dartois 48f0b46d99 fix: drain ffmpeg diagnostics without blocking streams
Heimdall Gitea / Build and tests (pull_request) Successful in 28m20s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-21 20:07:30 +02:00
Arnaud Dartois 1c8cd508bd docs(storage): replace Alarik with RustFS
Heimdall Gitea / Build and tests (pull_request) Failing after 23m28s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-21 16:03:16 +02:00
Arnaud Dartois 02082e504d docs: correct development commands and test guidance
Heimdall Gitea / Build and tests (pull_request) Successful in 29m11s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-21 09:56:24 +02:00
arnaud.dartoisandArnaud Dartois 21f0530b6c chore : Audit incomplete features suite implémentation (#1)
- Nettoyage
- Preparation correction fonctionnalité manquante

---------

Co-authored-by: Arnaud Dartois <nonobis@gmail.com>
Reviewed-on: #1
2026-10-20 02:12:47 +02:00
Arnaud Dartois df644c8b2a docs(cqrs): update spec and implementation docs
- Add CQRS architectural decision (D7) to Master Spec
- Update implementation.md with CQRS migration phase
- Update readme to reflect CQRS/MediatR architecture
2026-07-22 20:01:55 +00:00
Arnaud Dartois 5b656286e5 refactor: replace MinIO with Alarik S3-compatible storage
Alarik is a drop-in S3-compatible replacement requiring no application
code changes. All S3 APIs (upload, download, list, delete, multipart)
are fully supported.
2026-07-18 11:40:03 +00:00
Arnaud Dartois 23ead64795 docs: update implementation.md with current MVP status
- Mark ✅/⏳ for all 23 phases based on actual implementation
- Add stats: 83 files, 34 tests, 13 pages, 30+ endpoints
- Clearly separate done vs v2/v3 (hardware-dependent)
- Document stack choices (no MediatR at MVP)
2026-07-17 19:45:40 +00:00
Arnaud Dartois 6138795771 feat: switch mobile app from Avalonia UI to Kotlin + Jetpack Compose
- Complete rewrite of mobile-app.md: Kotlin 2.1+, Jetpack Compose 1.7+
- Clean Architecture: data/domain/presentation layers
- Ktor 3.0 HTTP client (replaces Kiota, Kotlin-native)
- WebRTC natif Android (SurfaceViewRenderer + PeerConnection)
- SignalR client Java Microsoft (compatible Kotlin)
- Hilt DI, Room cache, DataStore preferences, Coil images
- Firebase Cloud Messaging push notifications
- MVVM with StateFlow + collectAsStateWithLifecycle
- Compose Navigation (NavHost, sealed Screen routes)
- Tests: JUnit 5 + MockK + Turbine (Flow) + Compose UI Test
- CI/CD Gradle with lint + detekt + unit tests + APK signing
- GitHub Actions workflow dedicated to mobile
- Update implementation.md Phase 21 with new stack
- Update README.md references
2026-07-16 19:52:01 +00:00
Arnaud Dartois 32240da193 docs: add CodeProject.AI reference doc with full API, modules, perf
- Create docs/codeproject-ai.md with:
  - All 17 modules listed (Object Detection YOLOv5/v8, ALPR, Face, Scene...)
  - API endpoints with request/response examples
  - Pipeline flow diagram Heimdall → CodeProject.AI
  - Per-camera DetectionProfile filtering before API calls
  - Docker config with GPU passthrough and env vars
  - Performance benchmarks (GPU vs CPU vs RPi4)
  - Custom detection models (ipcam-general, ipcam-animal...)
  - Mesh multi-instance architecture
- Update implementation.md Phase 12 with CodeProject.AI deep link
- Add CodeProject.AI to README.md navigation
2026-07-16 19:43:34 +00:00
Arnaud Dartois 5073592cdb feat: per-camera detection profiles (person/vehicle/face/LPR per camera)
- Add CameraDetectionProfile model with per-camera toggles
  (DetectPerson, DetectVehicle, FaceRecognition, LicensePlateRecognition...)
- Add default profiles: Indoor, Outdoor, Stairwell, Parking
- Agent only runs YOLO classes matching enabled detection types
- Central skips face rec/LPR when disabled per camera
- Add detection-profile endpoints to Camera API
- UI: per-camera checkbox grid + profile presets
- Add ONVIF camera credentials (per-camera + per-site defaults)
- Add SharpOnvifClient + OnvifDiscovery NuGet references
- Add Imou camera protocol details: RTSP URLs, known issues,
  firmware blocking, activation procedure
2026-07-16 19:40:50 +00:00
Arnaud Dartois 2e6dcc6968 fix: login par email/MDP + 2FA, API Keys réservées aux Agents
- ui-pages.md : retirer écran 'Clé API' du login, ajouter champ 2FA (TOTP)
- auth-roles.md : ajouter 2FA optionnel, User.TwoFactorEnabled,
  API Keys = Agents uniquement, header clarifié
- implementation.md Phase 6 : +2FA endpoints, API Keys scope Agents
- signalr-usage.md : clarifier JWT pour humains, API Key pour Agents
2026-07-16 19:38:06 +00:00
Arnaud Dartois ed0e941617 docs: fix implementation phases alignment (14-23), complete missing phases
- Fix detailed phase numbering to match summary (was 5 phases off)
- Add Phase 14 (SignalR Hubs), 16 (Hangfire Agent InMemory),
  17 (Notifications), 21 (Mobile Android) — were missing in details
- Add Phase 15 (Hangfire Central) with NuGet, config, dashboard
- Each phase now has: Objectif, Tests, Libraries, code snippets
- All phases reference dedicated doc files for deep dives
- Summary and details now perfectly aligned (23/23)
2026-07-16 19:35:53 +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 0680f832a5 docs: initial spec 2026-07-16 20:19:11 +02:00