Age | Commit message (Collapse) | Author |
|
* Invalidate past archives on demand when adding/updating segments, rather than trying to check when running core:archive
* start on rewriting test
* rewrite SegmentArchivingTest and get to pass
* get sites as superuser
* add update to rearchive segments if they were created/update between last archive time and update time
* remove unused parameter
* fix build
* fix tests
* sanity check
* fix bug, we should not forget archives to invalidate unless all related archives are being invalidated
* fix tests and make fix more complete
* fix test
* update counts in test
* fix test for last time hopefully
* fix another test
* remove debugging code
|
|
|
|
(mostly for automation purposes). (#16991)
|
|
* Fix timezone issue when using magic date keywords
* improve readability
* use Date::factoryInTimezone
|
|
extra segments (#17148)
* use Rules method instead of getting stored segments directly
* fix some tests
|
|
tracking error (#17127)
* Custom tracking timestamp should return an integer to prevent HTTP 500 tracking error
Eg
```
curl -i -X POST -d '{"requests":["?idsite=1&rec=1&idgoal=21&apiv=1&_id=50d60fcd18ff0c7e&cdt=1610168419&revenue=0&send_image=0","?idsite=1&rec=1&idgoal=21&apiv=1&_id=50d60fcd18ff0c7e&cdt=1610168419&revenue=0&send_image=0"]}' http://your.site/matomo.php
```
Can trigger an HTTP 500 error when the request is authenticated (or when using a recent timestamp). That's because when for example A/B tests are configured, then it does a `Date::factory($request->getCurrentTimestamp))` where the timestamp is a `string` and thus the Date class would trigger an exception.
Making sure we return an integer will fix all possible uses.
* fix tests
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
* Show site selector as text only when only one site is available
* updates expected UI files
* hide site selector from header when there is only one website overall
|
|
* update SecurityInfo plugin to latest
* update expected files and fix regression
* fix test
|
|
* Ensure metadata is available if page url can't be found
* removes unused method parameters
* Adds some RSS tests
* Adds tests that throws exception on 4.x-dev
|
|
|
|
* Adds PHP CS with a basic config
* automatically check coding style for pull requests
* Disallow usage of eval & create_function and force using Common::safe_unserialize instead of unserialize
* Forbid inline control structures
* fix test
|
|
* Add tracking spam prevention plugin as a submodule
* update submodule
* fix some ui tests
* fix tests
* fix some tests
* update submodule
* update screenshots
* fix ui tests
* updates expected UI files
Co-authored-by: sgiehl <stefan@matomo.org>
|
|
add test. (#17081)
|
|
* Make admin menu collapsible
* updates expected UI files
* improve/fix menu ui tests
* update submodule
* updates expected UI files
|
|
|
|
* updates device detector to latest 4.1.0
* update expected test files
|
|
* Fix limited visits query when sorting ascending
* reactivate test for sorting visits ascending
|
|
|
|
QueueConsumer::shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress(). (#16996)
* Add unit test for QueueConsumer::shouldSkipArchiveBecauseLowerPeriodOrSegmentIsInProgress().
* move tests to integration
|
|
* Fix report documentation not shown when switching between related reports
* Adds report documentation for DevicesDetection reports
* Adds some more report documentations
* Adds documentation to Event reports
* Adds documentation to Content reports
* Adds documentation to VisitorFrequency report
* Adds documentation to Goals reports
* Adds documentation to VisitsSummary report
* fixes & test updates
* fix typo
Co-authored-by: Lukas Winkler <git@lw1.at>
* small tweaks to some docs
* revising some of the report documentation
* fix translation file
* updates expected test files
Co-authored-by: Lukas Winkler <git@lw1.at>
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
* 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
|
|
plugins (#16849)
* Don't accept files that are bigger than the upload limit when uploading plugins
* improve / simplify code
* adds some tests
|
|
* Limit max execution time of archiving queries to 2 hours
* Adds test for max execution time
* cast config value to float
* updates expected UI files
* update screenshots
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
* Assume hidden keywords to be available by default
* adds a simple system test
|
|
* Add imprint URL to Template.pageFooter
* Remove German translation
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
* Use timezone in period factory only for magic keywords
* add test
* use better timezone
* add non-timezone date
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
* Segment should not be double encoded when async climulti is unsupported.
* better fix for original bug, make sure request command sets query_string since it is used to get the segment
* remove use
* Use curl requests for core:archive in test.
* fix test
|
|
* Force new visit after 10K actions
* add test
* wording
* fix ui test
|
|
* Improve action id lookup fog segments
if no id can be found for a segment with the normalized value, try looking it up the the original value
* Adds UI test for opening vlog with outlink containing a &
|
|
|
|
|
|
|
|
* Update wikimedia/less.php dependency
* fix test
|
|
climulti:request command. (#16947)
* Apparently the segment needs to be double encoded when sent in the climulti:request command.
* add test
* add expected
* fix test
|
|
invalid (#16840)
* Show an error notification in UI when given date/period combination is invalid
* Adds UI test
* unify usage of date/period params from url/hash
* updates ui screenshots changed due to the lastindexof change
* use indexOf when searching for multiple values
* updates submodule
* Fix broadcast.getParamValue
* remove debug code
* Adds some simple tests
* improve ui test
* do not url decode as it breaks segmentation tests
|
|
(#16946)
|
|
(#16960)
|
|
* multi_server_environment setting now disallows config edits from Web UI
Turning the multi_server_environment setting on now hides the following
settings from the Administration -> Settings -> General settings page:
- Archiving settings
- Email server
- Trusted Matomo hostname
- Update settings
...so that users cannot set these separately on different instances of Matomo.
Fixes #14390.
* Added a note for multi_server_environment setting about shared filesystems
* - multi_server_environment now only hides email server settings from the general
settings page.
- Only making the release channel not writable in CoreUpdater->SystemSettings,
and leaving the other settings as before.
* Update UI test
Updated UIIntegrationTest_admin_diagnostics_configfile.png - with Git LFS
this time around.
|
|
* Remember if process ever started
This can potentially bring a performance improvement as I think sometimes the system would wait for 8 seconds before declaring a process as finished even if it finished after 1s.
What happens is in https://github.com/matomo-org/matomo/blob/4.0.5/core/CliMulti.php#L217-L222 it checks if the process has started by checking if the PID file exists.
However, the `RequestCommand` deletes the PID file as soon as the process finished to signal "it finished". That means when we check in that loop whether the process has started, it would think it hasn't started yet and simply continue until 8s have past and then it would set the process as finished. Vs we can simply remember that once we say once "the process has started" flag then we can always remember this.
I would assume this race condition would happen constantly unless I'm not seeing it right.
* fix test
|
|
* Improve scrolling of dialogs
Page will be frozen at the current scroll position and only the dialog will scroll (if too heigh for window)
* use $(window).scrollTop() instead of window.scrollY
* updates expected ui files
|
|
* Better detection for end of sharedSiteId queue
* simpler solution
* simpler solution
* use timstamp to detect reset
* use timstamp to detect reset
* add debug log message
* cast to int since we do a strict not equals
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
|
|
section (#16841)
* Fix unknown keyword is not shown in transitions report in seach engines section
* Add test so change will be visible there
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
(#16910)
* Only allow http/https requests by default
* ws
* improve config name
* fix typo
* updates expected ui file
|
|
* Add GTM install guide
* update screenshots
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
* use wikimedias less php
* fix some less related stuff
* fix expected test file
* updates expected test file
|
|
* Allow using last (week|month|year) as date param
* Adds some unit tests
* improve tests
* Make it possible to use last (week|month|year) for api requests
* improve test
|
|
|
|
* fix prepending a plus sign to evolutions
* updates expected test files
|
|
* Avoid inserting duplicates in invalidation table to reduce IO.
* Limit to given sites to not select too much.
* fix build
* tweaks to duplicate checking query
* more pr feedback
* fix cron archive test
|