Age | Commit message (Collapse) | Author |
|
* Copy download plugin to all plugins directories including MATOMO_PLUGIN_DIRS
* Use MATOMO_PLUGIN_COPY_DIR env and Global
* Remove unused import
* Copy plugin only to one directory
* Check $GLOBALS['MATOMO_PLUGIN_COPY_DIR'] in both cases
|
|
tables refs #14535 (#14584)
|
|
|
|
* Truncate very long useragents to prevent possible tracking slowdown
* use Common::mb_substr
|
|
|
|
|
|
* add tour update
* adjust file name
|
|
|
|
* Provide methods to force the update of tracker caches
* delete tracker cache more often
* delete only needed cache
* invalidate cache when hosts change
|
|
|
|
* Fix error number is detected wrongly
Eg when the error is `Error query: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry`, it would detect 2300 instead of 1062.
fix DEV-1683
* Update Mysqli.php
same behaviour as for regular DB
* reuse same code
|
|
* Use ranking query on userid reports.
* Fix test ordering on travis.
* Use existing userid row limit config option and deal w/ ranking query summary row which is not treated as datatable summary row.
* update system test
* another test update
* Add order by to get test to pass.
|
|
|
|
|
|
* Add INI config option and add tests.
* Detect expired sessions.
* Update config docs.
* Apply review feedback including storing expiration in session fingerprint.
* fixing tests.
* fix unit tests
* fix test
|
|
(#14465)
* Use query params to add goal processed metrics instead of filter directly.
* Fix goal validation for filter_update_columns_when_show_all_goals param.
* Fix another test.
|
|
(#14471)
* Do not do unprocessed segment check if within archiving process, since it is not for the main HTTP request.
* Add more explanation to the comment.
|
|
* Show each dimension as seperate column in html tables for flattened reports
* set default columns
* rename first dimension column for flattened reports to label
* modify rows right before rendering to prevent plugins to overwrite the displayed columns again
* Use datatable config to allow splitting dimensions into separate columns
* Hide datatable option if report has only one dimension
* ensure to add only needed metric dimensions
* adds ui test
* reorder datatable options
* Add additional columns before generic filters are applied to make sorting of those columns possible
* Improve table layout with multipe label columns
* show logo only in first column
* Add new metadata so the original combine label is still available for row actions
* improve check for multiple lables
* show row action always in last label column
* updates UI file
* fix Others handling for flattened reports
* ensure label translation is set correctly
* show concatenated dimension names as flatten report label
* search combined labels in flattened tables showing dimensions separately
* more ui tests
* fix handling of summary row for concatenated dimensions
* updates expected test files
* fix insights layout
* fix realtime visits table layout
* fix ui tests
* ensure dimensions have correct display order
|
|
they are still selected (#14507)
|
|
(#14469)
* If no pivotBy column is specified, make sure when getting first column in table to find associated metric index value.
* Fix copy-paste fail
|
|
|
|
(#14347)
* Console: invalidating reports with segment based on custom Dimensions fails
refs https://github.com/matomo-org/matomo/issues/14344
When idSite/idSites is used as a parameter, we need to make sure to use `Request::processRequest` otherwise event listeners cannot get the idSite through `Common::getRequestVar`.
* Make sure to fetch all segments
* Do not use any parameters from original request
* update submodule
* Update submodule.
* Update submodule (test for fix in this PR) + couple doc tweaks.
|
|
* Let controllers specify what type a view to be rendered is, so it is not always assumed based on controller type.
* Check the view type.
* Do not modify @api methods.
* tweak comment
|
|
fix #13628
For not writable directory it generated eg this:
```
chown -R foo:localaccounts /var/www/matomo
find /var/www/matomo/tmp -type f -exec chmod 644 {} \;
find /var/www/matomo/tmp -type d -exec chmod 755 {} \;
```
for auto update it also adds execute permission for `console`
```
chmod 755 /var/www/matomo/console
```
Not sure if any other file needs permission to execute? Couldn't think of any right now. Of course the find commands above they don't change the permission of any symlinks or so. Not sure what users possibly have in there and if it could create some issue. Could extend the find command to something like `-type f or -type l`.
Also generally not sure if `find` is compatible like this on all *nix.
@Findus23 maybe any thoughts?
|
|
fix #11029
|
|
expressions. (#14425)
* Ignore variables that start w/ @ when auto-detecting tables in segment sql expressions.
* Add test & fix
* Make sure column detection excludes decimal numbers.
|
|
input. (#14023)
* Allow throwing exceptions for HTTP error codes to better check query param input.
* Add multiple period checks to visualizations.
* Forgot to add files.
* apply review comments
* Make sure code is set when using HttpCodeException.
|
|
* Use NumberFormatter to format metric values
* fixing tests
* update test files
* load translations for tests as otherwise number formatter fails
* updates expected UI files
* ensure correct number of minimum fraction digits
* update tests
|
|
schedule. (#13832)
* Allow period used to generate scheduled report to be different from email schedule.
* Apply review feedback.
* Add quick test.
* Update UI tests, fix for random failure.
* Update expected screenshot.
|
|
|
|
* Make sure xss entries is always an array.
* Update expected test files and submodule.
* Regenerate broken omnifixture dump.
* poc conversion to chrome headless for UI tests, single test works locally
* Get single test to pass on travis & local w/ headless chrome.
* Remove old diff viewer generation, and get output to look the same as before when there is a failure.
* Add global timeout & get ViewDataTableTest to pass.
* Convert BarGraph_spec.js.
* Convert EmptySite_spec.
* Update EvolutionGraph spec for chrome headless.
* Convert GoalsTable test & find/replace for common changes.
* Convert MeasurableManager.
* Another find & replace.
* Get Menus/OptOutForm to pass w/ chrome headless
* Convert PeriodSelector, PieGraph & PivotByDimension UI tests.
* undo unrelated debugging change
* Convert QuickAccess UI tests
* Converts ActionsDataTable UI tests
* reset viewport after each testsuite
* Converts RowEvolution UI tests
* Converts Theme UI tests
* Converts SiteSelector UI tests
* Converts CustomVariables UI test
* Converts DBStats UI test
* Ignore empty responses when calling api/controller
* Converts Dashboard UI tests
* Converts Live UI tests
* Converts SimpleUI tests
* Converts Installation UI tests
* Converts ImageGraph UI tests
* Converts Login UI tests
* Converts Marketplace UI tests
* Converts Insights UI tests
* Converts ReportExporting UI tests
* Converts UIIntegration tests
* Updates ViewDataTable UI tests
* Converts CoreUpdater UI tests
* Converts UsersManager UI tests
* Converts Morpheus UI tests
* Converts MultiSites UI tests
* Fix testEnvironment.callApi handling of array parameters
* Converts Overlay UI tests
* Converts PrivacyManager UI tests
* Converts ScheduledReports UI tests
* Converts SegmentEditor UI tests
* compare pixel difference in images
* Converts PeriodSelector UI tests
* allow a pixel difference
* Converts SingleMetricView UI tests
* Converts SitesManager UI tests
* Converts Transitions UI tests
* Converts MeasurableManager UI tests
* Move Mouse out of screen after each test suite
* Converts PieGraph UI tests
* Ensure cursor is not shown in focused input elements
* Converts VisitorMap UI tests
* Converts CustomLogo UI tests
* Converts BarGraph UI tests
* Converts EvolutionGraph UI tests
* Converts IntranetMeasurable UI tests
* Converts TrackingFailures UI tests
* Converts CampaignBuilder UI tests
* Converts TagManagerTeaser UI tests
* fix request url rewrite for changed port
* Converts TwoFactorAuth UI tests
* do not print full responses in logs, but size instead
* improve additional style injection
* use submodule branches
* fix request interception
* update dependencies
* [TEMP] disable dangerous link checks
* [TEMP] limit tests
* Use puppeteer@next and make sure diffs get uploaded properly.
* Use correct fs function.
* Allow timeout to be specified on command line for UI tests and debug console logs.
* timeout option tweak
* Setup diff dir once before running tests not before each suite.
* fix last commit
* Update screenshots and fix some specs.
* Convert some tests that were not converted during merge.
* updating screenshots
* Updating screenshots and fixing some tests.
* more test fixes
* couple more test fixes
* More test fixes and plugin updates.
* wait for jquery
* Fix some screenshots and tests.
* more test fixes
* debug travis test failure
* remove .only
* more test fixes and updated expected files
* another test fixing iteration
* typo
* another quick test change
* more tests updates
* Test fixes and & more debugging.
* more debugging and test fixes
* more fixes and debugging.
* remove .only
* Another round of fixed tests.
* more debugging & fixes
* more test changes
* more debugging and fixes
* Fixing more tests + some bug fixes.
* Couple more fixes.
* Couple more fixes.
* Fixing tracking failures test
* more fixes
* Last couple fixes hopefully.
* couple more test fixes
* more fixes, bug fix in usersmanager, some test updates
* Some more test fixes/changes.
* more and more fixes
* hoping for a green build
* Do not compare against existing files in dashboard_spec.
* more fixes, re-enabling travis
* really re-enable travis
* Install puppeteer on travis-ci.
* more fixes
* try to fix random failues
* remove return
* Convert some login tests I forgot and update UsersManager expected file
* Fix test for primary key update
* Update AddPrimaryKey.php
* More test fixes + implement synchronous comparison threshold (so no resemblejs)
* More wait fixes + reset token detection fix.
* couple more fixes
* Fix login/overlay screenshot issue & magick command running issue.
* identify is the executable on travis (hopefully) + fix some random failures
* Another run.
* Last fix.
* two more tweaks
* typo
|
|
* fixes #13742
* add explaining text
* minor tweak as in past we had sometimes trouble accessing Config::getInstance()->General['custom_cacert_pem'] directly on some systems
shouldn't be an issue anymore, but better be safe.
|
|
* Do not create request to validate license in tracker mode
fix https://github.com/matomo-org/matomo/issues/14401
* be a bit more specific we assume license is not missing in tracker mode
|
|
I added a ctype_xdigit test to 100% prevent injections but then noticed the tests use also some other letters. Could restrict the preg_match to `a-f` but using `A-Z` makes the tests a bit more readable and is as safe
|
|
* Purge archives for deleted sites and segments
* Purge archives for deleted sites and segments
* Add new purgeOrphanedArchives task to expected list
* Fix build
* PR improvements
* Fix consistency of method names
* Fix typo
* Unit tests for getSegmentHashesByIdSite
* PR changes
* add note on how to test the command
* minor tweak to make sure no injections are possible
|
|
* CronArchive: Catch UnexpectedWebsiteFoundException
This is to allow the archive to continue if the site was deleted from matomo.
Fixes #14393
* Update CronArchive.php
|
|
* Adds new ViewDataTable.configure.end event after params have been overwritten by saved settings and query params
* changelog
|
|
|
|
|
|
* Fix timezone bug in PHP tracker archive invalidation
* Reset timezone after each unit test
* Fix timezone issue in unit test
* More elegant method for getting midnight in UTC+5
|
|
|
|
* Add enable_sql_profiler setting to Tracker
* Adjust message
@simivar fyi removed the need for `[log]` as it should be 99% enabled. It's just important they also enable tracker debug.
|
|
* Query and show all product categories not just the first in the visitor log.
* Fix SQL + processing
* Allow XML renderer to render array of simple values.
* Add unit test for xml renderer.
* Add second product category to fixture, update test files and update omnifixture.
* Update some expected test files.
|
|
|
|
* require TwoFA to be verified before updating code base
fix https://github.com/matomo-org/matomo/issues/14251
* Remove part ofcomment
|
|
* Strip HTML tags in API error messages
* check if root request is api request
* fix some tests
|
|
|
|
|
|
|
|
* fix condition
* NullHandler must be end of writer array to allow other handlers to handle the message (since it seems to stop bubbling).
* Do not do php eol check during tests.
* Just in case.
* try to fix the build
* Add screenshot.
|