Enhance content moderation and admin panel features#109
Open
joan-code6 wants to merge 15 commits into
Open
Conversation
…rade - Fix sample rate: normal users now only reviewed when sampled, not always - Fix status downgrade: users now correctly return to 'normal' when violations age out - Add migration for missing database columns (review_status, violation counts)
- Add dedicated /banned page with violation history and appeal info - Redirect banned users to /banned instead of throwing 403 - Fix unban to properly clear isBanned flag - Add moderation stats dashboard, status filters, and quick actions to admin - Add ban/unban buttons with confirmation dialogs on user detail page - Improve admin navigation with tabs and breadcrumbs
Author
|
btw the contact mahad on slack thingy redierects to slack.hackclub.com which allows user which dont have slack to still reach you / join slack and get a tutorial |
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey mahad,
i have created a violation system that will help you dealing with nsfw and co.
The OpenAI api is free (but needs a active billing acc).
I also added a small Admin panel were you can manually ban unban and review violations.
For users with apps were everyone can use the AI they can activate the "strict" mode in the violations page.
This means every review will be reviewed before being send to the AI. If in that case a violation should get detected it wont count towards the generall violation limit and just return with a clear error (403 forbidden i think but dont take my word).
It follows this concept i made in slack:
Here are some screenshots from my local dev env