Commit Graph
343 Commits
Author SHA1 Message Date
BinaryAlley e2d8e62908 Aligns the book metadata contract and consolidates metadata conversion and merging 2026-12-01 18:52:30 +02:00
BinaryAlley 2a90022aa8 Persists the activated theme without a redundant update 2026-11-30 21:20:44 +02:00
BinaryAlley 68143dff25 Adds per-platform release artifacts and release image validation 2026-11-30 21:20:42 +02:00
BinaryAlley b30cbd6b9e Adds bundled plugin trust and cross-platform native deployment
- embeds the append-only historical and deny trust lists in the API and marks matching bundled plugins as Official without blocking loading
- builds and records the current plugin manifest only for official release builds
- deploys the PDF native libraries for the supported Linux, macOS and Windows runtimes from the plugin dependency manifest
- records release hashes by appending only missing entries to master's manifest and rejects any diff that removes a line
- documents the release flow, the supported runtimes and the plugin installer limits
2026-11-28 18:00:00 +02:00
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 0e8d61b215 Adds a per-library option to skip hidden files and directories during scans 2026-11-27 09:52:40 +02:00
BinaryAlley 2e53449ada Guards structured logging with IsEnabled checks 2026-11-26 12:35:30 +02:00
BinaryAlley 7f701ea3cc Separates application validation errors from domain business rules
Moves the user settings, user id, scheduler display preference and thumbnail quality validation errors to the application error catalogs, leaves only business-rule errors in the domain catalogs, and records the domain-expert test for error ownership.
2026-11-22 12:00:00 +03:00
BinaryAlley 7253f1507c Centralizes audit column ownership in the auditing interceptor
Removes explicit audit assignments from mappings, handlers, repositories,
seeding, and background jobs, leaving the auditing interceptor as the only
writer of the audit columns for ordinary saves.

Adds a one-time initialization save so setup can attribute the original admin
account and seeded rows to the SYSTEM audit identity, while ordinary anonymous
writes remain unattributed with Guid.Empty.
2026-11-21 12:00:00 +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 d516e94346 Adds integration tests for EventualConsistencyMiddleware transaction atomicity 2026-11-17 10:36:54 +02:00
BinaryAlley 40ee922c18 Propagates music artwork deletion failures and keeps stored records consistent 2026-11-16 23:19:30 +02:00
BinaryAlley 8eba545b2b Migrates persisted identifiers to GUID version 7. 2026-11-16 22:22:51 +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 7f4c8cc8b9 Fixes hidden detection for directory paths with trailing separators. 2026-11-15 14:14:14 +02:00
BinaryAlley b46dce745b Adds unlit color to hidden file system browser dialog elements. 2026-11-15 13:53:23 +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 c6469e70cf Maps OpenLibrary MARC publish_country to ReleaseCountry
Adds publish_country to the Open Library edition response, translates MARC 21 country codes into the ReleaseCountry enumeration through a private table, and drops the city based publish_places mapping.

Closes #222
2026-11-08 10:00:00 +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 5914b4c231 Verifies and ensures cascade deletion of library related data. 2026-11-07 00:47:53 +02:00
BinaryAlley 0dd241bdb4 Hides the settings button for plugins that have no settings. 2026-11-06 22:19:04 +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 235c2ef9ea Merge branch 'master' into bugfix/fixes-return-url-missing-on-redirect-to-login-page 2026-11-01 11:08:40 +02:00
BinaryAlley 640322380e Merge branch 'bugfix/fix-flaky-file-hash-service-callback-count' of https://github.com/BinaryAlley/Lumina into bugfix/fix-flaky-file-hash-service-callback-count 2026-11-01 10:42:05 +02:00
BinaryAlley d13246e6a0 Fixes the flaky LibraryPathTemplate equality and TranscodingCacheCoordinator touch tests 2026-11-01 10:41:51 +02:00
BinaryAlley 33f155610b Merge branch 'master' into bugfix/fix-flaky-file-hash-service-callback-count 2026-11-01 10:13:03 +02:00
BinaryAlley ebef8f4cae Fixes the flaky callback count assertion in the parallel FileHashService test 2026-11-01 09:35:38 +02:00
BinaryAlley 8918b270e6 Removes the redundant BookRepository.GetByLibraryIdAsync 2026-11-01 09:28:14 +02:00
BinaryAlley 7e9e004c66 Fixes return url missing on a redirect to login page in an Incognito browser tab 2026-11-01 09:12:55 +02:00
BinaryAlley ca923f126f Fixes the login URL being broken after the admin account registration 2026-11-01 08:29:43 +02:00
BinaryAlley 8ff5149b6e Serializes media library scans through a scan queue
Replaces the job queue with a scan queue that executes one media library scan at a time, in the order in which the scans were queued, so several libraries requested at once no longer run one complete job chain each on the thread pool shared with the web server.

Keeps queued scans Pending and cancellable, reports them as queued, and cancels the executing scan and the queued ones when the user cancels all scans. A media library type without a scanner now fails its own scan instead of leaving it stuck Pending, without stopping the scans queued behind it.

Makes the file system discovery job the only top level job of a scan graph, so awaiting it completes the whole scan, and leaves one logical processor free for the rest of the process while discovery and hashing read files in parallel.

Removes the per job Task.Run wrappers, links the scan cancellation with the host shutdown token in the scan processor, updates the ADR amendments, API documentation, manual, web client and tests, and normalizes the comments of the touched files.
2026-10-31 14:42:33 +02:00
BinaryAlley 45c1d1bd44 Covers the SSD content setting with tests
Adds domain, mapping, endpoint, persistence, discovery, and hashing coverage, including parallel and sequential read behavior.
2026-10-30 22:40:41 +02:00
BinaryAlley d3900deb45 Fixes flaky directory scan fingerprint upsert test
The fixture can generate the same directory path twice, which makes the upsert collapse the two new rows into one. The test now uses two distinct paths.
2026-10-29 21:04:51 +02:00
BinaryAlley 6ef9592f00 Fixes large library scans hitting the SQLite parameter limit
Bounds path lookups and enrichment resets to 20,000 parameters per query, restores failed scans from their staged metadata, and clears staged data only after the materialized items are saved.
2026-10-29 20:23:24 +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 d61a114d80 Implements tests for commit 4e13b23f16
Covers the normalized audio cache with integration tests for the cache paths, the coordinator, the reader lease, the reservation, the lease stream, the output size tracker and the startup initializer, and unit tests for the playback format catalog and the transcoding toolchain status, with fixtures for the index DTOs and the transcoding settings. Makes the array based asynchronous overloads of the lease stream adapt to the memory based overloads of the inner stream.
2026-10-28 15:32:52 +02:00
BinaryAlley cf3855ec12 Implements tests for commit e6fa85f7c6
Covers the root relative URL generation of UrlService with unit tests, which had no coverage since the method was added, and keeps the absolute URL coverage over the shared test HTTP context factory.
2026-10-28 14:24:40 +02:00