Skip to content

chore: merge upstream seerr v3.5.2 - #37

Merged
Project516 merged 60 commits into
masterfrom
upstream-sync/v3.5.2
Nov 12, 2026
Merged

Project516 merged 60 commits into
masterfrom
upstream-sync/v3.5.2

Conversation

@Project516

@Project516 Project516 commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Description

Sync of upstream Seerr stable v3.5.2 into master.

The merge did not apply cleanly, so the Upstream Sync job would have opened this PR with conflict markers. It is resolved by hand:

  • Plex and Jellyfin code in auth.ts, usersettings.ts and schedule.ts keeps the fork's side. Upstream's security fixes in the same files are kept: the canModifyUser checks on user settings, notifications and permissions, and the current-password check that reads userWithPassword.
  • Dockerfile keeps the fork's build steps and takes upstream's Node 22.23.5 image and the smaller runtime copy.
  • package.json takes upstream's newer versions, keeps the fork's js-yaml 5 and leaves out Cypress. pnpm-lock.yaml is regenerated.
  • Locale conflicts take upstream's translations.
  • Tests for code the fork removed (server/api/jellyfin.test.ts, the Plex scanner test) are dropped.

Upstream moved its workflows from SHA pins to version tags plus .github/workflows/actions.lock, which GitHub enforces at run time. Upstream's lockfile lists upstream's workflows, so it is regenerated with gh actions-lock for the fork's 12 workflows, and the fork-only workflows are pinned the same way. gh actions-lock --verify passes.

Upstream's private vulnerability report form is dropped, since it points reporters at upstream's SECURITY.md.

Merge with a merge commit, never squash, so upstream history is kept.

Noticed, not fixed

How Has This Been Tested?

On Node 22.23.5: pnpm typecheck, pnpm lint (0 errors), pnpm format:check, pnpm i18n:extract (no changes) and pnpm test (260 passed). CI on this PR passes the Docker test build, E2E smoke and E2E upgrade.

Screenshots

None. The UI changes are upstream's.

Checklist

  • pnpm typecheck, pnpm lint and pnpm test pass
  • pnpm i18n:extract was run if UI strings changed
  • Docs are updated if behavior changed

fallenbagel and others added 30 commits September 28, 2026 15:13
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: Bijaya Budhathoki <20866084+BBijaya@users.noreply.github.com>
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: ezn24 <eznotsimple@gmail.com>
Co-authored-by: Bas Trebus <bas.trebus@maastrichtuniversity.nl>
Co-authored-by: Kisnov <gabrielmarfil0@gmail.com>
Co-authored-by: Mateusz Lesiak <mateusz.lesiak01@gmail.com>
Co-authored-by: Nils Karlsson Pyssling <nisse@users.noreply.translate.seerr.dev>
Co-authored-by: Serhiy <sergey.bobrov83@gmail.com>
Co-authored-by: SulliL <susu.leduc@gmail.com>
Co-authored-by: Thadah D. Denyse <thadahdenyse@protonmail.com>
Co-authored-by: Ulrik J <ulrikj@users.noreply.translate.seerr.dev>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: cowegner <carsten@tupti.de>
Co-authored-by: dtalens <dtalens@users.noreply.translate.seerr.dev>
Co-authored-by: ezn24 <eznotsimple@gmail.com>
Co-authored-by: ugyes <ferenc.bodi@live.com>
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
rpardini and others added 20 commits November 3, 2026 21:59
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
Co-authored-by: Daniel G <daniel.guerra.997@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Bas Trebus <bas.trebus@maastrichtuniversity.nl>
Co-authored-by: Marek <mara.pavelka@gmail.com>
Co-authored-by: Mateusz Lesiak <mateusz.lesiak01@gmail.com>
Co-authored-by: Miguel Pacheco <runway-venus-kung@duck.com>
Co-authored-by: Nils Karlsson Pyssling <nisse@users.noreply.translate.seerr.dev>
Co-authored-by: SulliL <susu.leduc@gmail.com>
Co-authored-by: Thadah D. Denyse <thadahdenyse@protonmail.com>
Co-authored-by: Ulrik J <ulrikj@users.noreply.translate.seerr.dev>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: centralsofware <centralsofware@gmail.com>
Co-authored-by: ugyes <ferenc.bodi@live.com>
Co-authored-by: Adam <sromovskyadam@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
The check read the hash from a user loaded without the password column, so it never ran and a wrong or missing current password was accepted.
Users with Manage Users could strip the Admin permission from another admin or edit an admin's
settings, and once demoted that admin could be deleted or have their password reset. Changes to
an admin's account, settings and linked accounts are now limited to the owner and the admin
themselves, and users can no longer change their own permissions through the user update
endpoints.
The image cache grew without limit and stored dot-segment, encoded and repeated-slash
variants of a path as separate entries, even with image caching disabled. The route now
returns 404 when caching is off, rejects segments other than [\w.-] names and TMDB duotone
sizes, and collapses repeated slashes. The tmdb and tvdb caches evict their oldest entries
past 1 GiB including a fixed per-entry disk overhead, and tvdb is added to the cleanup job
and cache stats.
# Conflicts:
#	.github/workflows/create-tag.yml
#	.github/workflows/cypress.yml
#	.github/workflows/detect-duplicate.yml
#	.github/workflows/helm.yml
#	.github/workflows/lint-helm-charts.yml
#	.github/workflows/pr-validation.yml
#	.github/workflows/rebuild-issue-index.yml
#	.github/workflows/renovate-helm-custom-hooks.yml
#	.github/workflows/seerr-labeller.yml
#	.github/workflows/stale.yml
#	.github/workflows/trivy-scan.yml
#	CONTRIBUTING.md
#	Dockerfile
#	bin/check-pr-template.mjs
#	charts/seerr-chart/Chart.yaml
#	charts/seerr-chart/README.md
#	charts/seerr-chart/README.md.gotmpl
#	charts/seerr-chart/templates/statefulset.yaml
#	charts/seerr-chart/values.yaml
#	cypress.config.ts
#	cypress/e2e/movie-details.cy.ts
#	cypress/e2e/providers/tvdb.cy.ts
#	cypress/e2e/pull-to-refresh.cy.ts
#	cypress/e2e/settings/discover-customization.cy.ts
#	cypress/e2e/user/auto-request-settings.cy.ts
#	cypress/e2e/user/profile.cy.ts
#	cypress/e2e/user/user-list.cy.ts
#	cypress/support/commands.ts
#	cypress/support/e2e.ts
#	package.json
#	pnpm-lock.yaml
#	server/api/jellyfin.ts
#	server/job/schedule.ts
#	server/lib/imageproxy.ts
#	server/lib/scanners/jellyfin/index.ts
#	server/lib/scanners/jellyfin/jellyfin.test.ts
#	server/routes/auth.ts
#	server/routes/user/usersettings.test.ts
#	server/routes/user/usersettings.ts
#	src/i18n/locale/cs.json
#	src/i18n/locale/tr.json
#	src/i18n/locale/uk.json
#	src/utils/plex.ts
Upstream moved to gh actions-lock. Its lockfile lists upstream's workflow set, so regenerate it for the fork's workflows and pin the fork-only ones the same way.
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 114 files, which is 14 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

Check out review usage here.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 31bd16b6-b5d0-4416-86b7-83c950598f3a
Commits

Reviewing files that changed from the base of the PR and between a1e885b and 80b367d.

Files ignored due to path filters: 3

  • .github/workflows/actions.lock is excluded by !**/*.lock
  • devenv.lock is excluded by !**/*.lock
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 114

  • .github/cliff.toml
  • .github/workflows/ci.yml
  • .github/workflows/codeql.yml
  • .github/workflows/conflict_labeler.yml
  • .github/workflows/docs-deploy.yml
  • .github/workflows/docs-link-check.yml
  • .github/workflows/e2e.yml
  • .github/workflows/pr-checks.yml
  • .github/workflows/preview.yml
  • .github/workflows/release.yml
  • .github/workflows/tag-release.yml
  • .github/workflows/test-docs.yml
  • .github/workflows/upstream-sync.yml
  • Dockerfile
  • docs/using-seerr/backups.md
  • docs/using-seerr/notifications/email.md
  • docs/using-seerr/notifications/gotify.md
  • docs/using-seerr/notifications/pushover.md
  • docs/using-seerr/notifications/slack.md
  • docs/using-seerr/notifications/telegram.md
  • docs/using-seerr/notifications/webhook.md
  • docs/using-seerr/notifications/webpush.md
  • next.config.mjs
  • package.json
  • seerr-api.yml
  • server/api/externalapi.ts
  • server/api/plextv.test.ts
  • server/api/plextv.ts
  • server/api/servarr/radarr.test.ts
  • server/api/servarr/radarr.ts
  • server/entity/MediaRequest.ts
  • server/i18n/locale/es-MX.json
  • server/i18n/locale/id.json
  • server/i18n/locale/sk.json
  • server/i18n/locale/zh-Hant.json
  • server/interfaces/api/settingsInterfaces.ts
  • server/job/schedule.ts
  • server/lib/email/index.ts
  • server/lib/imageproxy.test.ts
  • server/lib/imageproxy.ts
  • server/lib/scanners/baseScanner.test.ts
  • server/lib/scanners/baseScanner.ts
  • server/lib/scanners/radarr/index.ts
  • server/lib/scanners/radarr/radarr.test.ts
  • server/lib/scanners/sonarr/index.ts
  • server/lib/scanners/sonarr/sonarr.test.ts
  • server/migration/sqlite/1608477467935-AddLastSeasonChangeMedia.ts
  • server/migration/sqlite/1611508672722-AddDisplayNameToUser.ts
  • server/migration/sqlite/1737320080282-AddBlacklistTagsColumn.ts
  • server/routes/imageproxy.test.ts
  • server/routes/imageproxy.ts
  • server/routes/request.test.ts
  • server/routes/request.ts
  • server/routes/settings/index.ts
  • server/routes/user/index.test.ts
  • server/routes/user/index.ts
  • server/routes/user/usersettings.ts
  • server/subscriber/MediaRequestSubscriber.ts
  • server/subscriber/MediaSubscriber.ts
  • server/test/users.ts
  • src/components/Discover/Trending.tsx
  • src/components/MovieDetails/index.tsx
  • src/components/RequestModal/TvRequestModal.tsx
  • src/components/Settings/Notifications/NotificationsDiscord.tsx
  • src/components/Settings/Notifications/NotificationsSlack/index.tsx
  • src/components/Settings/SettingsJobsCache/index.tsx
  • src/components/Settings/SettingsMain/index.tsx
  • src/components/TvDetails/index.tsx
  • src/i18n/locale/ar.json
  • src/i18n/locale/bg.json
  • src/i18n/locale/ca.json
  • src/i18n/locale/cs.json
  • src/i18n/locale/da.json
  • src/i18n/locale/de.json
  • src/i18n/locale/el.json
  • src/i18n/locale/en.json
  • src/i18n/locale/es.json
  • src/i18n/locale/es_MX.json
  • src/i18n/locale/et.json
  • src/i18n/locale/eu.json
  • src/i18n/locale/fi.json
  • src/i18n/locale/fr.json
  • src/i18n/locale/he.json
  • src/i18n/locale/hi.json
  • src/i18n/locale/hr.json
  • src/i18n/locale/hu.json
  • src/i18n/locale/id.json
  • src/i18n/locale/it.json
  • src/i18n/locale/ja.json
  • src/i18n/locale/kab.json
  • src/i18n/locale/ko.json
  • src/i18n/locale/lb.json
  • src/i18n/locale/lt.json
  • src/i18n/locale/nb_NO.json
  • src/i18n/locale/nl.json
  • src/i18n/locale/pl.json
  • src/i18n/locale/pt_BR.json
  • src/i18n/locale/pt_PT.json
  • src/i18n/locale/ro.json
  • src/i18n/locale/ru.json
  • src/i18n/locale/sk.json
  • src/i18n/locale/sl.json
  • src/i18n/locale/sq.json
  • src/i18n/locale/sr.json
  • src/i18n/locale/sv.json
  • src/i18n/locale/tr.json
  • src/i18n/locale/uk.json
  • src/i18n/locale/vi.json
  • src/i18n/locale/zh_Hans.json
  • src/i18n/locale/zh_Hant.json
  • src/pages/movie/[movieId]/index.tsx
  • src/pages/tv/[tvId]/index.tsx
  • src/utils/refreshIntervalHelper.test.ts
  • src/utils/refreshIntervalHelper.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

@project516-review-bot project516-review-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR merges upstream Seerr v3.5.2 into the fork's master branch. It resolves conflicts by keeping the fork's Plex/Jellyfin auth code while adopting upstream's security fixes (canModifyUser checks, current-password validation), adopts upstream's Node 22.23.5 base image and optimized Dockerfile with exclude patterns for a smaller runtime, updates dependencies (notably sqlite3 5→6, next 16.2→16.4, zod 4.3→4.6), switches workflows from SHA pins to version tags with a regenerated actions.lock, and upgrades CI runners from ubuntu-24.04 to ubuntu-26.04. Tests pass (260 passed) and lint/typecheck are clean. The Docker image build and upgrade path are left to CI verification.

Not approved: the diff of server/api/servarr/radarr.ts, server/entity/MediaRequest.ts, server/i18n/locale/es-MX.json, server/i18n/locale/id.json, server/i18n/locale/sk.json, server/i18n/locale/zh-Hant.json, server/job/schedule.ts, server/lib/imageproxy.ts, server/lib/scanners/baseScanner.ts, server/lib/scanners/radarr/index.ts, server/lib/scanners/sonarr/index.ts, server/migration/sqlite/1608477467935-AddLastSeasonChangeMedia.ts, server/migration/sqlite/1611508672722-AddDisplayNameToUser.ts, server/migration/sqlite/1737320080282-AddBlacklistTagsColumn.ts, server/routes/imageproxy.ts, server/routes/request.ts, server/routes/settings/index.ts, server/routes/user/index.ts, server/routes/user/usersettings.ts, server/subscriber/MediaRequestSubscriber.ts, server/subscriber/MediaSubscriber.ts, src/components/Discover/Trending.tsx, src/components/MovieDetails/index.tsx, src/components/RequestModal/TvRequestModal.tsx, src/components/Settings/Notifications/NotificationsDiscord.tsx, src/components/Settings/Notifications/NotificationsSlack/index.tsx, src/components/Settings/SettingsJobsCache/index.tsx, src/components/Settings/SettingsMain/index.tsx, src/components/TvDetails/index.tsx, src/i18n/locale/ar.json, src/i18n/locale/bg.json, src/i18n/locale/cs.json, src/i18n/locale/da.json, src/i18n/locale/de.json, src/i18n/locale/el.json, src/i18n/locale/en.json, src/i18n/locale/es.json, src/i18n/locale/es_MX.json, src/i18n/locale/et.json, src/i18n/locale/eu.json, src/i18n/locale/fi.json, src/i18n/locale/fr.json, src/i18n/locale/he.json, src/i18n/locale/hi.json, src/i18n/locale/hr.json, src/i18n/locale/hu.json, src/i18n/locale/id.json, src/i18n/locale/it.json, src/i18n/locale/ja.json, src/i18n/locale/kab.json, src/i18n/locale/ko.json, src/i18n/locale/lb.json, src/i18n/locale/lt.json, src/i18n/locale/nb_NO.json, src/i18n/locale/nl.json, src/i18n/locale/pl.json, src/i18n/locale/pt_BR.json, src/i18n/locale/pt_PT.json, src/i18n/locale/ro.json, src/i18n/locale/ru.json, src/i18n/locale/sk.json, src/i18n/locale/sl.json, src/i18n/locale/sq.json, src/i18n/locale/sr.json, src/i18n/locale/sv.json, src/i18n/locale/tr.json, src/i18n/locale/uk.json, src/i18n/locale/vi.json, src/i18n/locale/zh_Hans.json, src/i18n/locale/zh_Hant.json, src/pages/movie/[movieId]/index.tsx, src/pages/tv/[tvId]/index.tsx, src/utils/refreshIntervalHelper.ts, server/api/plextv.test.ts, server/api/servarr/radarr.test.ts, server/lib/imageproxy.test.ts, server/lib/scanners/baseScanner.test.ts, server/lib/scanners/radarr/radarr.test.ts, server/lib/scanners/sonarr/sonarr.test.ts, server/routes/imageproxy.test.ts, server/routes/request.test.ts, server/routes/user/index.test.ts, server/test/users.ts, src/utils/refreshIntervalHelper.test.ts was too large to read.


review-bot, model nvidia/nemotron-3-ultra-550b-a55b:free, verdict comment

@Project516

Copy link
Copy Markdown
Owner Author

Review of the code files the review bot could not read (locale JSON excluded), against head 80b367d.

No lost security checks. The canModifyUser guards, the push-subscription delete check, the image path allowlist and the advanced-only request overrides all match upstream. The three sqlite migration edits only fix column selects in table-copy migrations and do not change the schema. No merged UI or request code depends on the removed Plex or Jellyfin code.

Findings:

  1. Behavior change from upstream (fix(scanners): decline request when media resets to UNKNOWN seerr-team/seerr#3578, fix(scanners): resolve abandoned seasons at end of run seerr-team/seerr#3579). The Radarr and Sonarr scanners now set declineRequestsOnStatusReset = true. After a full scan, media that resets to unknown and is not being processed has its pending or approved request declined. In upstream the Plex and Jellyfin scanners leave this off. In the fork the servarr scanners are the only scanners, so this applies to every install. Upstream's servarr scanners do the same thing, so this PR keeps it.
  2. Present before this PR: POST /auth/setup creates the first admin but does not call startJobs(). server/index.ts starts jobs only at boot when a user exists. On a fresh install, no scheduled jobs run until the first restart. The cancel-and-reset block this merge adds at the top of startJobs is harmless but unused until that is fixed.
  3. The CodeQL SSRF alert at server/lib/imageproxy.ts:326 is existing alert ci: open upstream sync PRs for the latest stable release #6 (master, line 268). Upstream moved the axios.get(path) call into fetchAndCache. The request still goes only to the fixed TMDB and TVDB base URLs, and the route now also rejects any path segment outside an allowlist.

@Project516
Project516 merged commit 78b2d03 into master Nov 12, 2026
19 of 20 checks passed
@Project516
Project516 deleted the upstream-sync/v3.5.2 branch November 12, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.