Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-07invite user replace add user (#18868)Peter Zhang
* draft vue version draft vue version * built vue files * update some functions update some functions * Update API.php update wording * move some validation move some validation * built vue files * update some structure update some structure * update validators update validators * update some changes update some changes * update invite update invite * add status add status * built vue files * add invite page add invite page * add invite page add invite page * add some api back add some api back * Update UserRepository.php update tests * update all xml in the tests update all xml in the tests * update tests update tests * update tests update tests * Update LoginLdap update tests * Update UsersManagerTest.php update tests * update tests update tests * Update APITest.php update tests * Update UserInviteEmail.php fix cs * update cs update cs * Update SessionAuthTest.php update tests * update tests error update tests error * Update UserRepository.php remove unused * update tests update tests * update user tests update user tests * update tests update tests * Update API.php update tests * built vue files * Update OmniFixture-dump.sql update tests * update validator update validator * built vue files * update tests and screenshots update tests and screenshots * update test xml update test xml * update user total size update user total size * update tests update tests * built vue files * update tests and test user email update tests and test user email * update tests update tests * built vue files * update tests update tests * update ranking in screenshots update ranking in screenshots * update test update test * update tests change the table list order * Update UsersManager_spec.js update tests * update tests update tests * built vue files * update tests update tests * update tests update tests * update tests update tests * adding login tests adding login tests * update tests update tests * Update UsersManager_resend_popup.png add screenshots * Update PendingUsers.php update error of model * update tests update tests * Update UserInviteTest.php update tests error * update set up for pending user should be pending user * update screenshots update screenshots * update wrong password check update wrong password check * Update Invite_wrong_password.png update password * update to 4.10 update to 4.10 * Update ReportParameters.vue remove un used element * update vue file update vue file * hide password on invite user hide password on invite user * built vue files * built vue files * Update UserEditForm.vue update password condition * built vue files * update condition on pending user update condition on pending user * built vue files * update screenshots update screenshots * update bugs update bugs * built vue files * add expired status add expired status * fix php cs fix php cs * update vue error update vue error * built vue files * add decline interface add decline interface * update all the user status update all the user status * built vue files * update tests xml for invite status update tests * fix phpcs fix phpcs * update migration number update migration number * update tests email update tests email * update screenshot tests update screenshot tests * update tests update tests * update screenshots * update screenshots update screenshots * Update Invite_wrong_password.png update screenshots * update status update status * update tests update tests * update tests update tests * Update TwoFactorAuthUsersManager_spec.js update tests * Update TwoFactorAuthUsersManager_spec.js update tests * update tests update tests * update lang update lang * update some errors update some errors * update screenshots update screenshots * update ui tests and resend invitation update ui tests and resend invitation * fix resend fix resend * built vue files * update screenshots update screenshots Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
2022-05-31Goals per page - new reports and metrics for tracking page conversions (#18221)Ben Burgess
* Goals per page - added new reports and metrics for tracking page conversions * Added top entry page statistic, added entry titles related report, adjusted percent formatting * Added datatable filter to remove goal revenue columns if there are no values, refactored goal visualisation classes to minimise duplicate methods * Fixed conversion query matching issue * Added system tests for page goals reports, rework of metrics and SQL to match expected calculations * Added UI tests * Remove unnecessary code, merge system tests * Fix for archiving query error on MySQL * Fix for query to work with MySQL 5.7 * Update core/API/DocumentationGenerator.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Revert unnecessary DocumentationGenerator change * Fix incorrect row limit config setting names * Remove special handling of pages reports * Update plugins/Goals/Visualizations/GoalsPages.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/Goals/Visualizations/GoalsEntryPages.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Tidy up visualization classes * Fix for sorting * Remove unnecessary columns from reports, fix tests * Add new visualizations to Javascript checks * Add BasePages parent report class to deduplicate new reports * Reworked to add per-goal metric columns to the Actions_action and Action_action_url archives instead of generating separate page goal archives * Added a filter to remove goal columns from Actions datatables by default and an optional parameter to include goals columns * Improved remove goals actions filter to recurse subtables, get goals list for site * Test fixes * Move page goal metrics to nested column structure on actions and actions_url archives * Fixes and updates for apiGetReportMetadata tests * Test fixes * Test fixes and updates * More test updates * Bug fix for entry page incorrectly aggregating data from different goals * Backwards compatibility test fixes * Test fix * Update submodule * Updated tests * Updated tests * Updated test * built vue files * Force sorting of scheduled reports list by unique id to avoid sorting inconsistencies between PHP7 and PHP8 tests * Updated tests after sorting scheduled reports list * Updated tests * Test fixes * Skip specific tests that pass with PHP7 but fail with PHP8 * Test updates * Test updates * UI test screenshot updates * Slightly increased reasonable release total filesize test from 55mb to 56mb * Test fix * Disable test for PHP8 * Update submodule * Update submodule * Test updates * Revert test changes * Predictably sort scheduled reports * Disable failing test for PHP 8 * Updated tests after conflict fix * Update tests after conflict fix * Update submodule * Revert unnecessary change * Rework to use a single goals visualisation and show goal metrics directly on the action page reports * Update UI tests * Update tests, fix for goals menu ordering issue * Update tests * Revert goal overview menu item ordering * Do not add goal metadata to actions reports when the includeGoals API parameter is set to false * Updated unit and UI tests * Update UI tests * Update submodule * Update submodules * Code improvements, handle ecommerce metrics for page goals, remove obsolete test expected xml files * Remove unnecessary row properties after use * fix phpcs * Improve & refactor code * Update system test * Tweaked release reasonable size test from 55mb to 58mb to prevent test failure * Update submodule * Update system test * Update UI test screenshots * Update UI test screenshots * Update submodule * Update UI test screenshot * update submodule * test improvements * updates expected UI files * fix removing unused revenue columns from UI * applies some psr12 code formatting * Minor query optimisations * Rework the conversions by pageview query to remove subquery and all grouping, add aggregation in code * Test fixes, null checks for revenue metrics * Expanded goal page tests to cover multiple goals converted in a single visit * Updated UI test screenshots * Expanded test to be multi-day, multi-goal, multiple conversion per visit. Fixed summary logic for multi-goal visits. Fixed calculation of viewed before page rate to get conversion total via API call * Update system and UI screenshot tests * Added method return type hint, ensure request parameters are blank on Goals.get filter API call * Retrieve conversion totals from numeric archives directly instead of via API call * Move goal conversion totals lookup from the CalculateConversionPageRate filter to the Actions API and then pass to the filter * Tidy up unused namespaces * Revert move of goal conversion total retrieval from filter to actions api. Included segment in archive build for goal conversions totals. * fixes: date might be manipulated too often * updates expected UI files * avoid building archive too often * updates expected test files * fix ui tests Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: bx80 <bx80@users.noreply.github.com>
2022-05-24Show sparkline evolution figures for visits, goals and ecommerce overviews ↵Ben Burgess
(#19057) * Add evolution to sparklines on the visits overview and the goals overview * Add evolution to sparklines on the ecommerce overview * Updated UI test screenshots * Update submodule * Fix for tooltip date formatting, improved translation lookup and callback method extra parameter documentation * Sparklines API calls modified to return unformatted values, formatting added to the sparkline visualization and overview reports * update submodule * Updated inherited method signature * Code improvements, added forcedParams parameter to ViewDataTable / Visualization loadDataTableFromAPI methods * Revert change to loadDataTableFromAPI method signature in ViewDataTable and Visualization classes * Remove incorrectly added file * Improve international handling of plus symbol in ecommerce overview template * Always use gigabytes when formatting byte values for evolution charts * update sumbodule * built vue files * System test updates * UI test screenshot updates * Update submodule * Test fix * Test fixes * Update system tests * Rerun tests * Fix for unformatted metrics when comparing * Update UI test screenshots for sparkline comparisons * apply some fixes * Update submodule Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2022-05-23remove outdated dump urlStefan Giehl
2022-05-17Compatibility fixes for PHP 8.1 (#19143)Stefan Giehl
* Update .travis.yml * fix php 8.1 deprecation notices * Revert "run report tests on any PHP version (#18666)" This reverts commit ec58ab4606cbc6c7f7c3a7aa7f1e9cc5a88e5dfb. * apply PSR12 code formatting * fix deprecation notice * try to fix test * fix frontcontroller test * Clearing output buffers with enabled output compression makes problems on some PHP versions * Set the mysqli error reporting to none, to prevent possible problems on PHP 8.1
2022-05-17MultiSites: move getAllWithGroups method from Controller to API (#19180)Stefan Giehl
* MultiSites: move getAllWithGroups method from Controller to API * update test files * updates expected UI files * mark method as not compatible with multiple periods
2022-05-06Add support to exclude hosts from proxy (#19139)Jürgen Thomann
2022-05-02Rename MenuDropdown component to MenuItemsDropdown to finally avoid any case ↵Stefan Giehl
mismatches (#19156) * Rename MenuDropdown component to MenuItemsDropdown to finally avoid any case mismatches * built vue files Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2022-04-22increase release test size (#19121)Peter Zhang
increase release test size from 56mb to 58mb
2022-04-14Move guessing location country by provider to default location provider (#19085)Stefan Giehl
* Move guessing ocation country by provider to default location provider * Adds test * fix tests
2022-04-12Remove invalid hosts tracker settings cache (#19021)Sam
* remove invalid host tracker settings cache * only check ini cache file if it exists * Revert "remove invalid host tracker settings cache" This reverts commit 88ec3b9d37517bfa290ea31022ecc423c8273ab5. * check host structure before cache init * fix tests - removing original file isn't necessary for test * apply PSR12 code formatting Co-authored-by: sgiehl <stefan@matomo.org>
2022-04-11[Bug]fix prefilght cors OPTIONS request record in the action visits (#19030)Peter Zhang
* extend request with options and method when options header and method is options do not record in the database. * update function update function * update tests update tests * update tests adjust code only trigger on option request * remove class variable remove server * Update Request.php add check request method * drop option request drop prefight request * update reset update reset * return 204 on prefight return 204 on prefight * Update Tracker.php accept cors * fix typo & add type hint * Update core/Tracker/RequestSet.php * apply PSR12 code formatting * adds test Co-authored-by: sgiehl <stefan@matomo.org>
2022-04-11Add the request hostname to error & exception logs (#18996)Sam
* Add the hostname to the tracker exception log so multi-tenant domains are easier to debug * Add hostname to error log to help with debugging * use Url::getHost and add method to Url class instead * apply PSR12 code formatting Co-authored-by: sgiehl <stefan@matomo.org>
2022-04-05Remove unneeded code (#18705)Stefan Giehl
2022-04-01Clear general cache less often when launching the archiving (#19000)Thomas Steur
* Clear general cache less often when launching the archiving * invalidate only when needed * optimise clear general cache * better naming * try better approach * simplify * simplify further
2022-03-30[Vue] standardize use of v-html with ReleaseChecklistTest (#19020)dizzy
* modify v-html use * exclude node_modules from watch command * force use of $sanitize w/ v-html through test + replace existing missing uses * update tagmanager submodule * remove accidental git add Co-authored-by: sgiehl <stefan@matomo.org>
2022-03-30Update ReleaseCheckListTest.php (#19022)Peter Zhang
increase release size by 1mb
2022-03-28Fix issue where date ranges might include too many subperiods (#18995)Stefan Giehl
* Fix issue where date ranges might include too many subperiods when including a magic keyword and a timezone * more tests
2022-03-26Add Two New segments (#18953)Peter Zhang
* add order revenue add order revenue * add order revenue update * Update DimensionTest.php add 2 tests * update cart update cart * update errors update errors * update segment, and add tests update segment, and add tests * update query on cart left in cart update query on cart left in cart * update tests update tests * Update Revenue.php update type * Update test_apiGetReportMetadata__API.getSegmentsMetadata.xml update tests * Update Revenue.php update * Update Revenue.php update checks * Update Revenue.php group into functions * Update Revenue.php update * Update Revenue.php update and * Update test_ecommerceOrderWithItems_SegmentRevenueOrder__Goals.get_day.xml update tests * Update Revenue.php update support type * Update Revenue.php update wrong variable * tests Co-authored-by: sgiehl <stefan@matomo.org>
2022-03-24Started renaming dimensions and segments with Server time to Site Time/Time ↵Altamash Shaikh
in UTC (#18956) * Started renaming dimensions and segments with Server time to Site Time/Time in UTC * Fixed test cases * Fixed testcases * Updated testcases * fix test cases * Updated test cases * Reverted segment name update change * Removed unwanted test case files created due to segment name change * Updated test cases * Revert adding unneeded test files * Updated translation key name from Site to UTC * update submodules Co-authored-by: sgiehl <stefan@matomo.org>
2022-03-18fix testsgiehl
2022-03-17Knowledge base discoverability improvements (#18944)Justin Velluppillai
* kb discoverability improvements * Made search placeholder translatable * Updated expected test * restore dist files * built vue files * Updated expected test * Update expected tests * More contrast in placeholder * updated UI tests Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com>
2022-03-15[automatic Intl data updates from CLDR 40.0.0] (#18943)github-actions[bot]
* Updates Intl data from CLDR 40.0.0 * fix tests * Handle date formats b and B as a Co-authored-by: sgiehl <sgiehl@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org>
2022-03-15[Vue] make sure chunk assets can be removed (#18929)dizzy
* make sure chunk assets can be removed * try to fix test * another attempt at a fix
2022-03-11[automatic composer updates] (#18923)github-actions[bot]
* updates composer dependencies * updates expected test files Co-authored-by: sgiehl <sgiehl@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org>
2022-03-11Fix PHP8 Trim Error (#18903)Ben Hayden
* Fix PHP8 Trim Error An error happens if sites if names or skus are arrays in PHP 8 > Uncaught exception in core/Tracker/GoalManager.php line 567: > trim(): Argument #1 ($string) must be of type string, array given * Add unit test for PHP8 trim fix
2022-03-10[Codingstyle] Disallow unused use statements (#18520)Stefan Giehl
* Forbid unused use statements * Fix some incorrect classnames * fix tests * remove unused use statements
2022-03-09Merge RC patches back to main branch (#18901)Justin Velluppillai
* Update version to 4.8.0-rc1 * Fix possible warning in Url::isValidHost (#18887) * Handle case only file name updates on case insensitive file systems (#18865) * Added unit test for case-sensitive unlink * Use case-insensitive comparison in directoryDiff() if a case-insensitive filesystem is detected * Fix misleading method name * Update tests/PHPUnit/Unit/FilesystemTest.php Co-authored-by: Justin Velluppillai <justin@innocraft.com> * Update tests/PHPUnit/Unit/FilesystemTest.php Co-authored-by: Justin Velluppillai <justin@innocraft.com> Co-authored-by: Justin Velluppillai <justin@innocraft.com> * Update version to 4.8.0 (#18893) Co-authored-by: Stefan Giehl <stefan@matomo.org> Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com>
2022-03-08Prevent archiving of data for time periods that start in the future (#18790)Ben Burgess
* Prevent archiving data later than today instead of today + 2days * Added archive test to check that periods that start in the future are not archived * Allow for local time being a day ahead of UTC when skipping archive ranges * Added test for website with local time in the previous day from the current UTC time
2022-03-08[Marketing]adding help link or search tracking campaign params (#18601)Peter Zhang
* update vue and twig and php functions update vue and twig and php functions * Update helpLink.ts update regular expression * built vue files * update xml update xml * update some place update some place * add tests and group all into one javascript add tests and group all into one javascript * Update HelpLink.vue update vue build * built vue files * update some style and xml fixes update some style and xml fixes * built vue files * Update FrontControllerTest.php update exception error * Update FrontControllerTest.php update tests * Update FrontControllerTest.php remove all the line numbers * update to hardcode campaign params update to hardcode campaign params * built vue files * add mtm_keyword add mtm_keyword * update tests update tests * built vue files * Revert "update tests" This reverts commit 493482872facd9086f0daf9dd4c8c4701024b28e. * update xml update xml * built vue files * built vue files * Update plugins/Feedback/templates/index.twig Co-authored-by: Justin Velluppillai <justin@innocraft.com> * Update plugins/Feedback/templates/index.twig Co-authored-by: Justin Velluppillai <justin@innocraft.com> Co-authored-by: peterhashair <peterhashair@users.noreply.github.com> Co-authored-by: Justin Velluppillai <justin@innocraft.com>
2022-03-07Fix regression in plugin order determination, new param keepUnresolved is ↵dizzy
not used in function. (#18886)
2022-03-04[Vue] Chunk UMD JavaScript into a set of asynchronously loaded files (#18761)dizzy
* proof of concept for chunking UMD JavaScript into a set of files that are loaded asynchronously * take into account alternative plugin directories * make chunk count and load umds individually configurable (undocumented config) and get to work * fix a bug and add chunk JS sizes to output of development:compute-js-asset-size * document * fill out TODO documentation * make sure cache buster is added to chunk script srcs * add some checks in case a chunk does not exist on disk (happens during some tests) * use realpath on test PIWIK_INCLUDE_PATH so search/replace on paths for relative path will work * add integration test and get to pass * fix for when disable_merged_assets=1 * fix condition * fix ui test failure * update screenshot Co-authored-by: sgiehl <stefan@matomo.org>
2022-03-04[automatic submodule updates] (#18880)github-actions[bot]
* updates all submodules * Update ReleaseCheckListTest.php Co-authored-by: diosmosis <diosmosis@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org>
2022-02-25[automatic submodule updates] (#18847)github-actions[bot]
* updates all submodules * updates expected test files * submodule updates * fix test Co-authored-by: diosmosis <diosmosis@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org>
2022-02-23[Performance]Cache whether a DB supports transaction level (#18691)Peter Zhang
* add check add check * Update TransactionLevelTest.php update tests to fit different mysql version * built vue files * cs/ws * move supportsUncommitted to db level move supportsUncommitted to db level * Update Db.php append $supportsUncommitted to global Db * Update Mysql.php append supportsUncommitted * Update Mysqli.php append to mysqli supportsUncommitted * Update TransactionLevel.php update function * Update TransactionLevel.php update transaction * Update TransactionLevel.php revert back to previous change * Update TransactionLevel.php update cache level key * Update TransactionLevel.php update cache * Update TransactionLevel.php update supportsUncommitted * Update TransactionLevel.php add some comments * Update core/Db/TransactionLevel.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * remove $supportsUncommitted reset remove $supportsUncommitted reset Co-authored-by: peterhashair <peterhashair@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org>
2022-02-19[automatic composer updates] (#18824)github-actions[bot]
* updates composer dependencies * fix tests Co-authored-by: sgiehl <sgiehl@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org>
2022-02-18fix testsgiehl
2022-02-11do not run nbsp test for umd js files + remove unneeded translation (#18782)dizzy
2022-02-07Fix/Improve test for package build size (#18751)Stefan Giehl
* use composer.lock to determine dev packages * update list of excluded files
2022-02-02Retry scheduled tasks on failure (#18335)Ben Burgess
* Catch and log errors for scheduled tasks * Added retry on exception mechanism for scheduled tasks * Replace error code with custom exception * Fix/workaround for SchedulerTest mock breaking retry list option loading * Log warning instead of info if a task has failed three times * Added basic tests, minor code improvements * Test fix * Fix for test * Added integration test to check that only tasks that throw exceptions are scheduled for retry
2022-02-01Prevent possible error when action is provided as array (#18706)Stefan Giehl
* Prevent possible error when action is provided as array * Use Piwik::getModule / Piwik::getAction in a couple more places * fix test
2022-01-31Merge branch 'next_release' into 4.x-devsgiehl
2022-01-31add core updater with file access check (#18594)Peter Zhang
* add core updater with file access check add core updater with file access check * update screen shot update screen shot * Update en.json update to multiple support * Update plugins/CoreUpdater/Updater.php Co-authored-by: Justin Velluppillai <justin@innocraft.com> * Update plugins/CoreUpdater/Updater.php Co-authored-by: Justin Velluppillai <justin@innocraft.com> * Update en.json * Update en.json update wording * Adds update test * fix branch before merge Co-authored-by: Justin Velluppillai <justin@innocraft.com> Co-authored-by: sgiehl <stefan@matomo.org>
2022-01-30run report tests on any PHP version (#18666)Stefan Giehl
2022-01-26Fix possible error when generating PDF reports containing multibyte chars ↵Stefan Giehl
(#18664) * Ensure strings are truncated correctly for PDF usage * Add some emojis to tests * updates expected test files
2022-01-21disable cron task when segment is deleted (#18383)Peter Zhang
* Update Segment.php add function * update segment on cron when is deleted update segment on cron when is deleted * Update QueueConsumer.php change to check segement * Update QueueConsumer.php remove used function * Update QueueConsumer.php update Segment availbel * Update QueueConsumer.php update queue * Update QueueConsumer.php trigger update * update update * Update QueueConsumer.php remove plugin check * Revert "Update QueueConsumer.php" This reverts commit e059f4b7f3eef4e0807987e3f0bb09fc12cd0bf8. * Update QueueConsumer.php remove the right part * Update core/CronArchive/QueueConsumer.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * try simple solution try simple solution * Adds invalid segment test case * fix segment errors fix segment errors * Update CronArchiveInvalidSegmentTest.php update tests * Update CronArchiveInvalidSegmentTest.php update tests * update tests update tests * update tests and words update tests and words * update log info and tests update log info and tests Co-authored-by: Stefan Giehl <stefan@matomo.org>
2022-01-21Fix Test failures from Installation language changes (#18669)Justin Velluppillai
* Updated tests failing from installation language changes
2022-01-13[automatic composer updates] (#18615)github-actions[bot]
* updates composer dependencies * update test Co-authored-by: sgiehl <sgiehl@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org>
2022-01-13fix testsgiehl
2022-01-13fix testsgiehl