Repository navigation
chore: merge upstream seerr v3.5.0 - #5
Project516 wants to merge 82 commits into
Conversation
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> Co-authored-by: Joe Harrison <joe@j-harrison.co.uk>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…rr-team#2482) Co-authored-by: 0xsysr3ll <0xsysr3ll@pm.me> Co-authored-by: Arul1998 <arulcornelious@gmail.com>
Co-authored-by: Bart de Lange <b.delange@vgz.nl> Co-authored-by: 0xsysr3ll <31414959+0xSysR3ll@users.noreply.github.com>
…lts (seerr-team#3434) Co-authored-by: mdsaimon1232 <mdsaimon552723@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org> Co-authored-by: dtalens <dtalens@users.noreply.translate.seerr.dev>
…-team#3480) Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
…-team#2950) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
User.settings is an eager relation, so it rode along into every response embedding a User, exposing pushover, pushbullet, telegram, discord and PGP values through the request, issue, issue comment, blocklist, and watchlist endpoints. It now omits it by using User.toJSON(). GET /auth/me builds settings from seven non-credential fields the web app reads, so locale and region defaults keep working. Reported as a security advisory, GHSA-8j73-j6rc-q8xh.
Media.getMedia() loads the requests and issues relations for GET /movie/:id and GET /tv/:id, and the User relations hanging off them are eager, so every authenticated user could read any other user's email and plexId out of mediaInfo. The same payload carried full issue contents, including comment bodies, to viewers who are refused GET /issue. Media.filter() now strips the nested users and withholds the issues from anyone lacking the perms that the endpoing requires, and drops the issue fields nothing reads. Reported as a security advisory, GHSA-xc6j-6p6h-p799.
|
Important Review skippedToo many files! This PR contains 164 files, which is 64 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. ⚙️ Run configuration
⛔ Files ignored due to path filters (2)
📒 Files selected for processing (164)
You can disable this status message by setting the
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. Comment |
There was a problem hiding this comment.
The PR merges upstream Seerr v3.5.0 into master, updating workflow actions, Dockerfile base image, .gitignore, and the upstream-sync workflow to track stable releases and handle conflicts. It also updates dependencies and configuration files.
Not approved: the diff of bin/duplicate-detector/build-index.mjs, bin/duplicate-detector/detect.mjs, bin/duplicate-detector/utils.mjs, cypress/e2e/discover.cy.ts, cypress/e2e/settings/general-settings.cy.ts, docs/README.md, docs/extending-seerr/database-config.mdx, docs/getting-started/docker.mdx, docs/getting-started/kubernetes.mdx, docs/using-seerr/advanced/verifying-signed-artifacts.mdx, docs/using-seerr/notifications/discord.md, docs/using-seerr/notifications/ntfy.md, docs/using-seerr/settings/general.md, package.json, seerr-api.yml, server/api/externalapi.ts, server/api/plexapi.ts, server/api/plextv.ts, server/api/servarr/radarr.ts, server/api/servarr/sonarr.ts, server/api/tautulli.ts, server/api/themoviedb/index.ts, server/api/themoviedb/interfaces.ts, server/constants/error.ts, server/datasource.ts, server/entity/Media.ts, server/entity/MediaRequest.ts, server/entity/User.ts, server/i18n/locale/ca.json, server/i18n/locale/uk.json, server/index.ts, server/interfaces/api/settingsInterfaces.ts, server/job/blocklistedTagsProcessor.ts, server/lib/availabilitySync.ts, server/lib/cache.ts, server/lib/imageproxy.ts, server/lib/notifications/agents/gotify.ts, server/lib/notifications/agents/ntfy.ts, server/lib/overrideRules.ts, server/lib/scanners/baseScanner.ts, server/lib/scanners/plex/index.ts, server/lib/scanners/radarr/index.ts, server/lib/scanners/sonarr/index.ts, server/lib/settings/index.ts, server/migration/postgres/1789254652580-RemapOverseerrDeletedStatus.ts, server/migration/sqlite/1786619443939-DropPushSubscriptionAuthUnique.ts, server/migration/sqlite/1789254652493-RemapOverseerrDeletedStatus.ts, server/routes/auth.ts, server/routes/collection.ts, server/routes/discover.ts, server/routes/imageproxy.ts, server/routes/index.ts, server/routes/movie.ts, server/routes/overrideRule.ts, server/routes/request.ts, server/routes/settings/index.ts, server/routes/tv.ts, server/routes/user/index.ts, server/scripts/prepareTestDb.ts, server/subscriber/IssueCommentSubscriber.ts, server/subscriber/MediaRequestSubscriber.ts, server/subscriber/MediaSubscriber.ts, server/tsconfig.build.json, server/utils/DbColumnHelper.ts, server/utils/asyncLock.ts, server/utils/dbType.ts, server/utils/demoMode.ts, server/utils/nestedTransaction.ts, server/utils/requestLock.ts, server/utils/seedTestDb.ts, server/utils/userAgent.ts, src/components/CollectionDetails/index.tsx, src/components/Common/ButtonWithDropdown/index.tsx, src/components/Common/Dropdown/index.tsx, src/components/Common/Modal/index.tsx, src/components/Common/SlideOver/index.tsx, src/components/Discover/DiscoverMovies/index.tsx, src/components/Discover/DiscoverTv/index.tsx, src/components/Discover/index.tsx, src/components/IssueDetails/IssueComment/index.tsx, src/components/IssueDetails/IssueDescription/index.tsx, src/components/IssueModal/CreateIssueModal/index.tsx, src/components/Layout/Sidebar/index.tsx, src/components/Layout/UserDropdown/index.tsx, src/components/Login/AddEmailModal.tsx, src/components/Login/LocalLogin.tsx, src/components/MediaSlider/index.tsx, src/components/RegionSelector/index.tsx, src/components/RequestCard/index.tsx, src/components/RequestList/RequestItem/index.tsx, src/components/RequestModal/AdvancedRequester/index.tsx, src/components/RequestModal/CollectionRequestModal.tsx, src/components/RequestModal/MovieRequestModal.tsx, src/components/RequestModal/TvRequestModal.tsx, src/components/Search/index.tsx, src/components/Settings/Notifications/NotificationsGotify/index.tsx, src/components/Settings/Notifications/NotificationsNtfy/index.tsx, src/components/Settings/SettingsJobsCache/index.tsx, src/components/Settings/SettingsMain/index.tsx, src/components/Settings/SettingsNetwork/index.tsx, src/components/Settings/SettingsPlex.tsx, src/components/Settings/SonarrModal/index.tsx, src/components/TvDetails/index.tsx, src/components/UserList/index.tsx, src/components/UserProfile/UserSettings/UserNotificationSettings/UserNotificationsWebPush/index.tsx, src/context/SettingsContext.tsx, src/hooks/useDiscover.ts, src/i18n/locale/ca.json, src/i18n/locale/da.json, src/i18n/locale/en.json, src/i18n/locale/es.json, src/i18n/locale/eu.json, src/i18n/locale/fr.json, src/i18n/locale/hu.json, src/i18n/locale/nl.json, src/i18n/locale/pl.json, src/i18n/locale/pt_BR.json, src/i18n/locale/ru.json, src/i18n/locale/sv.json, src/i18n/locale/vi.json, src/pages/_app.tsx, src/utils/pushSubscriptionHelpers.ts, src/utils/refreshIntervalHelper.ts, server/api/plextv.test.ts, server/entity/MediaRequest.test.ts, server/lib/availabilitySync.test.ts, server/lib/scanners/radarr/radarr.test.ts, server/lib/scanners/sonarr/sonarr.test.ts, server/lib/watchlistsync.test.ts, server/routes/auth.test.ts, server/routes/blocklist.test.ts, server/routes/issue.test.ts, server/routes/mediaInfo.test.ts, server/routes/request.test.ts, server/routes/user/index.test.ts, server/test/index.mts, server/test/runWithMockTimers.ts, server/test/setup.ts, server/test/userSettings.ts, server/utils/seedTestDb.test.ts, server/utils/userAgent.test.ts, src/utils/refreshIntervalHelper.test.ts was too large to read.
review-bot, model nvidia/nemotron-3-super-120b-a12b:free, verdict comment
Description
Merges upstream Seerr
v3.5.0intomasterwith a merge commit, so the 78 upstream commits keep their history. Merge this PR with a merge commit, not a squash.Conflict resolution followed the fork's existing removals:
server/routes/user/usersettings.test.tsonly covers Jellyfin linking, so it is dropped.SOURCE_DATE_EPOCHarg.package.jsonkeeps the fork's name and newer dependency pins, takes version3.5.0, and dropsnode-cachenow that upstream useslru-cache. The lockfile is regenerated.useToastshad been dropped by the auto-merge and is restored.en.jsonis regenerated withpnpm i18n:extract.Separate commits on top:
.gitignoreonmasterstill had conflict markers from the v3.4.1 sync. It now uses upstream's list plus the fork'sconfig/,committag.json,.env, and*.tsbuildinfoentries.docs/README.mdnames v3.5.0 as the base.upstream-sync.ymlnever opened a PR: it mergeddevelopand exited quietly on any conflict. It now follows the qbittorrent-warpauto_update.yamlflow. It tracks the latest upstream stable release, commits conflict markers to the PR instead of giving up, and arms auto-merge (merge commit) only when the merge is clean andmasterhas a ruleset that requires checks. It needs anAUTOUPDATE_TOKENsecret with theworkflowscope.How Has This Been Tested?
On a Raspberry Pi 5, Node 26, pnpm 10.24.0:
pnpm typecheck,pnpm lint(0 errors),pnpm format:checkpnpm test: 183 passed, 0 failedpnpm build:serveractionlintandshellcheckon the new workflow and scriptnext buildand the image build were left to CI.Screenshots / Logs (if applicable)
Checklist:
pnpm buildpnpm i18n:extractNoticed, not fixed
masterhas no ruleset or branch protection, so the sync workflow will refuse to arm auto-merge on clean merges until one exists.master.