Commit Graph
27 Commits
Author SHA1 Message Date
BinaryAlley c583c9327c Renames project content from Lumina to Nemera 2026-11-27 15:37:44 +02:00
BinaryAlley 0f659a4877 Renames project paths from Lumina to Nemera 2026-11-27 15:34:43 +02:00
BinaryAlley 24af00579c Hardens outbound host validation against SSRF
- resolves host names and validates every address, with a connect callback that pins the checked address

- applies the guard to every outbound HTTP client, with distinct rejection and resolution failures and warning logs

- scopes the MusicBrainz private base URL permission to the configured host and blocks link local and cloud metadata endpoints

- keeps provider redirects bounded and strips credentials and hop-by-hop headers on cross-origin redirects

- adds unit, security, and end-to-end coverage, and updates the manual
2026-11-18 10:51:41 +02:00
BinaryAlley 308402ad0e Enforces XML documentation on public members. 2026-11-16 20:16:23 +02:00
BinaryAlley ee55ac482c Formats code comments as sentences in the build and asset files.
Capitalizes the first word and adds the terminal period in the Dockerfiles, the compose files, the CI workflow, the MSBuild comments, the Razor views and the client assets. The existing delimiter spacing is preserved, structural banners and commented-out commands are untouched, and the Dockerfile tool names use their proper case.
2026-11-16 18:18:21 +02:00
BinaryAlley 727aa33318 Formats code comments as sentences in the production sources.
Capitalizes the first word and adds the terminal period across the domain, application, data access, infrastructure, API and web layers and the plugins. No comment is reworded. The change also normalizes the TODO bodies to lowercase, leaves commented-out code untouched, corrects the Threat/Treat typo and the dangling hyphen in the exception middleware, and collapses two accidental repeated terminal periods.
2026-11-16 18:16:17 +02:00
BinaryAlley c6469e70cf Maps OpenLibrary MARC publish_country to ReleaseCountry
Adds publish_country to the Open Library edition response, translates MARC 21 country codes into the ReleaseCountry enumeration through a private table, and drops the city based publish_places mapping.

Closes #222
2026-11-08 10:00:00 +02:00
BinaryAlley f29f89f31f Captures the audio container of the music tracks
Adds a Container to the audio metadata, captured with TagLibSharp from the concrete type of the parsed file during the music library scan and stored on the track through a new column and an EF migration. The container is refreshed when a file changes, survives track and artist edits and provider enrichment, and is exposed read-only in the track responses, never settable through a request.

Extracts the container resolution into a testable resolver used by the scan pipeline and the ID3 plugin, refuses to read a file that is itself a reparse point during extraction, and updates the endpoint summaries, the API and domain documentation, and the tests.
2026-10-14 13:40:28 +03:00
BinaryAlley 012d702b17 Removes a stale comment from the Open Library plugin assembly info 2026-10-05 15:20:00 +03:00
BinaryAlley 6fe5c2ffd3 Exposes the internals of the Calibre and MusicBrainz plugins to their security test assemblies 2026-10-05 14:50:00 +03:00
BinaryAlley 24526fd9a2 Hardens the persisted settings of the MusicBrainz and Open Library plugins against malformed values 2026-10-05 13:40:00 +03:00
BinaryAlley dd6bf594f0 Returns the artwork of a Calibre book as a list of artwork references, instead of a single one 2026-10-05 12:05:00 +03:00
BinaryAlley 62b0e9297a Adds the local music artwork plugin, its fixtures, and its unit and integration test suites 2026-10-04 21:16:42 +03:00
BinaryAlley fb05561619 Adds the Cover Art Archive music artwork plugin, its fixtures, and its unit and security test suites 2026-10-03 11:47:00 +03:00
BinaryAlley 0abda472c6 Adds the MusicBrainz music metadata plugin, its fixtures, and its unit test suite 2026-10-01 12:00:00 +03:00
BinaryAlley 1ffa14cec4 Adds the ID3 music metadata plugin and its unit and integration test suites 2026-09-30 12:00:00 +03:00
BinaryAlley ea6eb9f796 Refactors the book, artist, and album slices across the stack 2026-09-17 13:30:48 -07:00
BinaryAlley 3a720af29f Adds domain Music aggregate 2026-09-07 09:41:57 -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 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 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 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 1189bbaf36 Hardens test assertions and adds missing test coverage. 2026-08-18 08:28:16 -07:00
BinaryAlley 0117e0513c Updates contract namespace and name. 2026-08-12 10:32:29 -07:00
BinaryAlley a34f5a731e Implements the Open Libary metadata plugin. 2026-08-12 10:19:29 -07:00