Commit Graph
7 Commits
Author SHA1 Message Date
BinaryAlley 2e53449ada Guards structured logging with IsEnabled checks 2026-11-26 12:35:30 +02:00
BinaryAlley 0a86f1a70b Replaces the custom EmptyRequest with explicit API client operations
Removes the Web-specific EmptyRequest record struct and keeps FastEndpoints.EmptyRequest only as an endpoint request DTO.

Adds bodyless and response-ignoring client overloads, centralizes request construction and response disposal, and separates stale-session failures from generic 404 responses.

Updates the API client stub and tests, including regression coverage for non-empty response bodies, overload selection, and crafted theme asset paths.
2026-11-20 08:52:59 +02:00
BinaryAlley a88e7ebc4e Keeps the JSON error envelope for callers without a content preference. 2026-11-07 18:45:02 +02:00
BinaryAlley e2c705d822 Shows a connection-lost indicator when the SignalR connection closes. 2026-11-07 17:03:55 +02:00
BinaryAlley 394f6b510c Implements tests for commit 525ac1348d
Covers the favorites feature and the playlist and favorite pagination changes with unit, integration and security tests, and fixtures for the new request, response, DTO and entity types.

Also fixes the issues found while covering the commit: declares FavoriteMediaKind.None as the default value and rejects it in every favorite operation; queues the favorite added domain event only after the persisted favorite is read back; and preserves the private, no-store cache header on view pages after the antiforgery and session middlewares overwrite it.
2026-10-29 10:13:57 +02:00
BinaryAlley 3aadd6de84 Refactors the test fixtures and their consumers to compose other fixtures instead of instantiating models inline 2026-10-02 14:37:23 +03:00
BinaryAlley 759ef94050 Adds unit tests improving presentation web project code coverage 2026-09-02 11:29:36 -07:00