Commit graph

17 commits

Author SHA1 Message Date
Patrick Britton 050fb89bfe fix: add test endpoint and fix ALTCHA route registration
- Add simple test endpoint to verify routing works
- Register both auth and admin ALTCHA challenge endpoints
- Use consistent routing pattern for both endpoints
2026-02-16 22:47:06 -06:00
Patrick Britton e1f32cec13 fix: move ALTCHA challenge endpoint outside rate limiting middleware
- Separate ALTCHA challenge from rate-limited auth group
- Register ALTCHA challenge directly on v1 router
- This should resolve the route registration issue
2026-02-16 22:44:17 -06:00
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 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 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 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 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 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