Commit Graph

5 Commits

Author SHA1 Message Date
REDCODE
220581579b refactor(auth): remove SendWithRefreshAsync, rely solely on JwtTokenRefresher
- Remove SendWithRefreshAsync method from AuthServiceBase (now dead code)
- Replace all 15 SendWithRefreshAsync call sites in 7 services with
  direct Client.XxxAsync calls
- Remove unused using System.Net from AuthServiceBase
- Update AGENTS.md to document JwtTokenRefresher as the sole token
  refresh mechanism
2026-07-10 01:12:31 +02:00
64a0fdf81d feat(folders): add regex pattern field with named groups, syntax highlighting, and sample path preview 2026-07-07 14:19:35 +02:00
d93036f754 fix: handle 401 transparently at AuthServiceBase level for all services
- JwtTokenRefresher: remove ForceLogout that was clearing auth on refresh
  failure and redirecting to login. Instead return a synthetic 401 so the
  service-layer handling can retry.
- AuthServiceBase: add LoginService property and SendWithRefreshAsync
  helper — wraps any HTTP call, catches 401, refreshes token via
  Reauthenticate(), updates DefaultRequestHeaders, retries once.
- JobsService: remove local SendWithRefreshAsync, use base class version.
- SettingsService, FoldersService: wrap GET calls with
  SendWithRefreshAsync.
- LoginService: fix Logout to also clear LoggedUser.
2026-07-06 19:45:42 +02:00
eb9f0d14d3 docs: add XML documentation to all public APIs across all projects
Achieves 100% XML doc coverage on non-trivial types with CS1591
enforcement via Directory.Build.props.

Coverage by project:
- Butter: from 6.5% to 100% (DTOs, enums, MIME types)
- Lactose: from ~28% to 100% (controllers, services, repos, jobs, models)
- MilkStream.Client: from ~29% to 100% (all frontend services)

Uses <inheritdoc /> on repository implementations (interfaces
already documented) and full <summary>/<param>/<returns> tags
elsewhere. Enums include member-level docs.
2026-07-06 18:45:21 +02:00
copilot-swe-agent[bot]
7df482f9e9 feat: migrate MilkStream frontend from Blazor SSR to Blazor WASM
Agent-Logs-Url: https://github.com/SamueleLorefice/MilkyShots/sessions/2a560c45-14b6-47a3-b348-22e4142217be

Co-authored-by: SamueleLorefice <6562494+SamueleLorefice@users.noreply.github.com>
2026-04-22 19:39:07 +00:00