diff options
author | Nina Pypchenko <22447785+nina-py@users.noreply.github.com> | 2021-01-01 08:13:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-01 08:13:19 +0300 |
commit | df68fbce2397570df2d5fee6c1b56db57241a10b (patch) | |
tree | 3951c42445243381d95452a7f1fd0b1aa194d52d /plugins/SitesManager/SitesManager.php | |
parent | 8886c9065cf11d5ac0628a300d9c55fb1e154853 (diff) |
Add regular expression support to list of user agents to exclude (#16766)
* Add regular expression support to list of user agents to exclude
- Added regex support to Administration -> Websites -> Settings ->
Global list of user agents to exclude
- Made sure old tests that use stripos() pass
- Added new tests
- Added a sentence to the inline help area about regex support
- Fixed a typo elsewhere as specified in the original issue.
Closes #14186.
Updated method and tests following code review
Update plugins/WebsiteMeasurable/MeasurableSettings.php
Co-authored-by: Stefan Giehl <stefan@matomo.org>
Update system tests
* Update screenshots for UI tests affected by the copy changes
Diffstat (limited to 'plugins/SitesManager/SitesManager.php')
-rw-r--r-- | plugins/SitesManager/SitesManager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/SitesManager/SitesManager.php b/plugins/SitesManager/SitesManager.php index fbf6af7278..8a40bc4a98 100644 --- a/plugins/SitesManager/SitesManager.php +++ b/plugins/SitesManager/SitesManager.php @@ -385,6 +385,7 @@ class SitesManager extends \Piwik\Plugin $translationKeys[] = "SitesManager_GlobalExcludedUserAgentHelp1"; $translationKeys[] = "SitesManager_GlobalListExcludedUserAgents_Desc"; $translationKeys[] = "SitesManager_GlobalExcludedUserAgentHelp2"; + $translationKeys[] = "SitesManager_GlobalExcludedUserAgentHelp3"; $translationKeys[] = "SitesManager_WebsitesManagement"; $translationKeys[] = "SitesManager_MainDescription"; $translationKeys[] = "SitesManager_YouCurrentlyHaveAccessToNWebsites"; |