Something went wrong. Try again.
Barazo AppView backend barazo.forum
Something went wrong. Try again.
feat(appview): add community rules system (#174) master
Three new tables: community_rules, community_rule_versions, moderation_action_rules. Rules are versioned -- editing a rule creates a new version row so historical warnings reference the original text. API endpoints: - GET /api/communities/:did/rules (public) - POST /api/communities/:did/rules (admin) - PUT /api/communities/:did/rules/:id (admin, creates new version) - DELETE /api/communities/:did/rules/:id (admin, soft-delete) - PUT /api/communities/:did/rules/reorder (admin) - GET /api/communities/:did/rules/:id/versions (admin) Includes 34 unit tests covering validation schemas and route handlers. Closes singi-labs/barazo-workspace#97
Author Guido X Jansen Committer GitHub Date (Mar 10, 2026, 12:28 PM UTC) Commit 9d4b685f 9d4b685f1ca99b28de3872ef0ab91e1b63f8514c Parent 1485e229 1485e229689e48b913f79495ea4472c30072896a