Commit Graph
100 Commits
Author SHA1 Message Date
multipleof4 263a4709f7 Refactor: Adjust hot sort gravity for 0-score posts 2025-10-03 19:12:41 -07:00
multipleof4 d41478c578 Feat: Display sub-specific logos in header 2025-10-03 19:03:19 -07:00
multipleof4 28e7182c24 Feat: Split header link for sub/main domains 2025-10-03 17:49:08 -07:00
multipleof4 5d3215a53f Refactor: Revert upvote arrows to SVG/text 2025-10-03 16:12:42 -07:00
multipleof4 835999b3e3 Refactor: Replace shield SVG with Lucide icon 2025-10-03 16:08:34 -07:00
multipleof4 4a7731705e Feat: Add CCTV icon and replace SVGs with Lucide 2025-10-03 16:08:30 -07:00
multipleof4 9c5b04530d Refactor: Update index.html 2025-10-03 16:04:49 -07:00
multipleof4 c2d627930d Refactor: Update submit.html 2025-10-03 16:04:44 -07:00
multipleof4 265d96c024 Feat: Add CCTV icon link to main site 2025-10-03 16:02:52 -07:00
multipleof4 8379c8556e Feat: Add CCTV icon link to main site 2025-10-03 16:02:01 -07:00
multipleof4 d3fb95b6be Feat: Implement moderation popover menu 2025-10-03 14:48:29 -07:00
multipleof4 52d87ca8c0 Feat: Implement wipe moderation actions 2025-10-03 14:48:25 -07:00
multipleof4 7a4fbb7204 Refactor: Use a single Turnstile widget for all comments 2025-10-03 14:33:34 -07:00
multipleof4 14e6537c4a Refactor: Loosen Gemini moderation to check for 'yes' 2025-10-03 14:31:29 -07:00
multipleof4 6c6e4c3414 Refactor: Loosen Gemini moderation to check for 'yes' 2025-10-03 14:31:27 -07:00
multipleof4 e0aca8ee7a Fix: Reset Turnstile CAPTCHA on failed submission 2025-10-03 14:10:59 -07:00
multipleof4 f83504a78a Fix: Reset Turnstile CAPTCHA on failed signup 2025-10-03 14:10:57 -07:00
multipleof4 b04832b3cc Fix: Reset Turnstile CAPTCHA on failed login 2025-10-03 14:10:55 -07:00
multipleof4 472f1efe36 Refactor: Reset Turnstile CAPTCHA on all comment attempts 2025-10-03 14:10:51 -07:00
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