Commit Graph
97 Commits
Author SHA1 Message Date
BinaryAlley ad072eeffc Uses contributor references on the book page 2026-11-27 18:23:20 +02:00
BinaryAlley dab6bac9a7 Returns client errors for JSON binding failures 2026-11-27 18:23:06 +02:00
BinaryAlley c583c9327c Renames project content from Lumina to Nemera 2026-11-27 15:37:44 +02:00
BinaryAlley 0f659a4877 Renames project paths from Lumina to Nemera 2026-11-27 15:34:43 +02:00
BinaryAlley 2a8e3aa290 Completes insufficient-role security coverage for admin-gated Web endpoints 2026-11-20 15:23:53 +02:00
BinaryAlley f735c135a8 Updates ProblemDetails references to current RFCs
Points the 500 problem type at RFC 9110 section 15.6.1, points 429 at RFC 6585 section 4, documents ProblemDetailsDto as RFC 9457, and aligns the 429 OpenAPI examples with the runtime detail codes.

Adds an assertion for the middleware problem type so it cannot regress silently.
2026-11-20 10:38:15 +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 24af00579c Hardens outbound host validation against SSRF
- resolves host names and validates every address, with a connect callback that pins the checked address

- applies the guard to every outbound HTTP client, with distinct rejection and resolution failures and warning logs

- scopes the MusicBrainz private base URL permission to the configured host and blocks link local and cloud metadata endpoints

- keeps provider redirects bounded and strips credentials and hop-by-hop headers on cross-origin redirects

- adds unit, security, and end-to-end coverage, and updates the manual
2026-11-18 10:51:41 +02:00
BinaryAlley 057f557791 Formats code comments as sentences in the tests.
Capitalizes the first word and adds the terminal period in the unit, integration and security tests. The AAA markers stay bare, the TODO bodies stay lowercase, and no assertion, payload, expected status code or test signature changes.
2026-11-16 18:17:29 +02:00
BinaryAlley f9ad8b2fc5 Adds deletion and restore for music library items. 2026-11-15 18:53:10 +02:00
BinaryAlley f26b07d4ff Adds book deletion and restore to the web client.
Soft deletes books so the scan keeps their paths reserved, lists the deleted books on a themed page, and lets the user restore them. Updates the API, bundled themes, localization, documentation and tests.

Closes #213
2026-11-13 18:00:00 +02:00
BinaryAlley b6af6b238c Adds a Delete Book API endpoint. 2026-11-12 11:51:51 +02:00
BinaryAlley 64e5163229 Updates the provider configuration and ownership tests
Covers the provider and reader choices saved with a library, the reconciliation and stale configuration deletion in the provider store, the library type lookups, the ownership and permission checks for update and delete, and the validator behavior for enum names.
2026-11-03 10:00:00 +02:00
BinaryAlley aba803b106 Adds music stack test coverage and fixes playlist cache and stream error handling 2026-10-29 15:46:24 +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 468f1846f1 Implements tests for commit 2e9f7d8496 2026-10-28 23:50:00 +02:00
BinaryAlley a75447062f Implements tests for commit 067e9a21d0 2026-10-28 23:14:47 +02:00
BinaryAlley aeefa9487e Implements tests for commit 45f9aa3bd5 2026-10-28 22:34:32 +02:00
BinaryAlley 8b8d077c6a Implements tests for commit 1aa427b1e2 2026-10-28 13:39:12 +02:00
BinaryAlley 527c3c3e29 Implements tests for commit 8011c532a1 2026-10-28 13:11:52 +02:00
BinaryAlley d3b4eec630 Implements tests for commit bfa7b190b2
Covers the four consumption lifecycle Web proxy endpoints with unit, integration and security tests and their DTO and request fixtures. Changes the report progress Web route from POST to PUT, matching the upstream API, and updates the music player and the book reader to send that verb.
2026-10-28 12:55:55 +02:00
BinaryAlley 1afb078efc Implements tests for commit 00d7eff777
Covers genre consumption and delete-item-history across application, contracts, API, and Web. Changes the new string-bound request pipelines to return validation problems instead of 500 for malformed values.
2026-10-28 12:27:34 +02:00
BinaryAlley 968061e89a Implements tests for commit dfd979ec1e 2026-10-28 10:07:57 +02:00
BinaryAlley d8adf3c1b6 Implements tests for commit c27621818c 2026-10-27 22:35:33 +02:00
BinaryAlley 5c436fc13d Implements tests for commit b2d274f609 2026-10-27 17:32:37 +02:00
BinaryAlley d185c77999 Implements tests for commit eaca69bf2a 2026-10-27 16:39:18 +02:00
BinaryAlley 525ac1348d Adds favorites and aligns playlist and favorite pagination 2026-10-22 20:27:07 +03:00
BinaryAlley 1aa427b1e2 Removes track path editing from the music track update flow
Stops Track.UpdateDetails and Artist.UpdateTrackInAlbum from assigning a path, so a track path can be set only when the track is created. Removes Path from UpdateTrackRequest, UpdateTrackCommand, UpdateTrackCommandValidator and UpdateMusicTrackRequest, and removes the path containment check and IPathService dependency from UpdateTrackCommandHandler. The path stays visible in TrackResponse, MusicTrackDto and the read-only field of the track page. Updates the endpoint summary, request and API docs, and the affected tests.
2026-10-13 20:14:12 +03:00
BinaryAlley 34199cc35b Refactors the integration tests to deserialize problem details and to use collection expressions. 2026-10-13 13:27:51 +03:00
BinaryAlley 5a2c6c2bd8 Adds the music library browsing and editing pages to the web client. 2026-10-13 13:27:28 +03:00
BinaryAlley 4ceb8f7360 Adds cover update endpoints for music artists and albums. 2026-10-13 13:26:41 +03:00
BinaryAlley bae4dba9d3 Fixes flaky SQL security assertions. 2026-10-11 11:18:57 +03:00
BinaryAlley a514335a10 Aligns the test fixture field names with their types and tidies the remaining tests 2026-10-10 14:24:00 +03:00
BinaryAlley 76645b5eb9 Adds the Calibre and MusicBrainz security test projects and removes a redundant blank line from the test project files 2026-10-10 13:55:00 +03:00
BinaryAlley 9cc0852236 Adds the music library API endpoints, their OpenAPI summaries, and the endpoint tests 2026-10-10 07:42:00 +03:00
BinaryAlley 9e118864c3 Adds the media library artwork aggregation services, enrichers, and their provider contracts 2026-10-09 01:59:00 +03:00
BinaryAlley 7ed6f05632 Adds the test suites for the library path templates and centralizes their resolution in the domain service 2026-10-05 20:15:00 +03:00
BinaryAlley fb05561619 Adds the Cover Art Archive music artwork plugin, its fixtures, and its unit and security test suites 2026-10-03 11:47:00 +03: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 ab5cbfb949 Hardens the library API security tests 2026-09-27 23:04:59 +03:00
BinaryAlley e73b3997bc Adds the music library artist test suite 2026-09-27 23:04:50 +03:00
BinaryAlley 5d3e430dd1 Adds the music library album test suite 2026-09-27 23:04:41 +03:00
BinaryAlley ffe79221fe Renames the unprocessable content status to unprocessable entity 2026-09-27 22:17:44 +03:00
BinaryAlley 12d310631b Adds the music library track test suite 2026-09-26 17:57:40 +03:00
BinaryAlley 37dff6039d Standardizes boolean naming across the stack 2026-09-26 10:12:12 +03:00
BinaryAlley ea6eb9f796 Refactors the book, artist, and album slices across the stack 2026-09-17 13:30:48 -07:00
BinaryAlley 8aaf9fe64e Refactors the get book slice 2026-09-13 06:58:32 -07:00
BinaryAlley 1d35cd01db Refactors the get books and get books lite slices across the stack 2026-09-13 04:16:59 -07:00
BinaryAlley 001146eefc Refactors the update book slice across the stack 2026-09-12 12:13:18 -07:00
BinaryAlley 9a71a6d32b Refactors the add book slice and shared media contributor model across the stack 2026-09-12 12:12:22 -07:00