100 Commits
Author SHA1 Message Date
BinaryAlley d77e19d2fd Pins the macOS test runner to macos-15-intel 2026-12-01 20:04:59 +02:00
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 048914a8da Sweeps book API coverPath examples to the current artwork layout 2026-11-17 08:55:12 +02:00
BinaryAlley dcb5a5c125 Filters the book deleted-items ordering index by IsDeleted 2026-11-17 08:18:13 +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 308402ad0e Enforces XML documentation on public members. 2026-11-16 20:16:23 +02:00
BinaryAlley 710f87d548 Formats comments in the bundled themes.
Applies the same sentence rule to the theme templates and assets inside the two bundled archives. The archives keep their entry order, timestamps, compression and permissions, the theme.js file stays LF, the commented-out text-align rule is restored, the delimiter spacing matches the original files, and the editorial-paper id stays lowercase.
2026-11-16 18:18:58 +02:00
BinaryAlley ee55ac482c Formats code comments as sentences in the build and asset files.
Capitalizes the first word and adds the terminal period in the Dockerfiles, the compose files, the CI workflow, the MSBuild comments, the Razor views and the client assets. The existing delimiter spacing is preserved, structural banners and commented-out commands are untouched, and the Dockerfile tool names use their proper case.
2026-11-16 18:18:21 +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 727aa33318 Formats code comments as sentences in the production sources.
Capitalizes the first word and adds the terminal period across the domain, application, data access, infrastructure, API and web layers and the plugins. No comment is reworded. The change also normalizes the TODO bodies to lowercase, leaves commented-out code untouched, corrects the Threat/Treat typo and the dangling hyphen in the exception middleware, and collapses two accidental repeated terminal periods.
2026-11-16 18:16:17 +02:00
BinaryAlley 88455fec9c Restores the missing comment marker in the scheduler view.
The wrapped comment before the graph sizing logic lacked the marker on its second line, which left a bare statement inside the inline script. Both lines are now comments, and the sentence is punctuated only on its last line.
2026-11-16 18:15:20 +02:00
BinaryAlley 980e575fa4 Documents the comment sentence convention.
Adds the sentence rule to the C# conventions and the contributor guide, including its scope, the generated and tool-configuration exclusions, the bare AAA markers, the lowercase TODO bodies and the untouched commented-out code.
2026-11-16 18:15:07 +02:00
BinaryAlley f9ad8b2fc5 Adds deletion and restore for music library items. 2026-11-15 18:53:10 +02:00
BinaryAlley b13c9c5ccf Updates the architecture diagrams and documents the PlantUML rendering workflow. 2026-11-15 18:04:12 +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 813832aa73 Raises the Linux file watcher limits for the parallel test hosts. 2026-11-07 19:01:40 +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 5bd1f457f1 Standardizes the DebuggerDisplay separators. 2026-11-07 00:09:21 +02:00
BinaryAlley 7dfc7e1e9a Adds the themed-view disclaimer comment to all Razor views in themes. 2026-11-06 23:25:54 +02:00
BinaryAlley 1974cff067 Fixes file system browser tree view path not expanding to selected path on UNIX. 2026-11-06 22:50:16 +02:00
BinaryAlley 0dd241bdb4 Hides the settings button for plugins that have no settings. 2026-11-06 22:19:04 +02:00
BinaryAlley 4d32d53be9 Removes hardcoded SignalR url in the Web Client. 2026-11-06 21:26:01 +02:00
BinaryAlley 9647654f39 Fixes post-save navigation on the library form. 2026-11-06 12:21:57 +02:00
BinaryAlley f6978fe4aa Updates the book reading diagram for provider configuration
Documents the provider store configuration signature and responsibilities, adds the library type reader lookup, and regenerates the rendered diagram.
2026-11-04 12:00:00 +02:00
BinaryAlley 08bac594ae Updates the API documentation and request examples for provider configuration
Documents the provider and reader lists on the add and update library requests, adds the library type lookup requests, removes the per-provider enable and reorder requests, and registers the new request files in the solution.
2026-11-04 11:00:00 +02:00
BinaryAlley 4596f4cd8c Updates the manual for provider configuration and library ownership
Documents that provider and reader choices are saved with the library, and that only owners holding the manage permission, or administrators, can change or delete a library.
2026-11-04 10:00:00 +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 48ad8692af Adds provider configuration to media library saves
Moves metadata provider, artwork provider, and book reader choices into the add and update library requests, adds the library type lookups, removes the per-provider enable and reorder endpoints, and reconciles the stored configurations in one provider store call. Tightens library update and delete authorization to require ownership and the manage permission, and cleans up enum validation, comments, resource diacritics, and Razor imports.
2026-11-02 10:00:00 +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 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 aef75a424b Adds AI policy documentation. 2026-10-31 18:14:50 +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 b0c24a1722 Standardizes the architecture decision records
Uses ADR-0001 as the template for the sections of every ADR, moves the remaining in-document amendments to amendment sections at the end in chronological order, renames the consequence subsections to the template names, and fixes the heading formatting.
2026-10-31 12:39:25 +02:00
BinaryAlley 0f1f47e86c Adds a pull request template that GitHub applies automatically
Copies the pull request template from docs/technical/templates into the .github directory, which is one of the locations GitHub reads when it pre-fills the pull request description in the web interface.
2026-10-30 23:55:51 +02:00
BinaryAlley ed56250398 Migrates the solution file to the slnx format
Replaces the legacy src/Lumina.sln with src/Lumina.slnx, generated with dotnet sln migrate. All 65 projects, the docker compose project, the solution folders and the documented solution items are preserved. The test workflow, the manual build command and the Dockerfile comments reference the new file.
2026-10-30 23:22:04 +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 fc800afe03 Documents the SSD content setting
Adds the user manual entry, API examples, and ADR 0019 describing the scope and tradeoffs of parallel scan reads.
2026-10-30 22:40:26 +02:00
BinaryAlley 811addf8d4 Parallelizes discovery and hashing reads for SSD libraries
Uses parallel file system reads when the library content is on a solid state drive, and keeps sequential reads for mechanical drives. Discovery keeps bounded batching and sequential repository writes.
2026-10-30 22:40:09 +02:00
BinaryAlley 499647f7bb Adds the SSD content checkbox to the library form
Adds the localized checkbox and description, and sends the selected value with the library save request.
2026-10-30 22:39:57 +02:00
BinaryAlley 47d79d88e5 Exposes the SSD content setting through the API and web contracts
Documents the new field in the OpenAPI summaries and adds it to the web library form DTO.
2026-10-30 22:39:45 +02:00
BinaryAlley bcb5c4391c Propagates the SSD content setting through application commands and contracts
Carries the setting from the API requests through the application commands and mappings, and returns it in the library response.
2026-10-30 22:39:33 +02:00
BinaryAlley 6eac3d578e Adds the SSD content setting to the library model and persistence
Stores whether the content of a library is on a solid state drive, off by default, so scans can choose between parallel and sequential reads.
2026-10-30 22:39:19 +02:00
BinaryAlley 6e77cf3302 Removes unused resource designer classes
The views resolve their resources through IViewLocalizer, so the generated strongly typed resource classes are not used.
2026-10-30 22:39:05 +02:00
BinaryAlley 9bab364098 Adds HTML audio fallback for browsers without WebCodecs 2026-10-30 09:35:09 +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
BinaryAlley c0737dbfe8 Implements tests for commit f29f89f31f 2026-10-28 14:00:50 +02:00
BinaryAlley ab2940d665 Implements tests for commit eecf4315c6 2026-10-28 13:44:38 +02:00
BinaryAlley 8b8d077c6a Implements tests for commit 1aa427b1e2 2026-10-28 13:39:12 +02:00
BinaryAlley e52081533a Implements tests for commit 02bcf91661 2026-10-28 13:22:18 +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 54b468855a Implements tests for commit f777af07cf 2026-10-27 21:15:22 +02:00
BinaryAlley 99fc721d8c Implements tests for commit bde7ee4b1f 2026-10-27 20:07:10 +02:00
BinaryAlley fe20202e49 Implements tests for commit 2ffacb5360 2026-10-27 19:14:02 +02:00
BinaryAlley 6cadf437de Implements tests for commit 822ccc9adc 2026-10-27 19:01:12 +02:00
BinaryAlley 941f6c846d Implements tests for commit 9247d9fe0f 2026-10-27 18:19:21 +02:00
BinaryAlley f7c2186660 Implements tests for commit fa8513cc71 2026-10-27 18:10:10 +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 94a67aded4 Implements tests for commit 8a5cb9116e 2026-10-27 09:17:32 +02:00
BinaryAlley 73ed952ded Keeps SQLite migration temporary storage in memory 2026-10-26 22:05:07 +02:00
BinaryAlley 02bcf91661 Fixes media consumption tracking, statistics, and reader page counting 2026-10-26 22:04:28 +02:00