Commit graph

24 commits

Author SHA1 Message Date
Patrick Britton 9f1dd857c4 fix: upgrade ALTCHA widget to v2.3.0 and rewrite component
- Upgrade from v0.5.0 to v2.3.0 (latest)
- Use dangerouslySetInnerHTML for proper web component rendering
- Add MutationObserver for reliable event binding
- Enable debug mode on widget to diagnose issues
- Simplify component API with onVerified/onError callbacks
2026-02-16 23:47:02 -06:00
Patrick Britton 2149a1e001 fix: add development bypass for ALTCHA on admin login
- Allow login in development mode without ALTCHA verification
- Use BYPASS_DEV_MODE token in development
- Keep ALTCHA widget visible but not blocking in dev mode
- This allows testing while we fix the challenge implementation
2026-02-16 23:35:47 -06:00
Patrick Britton 9f33cc1e8a fix: add TypeScript declaration for altcha-widget custom element 2026-02-16 23:29:19 -06:00
Patrick Britton d190afbd19 feat: add ALTCHA widget to admin login page
- Create Altcha component for admin frontend
- Add ALTCHA verification to login flow
- Disable login button until ALTCHA is verified
- Use admin ALTCHA challenge endpoint
2026-02-16 23:27:25 -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 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 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 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 434937961c security: sanitized baseline for public release 2026-02-15 00:33:24 -06:00