Commit Graph
310 Commits
Author SHA1 Message Date
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 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
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 bc619679e8 Removes the old music play history surface and drops its table 2026-10-26 18:06:04 +02:00
BinaryAlley bde7ee4b1f Adds the media consumption lifecycle commands and repository wiring 2026-10-24 17:07:31 +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 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 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 45f9aa3bd5 Adds seekable normalized audio track delivery 2026-10-18 14:55:56 +03:00
BinaryAlley 6991640710 Standardizes cancellation token parameter documentation 2026-10-17 20:51:47 +03:00
BinaryAlley a8e85d0673 Adds the themeable audio player bar and its theming contract. 2026-10-16 10:02:55 +03:00
BinaryAlley dd76309ded Adds playback preferences and auto-persisted playback state to user settings 2026-10-15 21:09:38 +03:00
BinaryAlley d7c1ae60c2 Adds the playback manifest endpoint 2026-10-15 14:58:57 +03:00
BinaryAlley 7dc5953e1d Adds the playback delivery decision service 2026-10-15 09:19:36 +03:00