Commit Graph
494 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 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 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 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 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 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 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 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 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 235c2ef9ea Merge branch 'master' into bugfix/fixes-return-url-missing-on-redirect-to-login-page 2026-11-01 11:08:40 +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 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 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