Commit Graph
100 Commits
Author SHA1 Message Date
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
BinaryAlley e56712731f Adds documentation for media consumption history, resume points, and statistics 2026-10-26 21:10:34 +02:00
BinaryAlley 86ddf92781 Localizes API error messages 2026-10-26 19:27:17 +02:00
BinaryAlley bc619679e8 Removes the old music play history surface and drops its table 2026-10-26 18:06:04 +02:00
BinaryAlley 0b5b65391c Adds per-library progress settings to library management 2026-10-26 17:33:27 +02:00
BinaryAlley 8011c532a1 Wires book reader consumption reporting and resume 2026-10-26 08:47:45 +02:00
BinaryAlley bfa7b190b2 Adds music player consumption reporting and its Web proxy endpoints 2026-10-25 18:08:44 +02:00
BinaryAlley 00d7eff777 Adds the media-neutral library statistics page and separates tags from genres 2026-10-25 15:51:27 +02:00
BinaryAlley a61fbf407c Adds the music play statistics endpoints and moves the Web statistics page under the library 2026-10-25 13:19:24 +02:00
BinaryAlley dfd979ec1e Adds the library statistics, history, resume, and deletion API endpoints 2026-10-25 10:22:20 +02:00
BinaryAlley c27621818c Adds the consumptions API endpoints, their summaries and documnetation 2026-10-24 22:02:32 +03:00
BinaryAlley bc65e35de7 Adds the media consumption history migration 2026-10-24 19:22:46 +03:00
BinaryAlley f777af07cf Adds the media consumption history, statistics, resume, and deletion queries 2026-10-24 18:48:48 +03:00
BinaryAlley bde7ee4b1f Adds the media consumption lifecycle commands and repository wiring 2026-10-24 17:07:31 +03:00
BinaryAlley 2ffacb5360 Adds the consumption activity access policy and repository interfaces 2026-10-24 15:29:43 +03:00
BinaryAlley 822ccc9adc Adds media consumption contracts, DTOs, and mappings 2026-10-24 14:09:36 +03:00
BinaryAlley 9247d9fe0f Adds the media resume point aggregate 2026-10-24 13:00:49 +03:00
BinaryAlley fa8513cc71 Adds the media consumption record aggregate 2026-10-24 11:18:23 +03:00
BinaryAlley b2d274f609 Adds per-library consumption settings to the domain, storage, and API 2026-10-24 10:20:00 +03:00
BinaryAlley eaca69bf2a Normalizes tag and genre names and migrates existing values 2026-10-23 21:54:18 +03:00
BinaryAlley 8a5cb9116e Adds media consumption rules and centralizes authorization role names 2026-10-23 20:58:52 +03:00
BinaryAlley 3e32068573 Adds playlist and favorite affordances to the player and lists 2026-10-22 22:09:57 +03:00
BinaryAlley 525ac1348d Adds favorites and aligns playlist and favorite pagination 2026-10-22 20:27:07 +03:00
BinaryAlley 2e9f7d8496 Adds VU meter to the audio player bar
Adds a segmented spectrum VU meter to the condensed player bar, fed by an analyser tapped after ReplayGain and before the volume, so the meter does not depend on the output volume.

Adds per-user VU meter settings (orientation, segment count and gap, thresholds, peak marker, hold and falloff rates) across the domain, persistence, API contracts, validation and the settings page, with a migration and localized resources.

Sizes the meter cells in whole pixels and keeps the frame clock steady on browsers that round timers.

Updates the theming guide, API documentation, request samples and the user manual.
2026-10-21 20:30:51 +03:00
BinaryAlley 9889c86c76 Adds playlist management and playback 2026-10-21 16:30:58 +03:00
BinaryAlley 009a0c8156 Adds music play history persistence and reporting endpoints 2026-10-19 22:16:09 +03:00
BinaryAlley 9919965a73 Adds music play history domain aggregate 2026-10-19 19:33:57 +03:00
BinaryAlley 067e9a21d0 Adds music page play affordances and shuffle playback
Adds play and shuffle actions to music library, artist, and album cards.

Adds the library play context and the uniform shuffle endpoint.

Expands the player bar with queue covers, now playing details, and release type.

Updates the bundled themes, API documentation, and the user manual.
2026-10-19 17:49:00 +03:00
BinaryAlley 93821a2776 Implements player queue engine 2026-10-18 21:44:55 +03:00
BinaryAlley 45f9aa3bd5 Adds seekable normalized audio track delivery 2026-10-18 14:55:56 +03:00
BinaryAlley 4e13b23f16 Adds normalized audio playback pipeline 2026-10-17 20:52:08 +03:00
BinaryAlley 6991640710 Standardizes cancellation token parameter documentation 2026-10-17 20:51:47 +03:00
BinaryAlley e6fa85f7c6 Adds audio player seeking, resync, underrun recovery and gapless transitions.
- Adds the media pipeline engine, seek-aware byte source, schedulers and manifest client.

- Implements seeking, resync, underrun recovery, bounded gapless prefetch and clean failure handling.

- Pins manifest, stream and configuration requests to validated page-origin routes.

- Adds why comments to the complex pipeline and download paths.
2026-10-17 15:11:30 +03:00
BinaryAlley c05978fac0 Adds the audio player container demuxers. 2026-10-16 22:10:21 +03:00