#5243 - Hooks for antispam services

  • By
  • Added
  • 10 views
Identifier #5243
Issue type Feature request or suggestion
Title Hooks for antispam services
Status Open
Handling member Deleted
Addon core
Description Instead of defining all our antispam checks for third-party services in antispam.php, refactor into new hooks.

Each hook, representative of a third-party spam service, should do / include the following:

* A function similar to check_for_spam which checks the third party website and calls handle_perceived_spammer_by_confidence when necessary
* An info function which defines responsible RBL domains for that service (when applicable, which causes the RBL checks in antispam.php to utilize the check_for_spam in the hook instead of the basic RBL implementation), privacy policy information, and hook priority of some sort (e.g. if we are checking / syndicating to Tornevall, it should disable checking / syndicating to Stop Forum Spam since SFS syndicates automatically to Tornevall)
* A function for syndicating spammers (if supported).

Spam syndication tick boxes should utilize these hooks.

syndicate_spammer_report should utilize the hooks.

Stop Forum Spam language strings should no longer mention Tornevall.

There should also be a new privacy hook, antispam.php . Refactor the antispam code from core.php into this new hook and include injecting privacy information from our spam hooks' info functions.
Steps to reproduce

Additional information See the comment at the top of antispam.php which shows some complexity here.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated