Commit Graph
100 Commits
Author SHA1 Message Date
multipleof4 effc5efdb9 Feat: Add inline image previews for link posts 2025-10-03 13:07:53 -07:00
multipleof4 43f35d95fc Refactor: Update index.html 2025-10-03 13:02:03 -07:00
multipleof4 2420eb79ab Refactor: Update posts.js 2025-10-03 13:01:25 -07:00
multipleof4 dd1dc4fe58 Refactor: Update [id].js 2025-10-03 13:01:22 -07:00
multipleof4 610c5f87d5 Refactor: Update admin.html 2025-10-03 13:00:24 -07:00
multipleof4 ad8ad8c09e Refactor: Update schema.js 2025-10-03 13:00:10 -07:00
multipleof4 bc4fa990ff Refactor: Update submit.html 2025-10-03 12:59:56 -07:00
multipleof4 8166507513 Feat: Add UI for selecting post type 2025-10-03 12:44:57 -07:00
multipleof4 cfd3419451 Feat: Display thumbnails for link posts 2025-10-03 12:44:53 -07:00
multipleof4 5c8e27f731 Feat: Select post_type for post detail view 2025-10-03 12:44:50 -07:00
multipleof4 6585359548 Feat: Handle post_type in posts API 2025-10-03 12:44:46 -07:00
multipleof4 de306ede14 Feat: Add schema v2 with post_type column 2025-10-03 12:40:52 -07:00
multipleof4 c942c9612e Feat: Add migrate to v2 button to admin UI 2025-10-03 12:40:48 -07:00
multipleof4 1589b73b28 Refactor: Merge subdomain and main site functionality 2025-10-03 11:41:17 -07:00
multipleof4 87e5e42f0a Feat: Add submit page from sub.speech.capital 2025-10-03 11:41:13 -07:00
multipleof4 6e229afc23 Feat: Display user posts on their profile page 2025-10-03 07:55:48 -07:00
multipleof4 5e6ff38f47 Feat: Fetch and return user's posts for profile 2025-10-03 07:55:46 -07:00
multipleof4 034aaf64c7 Feat: Add user profile pages and client-side routing 2025-10-03 07:47:30 -07:00
multipleof4 7435c6713c Feat: Add endpoint for user profiles 2025-10-03 07:47:28 -07:00
multipleof4 49a94f5775 Feat: Add server config check for API key 2025-10-02 15:32:38 -07:00
multipleof4 074149d38a Refactor: Add debug log for API key 2025-10-02 15:31:20 -07:00
multipleof4 4f0e84e9aa Feat: Add Gemini moderation for new posts 2025-10-02 15:02:32 -07:00
multipleof4 02f94fb09d Feat: Add Gemini moderation for new comments 2025-10-02 15:02:28 -07:00
multipleof4 0994c7c6e4 Feat: Add Turnstile and simplify login flow 2025-10-02 14:41:28 -07:00
multipleof4 b2bd80943e Feat: Add Turnstile verification to forms 2025-10-02 14:41:25 -07:00
multipleof4 954a577348 Refactor: Add Turnstile and login on signup 2025-10-02 14:41:22 -07:00
multipleof4 114aa13819 Feat: Add Turnstile verification to forms 2025-10-02 14:41:17 -07:00
multipleof4 6c18e5b674 Feat: Add Turnstile verification to forms 2025-10-02 14:41:14 -07:00
multipleof4 33e7cf09aa Feat: Add Turnstile verification to forms 2025-10-02 14:41:07 -07:00
multipleof4 094c717f5c Feat: Add ban check to user authentication 2025-10-02 13:46:19 -07:00
multipleof4 21df01d81b Feat: Add ban check and expose user_id for mods 2025-10-02 13:46:16 -07:00
multipleof4 3d082d0c54 Feat: Add ban check and expose user_id for mods 2025-10-02 13:46:11 -07:00
multipleof4 28c4d8806b Feat: Add moderation endpoint for delete and ban 2025-10-02 13:46:08 -07:00
multipleof4 6490ca0d93 Feat: Clear role cookie on logout 2025-10-02 13:46:04 -07:00
multipleof4 c34da04919 Feat: Add user role to auth cookie 2025-10-02 13:46:00 -07:00
multipleof4 aea1fedd22 Feat: Add ban check to user authentication 2025-10-02 13:45:56 -07:00
multipleof4 8284a46bec Fix: Add CORS headers to vote API 2025-10-02 12:43:47 -07:00
multipleof4 0b48f82ac0 Fix: Add CORS headers to comments API 2025-10-02 12:43:44 -07:00
multipleof4 6b326a5a7b Fix: Add CORS headers to post detail API 2025-10-02 12:43:41 -07:00
multipleof4 292b66832e Fix: Add CORS headers to posts API 2025-10-02 12:43:38 -07:00
multipleof4 da3f9806f4 Feat: Add vote POST endpoint 2025-10-02 12:37:03 -07:00
multipleof4 59a6d8faea Feat: Add comments POST endpoint 2025-10-02 12:37:00 -07:00
multipleof4 127426ae98 Feat: Add single post GET endpoint 2025-10-02 12:36:57 -07:00
multipleof4 5e9e75213f Feat: Add posts API with GET/POST 2025-10-02 12:36:54 -07:00
multipleof4 ad7138afd8 Refactor: Enable CORS for user auth check 2025-10-02 12:12:41 -07:00
multipleof4 d68e62e742 Delete: Replace with server-side function 2025-10-02 12:00:07 -07:00
multipleof4 3082970ced Fix: Use robust JSON helper for header handling 2025-10-02 11:54:35 -07:00
multipleof4 daa6ec7681 Fix: Use robust JSON helper for header handling 2025-10-02 11:54:33 -07:00
multipleof4 33c759cec7 Fix: Use robust JSON helper for header handling 2025-10-02 11:54:25 -07:00
multipleof4 74b9f67b1a Fix: Correctly set multiple cookies using Headers object 2025-10-02 11:54:22 -07:00
multipleof4 935c297e71 Fix: Use robust JSON helper for header handling 2025-10-02 11:54:20 -07:00
multipleof4 3a289190ae Feat: Add /cookie page for debugging 2025-10-02 11:50:22 -07:00
multipleof4 683582ea8c Fix: Add missing auth-params endpoint for login 2025-10-02 11:44:49 -07:00
multipleof4 acc739ddb7 Feat: Display user role when logged in on main page 2025-10-02 11:39:43 -07:00
multipleof4 8d54c79545 Feat: Add 'mod' role and set_role API action 2025-10-02 11:29:33 -07:00
multipleof4 88d8710134 Feat: Add user role management UI 2025-10-02 11:29:27 -07:00
multipleof4 223ff68f58 Delete: Remove unused auth-params endpoint 2025-10-02 11:16:00 -07:00
multipleof4 6540ef33ec Feat: Verify user from pass_hash in cookie 2025-10-02 11:15:18 -07:00
multipleof4 1a85690bdd Feat: Clear auth cookies on logout 2025-10-02 11:15:16 -07:00
multipleof4 59498ccb1e Feat: Set auth cookies with username and pass_hash 2025-10-02 11:15:14 -07:00
multipleof4 301364400a Refactor: Revert to pass_hash auth, remove sessions 2025-10-02 11:15:11 -07:00
multipleof4 4513b47e95 Feat: Create signup page 2025-10-02 11:08:03 -07:00
multipleof4 3514cb8be1 Feat: Create login page 2025-10-02 11:08:00 -07:00
multipleof4 c016b74e2b Feat: Display user status and logout button 2025-10-02 11:07:56 -07:00
multipleof4 48cda62678 Feat: Endpoint to get current user from session 2025-10-02 11:07:54 -07:00
multipleof4 6c2b224326 Feat: Signup endpoint for user registration 2025-10-02 11:07:51 -07:00
multipleof4 9c94f66753 Feat: Logout endpoint to clear session 2025-10-02 11:07:49 -07:00
multipleof4 03e44dee78 Feat: Login endpoint with session cookie creation 2025-10-02 11:07:47 -07:00
multipleof4 52d0e04700 Feat: Endpoint to provide user's scrypt params 2025-10-02 11:07:45 -07:00
multipleof4 9c24781322 Feat: Add sessions table and cascade deletes 2025-10-02 11:07:40 -07:00
multipleof4 8c26d21842 Feat: Add password auth, delete action, and schema caches 2025-10-02 10:52:25 -07:00
multipleof4 81d6d6a4d7 Feat: Add password auth and delete schema button 2025-10-02 10:52:21 -07:00
multipleof4 ab86df1e92 Fix: Use partial indexes for votes and improve errors 2025-10-02 10:34:20 -07:00
multipleof4 6ee7e1cd16 Fix: Correct D1 schema creation and improve votes table 2025-10-02 10:30:59 -07:00
multipleof4 acba7d597c Fix: Configure wrangler.toml for Pages deployment 2025-10-02 10:26:13 -07:00
multipleof4 6e718fb03f Refactor: Remove name from wrangler config 2025-10-02 10:24:58 -07:00
multipleof4 0ae7e71be3 Fix: Configure wrangler.toml for Pages deployment 2025-10-02 10:23:49 -07:00
multipleof4 a8ae9cced6 Refactor: Improve API error responses with cause 2025-10-02 10:03:41 -07:00
multipleof4 efd62ff3a7 Fix: Use db.exec for schema creation as batch is unsupported 2025-10-02 09:59:27 -07:00
multipleof4 467666cf67 Refactor: Version schema definition as schemaV1 2025-10-02 09:53:28 -07:00
multipleof4 70fb4d3e74 Feat: Add pass_hash to users table for authentication 2025-10-02 09:44:57 -07:00
multipleof4 8cd486d7c2 Refactor: Rename post url column to link for clarity 2025-10-02 09:39:25 -07:00
multipleof4 4beae0afa2 Refactor: Simplify ban logic to use only banned_until 2025-10-02 09:33:15 -07:00
multipleof4 0ab28bb33a Feat: Add user roles for admin/owner powers 2025-10-02 09:07:19 -07:00
multipleof4 5443cde6c3 Feat: Add admin page for D1 schema management 2025-10-02 08:50:36 -07:00
multipleof4 be41af9e13 Feat: Add API endpoint for D1 schema management 2025-10-02 08:50:32 -07:00
multipleof4 76a7e3b6d5 Refactor: Update compatibility date 2025-10-02 08:42:41 -07:00
multipleof4 ab057f5043 Feat: Add D1 database binding 2025-10-02 08:40:29 -07:00
multipleof4 5664b91878 Fix: Adjust signup icon position 2025-10-02 08:30:03 -07:00
multipleof4 a2fd6902e6 Feat: Move signup icon to top right above box 2025-10-02 08:26:59 -07:00
multipleof4 9144609027 Feat: Add signup link to top right of container 2025-10-02 08:25:08 -07:00
multipleof4 fe42168fcc Feat: Add top right sign up button 2025-10-02 08:23:48 -07:00
multipleof4 ffd3cab808 Feat: Add top-right sign up link 2025-10-02 08:20:53 -07:00
multipleof4 8a8cfadd31 Refactor: Update index.html 2025-10-02 06:12:19 -07:00
multipleof4 f7d2f38a0d Refactor: Improve readability with HN-inspired styling 2025-10-02 06:11:17 -07:00
multipleof4 eededdfb63 Feat: Add dev.speech.capital subdomain link 2025-10-01 11:13:55 -07:00
multipleof4 6d4743ad29 Fix: Standardize spacing between subdomain links 2025-10-01 11:12:50 -07:00
multipleof4 4e3c8843ef Fix: Make spacing between links consistent 2025-10-01 11:11:40 -07:00
multipleof4 a697524738 Feat: Add dev.speech.capital subdomain link 2025-10-01 11:07:46 -07:00
multipleof4 f4f803f1fb Feat: Add artificial.speech.capital link and remove sign-in icon 2025-10-01 07:00:57 -07:00