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

Configurable rules that automatically marks users as a spammer #10

Open
rafaucau opened this issue Dec 20, 2023 · 2 comments
Open

Configurable rules that automatically marks users as a spammer #10

rafaucau opened this issue Dec 20, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@rafaucau
Copy link

rafaucau commented Dec 20, 2023

Feature Request

Is your feature request related to a problem? Please describe.
We have a lot of spam daily and moderators needs to mark user as spammer manually. It would be nice to have a configurable set of rules that automatically marks users as a spammer when there are met.

Describe the solution you'd like
I can handle this in PR.
However, before I create a PR, I need to know whether the solution I am proposing is a good one and the PR is likely to be accepted. @imorland

A detailed description of your proposed solution.
Something similar to configuring Cloudflare rules.
Admin can add many independent rulesets. When admin ads a rule, it can have multiple checks:

  • post has links from specific domain
  • post contains specific text
  • user has post count less than n
  • user account is younger than n hours
  • user IP is x
  • etc...

There are 3 fields for each rule.

  • type: post content, user post count, user IP address, etc.
  • operator: contains, starts with, does not starts with, matches regex, less than, more than, equals, etc.
  • value

Frame 1

@rafaucau rafaucau added the enhancement New feature or request label Dec 20, 2023
@imorland
Copy link
Member

I think this is an excellent suggestion, and one that would be very welcome indeed!

@rafaucau
Copy link
Author

rafaucau commented Dec 23, 2023

It appears, though, that this PR will not be needed, because automoderator extension will be improved
https://discuss.flarum.org/d/33803-big-fofanti-spam-improvement-bounty/12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants