Skip to content
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

Content filter for profiles #269

Open
easafe opened this issue Aug 7, 2024 · 1 comment
Open

Content filter for profiles #269

easafe opened this issue Aug 7, 2024 · 1 comment
Assignees
Labels
user things related to user actions
Milestone

Comments

@easafe
Copy link
Member

easafe commented Aug 7, 2024

Add a black list or whatever to avoid slurs/sleaze/hate speech to be entered on profiles (i.e. tags, names, headlines, descriptions)

@easafe easafe added the user things related to user actions label Aug 7, 2024
@easafe easafe added this to the other milestone Aug 7, 2024
@Juggo0
Copy link
Contributor

Juggo0 commented Aug 10, 2024

We could source some kind of "bad word list", I'm not sure if including it in the codebase would create some kind of issues with github though.

Here's some random list I found: https://www.cs.cmu.edu/~biglou/resources/bad-words.txt
Tho, it even has words that are fairly tame(or just not really bad?), so it should probably be curated or something first.

Also, does merochat have any kind of user moderation code in place? I've looked around a bit and found nothing.
If not, then since these kinds of things are always a cat and mouse game, I'd suggest having a directory under src/Server that houses various types of auto mod functions for whatever we might need it for in the future.

Once we have those functions, we can just add them to the already existing systems.
Or, a slightly more complex way to do it would be to have some kind of filtration pipeline that runs on each of these systems, so in the future we only have add/modify things on the pipeline itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user things related to user actions
Projects
None yet
Development

No branches or pull requests

2 participants