sojorn/go-backend/internal/handlers
Patrick Britton c6aa867b0c feat: implement comprehensive user appeal system
- Add database schema for violations, appeals, and ban management
- Create violation tiers (hard vs soft violations)
- Implement automatic violation detection and user ban logic
- Add appeal service with monthly limits and deadlines
- Create appeal handler for user and admin interfaces
- Add API routes for violation management and appeals
- Update moderation service to auto-create violations
- Support evidence uploads and appeal context
- Track violation history and patterns for ban decisions

This creates a complete user-facing appeal system where:
- Hard violations (hate speech, slurs) = no appeal
- Soft violations (gray areas) = appealable with limits
- Too many violations = automatic ban
- Users can track violation history in settings
- Admins can review appeals in Directus
2026-02-05 07:55:45 -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 feat: implement comprehensive user appeal system 2026-02-05 07:55:45 -06:00
auth_handler.go feat: notification system refinements and api route fixes 2026-02-04 10:51:01 -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