Repository navigation
feat(requests): allow admins to bypass user quota limits - #2026
Conversation
|
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged. |
|
When you have time @0xSysR3ll can you rebase so we can review it ? |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds an Changes
Sequence DiagramsequenceDiagram
participant User
participant UI as AdvancedRequester
participant Modal as RequestModal
participant API as Backend API
participant DB as Database
participant Quota as Quota Calculator
User->>UI: Toggle ignoreQuota (if visible)
UI->>Modal: onChange(overrides with ignoreQuota)
User->>Modal: Submit request
Modal->>API: POST /api/v1/request (payload includes ignoreQuota)
API->>API: Verify Permission.MANAGE_REQUESTS if ignoreQuota requested
alt bypass allowed
API->>DB: Save MediaRequest(ignoreQuota = true)
API->>Modal: Respond 201 Created
else bypass denied
API-->>Modal: Respond 403 RequestPermissionError
end
Note over Quota,DB: Quota calculations query DB WHERE ignoreQuota = false
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (4)
src/components/RequestModal/AdvancedRequester/index.tsx (1)
308-319:⚠️ Potential issue | 🟠 MajorInclude quota bypass in the “has advanced options” render check.
If there is only one server/profile/folder and no alternate requester to show, this component returns
nullbefore rendering the new bypass toggle, leaving admins unable to enable the feature.🐛 Proposed fix
+ const canRenderIgnoreQuota = + currentHasPermission([Permission.MANAGE_REQUESTS]) && + !!quota && + ((type === 'movie' && (quota.movie.limit ?? 0) > 0) || + (type === 'tv' && (quota.tv.limit ?? 0) > 0)); + if ( (!data || selectedServer === null || (data.filter((server) => server.is4k === is4k).length < 2 && (!serverData || @@ (serverData.languageProfiles ?? []).length < 2 && !serverData.tags?.length)))) && - (!selectedUser || (filteredUserData ?? []).length < 2) + (!selectedUser || (filteredUserData ?? []).length < 2) && + !canRenderIgnoreQuota ) { return null; } @@ - {currentHasPermission([Permission.MANAGE_REQUESTS]) && - quota && - ((type === 'movie' && quota.movie.limit && quota.movie.limit > 0) || - (type === 'tv' && quota.tv.limit && quota.tv.limit > 0)) && ( + {canRenderIgnoreQuota && ( <div className="mb-2"> <label htmlFor="ignoreQuota"> {intl.formatMessage(messages.ignoreQuotaTitle)} </label>Also applies to: 563-581
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/AdvancedRequester/index.tsx` around lines 308 - 319, The current complex render guard (the condition using data, selectedServer, is4k, serverData, selectedUser, and filteredUserData) returns null when there are no alternate servers/profiles/users and therefore prevents the new quota bypass toggle from rendering; update that guard so it also permits rendering when the quota bypass control should be shown — i.e., add a check for the quota bypass state/permission (the component prop/state that governs the new "quota bypass" toggle, e.g., bypassQuota / canBypassQuota / quotaBypassEnabled) so the component does not return null when that toggle should be visible; apply the same change to the corresponding guard around the other block (the one at the 563-581 region) so the bypass toggle is always reachable even if there is only one server/profile/folder/user.src/components/RequestModal/TvRequestModal.tsx (2)
289-320:⚠️ Potential issue | 🟠 MajorLet quota bypass unlock TV season selection too.
With partial requests enabled and no quota remaining,
toggleSeason/toggleAllSeasonsstill return early even after the admin enables bypass, so no seasons can be selected.🐛 Proposed fix
if ( quota?.tv.limit && currentlyRemaining <= 0 && + !requestOverrides?.ignoreQuota && !isSelectedSeason(seasonNumber) ) { return; } @@ if ( quota?.tv.limit && (quota?.tv.remaining ?? 0) < unrequestedSeasons.length && + !requestOverrides?.ignoreQuota ) { return; } @@ quota?.tv.remaining && quota.tv.limit && + !requestOverrides?.ignoreQuota && quota.tv.remaining < unrequestedSeasons.length ? 'opacity-50' : '' @@ mediaSeason || (quota?.tv.limit && + !requestOverrides?.ignoreQuota && currentlyRemaining <= 0 && !isSelectedSeason(season.seasonNumber)) ||Also applies to: 555-561, 637-646
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/TvRequestModal.tsx` around lines 289 - 320, The early-return quota checks in toggleSeason and toggleAllSeasons block selection even when the admin bypass is enabled; update those conditions to skip the return when the bypass flag is set (e.g. add !settings.currentSettings.quotaBypassEnabled to the guard). Concretely, in toggleSeason (the if with quota?.tv.limit && currentlyRemaining <= 0 && !isSelectedSeason(seasonNumber)) change it to also require the bypass is not enabled before returning, and in toggleAllSeasons (the if with quota?.tv.limit && (quota?.tv.remaining ?? 0) < unrequestedSeasons.length) do the same; apply the same pattern to the other analogous guards mentioned (around lines 555-561 and 637-646) so the admin quota bypass allows season selection.
443-460:⚠️ Potential issue | 🔴 CriticalFix the malformed
okDisabledexpression and compare against remaining quota.Line 454 continues the boolean expression without an operator, which causes a parse failure. While fixing it, use
quota.tv.remaining; comparing againstlimitlets over-quota full-series requests reach the server and fail there.🐛 Proposed fix
okDisabled={ editRequest ? false - : !settings.currentSettings.partialRequestsEnabled && - quota?.tv.limit && - unrequestedSeasons.length > quota.tv.limit && - !requestOverrides?.ignoreQuota - ? true - : getAllRequestedSeasons().length >= getAllSeasons().length || - (settings.currentSettings.partialRequestsEnabled && - selectedSeasons.length === 0) - quota?.tv.limit && - unrequestedSeasons.length > quota.tv.limit - ? true - : getAllRequestedSeasons().length >= getAllSeasons().length || - (settings.currentSettings.partialRequestsEnabled && - selectedSeasons.length === 0) + : getAllRequestedSeasons().length >= getAllSeasons().length || + (settings.currentSettings.partialRequestsEnabled && + selectedSeasons.length === 0) || + (!!quota?.tv.limit && + !requestOverrides?.ignoreQuota && + (settings.currentSettings.partialRequestsEnabled + ? selectedSeasons.length > (quota.tv.remaining ?? 0) + : unrequestedSeasons.length > (quota.tv.remaining ?? 0))) }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/TvRequestModal.tsx` around lines 443 - 460, The okDisabled expression in TvRequestModal (the okDisabled prop near editRequest / partialRequestsEnabled) is malformed due to a missing operator and needs to be simplified and corrected to compare against remaining quota; rewrite the boolean so operators and parentheses are correct, replace any uses of quota?.tv.limit with quota?.tv.remaining when checking unrequestedSeasons length, and preserve existing short-circuits (editRequest => false, respect requestOverrides?.ignoreQuota) while keeping the other checks: full-series already requested (getAllRequestedSeasons().length >= getAllSeasons().length) or (partialRequestsEnabled && selectedSeasons.length === 0) should still disable OK.server/entity/User.ts (1)
315-364:⚠️ Potential issue | 🔴 CriticalFix the duplicate TV quota query block.
The code contains a syntax error: two consecutive
awaitstatements without a connecting operator (lines 339–359). Remove the duplicateawait requestRepositoryblock and add theignoreQuotapredicate totvQuotaUsedQuerywhile preserving the conditional date behavior (if (tvQuotaDays)).Proposed fix
const tvQuotaUsedQuery = requestRepository .createQueryBuilder('request') .leftJoin('request.requestedBy', 'requestedBy') .where('request.type = :requestType', { requestType: MediaType.TV, }) .andWhere('requestedBy.id = :userId', { userId: this.id, }) .andWhere('request.status != :declinedStatus', { declinedStatus: MediaRequestStatus.DECLINED, + }) + .andWhere('request.ignoreQuota = :ignoreQuota', { + ignoreQuota: false, }); if (tvQuotaDays) { tvQuotaUsedQuery.andWhere('request.createdAt > :date', { date: tvQuotaStartDate, }); } const tvQuotaUsed = tvQuotaLimit ? ( - await requestRepository - .createQueryBuilder('request') - .leftJoin('request.seasons', 'seasons') - .leftJoin('request.requestedBy', 'requestedBy') - .where('request.type = :requestType', { - requestType: MediaType.TV, - }) - .andWhere('requestedBy.id = :userId', { - userId: this.id, - }) - .andWhere('request.createdAt > :date', { - date: tvQuotaStartDate, - }) - .andWhere('request.status != :declinedStatus', { - declinedStatus: MediaRequestStatus.DECLINED, - }) - .andWhere('request.ignoreQuota = :ignoreQuota', { - ignoreQuota: false, - }) - await tvQuotaUsedQuery + await tvQuotaUsedQuery .addSelect((subQuery) => { return subQuery .select('COUNT(season.id)', 'seasonCount') .from(SeasonRequest, 'season') .leftJoin('season.request', 'parentRequest') .where('parentRequest.id = request.id'); }, 'seasonCount') .getMany()🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@server/entity/User.ts` around lines 315 - 364, There is a duplicated/invalid query block causing a syntax error; remove the extra awaited requestRepository query and instead add the ignoreQuota predicate to the existing tvQuotaUsedQuery, preserving the tvQuotaDays conditional date logic (use tvQuotaStartDate when tvQuotaDays is set) and ensure tvQuotaUsed still computes the sum of seasonCount from the select on tvQuotaUsedQuery (referencing tvQuotaUsedQuery, requestRepository, tvQuotaDays, tvQuotaStartDate, tvQuotaLimit, MediaRequest.seasonCount/seasonCount and the ignoreQuota = false predicate).
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@server/entity/MediaRequest.ts`:
- Around line 116-130: The requestBody.ignoreQuota flag is trusted from the
client and must be sanitized: compute an effectiveIgnoreQuota boolean that is
true only if the user actually has the MANAGE_REQUESTS permission
(user.hasPermission([Permission.MANAGE_REQUESTS])) and requestBody.ignoreQuota
is true, otherwise set it to false; use this effectiveIgnoreQuota everywhere (in
the quota-enforcement branch that references canBypassQuota and in any
persistence code that stores ignoreQuota) so regular users cannot bypass quota
by sending ignoreQuota: true and managers cannot bypass when the toggle is off.
---
Outside diff comments:
In `@server/entity/User.ts`:
- Around line 315-364: There is a duplicated/invalid query block causing a
syntax error; remove the extra awaited requestRepository query and instead add
the ignoreQuota predicate to the existing tvQuotaUsedQuery, preserving the
tvQuotaDays conditional date logic (use tvQuotaStartDate when tvQuotaDays is
set) and ensure tvQuotaUsed still computes the sum of seasonCount from the
select on tvQuotaUsedQuery (referencing tvQuotaUsedQuery, requestRepository,
tvQuotaDays, tvQuotaStartDate, tvQuotaLimit,
MediaRequest.seasonCount/seasonCount and the ignoreQuota = false predicate).
In `@src/components/RequestModal/AdvancedRequester/index.tsx`:
- Around line 308-319: The current complex render guard (the condition using
data, selectedServer, is4k, serverData, selectedUser, and filteredUserData)
returns null when there are no alternate servers/profiles/users and therefore
prevents the new quota bypass toggle from rendering; update that guard so it
also permits rendering when the quota bypass control should be shown — i.e., add
a check for the quota bypass state/permission (the component prop/state that
governs the new "quota bypass" toggle, e.g., bypassQuota / canBypassQuota /
quotaBypassEnabled) so the component does not return null when that toggle
should be visible; apply the same change to the corresponding guard around the
other block (the one at the 563-581 region) so the bypass toggle is always
reachable even if there is only one server/profile/folder/user.
In `@src/components/RequestModal/TvRequestModal.tsx`:
- Around line 289-320: The early-return quota checks in toggleSeason and
toggleAllSeasons block selection even when the admin bypass is enabled; update
those conditions to skip the return when the bypass flag is set (e.g. add
!settings.currentSettings.quotaBypassEnabled to the guard). Concretely, in
toggleSeason (the if with quota?.tv.limit && currentlyRemaining <= 0 &&
!isSelectedSeason(seasonNumber)) change it to also require the bypass is not
enabled before returning, and in toggleAllSeasons (the if with quota?.tv.limit
&& (quota?.tv.remaining ?? 0) < unrequestedSeasons.length) do the same; apply
the same pattern to the other analogous guards mentioned (around lines 555-561
and 637-646) so the admin quota bypass allows season selection.
- Around line 443-460: The okDisabled expression in TvRequestModal (the
okDisabled prop near editRequest / partialRequestsEnabled) is malformed due to a
missing operator and needs to be simplified and corrected to compare against
remaining quota; rewrite the boolean so operators and parentheses are correct,
replace any uses of quota?.tv.limit with quota?.tv.remaining when checking
unrequestedSeasons length, and preserve existing short-circuits (editRequest =>
false, respect requestOverrides?.ignoreQuota) while keeping the other checks:
full-series already requested (getAllRequestedSeasons().length >=
getAllSeasons().length) or (partialRequestsEnabled && selectedSeasons.length ===
0) should still disable OK.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: a5d158d0-dd1e-4f06-8ee6-696e4bcddcde
📒 Files selected for processing (10)
seerr-api.ymlserver/entity/MediaRequest.tsserver/entity/User.tsserver/interfaces/api/requestInterfaces.tsserver/migration/postgres/1760028688313-AddIgnoreQuotaToMediaRequest.tsserver/migration/sqlite/1760028688313-AddIgnoreQuotaToMediaRequest.tssrc/components/RequestModal/AdvancedRequester/index.tsxsrc/components/RequestModal/MovieRequestModal.tsxsrc/components/RequestModal/TvRequestModal.tsxsrc/i18n/locale/en.json
gauthier-th
left a comment
There was a problem hiding this comment.
LGTM, but generated migrations are quite old, they should be re-generated before we merge this.
Yep yep, will do. This was just a rebase attempt from GH's web UI :) |
b29889e to
cdb7b1b
Compare
There was a problem hiding this comment.
Actionable comments posted: 2
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
src/components/RequestModal/TvRequestModal.tsx (1)
443-454:⚠️ Potential issue | 🟠 MajorBypass still fails when partial requests are enabled.
Line 448 only relaxes quota gating in the non-partial branch. In partial mode,
toggleSeasonandtoggleAllSeasonsstill hard-block selection at quota limits, so admins cannot actually bypass quotas there.Suggested fix
+ const isIgnoringQuota = !!requestOverrides?.ignoreQuota; const toggleSeason = (seasonNumber: number): void => { @@ - if ( - quota?.tv.limit && - currentlyRemaining <= 0 && - !isSelectedSeason(seasonNumber) - ) { + if ( + quota?.tv.limit && + currentlyRemaining <= 0 && + !isSelectedSeason(seasonNumber) && + !isIgnoringQuota + ) { return; } @@ const toggleAllSeasons = (): void => { @@ - if ( - quota?.tv.limit && - (quota?.tv.remaining ?? 0) < unrequestedSeasons.length - ) { + if ( + quota?.tv.limit && + (quota?.tv.remaining ?? 0) < unrequestedSeasons.length && + !isIgnoringQuota + ) { return; }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/TvRequestModal.tsx` around lines 443 - 454, The partial-request flow still enforces quota checks in selection functions even when a bypass is requested; update the quota checks to respect the bypass flag. Specifically, in the toggleSeason and toggleAllSeasons handlers add a short-circuit that skips the quota-limit blocking when requestOverrides?.ignoreQuota (or whichever bypass flag is used) is true (and keep existing editRequest behavior). Also adjust the okDisabled logic around partialRequestsEnabled to treat requestOverrides?.ignoreQuota as allowing selections beyond quota so the OK button reflects the bypass; reference toggleSeason, toggleAllSeasons, okDisabled, getAllRequestedSeasons, getAllSeasons and selectedSeasons when making these changes.src/components/RequestModal/AdvancedRequester/index.tsx (1)
308-320:⚠️ Potential issue | 🟡 MinorEarly return can hide the new "Bypass User Quota" toggle.
The bail-out at lines 308–320 only considers server/profile/folder/language/tags counts and the user-switcher list. It does not factor in the new
ignoreQuotatoggle, so an admin viewing a target with a single server, defaulted profiles/folders, and<2filtered users will get anulladvanced section even whenquota.{movie|tv}.limit > 0— meaning the bypass UI is unreachable in exactly the scenario it's most useful (admin requesting on behalf of a user who has hit their quota).Consider adding the bypass-visibility predicate to this guard, e.g.:
♻️ Proposed adjustment
+ const canShowIgnoreQuota = + currentHasPermission([Permission.MANAGE_REQUESTS]) && + !!quota && + ((type === 'movie' && (quota.movie.limit ?? 0) > 0) || + (type === 'tv' && (quota.tv.limit ?? 0) > 0)); + if ( (!data || selectedServer === null || (data.filter((server) => server.is4k === is4k).length < 2 && (!serverData || (serverData.profiles.length < 2 && serverData.rootFolders.length < 2 && (serverData.languageProfiles ?? []).length < 2 && !serverData.tags?.length)))) && - (!selectedUser || (filteredUserData ?? []).length < 2) + (!selectedUser || (filteredUserData ?? []).length < 2) && + !canShowIgnoreQuota ) { return null; }The same
canShowIgnoreQuotavalue can then be reused at line 563 instead of inlining the predicate.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/AdvancedRequester/index.tsx` around lines 308 - 320, Compute a canShowIgnoreQuota boolean that checks whether the current target has a non-zero quota (e.g., quota.movie.limit > 0 || quota.tv.limit > 0) and whether the ignoreQuota toggle should be exposed (use existing ignoreQuota / user/admin context as needed), then include canShowIgnoreQuota in the initial bail-out condition so the advanced section is not returned null when the bypass UI is needed; also replace the duplicated inline predicate at the later usage (around where the bypass toggle is rendered) with the same canShowIgnoreQuota variable so the visibility logic is consistent.
🧹 Nitpick comments (2)
src/components/RequestModal/AdvancedRequester/index.tsx (2)
250-276:ignoreQuotais not re-synced whendefaultOverrideschanges.This effect propagates updates to
defaultOverrides.{server,profile,folder,language,tags}into local state, butdefaultOverrides.ignoreQuotais only consumed in theuseStateinitializer at lines 107–109. If a parent recomputesdefaultOverrides(e.g., after an "edit request" hydration), the toggle will be stuck at its first value. For consistency with the other fields:♻️ Proposed adjustment
if (defaultOverrides && defaultOverrides.tags != null) { setSelectedTags(defaultOverrides.tags); } + + if (defaultOverrides && defaultOverrides.ignoreQuota != null) { + setIgnoreQuota(defaultOverrides.ignoreQuota); + } }, [ defaultOverrides?.server, defaultOverrides?.folder, defaultOverrides?.profile, defaultOverrides?.language, defaultOverrides?.tags, + defaultOverrides?.ignoreQuota, ]);🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/AdvancedRequester/index.tsx` around lines 250 - 276, The effect that syncs defaultOverrides into local state is missing the ignoreQuota field, so add logic to the useEffect to call setIgnoreQuota(defaultOverrides.ignoreQuota) when defaultOverrides.ignoreQuota is not null/undefined (mirroring the checks used for setSelectedServer/setSelectedProfile/etc.), and include defaultOverrides?.ignoreQuota in the effect dependency array so ignoreQuota is re-synced whenever defaultOverrides changes; this touches the useEffect block and the local state setter setIgnoreQuota (the current useState initializer for ignoreQuota at lines ~107–109).
42-44: Nit: i18n key casing inconsistent with the rest of the file.All sibling keys in this
defineMessagesblock use lowercase (advancedoptions,destinationserver,qualityprofile,requestas,languageprofile,selecttags,notagoptions). The two new keys use camelCase (ignoreQuotaTitle,ignoreQuotaDescription). Worth aligning toignorequotatitle/ignorequotadescription(or whatever convention the project standardizes on) so extracted message IDs stay uniform.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/AdvancedRequester/index.tsx` around lines 42 - 44, The new i18n keys in the defineMessages block use camelCase (ignoreQuotaTitle, ignoreQuotaDescription) while the file's convention is lowercase; rename these keys to match the existing pattern (e.g., ignorequotatitle and ignorequotadescription) in the defineMessages declaration and update any usages of ignoreQuotaTitle/ignoreQuotaDescription to the new lowercase keys so extracted message IDs remain consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@server/migration/sqlite/1777103565110-AddIgnoreQuotaToMediaRequest.ts`:
- Line 89: The down() migration in AddIgnoreQuotaToMediaRequest (method down)
recreates the media_request table without the ignoreQuota column, which will
silently drop ignoreQuota=true values on rollback; no code change is required,
but update the release notes/changelog to explicitly warn that downgrading after
admins use the quota bypass will lose the audit signal indicating which requests
bypassed quota so operators can make an informed decision before rolling back.
- Around line 7-60: This migration's up() and down() include duplicated rebuilds
of user_push_subscription (the DROP INDEX "IDX_03f7958328e311761b0de675fb" →
CREATE TABLE "temporary_user_push_subscription" → INSERT ... FROM
"user_push_subscription" → DROP TABLE "user_push_subscription" → ALTER TABLE ...
RENAME TO "user_push_subscription" → CREATE INDEX sequence) which are unrelated
to the intended change (adding ignoreQuota to media_request and the
temporary_media_request CREATE/INSERT/RENAME sequence); regenerate the migration
from a clean schema (matching develop) so that the up()/down() only modify
media_request (add ignoreQuota boolean and recreate its indexes) and remove all
duplicated temporary_user_push_subscription rebuild blocks, and also regenerate
the Postgres counterpart (the 1777103595541 migration) to confirm no similar
drift.
---
Outside diff comments:
In `@src/components/RequestModal/AdvancedRequester/index.tsx`:
- Around line 308-320: Compute a canShowIgnoreQuota boolean that checks whether
the current target has a non-zero quota (e.g., quota.movie.limit > 0 ||
quota.tv.limit > 0) and whether the ignoreQuota toggle should be exposed (use
existing ignoreQuota / user/admin context as needed), then include
canShowIgnoreQuota in the initial bail-out condition so the advanced section is
not returned null when the bypass UI is needed; also replace the duplicated
inline predicate at the later usage (around where the bypass toggle is rendered)
with the same canShowIgnoreQuota variable so the visibility logic is consistent.
In `@src/components/RequestModal/TvRequestModal.tsx`:
- Around line 443-454: The partial-request flow still enforces quota checks in
selection functions even when a bypass is requested; update the quota checks to
respect the bypass flag. Specifically, in the toggleSeason and toggleAllSeasons
handlers add a short-circuit that skips the quota-limit blocking when
requestOverrides?.ignoreQuota (or whichever bypass flag is used) is true (and
keep existing editRequest behavior). Also adjust the okDisabled logic around
partialRequestsEnabled to treat requestOverrides?.ignoreQuota as allowing
selections beyond quota so the OK button reflects the bypass; reference
toggleSeason, toggleAllSeasons, okDisabled, getAllRequestedSeasons,
getAllSeasons and selectedSeasons when making these changes.
---
Nitpick comments:
In `@src/components/RequestModal/AdvancedRequester/index.tsx`:
- Around line 250-276: The effect that syncs defaultOverrides into local state
is missing the ignoreQuota field, so add logic to the useEffect to call
setIgnoreQuota(defaultOverrides.ignoreQuota) when defaultOverrides.ignoreQuota
is not null/undefined (mirroring the checks used for
setSelectedServer/setSelectedProfile/etc.), and include
defaultOverrides?.ignoreQuota in the effect dependency array so ignoreQuota is
re-synced whenever defaultOverrides changes; this touches the useEffect block
and the local state setter setIgnoreQuota (the current useState initializer for
ignoreQuota at lines ~107–109).
- Around line 42-44: The new i18n keys in the defineMessages block use camelCase
(ignoreQuotaTitle, ignoreQuotaDescription) while the file's convention is
lowercase; rename these keys to match the existing pattern (e.g.,
ignorequotatitle and ignorequotadescription) in the defineMessages declaration
and update any usages of ignoreQuotaTitle/ignoreQuotaDescription to the new
lowercase keys so extracted message IDs remain consistent.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 4cf7fc58-9036-4ed4-b79d-cfe6bddad5db
📒 Files selected for processing (10)
seerr-api.ymlserver/entity/MediaRequest.tsserver/entity/User.tsserver/interfaces/api/requestInterfaces.tsserver/migration/postgres/1777103595541-AddIgnoreQuotaToMediaRequest.tsserver/migration/sqlite/1777103565110-AddIgnoreQuotaToMediaRequest.tssrc/components/RequestModal/AdvancedRequester/index.tsxsrc/components/RequestModal/MovieRequestModal.tsxsrc/components/RequestModal/TvRequestModal.tsxsrc/i18n/locale/en.json
✅ Files skipped from review due to trivial changes (2)
- server/interfaces/api/requestInterfaces.ts
- src/i18n/locale/en.json
🚧 Files skipped from review as they are similar to previous changes (1)
- server/entity/MediaRequest.ts
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/components/RequestModal/TvRequestModal.tsx (1)
91-96:⚠️ Potential issue | 🟡 MinorQuota fetch gate omits
MANAGE_REQUESTS, preventing target-user quota visibility forMANAGE_REQUESTS-only admins.The SWR fetch for the target user's quota only runs when
hasPermission(Permission.MANAGE_USERS), but both the user selector and "Bypass User Quota" toggle inAdvancedRequesterallowMANAGE_REQUESTSusers to operate. AMANAGE_REQUESTS-only admin who picks a different target user will getquota === undefined, which:
- Hides
QuotaDisplayfor that target.- Hides the "Bypass User Quota" toggle (even though they have permission to set it).
Same issue exists in
MovieRequestModal.tsxandCollectionRequestModal.tsx.Suggested adjustment
const { data: quota } = useSWR<QuotaResponse>( user && - (!requestOverrides?.user?.id || hasPermission(Permission.MANAGE_USERS)) + (!requestOverrides?.user?.id || + hasPermission([Permission.MANAGE_USERS, Permission.MANAGE_REQUESTS], { + type: 'or', + })) ? `/api/v1/user/${requestOverrides?.user?.id ?? user.id}/quota` : null );🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/TvRequestModal.tsx` around lines 91 - 96, The SWR quota fetch gate currently only allows fetching the target user's quota when hasPermission(Permission.MANAGE_USERS), which prevents MANAGE_REQUESTS-only admins from seeing or bypassing target-user quotas; update the conditional used in useSWR in TvRequestModal (and mirror the same change in MovieRequestModal and CollectionRequestModal) to also allow hasPermission(Permission.MANAGE_REQUESTS) when deciding whether to fetch `/api/v1/user/${requestOverrides?.user?.id ?? user.id}/quota`; this ensures QuotaDisplay and the "Bypass User Quota" toggle in AdvancedRequester are shown for users with MANAGE_REQUESTS permission when a different target user is selected.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In `@src/components/RequestModal/TvRequestModal.tsx`:
- Around line 91-96: The SWR quota fetch gate currently only allows fetching the
target user's quota when hasPermission(Permission.MANAGE_USERS), which prevents
MANAGE_REQUESTS-only admins from seeing or bypassing target-user quotas; update
the conditional used in useSWR in TvRequestModal (and mirror the same change in
MovieRequestModal and CollectionRequestModal) to also allow
hasPermission(Permission.MANAGE_REQUESTS) when deciding whether to fetch
`/api/v1/user/${requestOverrides?.user?.id ?? user.id}/quota`; this ensures
QuotaDisplay and the "Bypass User Quota" toggle in AdvancedRequester are shown
for users with MANAGE_REQUESTS permission when a different target user is
selected.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 1e2dedf2-c00d-4451-afc8-d53dba4ed68a
📒 Files selected for processing (2)
server/entity/MediaRequest.tssrc/components/RequestModal/TvRequestModal.tsx
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
src/components/RequestModal/TvRequestModal.tsx (1)
286-323:⚠️ Potential issue | 🟠 Major
ignoreQuotabypass is incomplete — season selection is still blocked by quota.
toggleSeason(Lines 293-299) andtoggleAllSeasons(Lines 318-323) short-circuit whencurrentlyRemaining <= 0orquota.tv.remaining < unrequestedSeasons.length, regardless ofrequestOverrides?.ignoreQuota. WithpartialRequestsEnabled, an admin who toggles "Bypass User Quota" on a user who is already over quota still cannot tick any additional seasons, so the bypass is effectively unreachable through the UI. Only theokDisabledclause at Line 451 was updated.Consider gating these blocks on
!requestOverrides?.ignoreQuotaas well (and similarly for the visualopacity-50checks at Lines 553-558 and 636-642 that signal "blocked").🔧 Suggested fix
const toggleSeason = (seasonNumber: number): void => { // If this season already has a pending request, don't allow it to be toggled if (getAllRequestedSeasons().includes(seasonNumber)) { return; } // If there are no more remaining requests available, block toggle if ( quota?.tv.limit && currentlyRemaining <= 0 && - !isSelectedSeason(seasonNumber) + !isSelectedSeason(seasonNumber) && + !requestOverrides?.ignoreQuota ) { return; } @@ const toggleAllSeasons = (): void => { // If the user has a quota and not enough requests for all seasons, block toggleAllSeasons if ( quota?.tv.limit && - (quota?.tv.remaining ?? 0) < unrequestedSeasons.length + (quota?.tv.remaining ?? 0) < unrequestedSeasons.length && + !requestOverrides?.ignoreQuota ) { return; }🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/TvRequestModal.tsx` around lines 286 - 323, toggleSeason and toggleAllSeasons are still blocked by quota checks even when requestOverrides?.ignoreQuota is true; update the short-circuit conditions to also allow toggling when requestOverrides?.ignoreQuota is set (i.e., only enforce currentlyRemaining <= 0 or quota?.tv.remaining < unrequestedSeasons.length when !requestOverrides?.ignoreQuota). Also update the UI blocking/opacity logic that uses "opacity-50" so it reflects requestOverrides?.ignoreQuota (remove or skip the faded/disabled styling when ignoreQuota is true) so admins can actually interact with seasons when bypass is enabled; reference toggleSeason, currentlyRemaining, quota?.tv.limit, toggleAllSeasons, quota?.tv.remaining, unrequestedSeasons, and the opacity-50 visual checks.src/components/RequestModal/CollectionRequestModal.tsx (1)
189-215:⚠️ Potential issue | 🟠 MajorAdd
quotaprop toAdvancedRequesterand forwardignoreQuotain collection requests.
CollectionRequestModaldoes not passquotatoAdvancedRequester(line 525) and does not forwardrequestOverrides?.ignoreQuotain the POST body, unlikeMovieRequestModalandTvRequestModal. This means the "Bypass User Quota" toggle will not appear for collection requests and admins cannot bypass quotas when requesting collections.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/CollectionRequestModal.tsx` around lines 189 - 215, CollectionRequestModal is not passing the quota prop to AdvancedRequester and is not forwarding requestOverrides?.ignoreQuota in the request body; update the AdvancedRequester usage in CollectionRequestModal to include the quota prop (same prop name used by MovieRequestModal/TvRequestModal) and modify sendRequest (overrideParams) to include ignoreQuota: requestOverrides.ignoreQuota so the POST body sent by sendRequest includes ignoreQuota alongside serverId/profileId/rootFolder/userId/tags; mirror the same shape and prop names used in MovieRequestModal and TvRequestModal to ensure the "Bypass User Quota" toggle appears and the flag is sent to the API.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In `@src/components/RequestModal/CollectionRequestModal.tsx`:
- Around line 189-215: CollectionRequestModal is not passing the quota prop to
AdvancedRequester and is not forwarding requestOverrides?.ignoreQuota in the
request body; update the AdvancedRequester usage in CollectionRequestModal to
include the quota prop (same prop name used by MovieRequestModal/TvRequestModal)
and modify sendRequest (overrideParams) to include ignoreQuota:
requestOverrides.ignoreQuota so the POST body sent by sendRequest includes
ignoreQuota alongside serverId/profileId/rootFolder/userId/tags; mirror the same
shape and prop names used in MovieRequestModal and TvRequestModal to ensure the
"Bypass User Quota" toggle appears and the flag is sent to the API.
In `@src/components/RequestModal/TvRequestModal.tsx`:
- Around line 286-323: toggleSeason and toggleAllSeasons are still blocked by
quota checks even when requestOverrides?.ignoreQuota is true; update the
short-circuit conditions to also allow toggling when
requestOverrides?.ignoreQuota is set (i.e., only enforce currentlyRemaining <= 0
or quota?.tv.remaining < unrequestedSeasons.length when
!requestOverrides?.ignoreQuota). Also update the UI blocking/opacity logic that
uses "opacity-50" so it reflects requestOverrides?.ignoreQuota (remove or skip
the faded/disabled styling when ignoreQuota is true) so admins can actually
interact with seasons when bypass is enabled; reference toggleSeason,
currentlyRemaining, quota?.tv.limit, toggleAllSeasons, quota?.tv.remaining,
unrequestedSeasons, and the opacity-50 visual checks.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 74ed28a5-5601-457a-ace8-584314a337c8
📒 Files selected for processing (3)
src/components/RequestModal/CollectionRequestModal.tsxsrc/components/RequestModal/MovieRequestModal.tsxsrc/components/RequestModal/TvRequestModal.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
- src/components/RequestModal/MovieRequestModal.tsx
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
src/components/RequestModal/AdvancedRequester/index.tsx (1)
42-44: Message key naming inconsistent with existing keys.All other keys in this
messagesobject use lowercase identifiers (advancedoptions,requestas,qualityprofile, …). The new keys are camelCase (ignoreQuotaTitle,ignoreQuotaDescription). Considerignorequotatitle/ignorequotadescription(orbypassquota*) for consistency. Note this only affects the source key; translated strings are unaffected.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@src/components/RequestModal/AdvancedRequester/index.tsx` around lines 42 - 44, The new message keys in the messages object use camelCase (ignoreQuotaTitle, ignoreQuotaDescription) which is inconsistent with existing lowercase keys; rename these keys to match the convention (e.g., ignorequotatitle and ignorequotadescription or bypassquota... as preferred) wherever they are defined and referenced in AdvancedRequester (search for ignoreQuotaTitle / ignoreQuotaDescription) so the messages object and all lookups use the new lowercase keys consistently.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@src/components/RequestModal/AdvancedRequester/index.tsx`:
- Around line 107-109: The ignoreQuota state can remain true when its toggle
becomes hidden; add a useEffect that watches the visibility predicate (the
permission check + per-type limit > 0) and selectedUser and calls
setIgnoreQuota(false) whenever that predicate becomes false or selectedUser
changes; update the component where ignoreQuota and setIgnoreQuota are declared
(and similarly the other occurrence around lines 271-273) so the toggle cannot
leave stale true values in the POST body by resetting ignoreQuota to false
whenever visibility is lost or the user selection changes.
- Around line 573-583: The label's htmlFor="ignoreQuota" isn't connected to a
real control because SlideCheckbox lacks an id and proper ARIA handling; update
the JSX to pass an id (e.g., id="ignoreQuota") and any ARIA attributes
(aria-labelledby, aria-label) into SlideCheckbox, and modify the SlideCheckbox
component to accept and forward an id and arbitrary ARIA props to the underlying
focusable element, use the checked prop to set aria-checked (do not hardcode
false), and ensure the toggle uses an accessible event (onClick/onChange) that
toggles via setIgnoreQuota so the label correctly toggles the control and screen
readers see the real state.
---
Nitpick comments:
In `@src/components/RequestModal/AdvancedRequester/index.tsx`:
- Around line 42-44: The new message keys in the messages object use camelCase
(ignoreQuotaTitle, ignoreQuotaDescription) which is inconsistent with existing
lowercase keys; rename these keys to match the convention (e.g.,
ignorequotatitle and ignorequotadescription or bypassquota... as preferred)
wherever they are defined and referenced in AdvancedRequester (search for
ignoreQuotaTitle / ignoreQuotaDescription) so the messages object and all
lookups use the new lowercase keys consistently.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: e8eae48c-047d-40a6-851e-eaf3c86ed818
📒 Files selected for processing (3)
src/components/RequestModal/AdvancedRequester/index.tsxsrc/components/RequestModal/CollectionRequestModal.tsxsrc/components/RequestModal/TvRequestModal.tsx
🚧 Files skipped from review as they are similar to previous changes (2)
- src/components/RequestModal/CollectionRequestModal.tsx
- src/components/RequestModal/TvRequestModal.tsx
9a44cf9 to
8ea4d24
Compare
gauthier-th
left a comment
There was a problem hiding this comment.
LGTM, but as always migration will need to be re-generated before we merge.
Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me>
Signed-off-by: 0xsysr3ll <0xsysr3ll@pm.me>
635dc14 to
e1f5247
Compare
seerr
|
||||||||||||||||||||||||||||
| Project |
seerr
|
| Branch Review |
0xsysr3ll/feat/override-user-request-limit
|
| Run status |
|
| Run duration | 02m 11s |
| Commit |
|
| Committer | 0xsysr3ll |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
32
|
| View all changes introduced in this branch ↗︎ | |
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [seerr/seerr](https://github.com/seerr-team/seerr) | minor | `v3.3.0` → `v3.4.0` | --- ### Release Notes <details> <summary>seerr-team/seerr (seerr/seerr)</summary> ### [`v3.4.0`](https://github.com/seerr-team/seerr/releases/tag/v3.4.0) [Compare Source](seerr-team/seerr@v3.3.0...v3.4.0) This release patches a path traversal vulnerability in the avatar image proxy. Exploitation vectors: - A malicious or compromised Jellyfin/Emby media server returning a crafted HTTP response. - A man-in-the-middle attacker intercepting the connection to the media server, if it is configured over HTTP instead of HTTPS (the default setting). ##### 🛡️ Security - Patch [GHSA-mc6w-69r3-62h8](GHSA-mc6w-69r3-62h8) - Path Traversal leading to Remote Code Execution vulnerability (in seerr's ImageProxy) - ([f484791](seerr-team/seerr@f484791)) ##### 🚀 Features - *(PlexImportModal)* Add user details sync functionality ([#​2977](seerr-team/seerr#2977)) - ([902b88e](seerr-team/seerr@902b88e)) - *(api)* Support `userId` when creating issues ([#​3100](seerr-team/seerr#3100)) - ([5f2722d](seerr-team/seerr@5f2722d)) - *(external-links)* Add Simkl media link ([#​3121](seerr-team/seerr#3121)) - ([5ae70d0](seerr-team/seerr@5ae70d0)) - *(notifications)* Add Discord thread ID support ([#​3065](seerr-team/seerr#3065)) - ([6e9ba06](seerr-team/seerr@6e9ba06)) - *(requests)* Allow admins to bypass user quota limits ([#​2026](seerr-team/seerr#2026)) - ([72536da](seerr-team/seerr@72536da)) - Allow to disable version check ([#​3137](seerr-team/seerr#3137)) - ([73937c0](seerr-team/seerr@73937c0)) - Add jellyfin/emby quick connect authentication ([#​2212](seerr-team/seerr#2212)) - ([74c8db4](seerr-team/seerr@74c8db4)) ##### 🐛 Bug Fixes - *(availability-sync)* Prevent false removals for merged-version Plex items ([#​3224](seerr-team/seerr#3224)) - ([46d8033](seerr-team/seerr@46d8033)) - *(discover)* Use added sort in recent requests slider ([#​3202](seerr-team/seerr#3202)) - ([8ccd0f6](seerr-team/seerr@8ccd0f6)) - *(email)* Respect hosts file for SMTP connections ([#​3082](seerr-team/seerr#3082)) - ([b660201](seerr-team/seerr@b660201)) - *(i18n)* Fallback to server locale for "Default" user lang in notifs ([#​3190](seerr-team/seerr#3190)) - ([ef9edc8](seerr-team/seerr@ef9edc8)) - *(next)* Add next-env.d.ts to .gitignore ([#​3282](seerr-team/seerr#3282)) - ([3279393](seerr-team/seerr@3279393)) - *(notifications)* Make the Discord IDs available even when the notification is disabled on Seerr ([#​3139](seerr-team/seerr#3139)) - ([a8f1780](seerr-team/seerr@a8f1780)) - *(proxy)* Proxy clients built before proxy init ([#​3196](seerr-team/seerr#3196)) - ([8ad191f](seerr-team/seerr@8ad191f)) - *(scanners)* Decline orphaned requests when media is removed from servarr ([#​3191](seerr-team/seerr#3191)) - ([2e0e4ce](seerr-team/seerr@2e0e4ce)) - *(subscriber)* Await request status updates ([#​3223](seerr-team/seerr#3223)) - ([f481b56](seerr-team/seerr@f481b56)) - *(ui)* Revalidate request list after approving or declining a request ([#​3283](seerr-team/seerr#3283)) - ([e810b98](seerr-team/seerr@e810b98)) - *(webpush)* Guard subscriptions request until user loads ([#​3113](seerr-team/seerr#3113)) - ([6829850](seerr-team/seerr@6829850)) - Support for IPv6 address literals in HOST env var ([#​2614](seerr-team/seerr#2614)) - ([0adbf50](seerr-team/seerr@0adbf50)) - Prevent cross-instance external ID collisions ([#​3203](seerr-team/seerr#3203)) - ([8e02d92](seerr-team/seerr@8e02d92)) - Close manage movie sidebar without back reopening ([#​2590](seerr-team/seerr#2590)) - ([0a1f703](seerr-team/seerr@0a1f703)) - Availability sync demotion and orphan season rollup edge cases ([#​3148](seerr-team/seerr#3148)) - ([784faa9](seerr-team/seerr@784faa9)) ##### 📖 Documentation - *(blog)* Rootless design and PUID/PGID rationale ([#​3105](seerr-team/seerr#3105)) - ([bf5323f](seerr-team/seerr@bf5323f)) - *(blog)* Fix "monitorNewItems" feature description and previous post author ([#​3103](seerr-team/seerr#3103)) - ([4e7a227](seerr-team/seerr@4e7a227)) - Update truenas migration section to include chown ([#​3143](seerr-team/seerr#3143)) - ([ebac489](seerr-team/seerr@ebac489)) - Add TrueNAS migration guidance ([#​3107](seerr-team/seerr#3107)) - ([8b062ed](seerr-team/seerr@8b062ed)) ##### ⚙️ Miscellaneous Tasks - *(actions)* Update github actions ([#​3041](seerr-team/seerr#3041)) - ([0438710](seerr-team/seerr@0438710)) - *(dev)* Add devenv setup ([#​3138](seerr-team/seerr#3138)) - ([d2ffe4f](seerr-team/seerr@d2ffe4f)) - *(i18n)* Update translations from Weblate - ([4b65ab5](seerr-team/seerr@4b65ab5)) - *(i18n)* Update translations from Weblate - ([1926095](seerr-team/seerr@1926095)) - *(i18n)* Update translations from Weblate - ([d051deb](seerr-team/seerr@d051deb)) - *(i18n)* Update translations from Weblate - ([8d351bc](seerr-team/seerr@8d351bc)) - *(i18n)* Update translations from Weblate - ([3f33842](seerr-team/seerr@3f33842)) - *(i18n)* Update translations from Weblate - ([6c8527f](seerr-team/seerr@6c8527f)) - *(i18n)* Update translations from Weblate - ([ab26f06](seerr-team/seerr@ab26f06)) - *(i18n)* Update translations from Weblate - ([0a305f6](seerr-team/seerr@0a305f6)) - *(i18n)* Update translations from Weblate - ([32249f2](seerr-team/seerr@32249f2)) - *(i18n)* Update translations from Weblate - ([2a249a8](seerr-team/seerr@2a249a8)) - *(release)* Prepare v3.4.0 - ([2dbe886](seerr-team/seerr@2dbe886)) - *(release)* Prepare 3.4.0 release - ([b21049a](seerr-team/seerr@b21049a)) ##### New Contributors ❤️ - [@​aaamoeder](https://github.com/aaamoeder) made their first contribution - [@​kouellette](https://github.com/kouellette) made their first contribution - [@​u61d](https://github.com/u61d) made their first contribution - [@​thraizz](https://github.com/thraizz) made their first contribution - [@​john-fletcher](https://github.com/john-fletcher) made their first contribution - [@​Gilmoursa](https://github.com/Gilmoursa) made their first contribution - [@​atoy3731](https://github.com/atoy3731) made their first contribution - [@​nightt5879](https://github.com/nightt5879) made their first contribution </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjEwMS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19--> Reviewed-on: https://git.erwanleboucher.dev/eleboucher/homelab/pulls/1745
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [seerr/seerr](https://github.com/seerr-team/seerr) | minor | `v3.3.0` → `v3.4.0` | --- ### Release Notes <details> <summary>seerr-team/seerr (seerr/seerr)</summary> ### [`v3.4.0`](https://github.com/seerr-team/seerr/releases/tag/v3.4.0) [Compare Source](seerr-team/seerr@v3.3.0...v3.4.0) This release patches a path traversal vulnerability in the avatar image proxy. Exploitation vectors: - A malicious or compromised Jellyfin/Emby media server returning a crafted HTTP response. - A man-in-the-middle attacker intercepting the connection to the media server, if it is configured over HTTP instead of HTTPS (the default setting). ##### 🛡️ Security - Patch [GHSA-mc6w-69r3-62h8](GHSA-mc6w-69r3-62h8) - Path Traversal leading to Remote Code Execution vulnerability (in seerr's ImageProxy) - ([f484791](seerr-team/seerr@f484791)) ##### 🚀 Features - *(PlexImportModal)* Add user details sync functionality ([#​2977](seerr-team/seerr#2977)) - ([902b88e](seerr-team/seerr@902b88e)) - *(api)* Support `userId` when creating issues ([#​3100](seerr-team/seerr#3100)) - ([5f2722d](seerr-team/seerr@5f2722d)) - *(external-links)* Add Simkl media link ([#​3121](seerr-team/seerr#3121)) - ([5ae70d0](seerr-team/seerr@5ae70d0)) - *(notifications)* Add Discord thread ID support ([#​3065](seerr-team/seerr#3065)) - ([6e9ba06](seerr-team/seerr@6e9ba06)) - *(requests)* Allow admins to bypass user quota limits ([#​2026](seerr-team/seerr#2026)) - ([72536da](seerr-team/seerr@72536da)) - Allow to disable version check ([#​3137](seerr-team/seerr#3137)) - ([73937c0](seerr-team/seerr@73937c0)) - Add jellyfin/emby quick connect authentication ([#​2212](seerr-team/seerr#2212)) - ([74c8db4](seerr-team/seerr@74c8db4)) ##### 🐛 Bug Fixes - *(availability-sync)* Prevent false removals for merged-version Plex items ([#​3224](seerr-team/seerr#3224)) - ([46d8033](seerr-team/seerr@46d8033)) - *(discover)* Use added sort in recent requests slider ([#​3202](seerr-team/seerr#3202)) - ([8ccd0f6](seerr-team/seerr@8ccd0f6)) - *(email)* Respect hosts file for SMTP connections ([#​3082](seerr-team/seerr#3082)) - ([b660201](seerr-team/seerr@b660201)) - *(i18n)* Fallback to server locale for "Default" user lang in notifs ([#​3190](seerr-team/seerr#3190)) - ([ef9edc8](seerr-team/seerr@ef9edc8)) - *(next)* Add next-env.d.ts to .gitignore ([#​3282](seerr-team/seerr#3282)) - ([3279393](seerr-team/seerr@3279393)) - *(notifications)* Make the Discord IDs available even when the notification is disabled on Seerr ([#​3139](seerr-team/seerr#3139)) - ([a8f1780](seerr-team/seerr@a8f1780)) - *(proxy)* Proxy clients built before proxy init ([#​3196](seerr-team/seerr#3196)) - ([8ad191f](seerr-team/seerr@8ad191f)) - *(scanners)* Decline orphaned requests when media is removed from servarr ([#​3191](seerr-team/seerr#3191)) - ([2e0e4ce](seerr-team/seerr@2e0e4ce)) - *(subscriber)* Await request status updates ([#​3223](seerr-team/seerr#3223)) - ([f481b56](seerr-team/seerr@f481b56)) - *(ui)* Revalidate request list after approving or declining a request ([#​3283](seerr-team/seerr#3283)) - ([e810b98](seerr-team/seerr@e810b98)) - *(webpush)* Guard subscriptions request until user loads ([#​3113](seerr-team/seerr#3113)) - ([6829850](seerr-team/seerr@6829850)) - Support for IPv6 address literals in HOST env var ([#​2614](seerr-team/seerr#2614)) - ([0adbf50](seerr-team/seerr@0adbf50)) - Prevent cross-instance external ID collisions ([#​3203](seerr-team/seerr#3203)) - ([8e02d92](seerr-team/seerr@8e02d92)) - Close manage movie sidebar without back reopening ([#​2590](seerr-team/seerr#2590)) - ([0a1f703](seerr-team/seerr@0a1f703)) - Availability sync demotion and orphan season rollup edge cases ([#​3148](seerr-team/seerr#3148)) - ([784faa9](seerr-team/seerr@784faa9)) ##### 📖 Documentation - *(blog)* Rootless design and PUID/PGID rationale ([#​3105](seerr-team/seerr#3105)) - ([bf5323f](seerr-team/seerr@bf5323f)) - *(blog)* Fix "monitorNewItems" feature description and previous post author ([#​3103](seerr-team/seerr#3103)) - ([4e7a227](seerr-team/seerr@4e7a227)) - Update truenas migration section to include chown ([#​3143](seerr-team/seerr#3143)) - ([ebac489](seerr-team/seerr@ebac489)) - Add TrueNAS migration guidance ([#​3107](seerr-team/seerr#3107)) - ([8b062ed](seerr-team/seerr@8b062ed)) ##### ⚙️ Miscellaneous Tasks - *(actions)* Update github actions ([#​3041](seerr-team/seerr#3041)) - ([0438710](seerr-team/seerr@0438710)) - *(dev)* Add devenv setup ([#​3138](seerr-team/seerr#3138)) - ([d2ffe4f](seerr-team/seerr@d2ffe4f)) - *(i18n)* Update translations from Weblate - ([4b65ab5](seerr-team/seerr@4b65ab5)) - *(i18n)* Update translations from Weblate - ([1926095](seerr-team/seerr@1926095)) - *(i18n)* Update translations from Weblate - ([d051deb](seerr-team/seerr@d051deb)) - *(i18n)* Update translations from Weblate - ([8d351bc](seerr-team/seerr@8d351bc)) - *(i18n)* Update translations from Weblate - ([3f33842](seerr-team/seerr@3f33842)) - *(i18n)* Update translations from Weblate - ([6c8527f](seerr-team/seerr@6c8527f)) - *(i18n)* Update translations from Weblate - ([ab26f06](seerr-team/seerr@ab26f06)) - *(i18n)* Update translations from Weblate - ([0a305f6](seerr-team/seerr@0a305f6)) - *(i18n)* Update translations from Weblate - ([32249f2](seerr-team/seerr@32249f2)) - *(i18n)* Update translations from Weblate - ([2a249a8](seerr-team/seerr@2a249a8)) - *(release)* Prepare v3.4.0 - ([2dbe886](seerr-team/seerr@2dbe886)) - *(release)* Prepare 3.4.0 release - ([b21049a](seerr-team/seerr@b21049a)) ##### New Contributors ❤️ - [@​aaamoeder](https://github.com/aaamoeder) made their first contribution - [@​kouellette](https://github.com/kouellette) made their first contribution - [@​u61d](https://github.com/u61d) made their first contribution - [@​thraizz](https://github.com/thraizz) made their first contribution - [@​john-fletcher](https://github.com/john-fletcher) made their first contribution - [@​Gilmoursa](https://github.com/Gilmoursa) made their first contribution - [@​atoy3731](https://github.com/atoy3731) made their first contribution - [@​nightt5879](https://github.com/nightt5879) made their first contribution </details> --- ### Configuration 📅 **Schedule**: (in timezone America/New_York) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODMuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19--> Reviewed-on: https://git.greyrock.io/greyrock-labs/home-ops/pulls/190
….1) (#352) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/seerr-team/seerr](https://github.com/seerr-team/seerr) | minor | `v3.1.0` → `v3.4.1` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/141) for more information. --- ### Release Notes <details> <summary>seerr-team/seerr (ghcr.io/seerr-team/seerr)</summary> ### [`v3.4.1`](https://github.com/seerr-team/seerr/releases/tag/v3.4.1) [Compare Source](seerr-team/seerr@v3.4.0...v3.4.1) ##### 🐛 Bug Fixes - *(ui)* Keep user list action buttons sized with a single user ([#​3311](seerr-team/seerr#3311)) - ([f926248](seerr-team/seerr@f926248)) - Don't delete requests when removing media from arr ([#​3288](seerr-team/seerr#3288)) - ([3ee6f92](seerr-team/seerr@3ee6f92)) - Handle already-removed media in radarr/sonarr delete ([#​3209](seerr-team/seerr#3209)) - ([8ea0c17](seerr-team/seerr@8ea0c17)) ##### ⚙️ Miscellaneous Tasks - *(release)* Prepare v3.4.1 - ([69f73a6](seerr-team/seerr@69f73a6)) - *(release)* Prepare v3.4.1 release - ([5c8f1cb](seerr-team/seerr@5c8f1cb)) - Fix docker login race condition ([#​3303](seerr-team/seerr#3303)) - ([95e18de](seerr-team/seerr@95e18de)) - Parallelize the action steps when possible ([#​3225](seerr-team/seerr#3225)) - ([45f7a7a](seerr-team/seerr@45f7a7a)) ### [`v3.4.0`](https://github.com/seerr-team/seerr/releases/tag/v3.4.0) [Compare Source](seerr-team/seerr@v3.3.0...v3.4.0) This release patches a path traversal vulnerability in the avatar image proxy. Exploitation vectors: - A malicious or compromised Jellyfin/Emby media server returning a crafted HTTP response. - A man-in-the-middle attacker intercepting the connection to the media server, if it is configured over HTTP instead of HTTPS (the default setting). ##### 🛡️ Security - Patch [CVE-2026-73291](GHSA-mc6w-69r3-62h8) - Path Traversal leading to Remote Code Execution vulnerability (in seerr's ImageProxy) - ([f484791](seerr-team/seerr@f484791)) ##### 🚀 Features - *(PlexImportModal)* Add user details sync functionality ([#​2977](seerr-team/seerr#2977)) - ([902b88e](seerr-team/seerr@902b88e)) - *(api)* Support `userId` when creating issues ([#​3100](seerr-team/seerr#3100)) - ([5f2722d](seerr-team/seerr@5f2722d)) - *(external-links)* Add Simkl media link ([#​3121](seerr-team/seerr#3121)) - ([5ae70d0](seerr-team/seerr@5ae70d0)) - *(notifications)* Add Discord thread ID support ([#​3065](seerr-team/seerr#3065)) - ([6e9ba06](seerr-team/seerr@6e9ba06)) - *(requests)* Allow admins to bypass user quota limits ([#​2026](seerr-team/seerr#2026)) - ([72536da](seerr-team/seerr@72536da)) - Allow to disable version check ([#​3137](seerr-team/seerr#3137)) - ([73937c0](seerr-team/seerr@73937c0)) - Add jellyfin/emby quick connect authentication ([#​2212](seerr-team/seerr#2212)) - ([74c8db4](seerr-team/seerr@74c8db4)) ##### 🐛 Bug Fixes - *(availability-sync)* Prevent false removals for merged-version Plex items ([#​3224](seerr-team/seerr#3224)) - ([46d8033](seerr-team/seerr@46d8033)) - *(discover)* Use added sort in recent requests slider ([#​3202](seerr-team/seerr#3202)) - ([8ccd0f6](seerr-team/seerr@8ccd0f6)) - *(email)* Respect hosts file for SMTP connections ([#​3082](seerr-team/seerr#3082)) - ([b660201](seerr-team/seerr@b660201)) - *(i18n)* Fallback to server locale for "Default" user lang in notifs ([#​3190](seerr-team/seerr#3190)) - ([ef9edc8](seerr-team/seerr@ef9edc8)) - *(next)* Add next-env.d.ts to .gitignore ([#​3282](seerr-team/seerr#3282)) - ([3279393](seerr-team/seerr@3279393)) - *(notifications)* Make the Discord IDs available even when the notification is disabled on Seerr ([#​3139](seerr-team/seerr#3139)) - ([a8f1780](seerr-team/seerr@a8f1780)) - *(proxy)* Proxy clients built before proxy init ([#​3196](seerr-team/seerr#3196)) - ([8ad191f](seerr-team/seerr@8ad191f)) - *(scanners)* Decline orphaned requests when media is removed from servarr ([#​3191](seerr-team/seerr#3191)) - ([2e0e4ce](seerr-team/seerr@2e0e4ce)) - *(subscriber)* Await request status updates ([#​3223](seerr-team/seerr#3223)) - ([f481b56](seerr-team/seerr@f481b56)) - *(ui)* Revalidate request list after approving or declining a request ([#​3283](seerr-team/seerr#3283)) - ([e810b98](seerr-team/seerr@e810b98)) - *(webpush)* Guard subscriptions request until user loads ([#​3113](seerr-team/seerr#3113)) - ([6829850](seerr-team/seerr@6829850)) - Support for IPv6 address literals in HOST env var ([#​2614](seerr-team/seerr#2614)) - ([0adbf50](seerr-team/seerr@0adbf50)) - Prevent cross-instance external ID collisions ([#​3203](seerr-team/seerr#3203)) - ([8e02d92](seerr-team/seerr@8e02d92)) - Close manage movie sidebar without back reopening ([#​2590](seerr-team/seerr#2590)) - ([0a1f703](seerr-team/seerr@0a1f703)) - Availability sync demotion and orphan season rollup edge cases ([#​3148](seerr-team/seerr#3148)) - ([784faa9](seerr-team/seerr@784faa9)) ##### 📖 Documentation - *(blog)* Rootless design and PUID/PGID rationale ([#​3105](seerr-team/seerr#3105)) - ([bf5323f](seerr-team/seerr@bf5323f)) - *(blog)* Fix "monitorNewItems" feature description and previous post author ([#​3103](seerr-team/seerr#3103)) - ([4e7a227](seerr-team/seerr@4e7a227)) - Update truenas migration section to include chown ([#​3143](seerr-team/seerr#3143)) - ([ebac489](seerr-team/seerr@ebac489)) - Add TrueNAS migration guidance ([#​3107](seerr-team/seerr#3107)) - ([8b062ed](seerr-team/seerr@8b062ed)) ##### ⚙️ Miscellaneous Tasks - *(actions)* Update github actions ([#​3041](seerr-team/seerr#3041)) - ([0438710](seerr-team/seerr@0438710)) - *(dev)* Add devenv setup ([#​3138](seerr-team/seerr#3138)) - ([d2ffe4f](seerr-team/seerr@d2ffe4f)) - *(i18n)* Update translations from Weblate - ([4b65ab5](seerr-team/seerr@4b65ab5)) - *(i18n)* Update translations from Weblate - ([1926095](seerr-team/seerr@1926095)) - *(i18n)* Update translations from Weblate - ([d051deb](seerr-team/seerr@d051deb)) - *(i18n)* Update translations from Weblate - ([8d351bc](seerr-team/seerr@8d351bc)) - *(i18n)* Update translations from Weblate - ([3f33842](seerr-team/seerr@3f33842)) - *(i18n)* Update translations from Weblate - ([6c8527f](seerr-team/seerr@6c8527f)) - *(i18n)* Update translations from Weblate - ([ab26f06](seerr-team/seerr@ab26f06)) - *(i18n)* Update translations from Weblate - ([0a305f6](seerr-team/seerr@0a305f6)) - *(i18n)* Update translations from Weblate - ([32249f2](seerr-team/seerr@32249f2)) - *(i18n)* Update translations from Weblate - ([2a249a8](seerr-team/seerr@2a249a8)) - *(release)* Prepare v3.4.0 - ([2dbe886](seerr-team/seerr@2dbe886)) - *(release)* Prepare 3.4.0 release - ([b21049a](seerr-team/seerr@b21049a)) ##### New Contributors ❤️ - [@​aaamoeder](https://github.com/aaamoeder) made their first contribution - [@​kouellette](https://github.com/kouellette) made their first contribution - [@​u61d](https://github.com/u61d) made their first contribution - [@​thraizz](https://github.com/thraizz) made their first contribution - [@​john-fletcher](https://github.com/john-fletcher) made their first contribution - [@​Gilmoursa](https://github.com/Gilmoursa) made their first contribution - [@​atoy3731](https://github.com/atoy3731) made their first contribution - [@​nightt5879](https://github.com/nightt5879) made their first contribution ### [`v3.3.0`](https://github.com/seerr-team/seerr/releases/tag/v3.3.0) [Compare Source](seerr-team/seerr@v3.2.0...v3.3.0) ##### 🚀 Features - *(db)* Add DB\_POOL\_SIZE environment variable for postgres connection pool ([#​2990](seerr-team/seerr#2990)) - ([f093c69](seerr-team/seerr@f093c69)) - *(i18n)* Add server-side i18n for notification agents ([#​2731](seerr-team/seerr#2731)) - ([cd257ba](seerr-team/seerr@cd257ba)) - *(notification)* Add support for public seerr logo in email ([#​3036](seerr-team/seerr#3036)) - ([a8f147d](seerr-team/seerr@a8f147d)) - \[**breaking**]*(notifications)* Support multiple Discord IDs ([#​2712](seerr-team/seerr#2712)) - ([63175f5](seerr-team/seerr@63175f5)) -⚠️ This change updates the webhook field `discordID` from a `string` into `discordIDs`, a list of string `string[]`. - Add plex media ratingKey and ratingKey4k to webhook payload and… ([#​1812](seerr-team/seerr#1812)) - ([9b7b50b](seerr-team/seerr@9b7b50b)) - Add route to fetch user by jellyfin id ([#​2074](seerr-team/seerr#2074)) - ([15296a0](seerr-team/seerr@15296a0)) - Filter out "Thanks" credits when looking at a person's credits ([#​2370](seerr-team/seerr#2370)) - ([d024849](seerr-team/seerr@d024849)) ##### 🐛 Bug Fixes - *(auth)* Drop popup.closed check in Plex pin poll ([#​2941](seerr-team/seerr#2941)) - ([ce9643c](seerr-team/seerr@ce9643c)) - *(availability-sync)* Detect deleted seasons when media server retains empty season metadata ([#​2850](seerr-team/seerr#2850)) - ([9c34864](seerr-team/seerr@9c34864)) - *(discover)* Preserve keyword filter input focus after selection ([#​2962](seerr-team/seerr#2962)) - ([32169d9](seerr-team/seerr@32169d9)) - *(docs)* Enable trailingSlash to prevent 404 flash on direct navigation ([#​3039](seerr-team/seerr#3039)) - ([df105b8](seerr-team/seerr@df105b8)) - *(docs)* Switch to SWC minimizer to fix broken runtime bundle - ([d88242f](seerr-team/seerr@d88242f)) - *(docs)* Bump openapi docs packages to 5.0.2 ([#​3027](seerr-team/seerr#3027)) - ([080c68a](seerr-team/seerr@080c68a)) - *(entity)* Set the default value of UpdateDateColumn to CURRENT\_TIMESTAMP ([#​2913](seerr-team/seerr#2913)) - ([86e780e](seerr-team/seerr@86e780e)) - *(external-link)* Replace TMDB ID with IMDB ID for Trakt links ([#​2934](seerr-team/seerr#2934)) - ([f078da8](seerr-team/seerr@f078da8)) - *(imdbRadarrProxy)* Pass headers and nodeCache as options instead of params ([#​2900](seerr-team/seerr#2900)) - ([7861db4](seerr-team/seerr@7861db4)) - *(issuedescription)* Fix issue display lists in IssueDescription ([#​2972](seerr-team/seerr#2972)) - ([ce47cfb](seerr-team/seerr@ce47cfb)) - *(media)* Clean up watchlist on error card delete ([#​3073](seerr-team/seerr#3073)) - ([ee915b9](seerr-team/seerr@ee915b9)) - *(media-request)* Remove cascade from modifiedBy to prevent user column wipe ([#​2911](seerr-team/seerr#2911)) - ([2dfea0c](seerr-team/seerr@2dfea0c)) - *(ntfy)* Save priority field as number instead of string ([#​3096](seerr-team/seerr#3096)) - ([2fa535d](seerr-team/seerr@2fa535d)) - *(ntfy)* Remove undefined fields from ntfy payload ([#​2931](seerr-team/seerr#2931)) - ([377bf65](seerr-team/seerr@377bf65)) - *(override-rules)* Use find() instead of index lookup for service resolution ([#​2903](seerr-team/seerr#2903)) - ([5fdedb1](seerr-team/seerr@5fdedb1)) - *(plex-watchlist-sync)* Handle MediaContainer.Video fallback in watchlist sync ([#​2992](seerr-team/seerr#2992)) - ([99f8520](seerr-team/seerr@99f8520)) - *(request)* Restore media status correctly when deleting requests ([#​3064](seerr-team/seerr#3064)) - ([ff88d52](seerr-team/seerr@ff88d52)) - *(scanners)* Reset orphaned processing media from deleted Radarr/Sonarr entries ([#​2757](seerr-team/seerr#2757)) - ([198e4e5](seerr-team/seerr@198e4e5)) - *(scanners)* Ignore unknown seasons in availability rollup and skip empty placeholder seasons ([#​2958](seerr-team/seerr#2958)) - ([ce51f6a](seerr-team/seerr@ce51f6a)) - *(search)* Replace "TV" with "Series" in search placeholder ([#​3067](seerr-team/seerr#3067)) - ([c04172a](seerr-team/seerr@c04172a)) - *(slider)* Add async to spring animation ([#​2978](seerr-team/seerr#2978)) - ([5267611](seerr-team/seerr@5267611)) - *(tag)* Use inset ring to avoid clipped outlines ([#​2985](seerr-team/seerr#2985)) - ([cf87205](seerr-team/seerr@cf87205)) - *(tvrequest)* Allow special episodes when partial series requests are disabled ([#​2973](seerr-team/seerr#2973)) - ([b32ab02](seerr-team/seerr@b32ab02)) - *(users)* Correct auth middleware for web push subscription ([#​3005](seerr-team/seerr#3005)) - ([bd27f2d](seerr-team/seerr@bd27f2d)) - *(watchlistsync)* Re-request deleted media from watchlist ([#​3072](seerr-team/seerr#3072)) - ([2588e49](seerr-team/seerr@2588e49)) - Update series status to partially available when seasons are missing ([#​3044](seerr-team/seerr#3044)) - ([4ed29cf](seerr-team/seerr@4ed29cf)) - Add missing "key" to React arrays ([#​3043](seerr-team/seerr#3043)) - ([4fa2c71](seerr-team/seerr@4fa2c71)) - Send availability notification if media is available before approval ([#​2819](seerr-team/seerr#2819)) - ([d426e1e](seerr-team/seerr@d426e1e)) - Normalize webhook payload encoding to support raw JSON inputs ([#​2641](seerr-team/seerr#2641)) - ([5b45806](seerr-team/seerr@5b45806)) ##### 📖 Documentation - *(blog)* Add v3.3.0 release blog post ([#​3098](seerr-team/seerr#3098)) - ([759e359](seerr-team/seerr@759e359)) - *(fail2ban)* Add fail2ban documentation ([#​2894](seerr-team/seerr#2894)) - ([39e9f1f](seerr-team/seerr@39e9f1f)) - *(nixpkgs)* Add documentation for nixpkgs 26.05 ([#​3089](seerr-team/seerr#3089)) - ([5fc7a40](seerr-team/seerr@5fc7a40)) - Add REST API documentation ([#​2981](seerr-team/seerr#2981)) - ([7aa1470](seerr-team/seerr@7aa1470)) - Add Terraform/OpenTofu provider page ([#​2967](seerr-team/seerr#2967)) - ([811126d](seerr-team/seerr@811126d)) ##### 🚜 Refactor - *(docs)* Move REST API docs to navbar and dedicated sidebar ([#​3040](seerr-team/seerr#3040)) - ([08b7bd4](seerr-team/seerr@08b7bd4)) - *(logs)* Align failed login attempt message with failed sign-i… ([#​2914](seerr-team/seerr#2914)) - ([3e4bf1b](seerr-team/seerr@3e4bf1b)) - Replace react-toast-notifications with react-hot-toast ([#​3004](seerr-team/seerr#3004)) - ([dfde4d3](seerr-team/seerr@dfde4d3)) ##### ⚙️ Miscellaneous Tasks - *(actions)* Update github actions ([#​3028](seerr-team/seerr#3028)) - ([6bb402a](seerr-team/seerr@6bb402a)) - *(actions)* Update github actions ([#​2982](seerr-team/seerr#2982)) - ([20dbc30](seerr-team/seerr@20dbc30)) - *(actions)* Update github actions (major) ([#​2947](seerr-team/seerr#2947)) - ([952261b](seerr-team/seerr@952261b)) - *(actions)* Update taiki-e/install-action action to v2.75.18 ([#​2961](seerr-team/seerr#2961)) - ([d50bdad](seerr-team/seerr@d50bdad)) - *(actions)* Update github actions ([#​2945](seerr-team/seerr#2945)) - ([60a2a87](seerr-team/seerr@60a2a87)) - *(create-tag)* Add gh token to avoid api rate limit in tag version retrieval ([#​2886](seerr-team/seerr#2886)) - ([85bfdb2](seerr-team/seerr@85bfdb2)) - *(i18n)* Update translations from Weblate - ([73fcfd2](seerr-team/seerr@73fcfd2)) - *(i18n)* Update translations from Weblate - ([788311a](seerr-team/seerr@788311a)) - *(i18n)* Update translations from Weblate - ([6eb43e0](seerr-team/seerr@6eb43e0)) - *(i18n)* Update translations from Weblate - ([656e33f](seerr-team/seerr@656e33f)) - *(i18n)* Update translations from Weblate - ([4742018](seerr-team/seerr@4742018)) - *(i18n)* Update translations from Weblate - ([2d4cd03](seerr-team/seerr@2d4cd03)) - *(i18n)* Update translations from Weblate - ([3c249c7](seerr-team/seerr@3c249c7)) - *(i18n)* Update translations from Weblate - ([4e4e673](seerr-team/seerr@4e4e673)) - *(i18n)* Update translations from Weblate ([#​2906](seerr-team/seerr#2906)) - ([6513915](seerr-team/seerr@6513915)) - *(i18n)* Update translations from Weblate ([#​2901](seerr-team/seerr#2901)) - ([56ab94a](seerr-team/seerr@56ab94a)) - *(release)* Prepare v3.2.0 - ([703faf9](seerr-team/seerr@703faf9)) - *(release)* Merge develop into main - ([0621e3d](seerr-team/seerr@0621e3d)) - *(release)* Remove git-cliff footer in release changelog ([#​2986](seerr-team/seerr#2986)) - ([550c3bc](seerr-team/seerr@550c3bc)) - Cleanup intl polyfills and dev config ([#​2965](seerr-team/seerr#2965)) - ([ba6ed6c](seerr-team/seerr@ba6ed6c)) - Ignore Renovate bot on irrelevant jobs ([#​2904](seerr-team/seerr#2904)) - ([1d2aa76](seerr-team/seerr@1d2aa76)) #### New Contributors ❤️ - [@​defaultdino](https://github.com/defaultdino) made their first contribution - [@​haribo-hyung](https://github.com/haribo-hyung) made their first contribution - [@​felixschndr](https://github.com/felixschndr) made their first contribution - [@​burakemirsezen](https://github.com/burakemirsezen) made their first contribution - [@​death2all110](https://github.com/death2all110) made their first contribution - [@​fredrikburmester](https://github.com/fredrikburmester) made their first contribution - [@​marcinjurczak](https://github.com/marcinjurczak) made their first contribution - [@​Josh-Archer](https://github.com/Josh-Archer) made their first contribution - [@​Finchow](https://github.com/Finchow) made their first contribution - [@​kyle-engler](https://github.com/kyle-engler) made their first contribution - [@​danjuv](https://github.com/danjuv) made their first contribution - [@​aldoeliacim](https://github.com/aldoeliacim) made their first contribution ### [`v3.2.0`](https://github.com/seerr-team/seerr/releases/tag/v3.2.0) [Compare Source](seerr-team/seerr@v3.1.1...v3.2.0) ##### [3.2.0](https://github.com/seerr-team/seerr/compare/v3.1.1..v3.2.0) - 2026-04-15 ##### 🚀 Features - *(blocklist)* Add support for collections ([#​1841](seerr-team/seerr#1841)) - ([993ae4c](seerr-team/seerr@993ae4c)) - *(discover)* Handle errors gracefully when content is available ([#​1542](seerr-team/seerr#1542)) - ([7920970](seerr-team/seerr@7920970)) - *(i18n)* Add Estonian language support ([#​2611](seerr-team/seerr#2611)) - ([56b79ff](seerr-team/seerr@56b79ff)) - *(i18n)* Add Luxembourgish language support ([#​2671](seerr-team/seerr#2671)) - ([dccdc95](seerr-team/seerr@dccdc95)) - *(i18n)* Add Vietnamese language support ([#​2670](seerr-team/seerr#2670)) - ([40edaea](seerr-team/seerr@40edaea)) - *(jellyfin)* Allow Jellyfin Guids with dashes for import-from-jellyfin endpoint ([#​2340](seerr-team/seerr#2340)) - ([3557745](seerr-team/seerr@3557745)) - *(notifications)* Add ntfy markdown formatting ([#​2602](seerr-team/seerr#2602)) - ([77f2c13](seerr-team/seerr@77f2c13)) - *(notifications)* Webhook custom headers ([#​2230](seerr-team/seerr#2230)) - ([3152f72](seerr-team/seerr@3152f72)) - *(notifications)* Add priority setting for ntfy agent ([#​2306](seerr-team/seerr#2306)) - ([61e0377](seerr-team/seerr@61e0377)) - *(person)* Add tmdb- and imdb link on person detail page ([#​2136](seerr-team/seerr#2136)) - ([fb2ee7c](seerr-team/seerr@fb2ee7c)) - *(quota)* Added support for unlimited quota days ([#​2797](seerr-team/seerr#2797)) - ([6d8b2b7](seerr-team/seerr@6d8b2b7)) - *(requests)* Mark requests as failed when Radarr/Sonarr unreachable ([#​2171](seerr-team/seerr#2171)) - ([c23117e](seerr-team/seerr@c23117e)) - *(settings)* Add blocklist region and language options ([#​1802](seerr-team/seerr#1802)) - ([ff469cb](seerr-team/seerr@ff469cb)) - *(settings)* Add help tooltips for services setup ([#​2662](seerr-team/seerr#2662)) - ([f5115da](seerr-team/seerr@f5115da)) - *(sonarr)* Add monitorNewItems option to sonarr settings & modal ([#​2071](seerr-team/seerr#2071)) - ([5c34c91](seerr-team/seerr@5c34c91)) - *(trending)* Add filter options ([#​2137](seerr-team/seerr#2137)) - ([4ce0db1](seerr-team/seerr@4ce0db1)) - *(ui)* Add loading state to request approve/decline buttons ([#​2815](seerr-team/seerr#2815)) - ([bd8f2d4](seerr-team/seerr@bd8f2d4)) - *(userlist)* Add sortable columns to User List ([#​1615](seerr-team/seerr#1615)) - ([eaf397a](seerr-team/seerr@eaf397a)) - *(webhook)* Add imdbid to webhook notification ([#​2658](seerr-team/seerr#2658)) - ([2432e8d](seerr-team/seerr@2432e8d)) - Sort quality profiles ASC in request and service configuration ([#​1805](seerr-team/seerr#1805)) - ([25e376c](seerr-team/seerr@25e376c)) - Add trailing whitespace warning on login username field ([#​2040](seerr-team/seerr#2040)) ([#​2177](seerr-team/seerr#2177)) - ([636dcb9](seerr-team/seerr@636dcb9)) ##### 🐛 Bug Fixes - *(auth)* Resolve Plex OAuth client ID mismatch ([#​2746](seerr-team/seerr#2746)) - ([15b3109](seerr-team/seerr@15b3109)) - *(email)* Correctly classify final MIME header in PGP email encryption ([#​2618](seerr-team/seerr#2618)) - ([9ec3d58](seerr-team/seerr@9ec3d58)) - *(email)* Preserve newlines in PGP key textarea fields ([#​2617](seerr-team/seerr#2617)) - ([835e917](seerr-team/seerr@835e917)) - *(emby)* Use static version in auth header for emby only ([#​2821](seerr-team/seerr#2821)) - ([fe2c041](seerr-team/seerr@fe2c041)) - *(entities)* Replace MySQL-only onUpdate with [@​UpdateDateColumn](https://github.com/UpdateDateColumn) ([#​2823](seerr-team/seerr#2823)) - ([0b8f872](seerr-team/seerr@0b8f872)) - *(generate-password)* Await setPassword to fix race condition ([#​2845](seerr-team/seerr#2845)) - ([061121c](seerr-team/seerr@061121c)) - *(issues)* Update issue timestamp when adding comments ([#​2616](seerr-team/seerr#2616)) - ([a16d046](seerr-team/seerr@a16d046)) - *(jellyfin-scanner)* Add TheMovieDb provider fallback for Jellyfin scanner ([#​2605](seerr-team/seerr#2605)) - ([10f23f0](seerr-team/seerr@10f23f0)) - *(login)* Resolve stuck transition when switching login forms ([#​2779](seerr-team/seerr#2779)) - ([735ec47](seerr-team/seerr@735ec47)) - *(media)* Exclude null mediaAddedAt entries ([#​2607](seerr-team/seerr#2607)) - ([001f6b1](seerr-team/seerr@001f6b1)) - *(migration)* Repair postgres blocklist id sequence ([#​2686](seerr-team/seerr#2686)) - ([f40323c](seerr-team/seerr@f40323c)) - *(movie,tv)* Respect display language for trailers ([#​2674](seerr-team/seerr#2674)) - ([90d407d](seerr-team/seerr@90d407d)) - *(open-api)* Add missing mediaType query parameter to blocklist and watchlist ([#​2722](seerr-team/seerr#2722)) - ([c7185d4](seerr-team/seerr@c7185d4)) - *(override-rules)* Remove users from `useEffect` dependency array ([#​2771](seerr-team/seerr#2771)) - ([be57997](seerr-team/seerr@be57997)) - *(overseerr-merge)* Sanitise corrupt quota values during overseerr migration ([#​2863](seerr-team/seerr#2863)) - ([43eff25](seerr-team/seerr@43eff25)) - *(plex)* Set 4K Plex URLs whenever ratingKey4k is set ([#​2635](seerr-team/seerr#2635)) - ([1548948](seerr-team/seerr@1548948)) - *(proxy)* Add path validation guardrail to imageproxy ([#​2531](seerr-team/seerr#2531)) - ([e086081](seerr-team/seerr@e086081)) - *(region-selector)* Prevent empty region reporting during sync ([#​2636](seerr-team/seerr#2636)) - ([fbfcb43](seerr-team/seerr@fbfcb43)) - *(request)* Record modifiedBy on retry and add route tests ([#​2824](seerr-team/seerr#2824)) - ([20ccd4b](seerr-team/seerr@20ccd4b)) - *(request)* Correct delete permission check and await movie save ([#​2742](seerr-team/seerr#2742)) - ([6aeab38](seerr-team/seerr@6aeab38)) - *(requests)* Mark requests as completed when media is already available ([#​2462](seerr-team/seerr#2462)) - ([d25d0ca](seerr-team/seerr@d25d0ca)) - *(settings)* Persist new settings defaults to disk on startup ([#​2884](seerr-team/seerr#2884)) - ([66130be](seerr-team/seerr@66130be)) - *(settings)* Serialize settings writes and prevent partial overwrites ([#​2696](seerr-team/seerr#2696)) - ([6c52a2f](seerr-team/seerr@6c52a2f)) - *(settings)* Remove beta info banner ([#​2615](seerr-team/seerr#2615)) - ([fece753](seerr-team/seerr@fece753)) - *(setup)* Fix Plex login not proceeding after authentication ([#​2596](seerr-team/seerr#2596)) - ([1dc5154](seerr-team/seerr@1dc5154)) - *(watchlist-sync)* Handle empty watchlists on PostgreSQL ([#​2718](seerr-team/seerr#2718)) - ([865396f](seerr-team/seerr@865396f)) - Improve local login UX ([#​2849](seerr-team/seerr#2849)) - ([aef2481](seerr-team/seerr@aef2481)) - Await missing repository saves ([#​2760](seerr-team/seerr#2760)) - ([1bb638e](seerr-team/seerr@1bb638e)) - Helm chart liveness and readiness probe ([#​2755](seerr-team/seerr#2755)) - ([4434c45](seerr-team/seerr@4434c45)) - Disambiguate tmdb ids by media type across lookups ([#​2577](seerr-team/seerr#2577)) - ([0be1896](seerr-team/seerr@0be1896)) - Anchor streaming service filter check icon to each provider card ([#​2634](seerr-team/seerr#2634)) - ([94ccd47](seerr-team/seerr@94ccd47)) ##### 📖 Documentation - *(contributing-guide)* Fix a typo ([#​2807](seerr-team/seerr#2807)) - ([6f9b743](seerr-team/seerr@6f9b743)) - *(docker)* Replace backslashes by backticks in windows docker run commands \[skip-ci] ([#​2557](seerr-team/seerr#2557)) - ([40e02bb](seerr-team/seerr@40e02bb)) - Clarify Docker volume creation instructions on fresh Windows install ([#​2861](seerr-team/seerr#2861)) - ([a133930](seerr-team/seerr@a133930)) - Move network-related docs to a dedicated tab ([#​2791](seerr-team/seerr#2791)) - ([5bbdc52](seerr-team/seerr@5bbdc52)) - Promote Nixpkgs as an official installation method ([#​2775](seerr-team/seerr#2775)) - ([05ad60c](seerr-team/seerr@05ad60c)) - Fix PM2 start command syntax ([#​2713](seerr-team/seerr#2713)) - ([5373da4](seerr-team/seerr@5373da4)) ##### 🚜 Refactor - *(imageproxy)* Reduce noisy image cache logging ([#​2789](seerr-team/seerr#2789)) - ([036d000](seerr-team/seerr@036d000)) - *(notifications)* Move event from author to title field in Discord Embed ([#​2119](seerr-team/seerr#2119)) - ([a2d1e1b](seerr-team/seerr@a2d1e1b)) - *(userlist)* Responsive columns and buttons ([#​2083](seerr-team/seerr#2083)) - ([dbe1fca](seerr-team/seerr@dbe1fca)) - *(watchlistsync)* Log media request creation after success instead of before ([#​2790](seerr-team/seerr#2790)) - ([685cb44](seerr-team/seerr@685cb44)) - Rename Error components to ErrorPage ([#​2668](seerr-team/seerr#2668)) - ([d5c5f1f](seerr-team/seerr@d5c5f1f)) ##### 🧪 Testing - *(user-list)* Deflake sorting assertions ([#​2766](seerr-team/seerr#2766)) - ([20c2ed8](seerr-team/seerr@20c2ed8)) - Support server-side unit testing ([#​2485](seerr-team/seerr#2485)) - ([8563362](seerr-team/seerr@8563362)) ##### ⚙️ Miscellaneous Tasks - *(actions)* Update github actions ([#​2683](seerr-team/seerr#2683)) - ([a2154f9](seerr-team/seerr@a2154f9)) - *(actions)* Update github actions ([#​2672](seerr-team/seerr#2672)) - ([f047cab](seerr-team/seerr@f047cab)) - *(actions)* Update github actions ([#​2632](seerr-team/seerr#2632)) - ([e25c1a5](seerr-team/seerr@e25c1a5)) - *(create-tag)* Correct quote style in commit message for tag preparation ([#​2593](seerr-team/seerr#2593)) - ([687f18b](seerr-team/seerr@687f18b)) - *(docker)* Release alias for major and minor version series ([#​2881](seerr-team/seerr#2881)) - ([1cc73a8](seerr-team/seerr@1cc73a8)) - *(i18n)* Update translations from Weblate - ([e85216a](seerr-team/seerr@e85216a)) - *(i18n)* Update translations from Weblate - ([b1adc79](seerr-team/seerr@b1adc79)) - *(i18n)* Update translations from Weblate ([#​2419](seerr-team/seerr#2419)) - ([4bd7c19](seerr-team/seerr@4bd7c19)) - *(pr-validation)* Make checklist box detection case-insensitive ([#​2802](seerr-team/seerr#2802)) - ([58514ec](seerr-team/seerr@58514ec)) - *(pr-validation)* Update pull request permissions to write for validation jobs ([#​2800](seerr-team/seerr#2800)) - ([986761f](seerr-team/seerr@986761f)) - *(pr-validation)* Disable package manager cache in nodejs setup ([#​2799](seerr-team/seerr#2799)) - ([67e27d5](seerr-team/seerr@67e27d5)) - *(release)* Prepare v3.2.0 - ([e0b2a1c](seerr-team/seerr@e0b2a1c)) - *(release)* Merge develop into main - ([c5800a0](seerr-team/seerr@c5800a0)) - Bump minimum required node version to 22.19.0 ([#​2873](seerr-team/seerr#2873)) - ([891265f](seerr-team/seerr@891265f)) - Add PR validation workflow and update contributing guidelines ([#​2777](seerr-team/seerr#2777)) - ([772e83d](seerr-team/seerr@772e83d)) - Upgrade to eslint v9 ([#​2574](seerr-team/seerr#2574)) - ([36243a0](seerr-team/seerr@36243a0)) - Ignore helm scope in git-cliff ([#​2638](seerr-team/seerr#2638)) - ([4d2b658](seerr-team/seerr@4d2b658)) ##### New Contributors ❤️ - [@​aslafy-z](https://github.com/aslafy-z) made their first contribution - [@​leereilly](https://github.com/leereilly) made their first contribution - [@​jisef](https://github.com/jisef) made their first contribution - [@​dougrathbone](https://github.com/dougrathbone) made their first contribution - [@​bobziroll](https://github.com/bobziroll) made their first contribution - [@​v3DJG6GL](https://github.com/v3DJG6GL) made their first contribution - [@​Roboroads](https://github.com/Roboroads) made their first contribution - [@​costajohnt](https://github.com/costajohnt) made their first contribution - [@​tiagodefendi](https://github.com/tiagodefendi) made their first contribution - [@​Jyasapara](https://github.com/Jyasapara) made their first contribution - [@​Sym-jay](https://github.com/Sym-jay) made their first contribution - [@​bibi0019](https://github.com/bibi0019) made their first contribution - [@​redondos](https://github.com/redondos) made their first contribution - [@​bogo22](https://github.com/bogo22) made their first contribution - [@​jabloink](https://github.com/jabloink) made their first contribution - [@​YakGravity](https://github.com/YakGravity) made their first contribution - [@​dj0024javia](https://github.com/dj0024javia) made their first contribution - [@​Jerra94](https://github.com/Jerra94) made their first contribution - [@​its-wizza](https://github.com/its-wizza) made their first contribution - [@​ventiph](https://github.com/ventiph) made their first contribution - [@​RinZ27](https://github.com/RinZ27) made their first contribution<!-- generated by git-cliff --> ### [`v3.1.1`](https://github.com/seerr-team/seerr/releases/tag/v3.1.1) [Compare Source](seerr-team/seerr@v3.1.0...v3.1.1) This update addresses a critical security vulnerability discovered in one of our core dependencies (axios). **This is not the same vulnerability where axios was hijacked.** ##### 🛡️ Security - Patch [CVE-2026-40175](GHSA-fvcv-3m26-pcqx) - Unrestricted Cloud Metadata Exfiltration via Header Injection Chain - ([3ca6422](seerr-team/seerr@3ca6422)) ##### 🐛 Bug Fixes - *(imageproxy)* Type axios instance - ([74100e9](seerr-team/seerr@74100e9)) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjAuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI2MC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19--> Reviewed-on: https://forgejo.hayden.moe/hayden/phoebe/pulls/352
Backport of upstream 72536da (seerr-team#2026).
Description
Note
Ported from sct/overseerr#4173 and slightly modified. CC @OwsleyJr
This PR adds the ability for users with
MANAGE_REQUESTSpermission to bypass quota restrictions when making requests on behalf of other users.The request will not count against the user's quota limits, allowing admins to make requests on behalf of users who may have exceeded their quota or for special circumstances.
How Has This Been Tested?
Screenshots / Logs (if applicable)
Checklist:
pnpm buildpnpm i18n:extractSummary by CodeRabbit