feat(accounts): add admin accounts and user preferences

Remove public registration, support administrator-managed accounts, and persist personal preferences.

Refs #2 #5

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 19:54:06 +01:00
parent 1b0625f91c
commit 50bde816ed
46 changed files with 1362 additions and 256 deletions

View File

@ -0,0 +1,5 @@
ALTER TABLE users
ADD COLUMN language TEXT NOT NULL DEFAULT 'fr'
CONSTRAINT users_language_check CHECK (language IN ('fr', 'en')),
ADD COLUMN ranking_mode TEXT NOT NULL DEFAULT 'title'
CONSTRAINT users_ranking_mode_check CHECK (ranking_mode IN ('title', 'title_content'));