Spaces:
Paused
Paused
Commit History
-
fix(web): preserve all settings on free-key toggle; coerce backdrop edge inset
PNRxAThe admin settings PUT is a full replace, so the curated payload in toggleFreeApiKey silently reset every omitted field — including the new backdrop_edge_inset_x/y and backdrop position/direction — to their serde defaults. Spread the full settings instead so future fields can't be dropped. Also coerce backdrop edge-inset inputs to a clamped integer before saving so an emptied or non-integer field can't 400 the save mid-edit (i32 server-side).34c90c9
-
feat: split poster badges onto opposite sides (#18)
PNRxAAdd a per-poster `poster_badge_split` setting (query param `split`) that divides rating badges evenly across two opposite sides of the poster. The split axis follows the badge layout: a vertical column splits left/right, horizontal rows split top/bottom. With an odd number of badges the configured side keeps the extra one (4 -> 2+2, 3 -> 2+1); a single badge is never split. - Rendering: BadgePosition::split_anchors + overlay_poster_group on the poster render path; threaded through ImageParams/serve/preview. - Cache: the split contributes a key token only when enabled, so existing non-split cache keys and CDN settings hashes are unchanged. - Settings: new column + migration, per-key/global/free-key plumbing, `split` query-param override. - Web: settings-form checkbox with live preview, free-key "Try it out" control, API params, types, and README docs.6db0b76 -
feat: reflect server defaults in the free-key "Try it out" form
PNRxAThe free API key serves with the instance's global render settings, but the "Try it out" card showed hardcoded frontend defaults — so the displayed rating priority and the implied curl output didn't match what the key actually produces. Add a public GET /api/free-key/settings endpoint (gated on the free key being enabled, served from the existing global_settings_cache so it adds no DB reads, and trimmed of the admin-only operational flags). The card fetches it once (memoized in the auth store) and now: - seeds the rating priority list from the server's order (only sending a ratings_order override once the user reorders away from it), - annotates each dropdown's "default" with the server's resolved per-image-type value (e.g. "Badge style: default (Vertical)"), - dims rating sources the server excludes, falling back to the built-in defaults if the fetch fails.7e7d412
-
feat: add ratings_exclude setting to hide specific rating sources (#17)
PNRxAAdds a "ratings_exclude" setting (comma-separated rating source keys to drop from generated images) following the same global-default + per-API-key + query-override pattern as ratings_order. Closes #17. Exclusion is applied before ordering and limiting, so excluding a source you don't care about (e.g. Rotten Tomatoes critics) frees its badge slot for the next preferred source rather than leaving a gap. The exclusion list is folded into every cache-key suffix (ratings_cache_suffix, badges_suffix_from_available, and the CDN settings_hash), so two configurations differing only in their exclusions never collide in the cache. - Storage: new api_key_settings.ratings_exclude column via idempotent migration; empty default ("exclude nothing") keeps existing cache keys byte-identical. - API: ?ratings_exclude= query override (all image types) plus admin global, per-key admin, and self-service settings endpoints. - Web: "Exclude ratings" checkbox control in the settings form with live previe…f54670e
-
feat: add DISABLE_PUBLIC_PAGES to hide public routes on private instances
YagUber5cc036a
-
additional configuration options for backdrops
PNRxA41b3b51
-
add support for episode ratings, closes #5
PNRxA76b8a0b
-
large refactor to prioritise tmdb logos and backdrops, then fall back to
PNRxAfanart, fixes #10094c13f
-
additional test coverage, delete unused counter store
PNRxA6d06b8a -
use shadcn-vue components for select, input, and checkbox
PNRxAc5ec7be
-
replace poster source dropdown with fanart checkbox
PNRxAaabdd80
-
deduplicate image handlers and rename poster modules to image
PNRxA0c21886
-
add homepage
PNRxA5afb157
-
shorten poster_source values, compact ratings cache suffix, skip no-op
PNRxAicon resize4fcb46a -
shorten setting values, add cache docs
PNRxA58dc9a1 -
add poster support for corner placement, custom directions
PNRxA8762688 -
add per-type badge style, poster position, and per-type ratings limit
PNRxAsettingsf0e0245
-
logo and backdrop tabs, cache refactor
PNRxA5d84fe3 -
add logo and backdrop api endpoints
PNRxAa5bc115 -
add optional free api key
PNRxAcb0280f -
preview endpoint auth, poster serving refactor, and race condition fix
PNRxAin PostersViewf4003d6 -
added poster preview to settings, fetch poster manually
PNRxAc63b398 -
add support for ordering and limiting ratings
PNRxA02c8c3c -
allow logging in with api key to manage individual settings
PNRxA6c38a8d -
added support for fanart posters, added per api and global settings
PNRxAfbc8659
-
implement dashboard layout and additional tests
PNRxA2c8ae4e -
init tests
PNRxAdd7a3f0