Commit Graph

50 Commits

Author SHA1 Message Date
acc739ddb7 Feat: Display user role when logged in on main page 2025-10-02 11:39:43 -07:00
8d54c79545 Feat: Add 'mod' role and set_role API action 2025-10-02 11:29:33 -07:00
88d8710134 Feat: Add user role management UI 2025-10-02 11:29:27 -07:00
223ff68f58 Delete: Remove unused auth-params endpoint 2025-10-02 11:16:00 -07:00
6540ef33ec Feat: Verify user from pass_hash in cookie 2025-10-02 11:15:18 -07:00
1a85690bdd Feat: Clear auth cookies on logout 2025-10-02 11:15:16 -07:00
59498ccb1e Feat: Set auth cookies with username and pass_hash 2025-10-02 11:15:14 -07:00
301364400a Refactor: Revert to pass_hash auth, remove sessions 2025-10-02 11:15:11 -07:00
4513b47e95 Feat: Create signup page 2025-10-02 11:08:03 -07:00
3514cb8be1 Feat: Create login page 2025-10-02 11:08:00 -07:00
c016b74e2b Feat: Display user status and logout button 2025-10-02 11:07:56 -07:00
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
81d6d6a4d7 Feat: Add password auth and delete schema button 2025-10-02 10:52:21 -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
acba7d597c Fix: Configure wrangler.toml for Pages deployment 2025-10-02 10:26:13 -07:00
6e718fb03f Refactor: Remove name from wrangler config 2025-10-02 10:24:58 -07:00
0ae7e71be3 Fix: Configure wrangler.toml for Pages deployment 2025-10-02 10:23:49 -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
5443cde6c3 Feat: Add admin page for D1 schema management 2025-10-02 08:50:36 -07:00
be41af9e13 Feat: Add API endpoint for D1 schema management 2025-10-02 08:50:32 -07:00
76a7e3b6d5 Refactor: Update compatibility date 2025-10-02 08:42:41 -07:00
ab057f5043 Feat: Add D1 database binding 2025-10-02 08:40:29 -07:00
5664b91878 Fix: Adjust signup icon position 2025-10-02 08:30:03 -07:00
a2fd6902e6 Feat: Move signup icon to top right above box 2025-10-02 08:26:59 -07:00
9144609027 Feat: Add signup link to top right of container 2025-10-02 08:25:08 -07:00
fe42168fcc Feat: Add top right sign up button 2025-10-02 08:23:48 -07:00
ffd3cab808 Feat: Add top-right sign up link 2025-10-02 08:20:53 -07:00
8a8cfadd31 Refactor: Update index.html 2025-10-02 06:12:19 -07:00
f7d2f38a0d Refactor: Improve readability with HN-inspired styling 2025-10-02 06:11:17 -07:00
eededdfb63 Feat: Add dev.speech.capital subdomain link 2025-10-01 11:13:55 -07:00
6d4743ad29 Fix: Standardize spacing between subdomain links 2025-10-01 11:12:50 -07:00
4e3c8843ef Fix: Make spacing between links consistent 2025-10-01 11:11:40 -07:00
a697524738 Feat: Add dev.speech.capital subdomain link 2025-10-01 11:07:46 -07:00
f4f803f1fb Feat: Add artificial.speech.capital link and remove sign-in icon 2025-10-01 07:00:57 -07:00
b494b55670 Feat: Add Tailwind, Lucide, Alpine with boilerplate 2025-09-30 14:15:57 -07:00
5c106ac2ae Update and rename README.md to index.html 2025-09-30 13:20:09 -07:00
da8441f3de Initial commit 2025-09-30 13:19:47 -07:00