release: v0.19.0

Release v0.19.0. See the `## [0.19.0] — 2026-09-29` section of
[CHANGELOG.md](https://github.com/ralksta/immich-folio/blob/dev/CHANGELOG.md)
for the full list.

Highlights: client proofing links (#683), custom content pages (#738),
asset picker search (#740), concurrent-edit detection (#742), env-locked
settings (#739), an accessibility baseline (#741), three security fixes
with advisories (#737, #755, #759), and a pre-release quality pass
(#780–#797).

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: ralksta <ralksta@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Ralf <rohlenbo79@gmail.com>
Co-authored-by: Paul Thies <110185070+ImScheinox@users.noreply.github.com>
Co-authored-by: lancetm714 <108419425+lancetm714@users.noreply.github.com>
Co-authored-by: Lance Martin <lancetaylor95@gmail.com>
This commit is contained in:
Ralksta
2026-09-29 22:50:30 +02:00
committed by GitHub
parent 5f251923f0
commit ad8b09700b
297 changed files with 19398 additions and 1800 deletions

View File

@@ -12,7 +12,13 @@ import { useDictionary } from './I18nProvider';
interface PasswordGateProps {
slug: string;
title: string;
type?: 'subpage' | 'album' | 'journal' | 'site';
type?: 'subpage' | 'album' | 'journal' | 'page' | 'site';
}
/** Whole seconds from a `Retry-After` header, or null when there is none. */
function retryAfterSeconds(res: Response): number | null {
const seconds = Number.parseInt(res.headers.get('retry-after') ?? '', 10);
return Number.isFinite(seconds) && seconds > 0 ? seconds : null;
}
export default function PasswordGate({ slug, title, type = 'subpage' }: PasswordGateProps) {
@@ -35,9 +41,15 @@ export default function PasswordGate({ slug, title, type = 'subpage' }: Password
if (res.ok) {
window.location.reload();
} else {
} else if (res.status === 401) {
setError(t.password.incorrect);
setPassword('');
} else if (res.status === 429) {
// The limit says nothing about the password, which may well be right:
// keep it in the field and say when the next attempt will be heard.
setError(t.password.tooManyAttempts(retryAfterSeconds(res)));
} else {
setError(t.password.failed);
}
} catch {
setError(t.password.failed);
@@ -51,7 +63,13 @@ export default function PasswordGate({ slug, title, type = 'subpage' }: Password
<div className={styles.card}>
<h2 className={styles.title}>{title}</h2>
<p className={styles.subtitle}>
{type === 'site' ? t.password.siteSubtitle : t.password.subtitle}
{type === 'site'
? t.password.siteSubtitle
: type === 'page'
? t.password.pageSubtitle
: type === 'journal'
? t.password.journalSubtitle
: t.password.subtitle}
</p>
<form onSubmit={handleSubmit} className={styles.form}>