Commit Graph
78 Commits
Author SHA1 Message Date
BinaryAlley b51013a9e9 Refactors the artist slice across the stack 2026-09-25 13:18:27 -07:00
BinaryAlley aa097ecc98 Refactors the artist slice across the stack 2026-09-19 12:57:13 -07:00
BinaryAlley 54cae054c1 Refactors the add and update album and track slices across the stack 2026-09-19 09:29:52 -07:00
BinaryAlley ea6eb9f796 Refactors the book, artist, and album slices across the stack 2026-09-17 13:30:48 -07:00
BinaryAlley 9a71a6d32b Refactors the add book slice and shared media contributor model across the stack 2026-09-12 12:12:22 -07:00
BinaryAlley 3a720af29f Adds domain Music aggregate 2026-09-07 09:41:57 -07:00
BinaryAlley f14b321294 Allows renaming files that are not executable on Unix 2026-09-06 10:43:34 -07:00
BinaryAlley 4b7cfbbe11 Completes the scheduled jobs module with default jobs, a themed scheduler page and aligned recovery semantics 2026-09-04 13:56:04 -07:00
BinaryAlley 7fbb4dc0d3 Adds the scheduled job domain model 2026-09-03 12:48:35 -07:00
BinaryAlley 042c5e4729 Relocates real-resource tests into integration projects and improves data access unit tests 2026-09-02 09:49:58 -07:00
BinaryAlley f7ccdf3d1c Adds book reading support with EPUB and PDF reader plugins 2026-09-02 04:45:11 -07:00
BinaryAlley 565fe68239 Adds independent metadata and artwork enrichment
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.
2026-08-27 14:41:49 +03:00
BinaryAlley deada87e56 Merge branch 'bugfix/fix-path-sanitization' into feature/add-artwork-provider-and-metadata-aggregation 2026-08-24 22:58:40 -07:00
BinaryAlley b47588cf83 Merge branch 'feature/add-metadata-aggregation' into feature/add-artwork-provider-and-metadata-aggregation 2026-08-24 22:53:57 -07:00
BinaryAlley 942db4c90e Fixes path segment sanitization allowing path separators 2026-08-24 14:18:49 -07:00
BinaryAlley 66871ccf62 Adds metadata aggregation to the media library enrichment job 2026-08-24 14:18:40 -07:00
BinaryAlley 6693ff3f60 Adds artwork provider system and Calibre plugin 2026-08-24 14:18:14 -07:00
BinaryAlley ad3e6d6779 Fixes failed result access when reading file sizes 2026-08-22 00:04:51 -07:00
BinaryAlley 3da7167538 Adds a theme caching toggle to the user settings 2026-08-21 04:04:54 -07:00
BinaryAlley 2354e21d42 Adds user settings management
Adds the UserSettings aggregate with pagination and alpha picker preferences, keyed to a user with a dedicated UserId foreign key. Adds GET and PUT /users/me/settings API endpoints, a localized Tools > Settings page with save confirmation, the EF migration for the UserSettings table, and unit, integration and security tests.
2026-08-16 08:37:33 -07:00
BinaryAlley 0e0e67ca73 Replaces inheritdoc with explicit documentation 2026-08-14 10:05:16 -07:00
BinaryAlley 3b772d68ca Replaces ErrorOr library with a custom implementation. 2026-08-14 03:04:28 -07:00
BinaryAlley 8fe90a4dde Defines base implementation for Result, with samples. 2026-08-13 14:18:41 -07:00
BinaryAlley 810fa5c2e7 Replaces Mediator domain event publishing with a custom implementation and removes the Mediator dependency 2026-08-13 14:02:16 -07:00
BinaryAlley 3653ff5bd7 Improves the plugin system documentation, tests and conventions
- 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
2026-08-12 13:58:47 -07:00
BinaryAlley 42566dcf06 Remove application validation from domain value object. 2026-08-12 13:00:33 -07:00
BinaryAlley 6f501a51f3 Integrates the plugin system into the host and the media library scan pipeline 2026-08-12 11:04:45 -07:00
BinaryAlley f33817f2d2 Scopes books to a media library and tracks their metadata enrichment status 2026-08-12 11:01:59 -07:00
BinaryAlley a8d2a1514e Updates usings. 2026-08-12 10:12:45 -07:00
BinaryAlley 76b9596a27 Moves enums and errors to a shared kernel. 2026-08-12 09:07:00 -07:00
BinaryAlley 9c2e5452da Adds the opt-in directory fast skip scan setting and renames the library scan settings for consistency 2026-08-09 13:18:07 -07:00
BinaryAlley 9905aa08f9 Replaces the in-memory media library scan diff with a database-centric job pipeline 2026-08-09 13:17:51 -07:00
BinaryAlley 74e9030a18 Fixes typos and replaces LINQ conversions with collection expressions 2026-08-09 00:19:28 -07:00
BinaryAlley 03a000e1e4 Implements file hashing media library scan job 2025-03-01 16:44:10 +02:00
BinaryAlley 42a78a6077 Improves code documentation 2025-02-23 09:59:50 +02:00
BinaryAlley e0d61802df Adds real time media libraries scan progress update via SignalR 2025-02-22 17:45:09 +02:00
BinaryAlley 27fa8e2e4f Adds media library scan progress tracking 2025-02-18 17:24:39 +02:00
BinaryAlley c4246d2e69 Moves media library scanning to domain layer 2025-02-16 21:45:26 +02:00
BinaryAlley f89ba4960a Adds media library advanced options 2025-01-25 12:27:50 +02:00
BinaryAlley d7c8478101 Adds media libraries management view 2025-01-11 23:11:33 +02:00
BinaryAlley 104106d2ec Adds library saved domnain event and its handler 2025-01-09 18:47:47 +02:00
BinaryAlley ef051d8c77 Implements directory structure seed service 2025-01-04 10:50:53 +02:00
BinaryAlley 666a739b1d Adds media library cover image 2025-01-03 16:01:20 +02:00
BinaryAlley 0114ff13e8 Adds authorization module tests 2025-01-01 22:56:07 +02:00
BinaryAlley 2c9c210e43 Implements Authorization system 2024-11-22 18:02:42 +02:00
BinaryAlley acbdb0a5f8 Updates to .NET 9.0 2024-11-13 20:46:54 +02:00
BinaryAlley 8f9b8fe3b8 Removes Mono.Posix package due to incompatibility with MacOs platforms 2024-11-06 20:53:54 +02:00
BinaryAlley 01decb27d5 Updates code to account for MacOS as a UNIX platform 2024-11-06 20:26:26 +02:00
BinaryAlley 786bdef4b5 Moves enums to Domain Layer 2024-11-03 20:12:21 +02:00
BinaryAlley 8c0fe7c742 Reverts erroneous curly brackets removal 2024-11-03 19:56:56 +02:00