View Issue Details

IDProjectCategoryView StatusLast Update
0005243Composrcorepublic2023-01-14 21:26
ReporterPatrick SchmalstigAssigned To 
SeverityFeature-request 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0005243: Hooks for antispam services
DescriptionInstead 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.
Additional InformationSee the comment at the top of antispam.php which shows some complexity here.
TagsNo tags attached.
Time estimation (hours)4
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-01-13 22:09 Patrick Schmalstig New Issue
2023-01-13 22:12 Patrick Schmalstig Description Updated View Revisions
2023-01-14 21:26 Chris Graham Additional Information Updated View Revisions