Commit Graph
8 Commits
Author SHA1 Message Date
arnaud.dartois 636154572b Complete remaining Heimdall features and acceptance
Heimdall Gitea / Build and scan server image (push) Successful in 6m13s
Heimdall Gitea / Build and scan agent image (push) Successful in 14m44s
Heimdall Gitea / Publish Docker Hub latest tags (push) Successful in 1m48s
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Successful in 19m9s
Heimdall Gitea / CI policy (push) Successful in 10s
Heimdall Gitea / Detect CI scope (push) Successful in 6s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and tests (push) Successful in 19m19s
Merge pull request #138

Co-authored-by: Arnaud Dartois <admin@tordais.cc>
2026-11-06 11:14:49 +01:00
Arnaud Dartois 9e27e89af5 Fix health check failures and align patch dependencies
Heimdall Gitea / Build and tests (pull_request) Failing after 1m34s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-23 03:14:43 +02:00
Arnaud Dartois 1cd4e2b4b5 fix(security): enforce resource isolation across API and hubs 2026-10-20 07:16:44 +02:00
Arnaud Dartois d6c7ca1194 fix(web): bindings MudCheckBox/MudSwitch @bind-Value (au lieu de @bind-Checked)
MudBlazor 9.x ignore silencieusement l'attribut inconnu 'Checked'
(CaptureUnmatchedValues) : les checkboxes de rôles et les switches de
configuration ne se liaient jamais. Passage à l'API Value/ValueChanged
+ mise à jour MudBlazor 9.1.0 → 9.8.0 (Web + tests). Vérifié en réel :
la case Admin est cochée à l'ouverture du dialog utilisateur.
2026-08-10 16:46:08 +02:00
Arnaud Dartois 34a3dd4232 test(web): tests bUnit des pages IHM + infrastructure de test MudBlazor
Pages couvertes : Login, Register, Dashboard, SitesPage, SiteDetail,
CamerasPage (+ AuthState, HeimdallAuthStateProvider) — 105 tests Web verts.

Infrastructure nécessaire pour rendre les pages testables avec bUnit :
- MudTestBase : JSInterop en mode Loose + wrapper générique
  IAsyncDisposable→IDisposable (Castle DynamicProxy) pour les services
  MudBlazor (PopoverService, PointerEventsNoneService...) qui cassent le
  Dispose synchrone de bUnit
- HostWithProviders.razor : fournit MudPopoverProvider + MudDialogProvider
  — sans eux les MudDialog inline des pages ne sont jamais rendus
- PageTestBase.RenderPage<T> : rend les pages dans ce host
- bunit 2.7.2 → 2.9.0, AngleSharp → 1.7.0, SDK Razor pour les .razor locaux

Correctifs de tests : ShouldContain avec prédicat (sous-chaîne au lieu
d'égalité stricte sur les messages snackbar), .Input()/.Change() selon
Immediate des champs, format P0 (87% sans espace), index des boutons
d'action (copier vs supprimer).
2026-08-10 12:46:15 +02:00
Arnaud Dartois 3d7137a865 test(web): add bUnit shared component tests for PaginationBar, EmptyState, LoadingSkeleton, SectionCard 2026-07-23 19:38:30 +00:00
Arnaud Dartois cb500e0354 fix(deps): override transitive AngleSharp 1.4.0 with 1.5.2 to fix NU1902 vulnerability
bunit 2.8.4-preview transitively pulls AngleSharp 1.4.0 which has a
known moderate severity vulnerability (GHSA-pgww-w46g-26qg). Adding
a direct PackageReference to AngleSharp 1.5.2 overrides the transitive
version and resolves the CI build failure.
2026-07-18 11:41:33 +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