Commit Graph
11 Commits
Author SHA1 Message Date
Arnaud Dartois f832d2fb62 refactor: use EF Core for SQLite persistence
Heimdall Gitea / Detect CI scope (pull_request) Successful in 4s
Heimdall Gitea / Build and tests (pull_request) Successful in 14m48s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan server image (pull_request) Successful in 4m24s
Heimdall Gitea / CI policy (pull_request) Successful in 4s
Heimdall Gitea / Build and scan agent image (pull_request) Successful in 9m12s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
2026-10-26 08:19:44 +01:00
Arnaud Dartois 6503a17545 Merge main into repository health fix
Heimdall Gitea / Build and tests (pull_request) Failing after 1m2s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-23 20:21:43 +02:00
Arnaud Dartois 21084bf00e Update test project lockfiles for thumbnail dependency
Heimdall Gitea / Build and tests (pull_request) Failing after 58s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-23 18:54:24 +02: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 f0cf011c30 Remove RabbitMQ and use existing SignalR agent channel
Heimdall Gitea / Build and tests (pull_request) Failing after 49s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-21 17:52:53 +02:00
Arnaud Dartois 8cdbe6c7fa fix(deps): update vulnerable NuGet dependencies without weakening gates 2026-10-20 07:24:18 +02:00
Arnaud Dartois ad2a582b63 build(gitea): reconstruct tests packaging images and release lanes (Refs #1)
Heimdall Gitea / Build and tests (push) Failing after 1m12s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and tests (pull_request) Failing after 40s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
2026-10-20 02:29:19 +02:00
Arnaud Dartois 1d70455abb fix(web): make integration tests work with Heimdall.Web as entry point
- Add InternalsVisibleTo for Heimdall.Api.Tests and
  Heimdall.IntegrationTests in Web.csproj
- Add partial class Program for WebApplicationFactory<Program>
- Pass builder.Environment.EnvironmentName instead of env var
  so AddInfrastructure correctly detects Testing environment
- Skip DATABASE_URL check, Hangfire setup, migrations, and
  recurring jobs when environment is Testing
- Update test project references from Heimdall.Api to Heimdall.Web
2026-07-20 20:32:32 +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 e83b493ce0 test: add placeholder tests to empty test projects
- Add PlaceholderTest.cs to Api.Tests, Application.Tests, Infrastructure.Tests,
  Web.Tests, Workers.Tests (1 passing test each)
- Prevents 'no test available' warnings in CI
2026-07-17 17:39:30 +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