Commit Graph
133 Commits
Author SHA1 Message Date
BinaryAlley 3a3c0c047c Adds tests for the book reading feature 2026-09-02 04:45:51 -07:00
BinaryAlley d6f44da7bc Makes the file system browser fallback view test platform independent 2026-08-29 17:35:57 +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 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 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 054911e9a7 Fixes flaky genre collision in book alpha filter tests 2026-08-25 09:01:10 -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 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 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 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 6693ff3f60 Adds artwork provider system and Calibre plugin 2026-08-24 14:18:14 -07:00
BinaryAlley 04927a95af Refactors metadata provider contracts to typed interfaces 2026-08-24 14:17:29 -07:00
BinaryAlley 862c76c00b Fixes plugin upload path traversal on non-Windows platforms 2026-08-23 08:31:47 -07:00
BinaryAlley b3ffb5dfab Adds plugin upload from the web client 2026-08-23 08:15:29 -07:00
BinaryAlley e0299aa9ee Adds Arabic localization support 2026-08-23 06:29:18 -07:00
BinaryAlley b32cc764a7 Persists and surfaces plugin load failures 2026-08-23 05:28:50 -07:00
BinaryAlley 4bce644e89 Centralizes NuGet package versioning 2026-08-23 03:05:21 -07:00
BinaryAlley a2c99b1b79 Adds telemetry instrumentation to application handlers 2026-08-22 06:27:31 -07:00
BinaryAlley b2b6f554b7 Caches JsonSerializerOptions instances in tests 2026-08-22 00:43:58 -07:00
BinaryAlley c2e00242cc Adds global exception handling middleware to the API 2026-08-22 00:43:52 -07:00
BinaryAlley 7e54c990ad Adds a restore action for soft deleted bundled themes 2026-08-21 11:47:51 -07:00
BinaryAlley 15945c2e56 Removes the option to disable theme scripts 2026-08-21 11:47:16 -07:00
BinaryAlley baa6450406 Adds the unit tests for the theming feature 2026-08-21 09:43:10 -07:00
BinaryAlley 67ceee53b7 Adds a trust warning and a source column to the themes page 2026-08-21 04:06:16 -07:00
BinaryAlley 3da7167538 Adds a theme caching toggle to the user settings 2026-08-21 04:04:54 -07:00
BinaryAlley 60b551558f Caches the theme API responses 2026-08-21 04:04:26 -07:00
BinaryAlley e37bb3ecc6 Renders themed pages as swappable sections with path-mirrored template scopes and a Razor fallback 2026-08-20 06:50:17 -07:00
BinaryAlley bf8faba24d Adds the server-side theme repository and reworks the web theme engine onto it 2026-08-19 22:50:07 -07:00
BinaryAlley 59de6e3df6 Adds the web theme engine 2026-08-19 10:27:16 -07:00
BinaryAlley 57e8e2ed65 Replaces FluentValidation with the custom validation framework in the web project 2026-08-19 10:25:28 -07:00
BinaryAlley a13eeee43e Makes SQL injection security tests exercise the database and centralizes test setup helpers. 2026-08-18 12:38:45 -07:00
BinaryAlley 1189bbaf36 Hardens test assertions and adds missing test coverage. 2026-08-18 08:28:16 -07:00
BinaryAlley 85129187b3 chore: excludes test classes from code coverage 2026-08-17 11:52:35 -07:00
BinaryAlley c4135dbec9 fix: makes the set language endpoint work without a return url 2026-08-17 11:52:33 -07:00
BinaryAlley 7ad7ad308e test: adds unit, integration and security test projects for the web project 2026-08-17 11:52:28 -07:00
BinaryAlley 97f34b4243 Updates packages. 2026-08-17 04:13:54 -07:00
BinaryAlley 6fa154a2e7 Adds alpha picker filtering to the books lite query 2026-08-16 10:34:08 -07:00
BinaryAlley efe2f57aa3 Updates failing test. 2026-08-16 08:58:35 -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 f0a1942691 Refactors current user identity handling in handlers 2026-08-16 04:59:44 -07:00
BinaryAlley a7dfcbe926 Adds library ownership authorization policy 2026-08-16 04:59:06 -07:00
BinaryAlley ce4ebf36bc Adds pagination and filtering to the API 2026-08-16 03:10:47 -07:00