-
-
Notifications
You must be signed in to change notification settings - Fork 751
Content Moderation, revamped UI, and new "open core" licensing for some features. #1388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Successfully merged the no-page-reloads branch with content-moderation. This merge combines: - Content moderation features (pending status, approve/decline) - No page reload navigation (PostDetails overlay on home page) - Updated dependencies (testify v1.11.1) - New UI improvements (welcome header, add idea button styling) Resolved conflicts in: - go.mod/go.sum: Updated testify version, kept stripe dependency - Home.page.tsx: Merged new UI with overlay navigation - ListPosts.tsx: Combined moderation indicators with click handlers - PostsContainer.tsx: Added onPostClick while keeping layout wrapper - ShowPost.page.tsx: Kept full implementation with moderation controls The merge preserves all moderation functionality while adding the PostDetails component for overlay navigation on the home page.
…into content-moderation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements a commercial content moderation system for Fider. It introduces a new billing model based on Stripe, adds user trust levels, and provides moderation capabilities for posts and comments.
Key changes:
- Migration from Paddle to Stripe billing with a simplified free/pro plan structure
- Addition of content moderation features requiring posts/comments approval from untrusted users
- Introduction of a commercial feature folder structure with dynamic imports
- Complete UI redesign for post display, home page, and voting interfaces
Reviewed changes
Copilot reviewed 215 out of 228 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| webpack.config.js, tsconfig.json, package.json | Add support for @commercial module alias and folder inclusion |
| migrations/*.sql | Database schema changes for moderation, billing, and user trust |
| scripts/generate_license_keys.go | New script to generate Ed25519 key pairs for commercial licensing |
| main.go | Import commercial modules after core to allow override patterns |
| public/models/*.ts | Add isApproved, isTrusted, isModerationEnabled, isCommercial fields |
| public/services/actions/*.ts | Add moderation API endpoints and remove old billing code |
| public/pages/Home/*.tsx | Major redesign with post overlay functionality |
| public/pages/ShowPost/*.tsx | Extract PostDetails component for reusability |
| public/pages/Administration/*.tsx | Update billing page, add moderation settings, refactor members page |
| public/components/*.tsx | Multiple UI improvements including VoteCounter, Avatar, Pagination |
| locale/*/client.json | Add empty translation keys for new moderation features |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Adds a workflow_dispatch workflow to build and publish PR Docker images with both amd64 and arm64 architectures on demand. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…into content-moderation
The static route was added but the directory wasn't included in the Docker build, causing the container to panic on startup. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
No description provided.