fix: base64 uploads, audit log noise, and stale chunk reloads #69

Merged
naomi merged 3 commits from fix/bugs into main 2026-02-23 20:37:52 -08:00

3 Commits

Author SHA1 Message Date
hikari e8610667b5 fix: silently reload on ChunkLoadError after deployments
Node.js CI / CI (pull_request) Successful in 1m47s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m53s
Stale chunk errors occur when a user has an old version of the app cached
after a redeployment. Detect ChunkLoadError before logging so the page
reloads automatically without showing a toast or sending noise to the API.
2026-02-23 20:11:46 -08:00
hikari b81b77ac2f fix: omit audit log entries for 401s on /api/auth/me
Token expiry probes against /api/auth/me are expected behaviour during
the refresh flow and should not generate unauthorized access audit events.
2026-02-23 20:09:36 -08:00
hikari fa4c1d8958 fix: correct base64 cover image validation for books, shows, manga, music
Remove premature URL length check that ran before data URL detection,
causing all base64 uploads to be incorrectly rejected. Also fix size
calculation to use only the base64 data portion (after the comma) rather
than the full data URL string, matching the correct pattern already in
game.service.ts.
2026-02-23 20:06:22 -08:00