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:
@@ -123,8 +123,21 @@ describe('publicPaths', () => {
|
||||
site({
|
||||
journalEnabled: true,
|
||||
journal: [
|
||||
{ slug: 'published', draft: false },
|
||||
{ slug: 'wip', draft: true },
|
||||
{ slug: 'published', draft: false, isProtected: false },
|
||||
{ slug: 'wip', draft: true, isProtected: false },
|
||||
],
|
||||
}),
|
||||
);
|
||||
expect(paths).toEqual(['/', '/journal', '/journal/published']);
|
||||
});
|
||||
|
||||
it('omits a password-protected journal entry, as the journal index does', () => {
|
||||
const paths = publicPaths(
|
||||
site({
|
||||
journalEnabled: true,
|
||||
journal: [
|
||||
{ slug: 'published', draft: false, isProtected: false },
|
||||
{ slug: 'private', draft: false, isProtected: true },
|
||||
],
|
||||
}),
|
||||
);
|
||||
@@ -133,7 +146,10 @@ describe('publicPaths', () => {
|
||||
|
||||
it('omits journal entries entirely when the journal is off', () => {
|
||||
const paths = publicPaths(
|
||||
site({ journalEnabled: false, journal: [{ slug: 'published', draft: false }] }),
|
||||
site({
|
||||
journalEnabled: false,
|
||||
journal: [{ slug: 'published', draft: false, isProtected: false }],
|
||||
}),
|
||||
);
|
||||
expect(paths).toEqual(['/']);
|
||||
});
|
||||
@@ -150,12 +166,38 @@ describe('publicPaths', () => {
|
||||
expect(paths).toEqual([...new Set(paths)]);
|
||||
});
|
||||
|
||||
it('lists a published content page, whether or not it is in the menu (#722)', () => {
|
||||
const paths = publicPaths(
|
||||
site({ pages: [{ slug: 'pricing', draft: false, isProtected: false }] }),
|
||||
);
|
||||
expect(paths).toEqual(['/', '/pricing']);
|
||||
});
|
||||
|
||||
it('leaves out a draft content page and a password-protected one', () => {
|
||||
const paths = publicPaths(
|
||||
site({
|
||||
pages: [
|
||||
{ slug: 'draft', draft: true, isProtected: false },
|
||||
{ slug: 'secret', draft: false, isProtected: true },
|
||||
],
|
||||
}),
|
||||
);
|
||||
expect(paths).toEqual(['/']);
|
||||
});
|
||||
|
||||
it('lists no content page on a locked site', () => {
|
||||
const paths = publicPaths(
|
||||
site({ siteLocked: true, pages: [{ slug: 'pricing', draft: false, isProtected: false }] }),
|
||||
);
|
||||
expect(paths).toEqual([]);
|
||||
});
|
||||
|
||||
it('emits only absolute-looking, single-slash paths', () => {
|
||||
const paths = publicPaths(
|
||||
site({
|
||||
aboutEnabled: true,
|
||||
journalEnabled: true,
|
||||
journal: [{ slug: 'story', draft: false }],
|
||||
journal: [{ slug: 'story', draft: false, isProtected: false }],
|
||||
subpages: [openSubpage('travel', [{ id: 'a', slug: 'iceland' }])],
|
||||
standaloneAlbums: [{ id: 'b', slug: 'portraits' }],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user