Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
4df616b
feat: add Docker network setup discovery
snapetech Oct 2, 2026
492d5a2
feat: support native service setup assistance
snapetech Oct 2, 2026
335abc7
feat: probe native app ports
snapetech Oct 2, 2026
a5ce1ce
feat(requests): add per-user external list syncing
snapetech Oct 4, 2026
1c23147
fix(software): fall back when paged game search fails
snapetech Oct 4, 2026
ead182d
test(ui): cover manager blocklist preference
snapetech Oct 4, 2026
e72f113
feat(software): integrate ROMarrNG DAT catalog
snapetech Oct 4, 2026
d7db566
docs(maintainers): record ROMarrNG DAT integration evidence
snapetech Oct 4, 2026
4800035
docs(maintainers): record final ROMarrNG integration validation
snapetech Oct 4, 2026
a1f0a8d
perf: trim the initial English app bundle
snapetech Oct 5, 2026
72ea493
test: repair settings Cypress assertions and fixtures
snapetech Oct 5, 2026
f605182
feat: integrate SeerrNG workflow improvements
snapetech Oct 5, 2026
d4d580c
chore: record reader-groupings ancestry
snapetech Oct 5, 2026
3ee9306
chore: record romarrng branch ancestry
snapetech Oct 5, 2026
d13a012
chore: record cross-platform setup ancestry
snapetech Oct 5, 2026
81ae0d7
chore: record issue-fix branch ancestry
snapetech Oct 5, 2026
15e2ce7
chore: record accepted preview ancestry
snapetech Oct 5, 2026
7faf42f
feat: add live torrent download progress
Oct 6, 2026
c7a93b8
chore: stop publishing the YunoHost package
Oct 6, 2026
8dd9da3
feat: add Live TV recording requests through IPTV Tunerr
Oct 6, 2026
4d98167
fix: deliver live download progress to regular users
Oct 6, 2026
b10d971
feat: add Live TV airing and recording UI
Oct 6, 2026
83c1f37
docs: record Tunerr recording-rule fork progress
Oct 6, 2026
e0583a9
feat: add Soulseek track requests, album fixes, and SongID via slskdN
Oct 6, 2026
715960e
feat: add Soulseek request, album health, and SongID UI
Oct 6, 2026
82a0a4d
feat: show the download client handling each download to admins
Oct 6, 2026
7db31a0
feat: show ROMarrNG DAT verification on available ROM requests
Oct 6, 2026
141ac35
feat: record followed sports teams' games through Tunerr
Oct 6, 2026
135c5c1
docs: propose fastest-source routing design
Oct 6, 2026
cdb32d1
feat: add swipe discovery decks with optional Claude ranking
Oct 6, 2026
097ecc5
feat: add the Swipe page for movies, series, and books
Oct 6, 2026
b9389c2
Merge branch 'feat/ng-ecosystem-integration' into feat/ng-phase2-tunerr
Oct 6, 2026
deb6958
feat: support OpenAI and compatible servers for swipe ordering
Oct 6, 2026
f78f27a
docs: plan remaining ReadMeABook features
Oct 6, 2026
c6e3eb6
feat: add ReadMeABook and per-user book integration
Oct 7, 2026
c7f2261
fix: sequence phase 7 migrations after theme adoption
Oct 7, 2026
1457808
docs: record phase 7 integration checkpoint
Oct 7, 2026
bd215ed
docs: remove human sign-off gate for contributions
Oct 7, 2026
352390e
feat(software): support ROMarrNG request contract v2
Oct 7, 2026
68baf4a
test: improve route failure diagnostics
Oct 7, 2026
b6639aa
docs: remove human sign-off gate for contributions
Oct 7, 2026
8a12560
test: isolate music fallback service settings
Oct 7, 2026
94ff573
docs: record final phase 7 validation checkpoint
Oct 7, 2026
c91998b
fix: make maintenance scripts portable across macOS
Oct 7, 2026
a8a75fb
Merge remote-tracking branch 'origin/codex/resolve-all-open-issues-20…
Oct 8, 2026
a92294b
Merge remote-tracking branch 'origin/docs/remove-human-review-gate' i…
Oct 8, 2026
9001969
Merge remote-tracking branch 'origin/feat/ng-ecosystem-integration' i…
Oct 8, 2026
ef413bf
Merge remote-tracking branch 'origin/integration/ng-phase2-main-20261…
Oct 8, 2026
5e35b22
Merge remote-tracking branch 'origin/feat/ng-phase2-tunerr' into inte…
Oct 8, 2026
81e5c12
Merge branch 'dependabot/npm_and_yarn/next-16.3.8' of https://github.…
Oct 8, 2026
d490b2e
fix(security): rate limit game library endpoints
Oct 8, 2026
cfbd060
test(security): verify game library rate limits
Oct 8, 2026
9f2c4e2
merge main PR branches into all-branches integration
Oct 8, 2026
22d192f
fix(security): resolve locked Next.js 16.3.8
Oct 8, 2026
dafc4df
fix(software): remove duplicate DAT capability
Oct 8, 2026
da97fc6
fix: reconcile software catalog contract and migrations
Oct 8, 2026
4578abe
merge: bring integration up to current main
Oct 8, 2026
afb5fdb
docs: record current integration checkpoint
Oct 8, 2026
1cae413
fix: close validation races and repair software provider build
Oct 8, 2026
3c5d2f0
docs: use existing security release note
Oct 8, 2026
51fdac1
test: rate limit game library route harness
Oct 8, 2026
99167cd
fix: stabilize security and season browser checks
Oct 8, 2026
3945324
fix: diagnose IMDb challenges and stabilize settings tests
Oct 8, 2026
c1322ef
test: wait for software catalog settings to settle
Oct 8, 2026
131fe45
test: use stable selectors for async settings actions
Oct 8, 2026
7a30726
test: isolate override rule data in services spec
Oct 8, 2026
7f0d976
test: use complete public settings response in services spec
Oct 8, 2026
e99ef8d
test: capture services page state in Cypress failure
Oct 8, 2026
c62f2e7
test: return nullable settings service fixtures
Oct 8, 2026
ada0c5c
fix: import IMDb watchlists when sync is blocked
Oct 8, 2026
a1afb3f
test: stabilize ROMarrNG Cypress fixtures
Oct 8, 2026
1762efc
Merge remote-tracking branch 'origin/main' into integration/all-branc…
Oct 8, 2026
cdba239
fix: update vulnerable Handlebars dependency
Oct 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ This fork is maintained by snapetech. Upstream Seerr remains the base project fo
- [Configure comics](./docs/using-seerr/comics-backend.md)
- [Configure magazines](./docs/using-seerr/magazines-backend.md)
- [Companion services and SeerrNG NG forks](./docs/using-seerr/companion-services.md)
- [Cross-platform setup assistant](./docs/using-seerr/setup-assistant.md)
- [Indexer searches by media category](./docs/using-seerr/indexer-searches.md)
- [Configure services](./docs/using-seerr/settings/services.md)
- [Screenshots](#screenshots)
Expand Down Expand Up @@ -191,6 +192,9 @@ services:
restart: unless-stopped
```

To create a guided starter stack for SeerrNG and common media apps on Windows,
macOS, or Linux, use the [cross-platform setup assistant](./docs/using-seerr/setup-assistant.md).

### Unraid

Install SeerrNG from Community Applications with the [Unraid template](https://raw.githubusercontent.com/snapetech/seerrng/main/packaging/unraid/seerrng.xml). It uses the stable `latest` image, maps HTTP port `5055` and optional HTTPS port `5056`, and persists `/app/config`. The image runs as UID/GID `1000:1000`, so make the selected appdata directory writable by that user before the first start. Optional BookshelfNG, ChaptarrNG, ROMarrNG, and QuestarrNG templates live in each fork's own repository; the [Unraid guide](docs/getting-started/third-parties/unraid.mdx) links to their templates and to the existing Community Apps listings for LazyLibrarian, Mylar3, and Kapowarr. BackIssue has its own Docker image and Unraid template; see its [getting-started guide](https://backissue.app/getting-started).
Expand Down
2 changes: 1 addition & 1 deletion bin/check-current-batch-contract-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -5092,7 +5092,7 @@ const validateCurrentBatchContract = (files) => {
'<Header>{intl.formatMessage(globalMessages.settings)}</Header>',
'<SettingsTabs tabType="filter" settingsRoutes={settingsRoutes} />',
'className="discover-filter-control settings-page-search"',
'<article className="app-card-main settings-main-card">',
'<article className="app-card-main settings-main-card max-w-full min-w-0">',
'className="settings-page-actions"',
'buttonType="danger"',
'buttonType="success"',
Expand Down
6 changes: 6 additions & 0 deletions bin/engine-native-accounting.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,12 @@ test('source binding reproduces Node TAP escaping independent of host platform',
assert.equal(ledger.cases[0].leafName, tapEscape(absoluteFile));
assert.equal(tapEscape('line\n\t#\\path'), 'line\\n\\t\\#\\\\path');
});
test('duplicate Node TAP level plans are rejected as trailing structure', () => {
const report = tap().replace('1..1\n# tests', '1..1\n1..1\n# tests');
const ledger = readNodeTapHierarchy(Buffer.from(report), 'node:test');
assert.equal(ledger.complete, false);
assert.ok(ledger.issues.includes('Unexpected trailing TAP structure'));
});
test('missing/malformed/off-source/duplicate/unclosed/zero-active native reports abort independent owners', async (t) => {
for (const mode of [
{ failedVitest: true, missingReport: true },
Expand Down
90 changes: 90 additions & 0 deletions bin/engine-stable-file-read.test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
// Copyright (c) snapetech and SeerrNG contributors.
import assert from 'node:assert/strict';
import { execFileSync } from 'node:child_process';
import fs, {
mkdtempSync,
renameSync,
rmSync,
symlinkSync,
unlinkSync,
writeFileSync,
} from 'node:fs';
import { syncBuiltinESMExports } from 'node:module';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
import test from 'node:test';

// eslint-disable-next-line no-relative-import-paths/no-relative-import-paths -- Native Node tests exercise the security boundary directly.
import { readStableOrdinaryFileSync } from '../tools/validation-engine/runtime/stable-file-read.mjs';

test('descriptor reads reject a symlink swap that defeats check-then-read', (t) => {
const root = mkdtempSync(join(tmpdir(), 'seerrng-stable-file-read-'));
t.after(() => rmSync(root, { recursive: true, force: true }));
const evidence = join(root, 'evidence.json');
const parked = join(root, 'evidence.parked');
const secret = join(root, 'secret.json');
writeFileSync(evidence, '{"trusted":true}\n');
writeFileSync(secret, '{"attacker":true}\n');

// Keep the intentionally vulnerable check-then-read sequence in an eval
// fixture, so CodeQL doesn't mistake the regression test itself for product
// code with a filesystem race.
const vulnerableSequence = String.raw`
const fs = require('node:fs');
const [evidence, parked, secret] = process.argv.slice(1);
const originalReadFileSync = fs.readFileSync;
const vulnerableRead = (filePath) => {
const before = fs.lstatSync(filePath);
if (!before.isFile() || before.isSymbolicLink()) throw new Error('not a regular file');
const bytes = fs.readFileSync(filePath);
const after = fs.lstatSync(filePath);
if (after.dev !== before.dev || after.ino !== before.ino) throw new Error('file identity changed');
return bytes;
};
fs.readFileSync = (filePath, ...args) => {
if (filePath !== evidence) return originalReadFileSync(filePath, ...args);
fs.renameSync(evidence, parked);
fs.symlinkSync(secret, evidence);
try {
return originalReadFileSync(filePath, ...args);
} finally {
fs.unlinkSync(evidence);
fs.renameSync(parked, evidence);
}
};
process.stdout.write(vulnerableRead(evidence));
`;
assert.equal(
execFileSync(
process.execPath,
['--eval', vulnerableSequence, evidence, parked, secret],
{ encoding: 'utf8' }
),
'{"attacker":true}\n'
);

const originalOpenSync = fs.openSync;
let swapped = false;
fs.openSync = (filePath, ...args) => {
const descriptor = originalOpenSync(filePath, ...args);
if (filePath === evidence && !swapped) {
renameSync(evidence, parked);
symlinkSync(secret, evidence);
swapped = true;
}
return descriptor;
};
syncBuiltinESMExports();
try {
assert.throws(
() => readStableOrdinaryFileSync(evidence, 'Evidence file'),
/changed while it was being read/
);
assert.equal(swapped, true);
} finally {
fs.openSync = originalOpenSync;
syncBuiltinESMExports();
unlinkSync(evidence);
renameSync(parked, evidence);
}
});
2 changes: 2 additions & 0 deletions bin/run-tooling-tests.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const portableTests = [
'bin/engine-pr-check-stages.test.mjs',
'bin/engine-native-stage-context.test.mjs',
'bin/engine-native-accounting.test.mjs',
'bin/engine-stable-file-read.test.mjs',
'bin/engine-native-process-ledger.test.mjs',
'bin/engine-workflow-triggers.test.mjs',
'bin/engine-github-binding.test.mjs',
Expand Down Expand Up @@ -76,6 +77,7 @@ const portableTests = [
'scripts/chart-workflow.test.mjs',
'scripts/check-container-security.test.mjs',
'scripts/bookshelf-media-move.test.mjs',
'scripts/setup-assistant.test.mjs',
'scripts/backissue-service.test.mjs',
'scripts/check-helm-security.test.mjs',
'scripts/check-workflow-boundaries.test.mjs',
Expand Down
128 changes: 17 additions & 111 deletions cypress/e2e/game-library.cy.ts
Original file line number Diff line number Diff line change
@@ -1,134 +1,40 @@
describe('Personal game library and household play', () => {
const assertNoHorizontalPageOverflow = () => {
cy.document().then((document) => {
const viewportWidth = document.documentElement.clientWidth;
const overflowingElements = Array.from(
document.querySelectorAll<HTMLElement>('*')
)
.filter((element) => {
const style = document.defaultView?.getComputedStyle(element);
const { right } = element.getBoundingClientRect();
const rendered =
style?.display !== 'none' &&
style?.visibility !== 'hidden' &&
element.getClientRects().length > 0;
return (
rendered && style?.position !== 'fixed' && right > viewportWidth + 1
);
})
.slice(0, 12)
.map((element) => {
const classes =
typeof element.className === 'string'
? `.${element.className.trim().replace(/\s+/g, '.')}`
: '';
const { left, right } = element.getBoundingClientRect();
return `${element.tagName.toLowerCase()}${classes} bounds=${Math.round(left)}-${Math.round(right)} scroll=${element.scrollWidth} client=${element.clientWidth}`;
})
.join('; ');
const pageScrollWidth = Math.max(
document.documentElement.scrollWidth,
document.body.scrollWidth
);
const horizontalScrollers = Array.from(
document.querySelectorAll<HTMLElement>('*')
)
.filter((element) => {
const style = document.defaultView?.getComputedStyle(element);
return (
style?.display !== 'none' &&
element.getClientRects().length > 0 &&
(style?.overflowX === 'auto' || style?.overflowX === 'scroll') &&
element.scrollWidth > element.clientWidth + 1
);
})
.map((element) => {
const classes =
typeof element.className === 'string'
? `.${element.className.trim().replace(/\s+/g, '.')}`
: '';
return `${element.tagName.toLowerCase()}${classes} scroll=${element.scrollWidth} client=${element.clientWidth}`;
})
.slice(0, 12)
.join('; ');
expect(
pageScrollWidth,
`viewport=${viewportWidth}; pageScrollWidth=${pageScrollWidth}; ${overflowingElements}`
).to.be.at.most(viewportWidth);
expect(
overflowingElements,
'visible elements should fit page'
).to.have.length(0);
expect(horizontalScrollers, 'no unexpected horizontal scrollers').to.eq(
''
);
});
};

const addSharedGame = (
title: string,
viewportWidth: number,
viewportHeight: number
) => {
const addSharedGame = (title: string) => {
cy.visit('/games');
cy.viewport(viewportWidth, viewportHeight);
cy.window().its('innerWidth').should('eq', viewportWidth);
cy.window().its('innerHeight').should('eq', viewportHeight);
cy.contains('button', 'Add a Game').click();
cy.get('#manual-game-title').type(title);
cy.get('[role="dialog"]')
.filter(':visible')
.should('have.length', 1)
.within(() => {
cy.get('button[aria-label="I own this outside Steam"]').click();
cy.get('button[aria-label="Share with household"]').click();
cy.get('[data-testid="modal-ok-button"]').click();
});
cy.get('[role="dialog"]').within(() => {
cy.get('button[aria-label="I own this outside Steam"]').click();
cy.get('button[aria-label="Share with household"]').click();
cy.get('[data-testid="modal-ok-button"]').click();
});
cy.contains('h2.card-title', title).should('be.visible');
cy.contains('Share with household').should('be.visible');
cy.contains('.game-library-sharing-label', 'Share with household').should(
($label) => {
expect($label.css('color')).not.to.equal('rgb(0, 0, 0)');
}
);
};

it('shares manually owned games and finds household overlap on desktop and mobile', () => {
const title = `QA game ${Date.now()}`;

cy.viewport(1440, 1000);
cy.loginAsAdmin();
cy.viewport(1280, 900);
addSharedGame(title, 1280, 900);
assertNoHorizontalPageOverflow();
cy.screenshot('game-library-my-games-desktop', { capture: 'viewport' });
addSharedGame('Portal 2');
cy.screenshot('game-library-my-games-desktop');

cy.loginAsUser();
cy.viewport(1280, 900);
addSharedGame(title, 1280, 900);
addSharedGame('Portal 2');

cy.loginAsAdmin();
cy.viewport(1280, 900);
cy.visit('/games');
cy.viewport(1280, 900);
cy.window().its('innerWidth').should('eq', 1280);
cy.window().its('innerHeight').should('eq', 900);
cy.contains('button', 'Play Together').click();
cy.contains(title).should('be.visible');
cy.contains('Portal 2').should('be.visible');
cy.contains('2 people own this').should('be.visible');
cy.get('button[aria-label="Owners"]')
cy.get('button.app-filter-select-trigger[aria-label="Owner count"]')
.should('be.visible')
.and('contain.text', '2+ people');
assertNoHorizontalPageOverflow();
cy.screenshot('game-library-play-together-desktop', {
capture: 'viewport',
});
.and('contain.text', '2+ owners');
cy.screenshot('game-library-play-together-desktop');

cy.viewport(390, 844);
cy.window().its('innerWidth').should('eq', 390);
cy.window().its('innerHeight').should('eq', 844);
assertNoHorizontalPageOverflow();
cy.screenshot('game-library-play-together-mobile', {
capture: 'viewport',
cy.document().then((document) => {
expect(document.documentElement.scrollWidth).to.be.at.most(390);
});
cy.screenshot('game-library-play-together-mobile');
});
});
78 changes: 78 additions & 0 deletions cypress/e2e/settings/prowlarr-responsive.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,82 @@ describe('Prowlarr settings on a short mobile screen', () => {
.click();
cy.wait('@saveProwlarr').its('response.statusCode').should('eq', 200);
});

it('shows setup assistance without horizontal overflow on a narrow screen', () => {
cy.visit('/settings/services');

cy.contains('section.app-card-sub', 'Connect your apps')
.should('be.visible')
.and('contain', 'probe common ports on a selected host');
cy.contains('a', 'Open the setup guide')
.should('be.visible')
.should(
'have.attr',
'href',
'https://github.com/snapetech/seerrng/blob/main/docs/using-seerr/setup-assistant.md'
);
cy.document().then((document) => {
expect(document.documentElement.scrollWidth).to.be.at.most(
document.documentElement.clientWidth + 1
);
});
cy.screenshot('setup-assistant-mobile', { capture: 'viewport' });
});

it('shows setup assistance at desktop width', () => {
cy.viewport(1280, 720);
cy.visit('/settings/services');

cy.contains('section.app-card-sub', 'Connect your apps').should(
'be.visible'
);
cy.contains('section.app-card-sub', 'Connect your apps').should(($card) => {
const bounds = $card[0].getBoundingClientRect();
expect(bounds.right).to.be.at.most(
$card[0].ownerDocument.documentElement.clientWidth + 1
);
const description = $card.find('p')[0];
expect(description.scrollWidth).to.be.at.most(
description.clientWidth + 1
);
});
cy.document().then((document) => {
expect(document.documentElement.scrollWidth).to.be.at.most(
document.documentElement.clientWidth + 1
);
});
cy.screenshot('setup-assistant-desktop', { capture: 'viewport' });
});

it('imports a discovered address into the matching add form without importing credentials', () => {
cy.visit('/settings/services');

const report = {
network: 'seerrng-shared',
connections: [
{
id: 'radarr',
title: 'Radarr',
hostname: 'radarr',
port: 7878,
state: 'running',
apiKey: 'must-not-be-imported',
},
],
};
cy.get('input[aria-label="Import connection report"]').selectFile(
{
contents: Cypress.Buffer.from(JSON.stringify(report)),
fileName: 'seerrng-connections.json',
mimeType: 'application/json',
},
{ force: true }
);

cy.contains('Loaded suggestions for 1 app').should('be.visible');
cy.contains('button', 'Add Radarr Server').scrollIntoView().click();
cy.get('input[name="hostname"]').should('have.value', 'radarr');
cy.get('input[name="port"]').should('have.value', '7878');
cy.get('input[name="apiKey"]').should('have.value', '');
});
});
Loading
Loading