sojorn/go-backend/internal/models
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.go Initial commit: Complete threaded conversation system with inline replies 2026-01-30 07:40:19 -06:00
appeal.go feat: implement comprehensive user appeal system 2026-02-05 07:55:45 -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 Update terminology, fix search feed, and deploy updates 2026-02-03 21:44:08 -06:00