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
Add regular expression support to list of user agents to exclude #16766
Add regular expression support to list of user agents to exclude #16766
Conversation
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.
@nina-py Sorry for not coming back earlier. Was a bit busy with various other stuff for the 4.0 release 🙈
I've added another small note. Besides that there are a few tests failing. Some system test files need to be updated.
See https://travis-ci.com/github/matomo-org/matomo/jobs/448352173#L813 and https://travis-ci.com/github/matomo-org/matomo/jobs/448352172#L805
Regarding the UI tests. There are a few failing due to your changes. You can view the changes on our build artifacts server:
https://builds-artifacts.matomo.org/matomo-org/matomo/4.x-dev/43882/
It also displays a command that allows you downloading the changed files. But only add/commit those files that had been changed through your PR. Some tests are sometimes failing randomly.
When commiting UI file you need to have git lfs installed, as those files are stored on git lfs.
If you have problems with updating those files let me know, and I can do that for you.
@nina-py could you maybe merge in the latest changed from |
@sgiehl, there are some System tests that I need to update first, and go over the UI tests to see if any failures are relevant to changes in this PR. I'll get to it over the next couple of days! |
- 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
Hi @sgiehl, I've rebased the branch once again, updated the failing System and UI tests and finally most checks are green! The remaining three mismatched UI screenshots are not related to the changes in this branch. Please review. |
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.
Thank you @sgiehl! |
Thanks for another contribution @nina-py ! |
Description:
Global list of user agents to exclude
Closes #14186.
Review