diff --git a/.env.example b/.env.example index 1714092..4edc1be 100644 --- a/.env.example +++ b/.env.example @@ -7,6 +7,13 @@ DATABASE_URL=postgres://famapp:famapp@localhost:5432/famapp # Auth.js AUTH_SECRET=replace-with-openssl-rand-base64-32 +# Local development only. Enables a /login "Dev login" button that creates a +# database session for DEV_LOGIN_EMAIL without contacting Authentik. +ENABLE_DEV_LOGIN=false +DEV_LOGIN_EMAIL=dev@famapp.local +DEV_LOGIN_NAME=Dev User +DEV_HOUSEHOLD_NAME=Home + # OIDC (Authentik) AUTH_OIDC_ISSUER=https://auth.ginnoir.com/application/o/famapp/ AUTH_OIDC_CLIENT_ID=replace-me diff --git a/.gitignore b/.gitignore index 06ce011..5211591 100644 --- a/.gitignore +++ b/.gitignore @@ -38,6 +38,7 @@ desktop.ini coverage/ playwright-report/ test-results/ +tests/.auth/ # Drizzle generated artifacts (migrations themselves are committed) drizzle/meta/ diff --git a/STATUS.md b/STATUS.md index 6b176d8..b693912 100644 --- a/STATUS.md +++ b/STATUS.md @@ -17,10 +17,16 @@ Living progress tracker. Update at the end of each task. The canonical brief is - **08 — Theming infrastructure**. CSS-variable multi-theme system (`default` + `warm`) × `{light, dark, system}`. `users.theme` + `users.themeMode` columns in migration `0002_naive_starbolt.sql`. Theme registry in `src/modules/_core/themes.ts` (THEMES/THEME_MODES arrays — adding a third theme is one CSS block + one registry entry). Root layout reads session and sets `data-theme`/`dark` on `` server-side; inline pre-paint `