Commit Graph
823 Commits
Author SHA1 Message Date
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 c9f37830c8 Merge pull request #267 from BinaryAlley/bugfix/fix-flaky-file-hash-service-callback-count
Fixes flaky FileHashService, LibraryPathTemplate and TranscodingCacheCoordinator tests
2026-11-01 11:08: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 33f155610b Merge branch 'master' into bugfix/fix-flaky-file-hash-service-callback-count 2026-11-01 10:13:03 +02:00
BinaryAlley da49f67b8c Merge pull request #266 from BinaryAlley/refactor/remove-redundant-book-repository-get-by-library-id
Removes the redundant BookRepository.GetByLibraryIdAsync
2026-11-01 09:53:18 +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 c44aa80fbd Merge pull request #263 from BinaryAlley/bugfix/fix-broken-login-url-after-admin-registration
Fixes the login URL being broken after the admin account registration
2026-11-01 08:52:03 +02:00
BinaryAlley ca923f126f Fixes the login URL being broken after the admin account registration 2026-11-01 08:29:43 +02:00
BinaryAlley a0c9829c77 Merge pull request #262 from BinaryAlley/documentation/add-ai-policy
Adds AI policy documentation.
2026-10-31 18:36:58 +02:00
BinaryAlley aef75a424b Adds AI policy documentation. 2026-10-31 18:14:50 +02:00
BinaryAlley e0a59e8115 Merge pull request #261 from BinaryAlley/feature/serialized-media-library-scans
Serializes media library scans through a scan queue
2026-10-31 15:17:16 +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 2374b6d198 Merge pull request #259 from BinaryAlley/feature/migrate-solution-to-slnx-format
Migrates the solution file to the slnx format
2026-10-30 23:46:29 +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 af054745c6 Merge pull request #257 from BinaryAlley/feature/library-ssd-read-parallelism
Adds per-library SSD content setting to parallelize scan reads
2026-10-30 23:09:41 +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 4b33302ae6 Merge pull request #255 from BinaryAlley/feature/html-audio-playback-fallback
Adds HTML audio fallback for browsers without WebCodecs
2026-10-30 10:17:40 +02:00
BinaryAlley 9bab364098 Adds HTML audio fallback for browsers without WebCodecs 2026-10-30 09:35:09 +02:00
BinaryAlley 3d22c05e55 Merge pull request #254 from BinaryAlley/bugfix/fix-too-many-sql-variables-during-scan
Fixes large library scans hitting the SQLite parameter limit
2026-10-29 21:21:49 +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 800f4ab334 Merge pull request #252 from BinaryAlley/refactor/add-tests-music-stack
Refactor/add tests music stack
2026-10-29 16:29:39 +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