Skip to content

feat(users): add opt-in Jellyfin and Emby import sync - #261

Merged
snapetech merged 5 commits into
mainfrom
codex/jellyfin-user-sync-20261013
Oct 15, 2026
Merged

snapetech merged 5 commits into
mainfrom
codex/jellyfin-user-sync-20261013

Conversation

@snapetech

@snapetech snapetech commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Description

  • Add an opt-in administrator setting to refresh linked Jellyfin and Emby usernames and profile photos for selected accounts.
  • Keep local usernames, email addresses, passwords, permissions, and SeerrNG authentication fields unchanged during refresh.
  • Have the settings API identify already-linked provider accounts, retaining the existing import response when syncExisting is omitted.
  • Document the feature in the README, user guide, API schema, and release notes.

This independently adapts selected behavior from Seerr PR #3514 and addresses Seerr issue #2764. Imported-state filtering now comes from the settings API rather than treating a React child as a page-size query value.

Codex assisted with investigation, implementation, and verification; the maintainer reviewed the resulting changes.

How Has This Been Tested?

  • pnpm vitest run server/routes/user.test.ts server/routes/settingsIndex.test.ts — 193/193 passed.
  • pnpm typecheck:client, focused ESLint, attribution checks, pnpm build, current-batch/UI shared-style checks, and release-note preview — passed.
  • The focused Cypress feature case passed, including actual 20×20 fallback-avatar geometry. The full user-list spec had one navigation assertion fail to find sidebar-menu-users-mobile; the other five cases passed on that run.
  • I inspected the import modal at desktop and narrow widths. This is preview evidence, separate from automated verification.
  • The first hosted Mode 2 run flagged the optional syncExisting request value at the route security boundary. I added a fresh MANAGE_USERS route guard, retaining the existing per-target locked mutation and identity checks. Hosted CodeQL and full validation for the updated head are pending; the finding is not being treated as resolved until that run completes.

Screenshots / Logs (if applicable)

The import modal was visually inspected at desktop and narrow widths. No screenshots are attached.

Release Notes

  • I added a release-note fragment under release-notes/.
  • This change is internal-only and does not need a user-facing release note.
  • The fragment includes audience, area, action, and breaking-change status.
  • I previewed the release text with pnpm release-notes:preview.

Checklist:

  • I have read and followed the contribution guidelines.
  • Disclosed use of AI (see the AI assistance policy).
  • I have updated the documentation accordingly.
  • All new and existing tests passed. (Focused tests passed; one unrelated mobile-navigation Cypress assertion failed, and full hosted validation is pending.)
  • Successful build pnpm build.
  • Translation keys pnpm i18n:extract.
  • Database migration is not required.

Comment thread server/routes/user/index.ts Fixed
@github-actions

Copy link
Copy Markdown

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

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@snapetech
snapetech marked this pull request as ready for review October 15, 2026 13:58
@snapetech
snapetech merged commit fef485f into main Oct 15, 2026
30 checks passed
@snapetech
snapetech deleted the codex/jellyfin-user-sync-20261013 branch October 15, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants