Commit graph

29 commits

Author SHA1 Message Date
Patrick Britton 45a7655f88 fix: move ALTCHA challenge endpoints to correct router groups
- Move auth ALTCHA challenge to /api/v1/auth group
- Move admin ALTCHA challenge to root router before admin login
- Fix route registration issue where endpoints were not accessible
2026-02-16 22:40:26 -06:00
Patrick Britton a3fcfe67ab feat: replace Turnstile with ALTCHA for all authentication
- Add ALTCHA service with challenge generation and verification
- Update auth and admin handlers to use ALTCHA tokens
- Replace Turnstile widget with ALTCHA widget in Flutter app
- Update admin frontend to use ALTCHA token
- Add ALTCHA challenge endpoints for both auth and admin
- Maintain development bypass for testing
- Remove Turnstile dependencies from authentication flow
2026-02-16 22:18:29 -06:00
Patrick Britton cc312c7e9f fix: add development bypass for Turnstile verification
- Add development bypass to Flutter sign_in_screen.dart
- Re-enable Turnstile in admin_handler.go with dev bypass
- Add development bypass to admin login page
- Resolves login issues during development/testing
2026-02-16 22:00:49 -06:00
Patrick Britton c6b2d98454 fix/admin: remove turnstile UI from login page 2026-02-16 21:38:57 -06:00
Patrick Britton c1463256d2 fix: disable turnstile for admin login and troubleshooting 2026-02-16 21:18:05 -06:00
Patrick Britton 1de9997476 feat(auth): Add password reset functionality (backend + app + web) & enhance Turnstile integration 2026-02-16 13:06:00 -06:00
Patrick Britton ec7c9cf862 Switch Turnstile to managed widget on admin login 2026-02-16 12:30:45 -06:00
Patrick Britton aec14bc97d Harden admin login Turnstile flow 2026-02-16 12:24:20 -06:00
Patrick Britton e0fd5cea8c Fix Turnstile verification encoding and admin login diagnostics 2026-02-16 12:22:02 -06:00
Patrick Britton 416fbc6fc1 Fix Turnstile login using immediate credential refs 2026-02-16 12:11:32 -06:00
Patrick Britton 2d3d181e45 Fix invisible Turnstile login submit flow 2026-02-16 12:02:20 -06:00
Patrick Britton 10b0d45c3d Configure Turnstile with invisible mode and preclearance 2026-02-16 11:35:07 -06:00
Patrick Britton b04d10853b Fix upload by using API client with proper authentication 2026-02-16 10:26:13 -06:00
Patrick Britton 2622d0fb79 Fix upload authentication - add authorization header 2026-02-16 10:20:06 -06:00
Patrick Britton 619c629b6b Fix TypeScript error with proper typing 2026-02-16 10:15:32 -06:00
Patrick Britton 1facff9d2a Fix TypeScript error in image upload test 2026-02-16 10:14:36 -06:00
Patrick Britton e5640ac98c Add image upload functionality to AI moderation testing 2026-02-16 10:13:27 -06:00
Patrick Britton 4fcab45b83 Add Azure OpenAI integration - new service, admin UI, and backend support 2026-02-16 09:25:42 -06:00
Patrick Britton ae90efbfa0 Fix admin page model selection - connect dropdowns to actually save configuration 2026-02-16 09:18:53 -06:00
Patrick Britton e3a3157f5a Add image downloading and base64 conversion for OpenRouter vision models 2026-02-16 09:13:55 -06:00
Patrick Britton afe34159b5 Add disingenuous political content detection - misleading framing, out-of-context quotes, manipulated imagery 2026-02-16 08:43:09 -06:00
Patrick Britton db0ec65d60 Make political/medical misinformation detection mandatory for all images with step-by-step analysis 2026-02-16 08:40:48 -06:00
Patrick Britton a347ac26a3 Enhance image moderation to detect misinformation in text within images 2026-02-16 08:34:34 -06:00
Patrick Britton eb0c61f5fc Add AI moderation instructions field for custom guidelines 2026-02-16 08:25:19 -06:00
Patrick Britton 8e0a054a84 Redesign AI Moderation page - clean dropdowns, single engine selector, terminal-style test output 2026-02-16 07:58:32 -06:00
Patrick Britton e931c6cdb3 Fix: Sync testEngine with activeTab for Google Vision tests 2026-02-16 07:48:36 -06:00
Patrick Britton d5fc89b97a 2026-02-16 07:27:41 -06:00
Patrick Britton 4a97801080 cleanup: removed unused backup files and deprecated docker compose config 2026-02-16 07:10:57 -06:00
Patrick Britton 434937961c security: sanitized baseline for public release 2026-02-15 00:33:24 -06:00