friendsofflarum / anti-spam Goto Github PK
View Code? Open in Web Editor NEWEffective tools to manage spammers on your community.
License: MIT License
Effective tools to manage spammers on your community.
License: MIT License
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:
n
n
hoursx
There are 3 fields for each rule.
The admin settings page is showing up as empty with "This extension has no settings." and "This extension has no permissions." despite the extension having both. The permission for marking users as spammer does appear in the permissions configuration.
Perhaps this is a compatibility issue with PHP 8.2. We don't have this issue with any other extensions. Have tried clearing cache, running migrate, publishing assets, etc. multiple times.
Environment
Flarum core: 1.8.3
PHP version: 8.2.13
MySQL version: 11.2.2-MariaDB
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, ctype, dom, fileinfo, filter, hash, json, mbstring, pcntl, SPL, session, PDO, standard, posix, random, readline, Reflection, Phar, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, curl, gd, pdo_mysql, zip, Zend OPcache
+----------------------+---------+--------+
| Flarum Extensions | | |
+----------------------+---------+--------+
| ID | Version | Commit |
+----------------------+---------+--------+
| flarum-flags | v1.8.0 | |
| flarum-suspend | v1.8.1 | |
| flarum-tags | v1.8.0 | |
| flarum-approval | v1.8.1 | |
| fof-user-bio | 1.3.1 | |
| fof-sitemap | 2.2.1 | |
| fof-nightmode | 1.5.3 | |
| fof-filter | 1.1.3 | |
| fof-anti-spam | 1.1.2 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-mentions | v1.8.2 | |
| flarum-markdown | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-likes | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
+----------------------+---------+--------+
Base URL: https://discuss.grapheneos.org
Installation path: /opt/flarum
Queue driver: sync
Session driver: file
Scheduler status: Active
Mail driver: smtp
Debug mode: off
Is your feature request related to a problem? Please describe.
As far as I can tell, in order to be able to check new registrations against the StopForumSpam database, you currently have to send that sign-up information to a server and check. This poses a privacy issue and makes it a non-workable solution for our community (discuss.grapheneos.org).
Describe the solution you'd like
Would it be possible for the checks to be done in an offline manner where the database is downloaded and checked against instead of sending information to an online service?
Describe alternatives you've considered
The current way we do things is by banning specific keywords that are commonly used by spam accounts and manually getting rid of them, but being able to benefit from the database would be a tremendous help to our community.
We don't give most moderators access to permanent deletion since it's unnecessary and can result in mistakes that cannot be undone. Our moderators do make mistakes, and it's common to need to undo a ban. The same thing is going to apply to use of the spammer action. Anti-spam currently always provides these permanent deletion options. Our moderators find it confusing and we'll have to tell each one not to enable the options, which is a lot harder than just explaining to use the spammer action. This seems like an oversight since there's meant to be a permission for this and it can be bypassed through this extension.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.