Commit Graph
309 Commits
Author SHA1 Message Date
BinaryAlley b398f26bfe Refactors the track slice across the stack 2026-09-19 12:58:01 -07:00
BinaryAlley d4cc3c1f8d Refactors the album slice across the stack 2026-09-19 12:57:39 -07:00
BinaryAlley aa097ecc98 Refactors the artist slice across the stack 2026-09-19 12:57:13 -07:00
BinaryAlley c112c64c25 Refactors the book slice across the stack 2026-09-19 12:56:46 -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 8aaf9fe64e Refactors the get book slice 2026-09-13 06:58:32 -07:00
BinaryAlley 1d35cd01db Refactors the get books and get books lite slices across the stack 2026-09-13 04:16:59 -07:00
BinaryAlley 001146eefc Refactors the update book slice across the stack 2026-09-12 12:13:18 -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 3a2c80b615 Reorganizes the API documentation to mirror the API project structure 2026-09-10 07:49:38 -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 1bfa07ba5d Adds book details and editing with cover uploads across the stack 2026-09-06 09:37:23 -07:00
BinaryAlley c2715dea2e Pins the .NET SDK version for reproducible builds 2026-09-06 09:37:02 -07:00
BinaryAlley 315aed90f0 Completes the scheduler module coverage with a startup theme bootstrap and a stubbed cycle ticker 2026-09-05 01:40:15 -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 237be9e2c8 Stores scheduler page display preferences per user 2026-09-03 14:06:01 -07:00
BinaryAlley ab8ab51397 Documents the scheduling module 2026-09-03 12:52:08 -07:00
BinaryAlley 4792a31f85 Styles the scheduler page in the bundled themes 2026-09-03 12:51:52 -07:00
BinaryAlley 44d37d71e2 Authenticates the scan progress hub connections 2026-09-03 12:51:35 -07:00
BinaryAlley f882f9192f Adds the scheduler page to the web application 2026-09-03 12:50:17 -07:00
BinaryAlley 29c7d536e0 Adds the scheduled jobs API endpoints 2026-09-03 12:49:37 -07:00
BinaryAlley 58d7375d61 Adds the scheduled job executor and SignalR hub 2026-09-03 12:49:21 -07:00
BinaryAlley bb16cd0bb6 Adds the scheduled jobs data access layer 2026-09-03 12:49:07 -07:00
BinaryAlley ea7e003bff Adds scheduled job contracts and application handlers 2026-09-03 12:48:53 -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 2bdb2b2d19 Adds API and architecture documentation for the book reading feature 2026-09-02 05:34:17 -07:00
BinaryAlley 3a3c0c047c Adds tests for the book reading feature 2026-09-02 04:45:51 -07:00
BinaryAlley f7ccdf3d1c Adds book reading support with EPUB and PDF reader plugins 2026-09-02 04:45:11 -07:00
BinaryAlley d73455eda2 Restores the authenticated thumbnail proxy call in the file browser dialog 2026-08-29 17:13:26 +03:00
BinaryAlley 30437030f9 Stops the browser from requesting the file browser theme sub templates as resources 2026-08-29 17:03:45 +03:00
BinaryAlley f694882b46 Routes the file browser thumbnail requests through the authenticated Web proxy 2026-08-29 16:35:12 +03:00
BinaryAlley a32f80337b Moves the file explorer styling and layout into the bundled themes 2026-08-29 16:28:58 +03:00
BinaryAlley 85849783b3 Renders the navigation submenu entries under their parent label 2026-08-29 13:11:47 +03:00
BinaryAlley a0678bcdc8 Moves the site styling and behavior into the bundled themes 2026-08-29 13:11:30 +03:00
BinaryAlley 3192b9c585 Falls back to the unstyled application views when a theme template is missing 2026-08-29 13:11:16 +03:00
BinaryAlley df057185f3 Restores missing bundled themes correctly 2026-08-28 11:18:08 -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 4ee2976806 Adds artwork provider management to the library edit page
Adds the artwork providers list to the library edit page, mirroring the
metadata providers list, so that the artwork providers of a library can be
enabled, disabled and reordered. Adds the web routes, request types, DTO and
endpoints that proxy the artwork provider operations to the API.
2026-08-26 21:49:49 +03:00
BinaryAlley ba9a49b0db Fixes view script loading and request handling on the web frontend
Executes the view scripts after the application scripts have loaded, both on
the initial page load and during AJAX navigation, instead of running them
during HTML parsing when the API helpers are not defined yet. Sends an empty
JSON object for requests without a payload, because FastEndpoints parses the
JSON body when the content type is application/json. Adds the antiforgery
token to the management views that issue protected write requests.
2026-08-26 19:16:21 +03:00
BinaryAlley ccefb65c83 Fixes library cover image handling on save
Validates the cover image only when a new one is chosen, so an unchanged
stored cover does not block saving unrelated changes, and keeps the cover
already copied to the internal media directory instead of re-copying the
stored relative path, which was treated as an absolute file system path.
2026-08-26 19:15:49 +03:00
BinaryAlley 00dcf3d471 Adds metadata and artwork provider configuration seeding
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.
2026-08-26 19:14:35 +03:00
BinaryAlley d08dbbd431 Adds AntiForgeryToken to plugins upload form 2026-08-25 08:42:37 -07: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 0f872b5666 Merge branch 'feature/add-artwork-provider-system' into feature/add-artwork-provider-and-metadata-aggregation 2026-08-24 22:53:55 -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