Files
immich-redaktions-plugin/.env.example
T
Leon TonhäuserandClaude Opus 5.5 9e938e4d07 feat: redesign portal UI with Sakani UI and add release notes
Replace the hand-rolled Tailwind/shadcn look with Sakani UI across the
editorial area, the admin area and all signed-out pages.

- AppShell (Sakani Sidebar + TopBar) for /redaktion and /admin, with a
  mobile drawer, theme toggle, sign-out, legal links and a "Was ist neu"
  button; PublicShell for login, registration, password, 2FA and errors.
- Shared primitives (Button, Card, Input, PageHeader) now render Sakani;
  components/ui/sakani.tsx is the client boundary for Server Components
  (Sakani ships no "use client") and adds FormSelect (native form value)
  and DataTable (element cells from the server).
- Legacy CSS variables map onto Sakani tokens; globals.css shrinks from
  ~2200 to ~700 lines. Geist replaces Inter. recharts/lucide-react dropped
  (charts via Sakani BarChart).
- Release notes popup per area, shown once per version (localStorage) and
  reopenable from the sidebar; native <dialog> for focus trapping.
- Fixes found while testing: TOTP field reused the typed password in
  clear text, modal dialogs sat top-left, invisible unchecked checkboxes
  in dark mode.
- Parallel run: compose.parallel.yaml, AUTO_RULE_SYNC_DISABLED switch and
  docs/operations.md §8 (start, rollback, cutover).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 18:24:05 +01:00

35 lines
1.4 KiB
Bash

# Portal database (separate from Immich)
DATABASE_URL=postgres://portal:change-me@portal-db:5432/portal
# Better Auth — production public URL. For local dev, set http://localhost:3000 in .env
BETTER_AUTH_SECRET=replace-with-a-long-random-secret
BETTER_AUTH_URL=https://redaktionen.leon-tonhaeuser.de
# Internal Immich API access; never expose these values to browsers
IMMICH_BASE_URL=http://immich-server:2283
IMMICH_API_KEY=replace-with-a-restricted-immich-api-key
# SMTP
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=portal@example.com
SMTP_PASSWORD=replace-with-an-smtp-password
SMTP_FROM=portal@example.com
# Legal pages managed outside the application
LEGAL_IMPRINT_URL=https://leon-tonhaeuser.de/impressum
LEGAL_PRIVACY_URL=https://leon-tonhaeuser.de/datenschutz
LEGAL_TERMS_URL=https://leon-tonhaeuser.de/agb
# Album auto-rule sync: runs automatically every N seconds (default 120).
# AUTO_RULE_SYNC_INTERVAL_SECONDS=120
# Optional bearer token to trigger the sync externally via
# POST /api/cron/album-sync (Authorization: Bearer <CRON_SECRET>).
# CRON_SECRET=replace-with-a-long-random-secret
# Parallel run of the new UI (see docs/operations.md §8). Only needed while
# compose.parallel.yaml is in use; the parallel container sets
# AUTO_RULE_SYNC_DISABLED=true itself so the sync does not run twice.
# PARALLEL_BASE_URL=https://neu.redaktionen.leon-tonhaeuser.de
# PARALLEL_PORT=3001