Add Logbuch: project update blog with admin, media and API

Public archive with sidebar navigation, project pages, month archive,
search and entry pages with image blocks. Admin area for brands,
projects, post types, users, api clients, media and the entry editor
with drag and drop images, preview per audience, scheduling and
publish checks. Read and write API with bearer tokens, audience
scoping, idempotent creation, OpenAPI document and editorial guide.
Magic link login with configurable allowed domains, whole app behind
the session gate. 456 tests including design rule checks.
This commit is contained in:
Matthias Giesselmann
2026-07-31 21:33:42 +02:00
commit b90ff252d1
291 changed files with 43671 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import { describe, expect, it } from 'vitest'
import { loginDomains } from '~/lib/login-domains'
const fallback = ['nyo.de', 'pocketrocket.de', 'pocket-rocket.io']
describe('loginDomains', () => {
it('nimmt die Liste aus der Umgebung', () => {
expect(loginDomains('example.org, Beispiel.de')).toEqual(['example.org', 'beispiel.de'])
})
it('fällt ohne Angabe auf die drei Hausdomains zurück', () => {
expect(loginDomains(undefined)).toEqual(fallback)
expect(loginDomains('')).toEqual(fallback)
expect(loginDomains(' , ')).toEqual(fallback)
})
})