sojorn/go-backend/internal/handlers
Patrick Britton 4eebd27e69 feat: implement Cloudflare Turnstile, terms acceptance, and email preferences
- Add Cloudflare Turnstile verification to registration flow
- Require terms of service and privacy policy acceptance
- Add email newsletter and contact preference options
- Update User model with email preference fields
- Create database migration for email preferences
- Add Turnstile service with Cloudflare API integration
- Update registration request structure with new required fields
- Add Turnstile secret key configuration
- Include development bypass for testing

Registration now requires:
- Turnstile token verification
- Terms of service acceptance
- Privacy policy acceptance
- Optional email newsletter/contact preferences
2026-02-05 08:59:05 -06:00
..
analysis_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
appeal_handler.go fix: remove unused variables in appeal handler 2026-02-05 07:57:21 -06:00
auth_handler.go feat: implement Cloudflare Turnstile, terms acceptance, and email preferences 2026-02-05 08:59:05 -06:00
backup_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
category_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
chat_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
discover_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
key_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
media_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
notification_handler.go feat: notify archive instead of delete, fix api domain failsafe 2026-02-04 19:38:02 -06:00
post_handler.go feat: implement comprehensive AI moderation for all content types 2026-02-05 07:47:37 -06:00
search_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -06:00
settings_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
templates.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
user_handler.go Implement social graph, circle privacy, and data export system 2026-02-04 16:19:05 -06:00
ws_handler.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00