Repository navigation
Tags
Tags
fix(proxy): proxy clients built before proxy init Proxying for axios relied on the per-instance httpAgent/httpsAgent, which axios.create() snapshots from axios.defaults at construction time. API clients constructed at import (such as BaseScanner.tmdb, avalabilitySync.tmdb) are built before createCustomProxyAgent runs, so they snapshotted no proxy agent and bypassed the proxy permanently, while clients created per-request afterwards were proxied. This fix resolves the agent per request from a live module-level holder via a stable interceptor that is registered on the default instance and every ExternalAPI client, so construction order no longer matters. forceIpv4First has been moved to the same path logic as well. fix seerr-team#3193
fix: availability sync demotion and orphan season rollup edge cases Availability sync no longer demotes shows based on a missing specials season, matching the scanner's existing rollup behavior. Also fixes a scanner rollup regression from seerr-team#3044 where a DB-only season with UNKNOWN status (an orphaned placeholder no longer in TMDB) could permanently pin a show at PARTIALLY_AVAILABLE. fix seerr-team#3129
fix(auth): sign session cookie store with sessionSecret, not clientId
cookie-parser was initialized with settings.clientId (the Plex client
UUID), but express-session signs connect.sid with settings.sessionSecret.
The secrets differ, so cookie-parser's signature check on connect.sid
fails, the cookie is dropped from req.cookies, and the OpenAPI validator
rejects every authenticated request with "cookie 'connect.sid' required"
even though the browser is sending it correctly.
This also matches the signing secret used by the OIDC code-verifier and
state cookies that are stored via res.cookie(..., {signed: true}), which
read back through req.signedCookies during the callback.
fix(media): clean up watchlist on error card delete Delete the watchlist entry before removing media on error card dismissal, refresh the watchlist discover page, and handle already-deleted media gracefully on the server fix seerr-team#3046
fix(override-rules): use `find()` instead of index lookup for service… … resolution
PreviousNext