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
Adds INI setting to disable referrer spam blocklist #15744
Conversation
Added option to disable referrer spam blacklist.
Config parameter changed to enable_spam_filter.
Added option to disable spam blacklist.
global..ini.php updated in this branch,. previous PR closed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor suggestions for code improvements. Additionally it would make sense to also add that config check to the task that updates the spam list, as it's actually not needed when the list is not used at all. See
matomo/plugins/CoreAdminHome/Tasks.php
Lines 84 to 86 in 22cde64
if(SettingsPiwik::isInternetEnabled() === true){ | |
$this->weekly('updateSpammerBlacklist'); | |
} |
Co-Authored-By: Stefan Giehl <stefan@matomo.org>
Co-Authored-By: Stefan Giehl <stefan@matomo.org>
@john357smith are you able to add the config check also in the file I've mentioned in my previous comment, so the spamlist is not update automatically if not needed: matomo/plugins/CoreAdminHome/Tasks.php Lines 84 to 86 in 22cde64
|
Added check if spam filter is enabled.
File updated. |
@john357smith Thanks for updating and your contribution. Will be included in Matomo 4 👍 |
Added option to disable referrer spam blacklist.