Repository navigation
0.11.0: optional WebP copies, adult posters per account, works entered by hand for Sonarr and Radarr, sessions that end show a visitor - #19
Merged
Conversation
…ing a format's copies, and let a reader keep the posters for adults shown with their account
The WebP copies are off until media.webp is set: the pages are given the pictures themselves, with an AVIF source over them where the night's copies reach as wide, and an address of a WebP copy answers the copy kept or sends to the original, making none. The placeholders are still worked out as a picture is stored; media.variants makes the first copies only while WebP copies are on. GET /api/v1/auth/options says whether they are, so a page draws the right sources from its first picture.
Turning the WebP or the AVIF copies off while some are kept asks whether to delete them too. DELETE /api/v1/media/variants/{format} deletes every copy of a format once it is off, five hundred at a time in the background, under a lock shared among instances; the Media page follows it.
A Reading panel on the profile page keeps whether the posters of works for adults are shown with the account (reader.adultPosters), so the choice follows it from one browser to the next; the bar's Language and reading menu is the same choice for whoever is signed in, and stays the browser's for a visitor. The settings reference gives the AVIF copies' background widths as made, 1280 and 1920.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… hand, take the programmer's note button off the front page, and show a visitor at once after signing out A work entered by hand that TheTVDB, TMDB and Fankai do not name was sent to Sonarr and Radarr without an id they could add it by: Sonarr's searches left it out, and Radarr was given a film of TmdbId 0. It is now handed a number from 1,000,000,000 to 2,147,483,647, worked out from its catalogue id so that it never changes: Sonarr's searches (v1 and v2) list it under it, a lookup by it is answered from the catalogue alone, switched off or merged into another, without asking a source; Radarr takes it as the film's TmdbId, and the changed films, the refresh push, the scene mapping and the seeding from their libraries know it by it. Should two catalogue ids make one number, the work entered first keeps it and the other is left out of the searches; a work entered by hand now is given a catalogue id whose number no other holds. Fankai's range ends below it, at 999,999,999. Radarr's search leaves out the films it could not add, and a tvdb: term resolves every id the server hands out. Plex was given such a work whole already: docs/plex.md says why an agent that also lists Plex's own provider lays a guess by title over it, and what to do. The front page no longer offers whoever may edit a programmer's note to write under the work of the day; a written one is still shown there, and the administration's page and the other pages still offer one. Signing out, or changing one's password, resets every answer the account was given and tells whoever reads them (endSession), rather than emptying the cache without a word: the bar shows a visitor at once instead of Admin until a reload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…f the stack bench scripts/e2e-stack.py makes, through the native API, a series entered by hand — an alternative title, a season of two episodes — and a film, neither named anywhere else, and follows them through every phase. Sonarr 4 and 5 find the series by its title and by tvdb: under the number the server makes of its catalogue id (worked out again here, and compared), add it with its season and episodes as served, take a locked title at a refresh and map a release named by its alternative title to it; Sonarr 5 is answered metadataSource local. Radarr finds, adds and refreshes the film the same way, and the films changed name it once edited. A lock on either sends the client a RefreshSeries or RefreshMovie under that number; seeded from their libraries on a new catalogue, both are reported held under no id to look them up by. Plex matches them, in libraries of their own on the provider's agent, as show-id-… and movie-id-… with the catalogue's title, summary, season and episodes. A number no work was handed finds nothing on either client. The push phase run alone skips the checks of a work its client does not hold rather than failing them. The whole run passes, 149 checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stop offering an administrator the reset of their own password The query client's caches now hear a refusal for want of a credential while somebody is signed in here (sessionCaches in session.ts): who is looking is asked again, once for any number of refusals at a time, and an answer that says nobody, where somebody was, ends the session here with endSession — so a session that ran out, or was closed from another browser or by another administrator, takes the bar's Admin and the account's answers with it at the next request refused, or when who is signed in is next asked. A password typed wrong is refused the same way and only costs that question; a visitor's refusals, every answer on a private site, ask nothing. On an administrator's own page among the accounts, closing every session asks first and then signs them out here, as untying their own account from the identity provider now does too; editing their own profile refreshes the name the side bar shows. The reset of their own password, which the server has always refused there, gives way to a link to their account page, which asks for the current one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The changes for 0.11.0, four commits on top of main.
What changes
media.webp). With them off, the pages are given the pictures themselves, with an AVIF source over them where the night's copies reach as wide. Turning WebP or AVIF off while copies are kept asks whether to delete them (DELETE /api/v1/media/variants/{format}, in the background).reader.adultPosters).TmdbId. The push, the seeding and the scene mapping know it too. Fankai's range now ends at 999,999,999.docs/plex.mdexplains why Plex's own provider, listed in the same agent, guesses such a work by its title.tvdb:term resolves every id the server hands out.--build-arg CARGO_PROFILE_RELEASE_LTO=thinfor machines short of memory; CI and the published image stay fat.scripts/e2e-stack.shchecks the works entered by hand on the real Sonarr 4, Sonarr 5, Radarr and Plex.Checked locally
cargo fmt,cargo clippy --all-targets -D warnings, andcargo test: 1475 tests on SQLite and 1475 on PostgreSQL.server-wide: 46 passed.🤖 Generated with Claude Code