Commit Graph

106 Commits

Author SHA1 Message Date
f83504a78a Fix: Reset Turnstile CAPTCHA on failed signup 2025-10-03 14:10:57 -07:00
b04832b3cc Fix: Reset Turnstile CAPTCHA on failed login 2025-10-03 14:10:55 -07:00
472f1efe36 Refactor: Reset Turnstile CAPTCHA on all comment attempts 2025-10-03 14:10:51 -07:00
effc5efdb9 Feat: Add inline image previews for link posts 2025-10-03 13:07:53 -07:00
43f35d95fc Refactor: Update index.html 2025-10-03 13:02:03 -07:00
2420eb79ab Refactor: Update posts.js 2025-10-03 13:01:25 -07:00
dd1dc4fe58 Refactor: Update [id].js 2025-10-03 13:01:22 -07:00
610c5f87d5 Refactor: Update admin.html 2025-10-03 13:00:24 -07:00
ad8ad8c09e Refactor: Update schema.js 2025-10-03 13:00:10 -07:00
bc4fa990ff Refactor: Update submit.html 2025-10-03 12:59:56 -07:00
8166507513 Feat: Add UI for selecting post type 2025-10-03 12:44:57 -07:00
cfd3419451 Feat: Display thumbnails for link posts 2025-10-03 12:44:53 -07:00
5c8e27f731 Feat: Select post_type for post detail view 2025-10-03 12:44:50 -07:00
6585359548 Feat: Handle post_type in posts API 2025-10-03 12:44:46 -07:00
de306ede14 Feat: Add schema v2 with post_type column 2025-10-03 12:40:52 -07:00
c942c9612e Feat: Add migrate to v2 button to admin UI 2025-10-03 12:40:48 -07:00
1589b73b28 Refactor: Merge subdomain and main site functionality 2025-10-03 11:41:17 -07:00
87e5e42f0a Feat: Add submit page from sub.speech.capital 2025-10-03 11:41:13 -07:00
6e229afc23 Feat: Display user posts on their profile page 2025-10-03 07:55:48 -07:00
5e6ff38f47 Feat: Fetch and return user's posts for profile 2025-10-03 07:55:46 -07:00
034aaf64c7 Feat: Add user profile pages and client-side routing 2025-10-03 07:47:30 -07:00
7435c6713c Feat: Add endpoint for user profiles 2025-10-03 07:47:28 -07:00
49a94f5775 Feat: Add server config check for API key 2025-10-02 15:32:38 -07:00
074149d38a Refactor: Add debug log for API key 2025-10-02 15:31:20 -07:00
4f0e84e9aa Feat: Add Gemini moderation for new posts 2025-10-02 15:02:32 -07:00
02f94fb09d Feat: Add Gemini moderation for new comments 2025-10-02 15:02:28 -07:00
0994c7c6e4 Feat: Add Turnstile and simplify login flow 2025-10-02 14:41:28 -07:00
b2bd80943e Feat: Add Turnstile verification to forms 2025-10-02 14:41:25 -07:00
954a577348 Refactor: Add Turnstile and login on signup 2025-10-02 14:41:22 -07:00
114aa13819 Feat: Add Turnstile verification to forms 2025-10-02 14:41:17 -07:00
6c18e5b674 Feat: Add Turnstile verification to forms 2025-10-02 14:41:14 -07:00
33e7cf09aa Feat: Add Turnstile verification to forms 2025-10-02 14:41:07 -07:00
094c717f5c Feat: Add ban check to user authentication 2025-10-02 13:46:19 -07:00
21df01d81b Feat: Add ban check and expose user_id for mods 2025-10-02 13:46:16 -07:00
3d082d0c54 Feat: Add ban check and expose user_id for mods 2025-10-02 13:46:11 -07:00
28c4d8806b Feat: Add moderation endpoint for delete and ban 2025-10-02 13:46:08 -07:00
6490ca0d93 Feat: Clear role cookie on logout 2025-10-02 13:46:04 -07:00
c34da04919 Feat: Add user role to auth cookie 2025-10-02 13:46:00 -07:00
aea1fedd22 Feat: Add ban check to user authentication 2025-10-02 13:45:56 -07:00
8284a46bec Fix: Add CORS headers to vote API 2025-10-02 12:43:47 -07:00
0b48f82ac0 Fix: Add CORS headers to comments API 2025-10-02 12:43:44 -07:00
6b326a5a7b Fix: Add CORS headers to post detail API 2025-10-02 12:43:41 -07:00
292b66832e Fix: Add CORS headers to posts API 2025-10-02 12:43:38 -07:00
da3f9806f4 Feat: Add vote POST endpoint 2025-10-02 12:37:03 -07:00
59a6d8faea Feat: Add comments POST endpoint 2025-10-02 12:37:00 -07:00
127426ae98 Feat: Add single post GET endpoint 2025-10-02 12:36:57 -07:00
5e9e75213f Feat: Add posts API with GET/POST 2025-10-02 12:36:54 -07:00
ad7138afd8 Refactor: Enable CORS for user auth check 2025-10-02 12:12:41 -07:00
d68e62e742 Delete: Replace with server-side function 2025-10-02 12:00:07 -07:00
3082970ced Fix: Use robust JSON helper for header handling 2025-10-02 11:54:35 -07:00