Commit Graph
89 Commits
Author SHA1 Message Date
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 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 3a3c0c047c Adds tests for the book reading feature 2026-09-02 04:45:51 -07: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 a32f80337b Moves the file explorer styling and layout into the bundled themes 2026-08-29 16:28:58 +03:00
BinaryAlley 75281f48ef Adapts the theme integration tests to the bundled lumina-default theme 2026-08-29 13:37:29 +03: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 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 f42dc709de Standardizes test conventions and documentation 2026-08-24 14:20:08 -07:00
BinaryAlley 7aeed04255 Adds test fixtures and endpoint test coverage 2026-08-24 14:19:45 -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 b3ffb5dfab Adds plugin upload from the web client 2026-08-23 08:15:29 -07:00
BinaryAlley 4bce644e89 Centralizes NuGet package versioning 2026-08-23 03:05:21 -07:00
BinaryAlley 6af3d4f5e5 Adds OpenTelemetry pipelines and health probes to the presentation layer 2026-08-22 06:27:42 -07:00
BinaryAlley 7e54c990ad Adds a restore action for soft deleted bundled themes 2026-08-21 11:47:51 -07:00
BinaryAlley 02f27655f8 Adds the integration tests for the theming feature 2026-08-21 09:43:19 -07:00
BinaryAlley 3da7167538 Adds a theme caching toggle to the user settings 2026-08-21 04:04:54 -07:00
BinaryAlley cbe27ab22e Fixes integration test fixtures disposing the shared web factory per test. 2026-08-18 09:03:53 -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 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 ce4ebf36bc Adds pagination and filtering to the API 2026-08-16 03:10:47 -07:00
BinaryAlley ced1f778c4 Standardizes test projects against conventions 2026-08-15 04:23:34 -07:00
BinaryAlley 59e16d645a Inlines fixtures instantiation. 2026-08-15 03:19:51 -07:00
BinaryAlley b648e2f054 Centralizes and standardizes test fixtures. 2026-08-15 02:58:17 -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 8c8c96c6db Fixes ValidatePath query handler to call its validator and updates consuming web client 2026-08-13 10:12:32 -07:00
BinaryAlley 5fb920caeb Fixes the failing hidden elements integration tests and the book creation handler test 2026-08-12 15:09:00 -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 76b9596a27 Moves enums and errors to a shared kernel. 2026-08-12 09:07:00 -07:00
BinaryAlley 177131b09c Switches integration tests to per-factory shared in-memory SQLite databases
Instead of sharing a single SQLite connection across all DbContexts within a factory, each factory now opens its own uniquely named shared in-memory database, so that every DbContext gets its own pooled connection. This prevents nested transaction errors caused by a cancelled request leaving a transaction open on the shared connection, since the connection is no longer reused across DbContexts, and keeps parallel test classes isolated from one another.
2026-08-09 05:03:26 -07:00
BinaryAlley 74e9030a18 Fixes typos and replaces LINQ conversions with collection expressions 2026-08-09 00:19:28 -07:00
BinaryAlley adadec7f3b Targets the entire solution at .NET 10 and updates Dockerfiles 2026-08-08 02:29:56 -07:00
BinaryAlley 03a000e1e4 Implements file hashing media library scan job 2025-03-01 16:44:10 +02:00
BinaryAlley c4246d2e69 Moves media library scanning to domain layer 2025-02-16 21:45:26 +02:00
BinaryAlley d46bfae4fc Removes FluentAssertions library from test projects, due to licensing changes 2025-02-03 00:31:15 +02:00
BinaryAlley d7c8478101 Adds media libraries management view 2025-01-11 23:11:33 +02:00
BinaryAlley 532322eab2 Removes unused file system API endpoints 2025-01-02 14:56:45 +02:00
BinaryAlley 6a2970beba Updates the authorization roles and permissions API routes 2025-01-02 14:03:05 +02:00
BinaryAlley 0114ff13e8 Adds authorization module tests 2025-01-01 22:56:07 +02:00
BinaryAlley 583b8db865 Adds authorization permissions administrator dashboard 2024-12-22 19:17:47 +02:00