Commit Graph

67 Commits

Author SHA1 Message Date
48cda62678 Feat: Endpoint to get current user from session 2025-10-02 11:07:54 -07:00
6c2b224326 Feat: Signup endpoint for user registration 2025-10-02 11:07:51 -07:00
9c94f66753 Feat: Logout endpoint to clear session 2025-10-02 11:07:49 -07:00
03e44dee78 Feat: Login endpoint with session cookie creation 2025-10-02 11:07:47 -07:00
52d0e04700 Feat: Endpoint to provide user's scrypt params 2025-10-02 11:07:45 -07:00
9c24781322 Feat: Add sessions table and cascade deletes 2025-10-02 11:07:40 -07:00
8c26d21842 Feat: Add password auth, delete action, and schema caches 2025-10-02 10:52:25 -07:00
ab86df1e92 Fix: Use partial indexes for votes and improve errors 2025-10-02 10:34:20 -07:00
6ee7e1cd16 Fix: Correct D1 schema creation and improve votes table 2025-10-02 10:30:59 -07:00
a8ae9cced6 Refactor: Improve API error responses with cause 2025-10-02 10:03:41 -07:00
efd62ff3a7 Fix: Use db.exec for schema creation as batch is unsupported 2025-10-02 09:59:27 -07:00
467666cf67 Refactor: Version schema definition as schemaV1 2025-10-02 09:53:28 -07:00
70fb4d3e74 Feat: Add pass_hash to users table for authentication 2025-10-02 09:44:57 -07:00
8cd486d7c2 Refactor: Rename post url column to link for clarity 2025-10-02 09:39:25 -07:00
4beae0afa2 Refactor: Simplify ban logic to use only banned_until 2025-10-02 09:33:15 -07:00
0ab28bb33a Feat: Add user roles for admin/owner powers 2025-10-02 09:07:19 -07:00
be41af9e13 Feat: Add API endpoint for D1 schema management 2025-10-02 08:50:32 -07:00