Commit Graph
5 Commits
Author SHA1 Message Date
Arnaud Dartois 8085df1aa0 fix(ci): update Dockerfile path after worker merge
Dockerfile.central was renamed to Dockerfile. Also update image name
from heimdall/web to heimdall to match the new single-image naming.
2026-07-20 18:15:53 +00:00
Arnaud Dartois 562aabdfc8 feat(api+web): merge REST API and Blazor UI into single process
Previously the API (heimdall-central) and Blazor UI (heimdall-web) ran as
separate containers with the Blazor Server making internal HTTP calls to
the API. This caused the Blazor circuit to disconnect when the API was
unreachable (network error → "Une erreur réseau est survenue").

Now both serve from the same .NET process on the same port:
- All 16 API controllers, ExceptionFilter, and SignalR hubs integrated
  into Heimdall.Web
- JWT auth, CORS, rate limiting configured in the unified Program.cs
- Dockerfile.central entrypoint runs web/Heimdall.Web.dll
- docker-compose simplified: heimdall-central service removed
- CI publishes heimdall-web image instead of heimdall-central

Also fixes timezone validation on Alpine/tzdata-less environments
and enables FluentValidation auto-validation in the API project.
2026-07-20 10:30:01 +00:00
Arnaud Dartois e85c5fff3f chore(ci): add Docker Hub publish steps to pipeline 2026-07-18 11:27:43 +00:00
Arnaud Dartois 62798cf81f chore: migrate CI from GitHub Actions to Forgejo
Replace .github/workflows/ci.yml with .forgejo/workflows/ci.yml:
- runs-on: ubuntu-latest → debian-12
- actions/ URL shortcuts → https://forgejo.tordais.cc/actions/... FQDNs
- docker/setup-buildx-action + docker/build-push-action → manual
  docker build
- Add NuGet package caching
- Add concurrency group (forgejo.ref) + paths-ignore
- Use forgejo.ref instead of github.ref
2026-07-17 17:39:22 +00:00
Arnaud Dartois 1203c7f0e1 fix(api): register-admin uses IAuthService instead of direct Entity creation
- Add RegisterAdminAsync to IAuthService interface
- Implement in AuthService (creates user + assigns Admin role)
- AuthController.register-admin now delegates to service layer
- No more 'new AppUser' in controller
2026-07-17 17:37:52 +00:00