sojorn/go-backend/internal/models
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.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
appeal.go feat: implement nuanced violation system with content deletion 2026-02-05 07:59:35 -06:00
backup_models.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
chat.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
moderation.go feat: implement comprehensive AI moderation for all content types 2026-02-05 07:47:37 -06:00
notification.go feat(notifications): add actor_handle and navigation targets for deep linking 2026-02-04 12:52:16 -06:00
post.go Fix reaction JSON serialization - remove omitempty to ensure empty reactions are included as {} instead of null 2026-02-01 12:33:33 -06:00
session.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
settings.go Update terminology, fix search feed, and deploy updates 2026-02-03 21:44:08 -06:00
tag.go Update terminology, fix search feed, and deploy updates 2026-02-03 21:44:08 -06:00
user.go feat: implement Cloudflare Turnstile, terms acceptance, and email preferences 2026-02-05 08:59:05 -06:00