Phase 10, part 2: the first owner, from a one-time setup link

A new server prints a link to create its owner (supermarket setup-link
makes another); until it's used, every page says the setup isn't
finished. One-time links (schema 33) are kept as hashes and used up in
one statement; resets and invitations will use them too. The server
edition opens Postgres.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 08:53:14 -07:00
co-authored by Claude Opus 5.5
parent 96404a3580
commit 72455438c9
16 changed files with 553 additions and 10 deletions
+10
View File
@@ -486,3 +486,13 @@ svg.line-chart line.axis { stroke: hsl(var(--border)); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.2rem; margin: 0.5rem 0 0.8rem; }
dl.facts dt { font-weight: 600; color: hsl(var(--muted-foreground)); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }
/* Pages before signing in (setup, sign-in, invitations): no sidebar, one
narrow column. */
.bare-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 3rem 1rem 1.5rem; background: hsl(var(--sidebar)); }
.bare-shell .brand { padding: 0 0 1.25rem; font-size: 1.15rem; }
.bare-main { width: 100%; max-width: 26rem; }
.bare-main h1 { font-size: 1.35rem; margin: 0 0 0.35rem; }
.bare-main .card { padding: 1.5rem; }
.bare-main button[type="submit"] { width: 100%; }
.bare-shell .version { margin-top: auto; padding-top: 2rem; font-size: 0.8rem; color: hsl(var(--muted-foreground)); }