feat: add user admin status and profile management

- Updated user schema to include isAdmin field.
- Enhanced authentication hooks to fetch and set user admin status.
- Created ProfileButton component for user profile actions.
- Implemented profile and password update functionality.
- Added session management for user accounts.
- Developed login and signup pages with form handling.
- Introduced layout server for user session data.
- Updated daily page to reflect character changes.
This commit is contained in:
2026-03-01 19:52:54 +01:00
parent 031db29d62
commit b45909f86e
14 changed files with 1913 additions and 22 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE `user` ADD `is_admin` integer DEFAULT false NOT NULL;

File diff suppressed because it is too large Load Diff

View File

@@ -15,6 +15,13 @@
"when": 1772383366179,
"tag": "0001_nostalgic_hercules",
"breakpoints": true
},
{
"idx": 2,
"version": "6",
"when": 1772390182445,
"tag": "0002_large_gwen_stacy",
"breakpoints": true
}
]
}