Commit Graph
34 Commits
Author SHA1 Message Date
BinaryAlley 35ac1dbdcb Adds the music library scanning pipeline, its scanner, scan jobs, and path structure 2026-10-09 20:53:00 +03:00
BinaryAlley ed96046769 Extends the music library aggregates and metadata with the new artist, area, and work details 2026-10-06 14:52:00 +03:00
BinaryAlley e20e244a04 Adds the music artist alias, area, and work value objects and their enumerations 2026-10-06 09:14:00 +03:00
BinaryAlley 7ed6f05632 Adds the test suites for the library path templates and centralizes their resolution in the domain service 2026-10-05 20:15:00 +03:00
BinaryAlley ca4f308b0a Adds dynamic path templates for media libraries, so that the scanner can derive the meaning of each path part 2026-10-05 18:42:00 +03:00
BinaryAlley 3aadd6de84 Refactors the test fixtures and their consumers to compose other fixtures instead of instantiating models inline 2026-10-02 14:37:23 +03:00
BinaryAlley 385e962392 Tidies the remaining test assertions and shared fixtures 2026-09-27 23:05:11 +03:00
BinaryAlley e73b3997bc Adds the music library artist test suite 2026-09-27 23:04:50 +03:00
BinaryAlley 5d3e430dd1 Adds the music library album test suite 2026-09-27 23:04:41 +03:00
BinaryAlley 12d310631b Adds the music library track test suite 2026-09-26 17:57:40 +03:00
BinaryAlley 51d7558eb3 Aligns the audio rating validation with the book rating 2026-09-26 17:54:54 +03:00
BinaryAlley 7534155f0e Removes the redundant null guards from the metadata value objects 2026-09-26 17:54:22 +03:00
BinaryAlley ef913f5c9e Adapts the tests and fixtures to the refactored domain and persistence layers 2026-09-20 01:35:14 +03:00
BinaryAlley 39f4a04459 Standardizes the remaining boolean names across the stack 2026-09-13 16:48:42 +03:00
BinaryAlley 37dff6039d Standardizes boolean naming across the stack 2026-09-26 10:12:12 +03: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 99a6159f7f Adds the scheduling module tests and centralizes domain event test fixtures 2026-09-04 00:16:41 -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 0ec6eb7ab4 Adds unit tests improving domain project code coverage 2026-09-02 06:56:36 -07:00
BinaryAlley 3a3c0c047c Adds tests for the book reading feature 2026-09-02 04:45:51 -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 4ff184d8a5 Merge branch 'refactor/standardize-test-fixtures-and-docs' into feature/add-artwork-provider-and-metadata-aggregation 2026-08-24 22:56:22 -07:00
BinaryAlley f42dc709de Standardizes test conventions and documentation 2026-08-24 14:20:08 -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 3da7167538 Adds a theme caching toggle to the user settings 2026-08-21 04:04:54 -07:00
BinaryAlley 1189bbaf36 Hardens test assertions and adds missing test coverage. 2026-08-18 08:28:16 -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 ced1f778c4 Standardizes test projects against conventions 2026-08-15 04:23:34 -07:00