Commit Graph
100 Commits
Author SHA1 Message Date
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 054911e9a7 Fixes flaky genre collision in book alpha filter tests 2026-08-25 09:01:10 -07:00
BinaryAlley d08dbbd431 Adds AntiForgeryToken to plugins upload form 2026-08-25 08:42:37 -07:00
BinaryAlley 8144cb2986 Uses platform path separator in artwork sanitization security test 2026-08-24 23:13:41 -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 7aeed04255 Adds test fixtures and endpoint test coverage 2026-08-24 14:19:45 -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 f796e39152 Updates errors translations. 2026-08-23 04:18:52 -07:00
BinaryAlley 629e6e463e Updates API documentation 2026-08-23 03:57:37 -07:00
BinaryAlley 4bce644e89 Centralizes NuGet package versioning 2026-08-23 03:05:21 -07:00
BinaryAlley 3c4d1e666b Adds Six Labors license handling and expiry checks 2026-08-23 12:20:04 -07:00
BinaryAlley 89f3711c94 Documents telemetry and observability 2026-08-22 06:28:06 -07:00
BinaryAlley 0f903e6ff2 Adds a local observability stack and container wiring 2026-08-22 06:27:55 -07:00
BinaryAlley 6af3d4f5e5 Adds OpenTelemetry pipelines and health probes to the presentation layer 2026-08-22 06:27:42 -07:00
BinaryAlley a2c99b1b79 Adds telemetry instrumentation to application handlers 2026-08-22 06:27:31 -07:00
BinaryAlley aea03cb528 Switches security tests to per-factory shared in-memory SQLite databases 2026-08-22 01:04:02 -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 ad3e6d6779 Fixes failed result access when reading file sizes 2026-08-22 00:04:51 -07:00
BinaryAlley f800f47d4c Exposes address bar dropdown helpers from file system browser script 2026-08-22 00:04:46 -07:00
BinaryAlley 8e2123c2c5 Adds the theme authoring documentation 2026-08-21 11:48:30 -07:00
BinaryAlley 6cd5e1d6d9 Keeps media playback running when the themes page is refreshed 2026-08-21 11:48:18 -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 531450b3db Adds the security tests for the theming feature 2026-08-21 09:43:27 -07:00
BinaryAlley 02f27655f8 Adds the integration tests for the theming feature 2026-08-21 09:43:19 -07:00
BinaryAlley baa6450406 Adds the unit tests for the theming feature 2026-08-21 09:43:10 -07:00
BinaryAlley 9c83e5dfa7 Adds the shared fixtures for the theming feature tests 2026-08-21 09:42:57 -07:00
BinaryAlley 07bc20a9e6 Returns a clean validation error when a theme install archive cannot be parsed 2026-08-21 09:42:45 -07:00
BinaryAlley 1d85ff8ed9 Captures a fresh antiforgery token after login in the web test helper 2026-08-21 09:42:37 -07:00
BinaryAlley 170b3a0917 Falls back to the application layout when the active theme cannot be loaded 2026-08-21 09:42:30 -07:00
BinaryAlley a09876525b Prevents the theme detection job from crashing the host on file system errors 2026-08-21 09:42:20 -07:00
BinaryAlley a7e722321c Serializes theme storage mutations across hosts sharing the storage directory 2026-08-21 09:42:13 -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 148377a69f Moves the bundled themes under the Core directory 2026-08-21 04:06:15 -07:00
BinaryAlley dcb231e393 Aligns the endpoint summaries with the request parameter convention 2026-08-21 04:05:04 -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 88db2e0801 Resurrects soft deleted themes when they are reinstalled 2026-08-21 01:49:29 -07:00
BinaryAlley 6bb3449d4f Uses the empty request type for the theme install endpoint 2026-08-21 01:49:23 -07:00
BinaryAlley ebafd743b5 Adds theme previews to the themes list with a reusable image viewer 2026-08-21 01:49:17 -07:00
BinaryAlley 74e5efdf74 Moves the plugins management page under the administrator area 2026-08-21 00:58:09 -07:00
BinaryAlley 932fe2be28 Adds a themes management page to the administrator menu 2026-08-21 00:43:00 -07:00
BinaryAlley 351368e7b5 Sends a JSON body with delete requests to the FastEndpoints endpoints 2026-08-21 00:41:14 -07:00
BinaryAlley f87fa04df5 Validates antiforgery tokens after authentication 2026-08-21 00:41:13 -07:00
BinaryAlley fd64cbd6ba Adds comments. 2026-08-20 23:38:50 -07:00
BinaryAlley 4ef8570854 Renders every page through the themed shell with a themed navigation menu 2026-08-20 10:21:05 -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 f17e685239 Tracks the bundled theme archives 2026-08-20 06:50:04 -07:00
BinaryAlley 45dc3f5706 Hard deletes user themes, restores damaged bundled themes and fixes the web theme service DI lifetime 2026-08-20 00:16:58 -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 587daaabb7 Adds Result and Error primitives to the web project 2026-08-19 10:22:29 -07:00
BinaryAlley 3508ae346f Fixes flaky login security test rolling a user with TOTP enabled. 2026-08-18 12:56:13 -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 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 d10233f4e3 fix: denies unauthenticated users on policy-protected endpoints 2026-08-17 11:52:31 -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 7b56033a15 docs: updates api endpoint and contract documentation 2026-08-17 11:52:26 -07:00
BinaryAlley d3b1c681dc feat: adds FastEndpoints endpoints, views and resources to the web project 2026-08-17 11:52:23 -07:00
BinaryAlley 733e174cac feat: adds FastEndpoints core infrastructure and contracts to the web project 2026-08-17 11:52:20 -07:00
BinaryAlley 394b33efd2 refactor: removes legacy MVC infrastructure from the web project 2026-08-17 11:52:18 -07:00
BinaryAlley 97f34b4243 Updates packages. 2026-08-17 04:13:54 -07:00
BinaryAlley a4b1d0ff66 Adds first draft of books media library view. 2026-08-16 23:42:56 -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
BinaryAlley f393b93ce7 Adds commands and queries validators unit tests 2026-08-15 06:35:07 -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 fee14afb89 Replaces reflection-based repository instantiation with unit of work property accessors 2026-08-14 09:03:30 -07:00
BinaryAlley 7b8cfbbccc Fixes cross-user authorization cache poisoning 2026-08-14 06:42:44 -07:00
BinaryAlley 3b772d68ca Replaces ErrorOr library with a custom implementation. 2026-08-14 03:04:28 -07:00
BinaryAlley 8fe90a4dde Defines base implementation for Result, with samples. 2026-08-13 14:18:41 -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 8c8c96c6db Fixes ValidatePath query handler to call its validator and updates consuming web client 2026-08-13 10:12:32 -07:00
BinaryAlley ac318762bf Renames test methods to match SUT method names. 2026-08-13 08:56:42 -07:00
BinaryAlley 2d1c6b1ab8 Replaces FluentValidation and Mediator command/queries handling with custom implementations. 2026-08-13 08:53:06 -07:00