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.
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.
Splits the single combined enrichment phase of the media library scan into
independent, modular jobs, so that the metadata and the artwork of a book
are enriched separately and only when their respective triggers fire.
- Adds the MediaContributorRoleCategory enum (Other first, then Author,
Translator, Illustrator, Publisher and Narrator) and makes the role
category canonical, so that roles describing the same kind of
contribution are never treated as distinct.
- Realizes the media contributor bounded context: a MediaContributor is a
person, unique by display name, without a role. The role moves to the
per-work participation (BookContributors), so that a single contributor
can play multiple roles. Contributors are created and linked by the
metadata enrichment job, and exposed to subsequent jobs.
- Makes the Book aggregate pure: the enrichment tracking state (metadata
status, providers, timestamps and covers) no longer lives on the domain
aggregate, but stays in the Books table, managed directly by the jobs.
- Models artwork generically as a BookArtwork child table (type, ordinal,
content hash, status and provider), so that each piece of artwork is
tracked independently and a change of one does not require the others to
be re-fetched.
- Splits the scan DAG into ResultsSave, ProviderConfigurationInvalidation,
MetadataEnrichment and ArtworkEnrichment jobs. The invalidation job
fingerprints the provider configuration of a library and resets the
enrichment state of the affected channel when it changed. The artwork job
resolves the missing artwork, hashing it to detect identical covers and
skip re-copying. Content-changed books are reset by the results save job.
- Deletes the book and its stored artwork when the file disappears from the
library.
- Adds the migration creating the new tables, backfilling the existing
covers into the artwork table, and adding the configuration fingerprints.
- Localizes the new scan job stages, and fixes the invalidation job wiping
the library content locations by persisting the fingerprints through the
change tracker instead of the repository update action.
Seeds a disabled provider configuration for every loaded plugin supporting
a library type, so that libraries list the metadata and artwork providers
they can use. Configurations are seeded on startup, on library creation,
and reconciled when the library type changes, and are removed only when a
library or a plugin is deleted. Reads the library metadata providers
through the new provider configuration store.
- Documents the book metadata DTOs and the Book aggregate constructor parameters
- References ADR-0006 in the scan snapshot repository remarks, explaining the Dapper choice
- Extracts shared plugin entity fixtures and uses them in the plugin and metadata provider tests
- Moves PluginLoadResult to the Common DTO models, renaming it PluginLoadResultDto
- Replaces the duplicate Contracts plugin setting type with the shared kernel enum
- Removes the generated plugin view Designer file and its project wiring
- Drops redundant braces in the plugin repositories
The Windows VM running on KVM/QEMU has a filesystem component located on a drive with an EXT4
filesystem, which is case-sensitive. The appsettings environment files exist on disk as
appsettings.development.json and appsettings.shared.development.json, but the configuration
loaders referenced the PascalCase names (appsettings.Development.json and
appsettings.shared.Development.json). While this mismatch is harmless on a case-insensitive
Windows filesystem, on EXT4 the files were never matched, so Visual Studio threw an exception
for a configuration value that was missing from the loaded settings.
Updates the configuration loaders in the API, Web, and shared infrastructure projects to
reference the lowercase file names, matching what exists on disk.
* Adds Infrastructure security cryptography service
* Updates GitHub Action script to account for empty Environment values
* Updates section of GitHub Action script
* Fixes order of configuration settings import
* Hardcodes secrets used during integration tests