- StatsController: aggregates sites, cameras, agents counts in one DB query
- Dashboard: now uses stats endpoint (2 API calls instead of N*2+1)
- ApiClient: GetStatsAsync + StatsResult DTO
- Dashboard now shows: total sites, total cameras, online agents, active sites
- Stats loaded in parallel with Task.WhenAll for performance
- Falls back gracefully if cameras/agents endpoints return no data
- Users: replace single MudSelect role picker with MudCheckBox multi-select
- Users: users can now have multiple roles (Admin + Supervisor, etc.)
- Users: edit dialog validates at least one role is selected
- Build: suppress MudBlazor analyzer MUD0002 (false positive on Checked bind)
- Login: redirect to original page after auth via returnUrl query param
- RedirectToLogin: encodes current URL as ?returnUrl=/path
- API URL: configurable via appsettings.json ApiBaseUrl or API_BASE_URL env
- NotFound page: preserved from template
- Fix: InMemory database name now unique per test factory instance
(was using process-wide env var, now per-host config via UseSetting)
- Refactor: all integration tests use shared TestHelpers.CreateAdminClientAsync
- New: register-admin endpoint (test/dev only) creates Admin users directly
- New: TestHelpers.cs with extension method for admin client creation
- Cleanup: removed bootstrap template files, old Counter/Weather pages
- Cleanup: simplified app.css with MudBlazor-only styles
- Seed: demo admin + demo site created in Development mode
- Site detail: generate registration token with copy/paste docker-compose snippet
- Docker snippet: pre-filled with token + agent hostname, ready to copy
- Agents integration tests: register with valid token, heartbeat with API key,
invalid token rejection (3 new tests)
- TokenResult DTO for API client
- IJSRuntime clipboard copy for docker-compose snippet