Skip to content

feat: standalone desktop mode - #5

Merged
selmant merged 48 commits into
developfrom
feature/standalone-mode
Aug 23, 2026
Merged

feat: standalone desktop mode#5
selmant merged 48 commits into
developfrom
feature/standalone-mode

Conversation

@selmant

@selmant selmant commented Aug 22, 2026

Copy link
Copy Markdown
Owner

No description provided.

selmant added 30 commits August 22, 2026 18:13
selmant and others added 18 commits August 22, 2026 19:23
Remember the signed-in user across loopback port changes, bind ticket
redeem to the live session store, and stop TypeORM cycles from freezing
the login page.

Co-authored-by: Cursor <cursoragent@cursor.com>
Return both host candidates from redeem and surface remote Foreseerr
entry from the login screen for desktop clients.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown

Hey @selmant, thanks for submitting this PR! However, it looks like the PR template hasn't been fully filled out.

Issues found:

  • Description section is empty or only contains placeholder text.
  • How Has This Been Tested? section is empty.
  • Checklist section is missing or has been removed.
  • The contribution guidelines checkbox has not been checked.

Please update your PR description to follow the PR template.
Incomplete or missing PR descriptions may indicate insufficient review of the changes, and PRs that do not follow the template may be closed without review.
See our Contributing Guide for more details.

This check will automatically re-run when you edit your PR description.

@github-actions github-actions Bot added blocked:template i18n-out-of-sync Translation messages are out of sync with source labels Aug 22, 2026
@github-actions

Copy link
Copy Markdown

The i18n check failed because translation messages are out of sync.

This usually happens when you've added or modified translation strings in your code but haven't updated the translation file.

Please run pnpm i18n:extract and commit the changes.

Comment thread server/index.ts
Comment on lines +430 to +443
session({
secret: settings.sessionSecret,
resave: false,
saveUninitialized: false,
cookie: {
maxAge: 1000 * 60 * 60 * 24 * 30,
httpOnly: true,
path: '/',
sameSite:
desktopRuntime || settings.network.csrfProtection ? 'strict' : 'lax',
secure: desktopRuntime ? false : 'auto',
},
store: sessionStore,
})
Comment thread server/index.ts
logger.info('Desktop session store is sqlite', { label: 'Server' });
server.use('/api', (req, res, next) => {
const started = Date.now();
logger.info(`API ${req.method} ${req.path}`, { label: 'Desktop' });
Comment thread server/index.ts
logger.info(`API ${req.method} ${req.path}`, { label: 'Desktop' });
res.on('finish', () => {
logger.info(
`API ${req.method} ${req.path} ${res.statusCode} ${Date.now() - started}ms`,
Comment on lines +78 to +83
session({
secret: 'test-secret',
resave: false,
saveUninitialized: false,
store: new session.MemoryStore(),
})
Comment on lines +107 to +112
session({
secret: 'test-secret',
resave: false,
saveUninitialized: false,
store: new session.MemoryStore(),
})
Comment on lines +404 to +410
session({
secret: 'test-secret',
resave: false,
saveUninitialized: false,
genid: () => 'memory-desktop-session',
store,
})
@selmant
selmant merged commit 7d008cf into develop Aug 23, 2026
13 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked:template i18n-out-of-sync Translation messages are out of sync with source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants