Commit Graph
43 Commits
Author SHA1 Message Date
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 58d7375d61 Adds the scheduled job executor and SignalR hub 2026-09-03 12:49:21 -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 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 b47588cf83 Merge branch 'feature/add-metadata-aggregation' into feature/add-artwork-provider-and-metadata-aggregation 2026-08-24 22:53:57 -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 b32cc764a7 Persists and surfaces plugin load failures 2026-08-23 05:28:50 -07:00
BinaryAlley 15945c2e56 Removes the option to disable theme scripts 2026-08-21 11:47:16 -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 a7dfcbe926 Adds library ownership authorization policy 2026-08-16 04:59:06 -07:00
BinaryAlley 3b772d68ca Replaces ErrorOr library with a custom implementation. 2026-08-14 03:04:28 -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 2d1c6b1ab8 Replaces FluentValidation and Mediator command/queries handling with custom implementations. 2026-08-13 08:53:06 -07:00
BinaryAlley 9a5c7473f9 Defines base implementation for mediatr and fluentvalidation with samples 2026-08-13 02:37:34 -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 6f501a51f3 Integrates the plugin system into the host and the media library scan pipeline 2026-08-12 11:04:45 -07:00
BinaryAlley 3aa9702411 Renames Model to Dto 2026-08-12 09:24:18 -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 6d1c901040 Switches appsettings file names to lowercase so configuration loads on case-sensitive filesystems
The Windows VM running on KVM/QEMU has a filesystem component located on a drive with an EXT4
filesystem, which is case-sensitive. The appsettings environment files exist on disk as
appsettings.development.json and appsettings.shared.development.json, but the configuration
loaders referenced the PascalCase names (appsettings.Development.json and
appsettings.shared.Development.json). While this mismatch is harmless on a case-insensitive
Windows filesystem, on EXT4 the files were never matched, so Visual Studio threw an exception
for a configuration value that was missing from the loaded settings.

Updates the configuration loaders in the API, Web, and shared infrastructure projects to
reference the lowercase file names, matching what exists on disk.
2026-08-09 01:00:08 -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 98f71b3715 Moves domain events queue implementation to infrastructure 2025-02-23 09:47:54 +02:00
BinaryAlley 0d09859a55 Fixes a race condition chance for child job execution in library scanning module 2025-02-22 20:33:14 +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 104106d2ec Adds library saved domnain event and its handler 2025-01-09 18:47:47 +02:00
BinaryAlley 8eb1b9f13c Implements authorization caching and check in the web client 2024-12-06 18:46:48 +02:00
BinaryAlley 2c9c210e43 Implements Authorization system 2024-11-22 18:02:42 +02:00
BinaryAlley 2c31fd8714 Adds localization to Lumina.Presentation.Web project 2024-11-20 21:08:34 +02:00
BinaryAlley 4f91f29b62 Adds authentication unit tests 2024-11-12 15:45:26 +02:00
BinaryAlley a6dcf65d1c Implements authentication system 2024-11-11 22:57:33 +02:00
BinaryAlley 09928047d0 Adds Infrastructure security cryptography service (#43)
* Adds Infrastructure security cryptography service

* Updates GitHub Action script to account for empty Environment values

* Updates section of GitHub Action script

* Fixes order of configuration settings import

* Hardcodes secrets used during integration tests
2024-11-06 19:11:03 +02:00
BinaryAlley e73556e915 Adds Infrastructure security hashing service 2024-11-05 19:51:13 +02:00
BinaryAlley f5dbeccb0a Adds media items location options 2024-10-29 20:59:37 +02:00
BinaryAlley c7b8bc2f1c Replaces MVC with FastEndpoints in Lumina.Presentation.Api 2024-10-23 21:34:10 +03:00
BinaryAlley 405fc1ff9a eliminates region sections 2024-10-12 22:03:57 +03:00
BinaryAlley debad9ef74 Implements directory browser dialog, part 6: hidden file system items toggle 2024-09-24 11:10:03 +03:00
BinaryAlley cd44f11d9e Adds editorconfig and refactors to the established rules 2024-09-23 16:48:48 +03:00
BinaryAlley 4e4ecbbfca Implements directory browser dialog, part 1: file system treeview 2024-09-15 13:07:53 +03:00
BinaryAlley 433f0c2ad5 Adds strongly typed IOptions<T> binding, with Fluent Validation and shared appsettings
- Adds strongly typed binding for IOptions<T> to map configuration sections from appsettings.json.
- Integrates FluentValidation for validating bound properties.
- Introduces appsettings.shared.json for shared configurations across applications.
Updates application-specific appsettings.json to focus on individual settings.
2024-08-25 16:59:19 +03:00