Secure Sakani portal and show full album titles

This commit is contained in:
Leon Tonhäuser committed 2026-11-30 19:14:57 +01:00
1 parent c40ccf77cf
commit 69264ce165
49 files changed
+1362 -601

No files matched your search

+12 -3
View File
@@ -92,11 +92,20 @@ the `ops` compose profile and do not start with `docker compose up`.
anymore. Historical (pre-squash) migration files live in
`drizzle-history/pre-squash-2026-08/` and are referenced by integration tests
only; do not point `drizzle.config.ts` at that folder.
- **Seed the first admin** (override the command to pass credentials):
- **Seed a new admin** after migrations. In Bash, enter a unique password of
at least 12 characters at the hidden prompt. Compose forwards it on standard
input. The email and display name are the two arguments.
```bash
docker compose --profile ops run --rm seed \
pnpm tsx scripts/create-admin.ts admin@example.de "AdminPassword!" "Name"
(
set +x
read -rs -p 'Admin password: ' seed_password || exit 1
printf '\n' >&2
printf '%s\n' "$seed_password" | docker compose --profile ops run --rm -i -T seed \
admin@example.de "Portal Admin"
)
```
The seed creates a verified account. An existing email or a failed insert
exits with an error. After the first sign-in, complete the TOTP setup.
- **Smoke-test env + connectivity** (DB, Better Auth, SMTP, Immich):
```bash
docker compose --profile ops run --rm preflight