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-08-31[Vue] add support for on demand loading of plugin UMD files when a component ↵dizzy
in a plugin is first used. (#18980) * Proof of concept for on demand loading of plugin UMD files when a component in a plugin is first used. * add more comments * debug ui test failure * more debugging * even more debugging * try again? * more debugging * more debugging * more fixes * more debugging * fix path * more debugging * fix path again, more debugging * try this again * try this again * try this again * another debug attempt * more debugging * another attempt * more debugging * more debugging * more debugging * more debugging * more debugging * more debugging * more debugging * more debugging * try to fix issue * undo debugging changes * fix last fix * add integration tests for new functionality * revert changes to FrontController which should not have been added to PR * Login always loaded * put list of plugins to load on demand client side and modify check for plugin existence in vue-entry processing to use it * remove unneeded interim event * handle case where pluginsToLoadOnDemand is not set as global Co-authored-by: sgiehl <stefan@matomo.org>
2022-08-26Merge branch '4.x-dev' into 5.x-devsgiehl
2022-08-25Added code to exclude Microsoft and Yandex click from query ↵Altamash Shaikh
parameters,#DEV-2774 (#19673)
2022-08-17[Vue] remove use of angularjs from TwoFactorAuth plugin (#19382)dizzy
* convert twig templates using directives to vue components, remove angularjs adapters and modify less styles that use directive attribute names * built vue files * move use of angularjs directives in TwoFactorAuth twig templates to new vue components and add vue component for Logins formErrors.twig template * built vue files * add missing translations * fixing UI tests * more UI test fixex * remove reference to nonexistant JS file * updated expected screenshots * fixing ui test failures * update expected screenshots * fixing ui test failures * fix select on focus use * fix placement of computed property * fixing ui test issues * prevent random failure * make sure Login plugin UMD is always loaded * formErrors is an object if supplied * compile vue entry components in reset API response and modify check for success * rebuild login * update expected screenshot * remove unneeded use of html_attr escape * remove use of html_attr and remove duplicate client side translation token entries * sort used js translations and remove duplicates * Update plugins/TwoFactorAuth/vue/src/LoginTwoFactorAuth/LoginTwoFactorAuth.vue Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/TwoFactorAuth/vue/src/UserSettings/UserSettings.vue Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/TwoFactorAuth/vue/src/ShowRecoveryCodes/ShowRecoveryCodesPage.vue Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/TwoFactorAuth/vue/src/SetupFinished/SetupFinished.vue Co-authored-by: Stefan Giehl <stefan@matomo.org> * built vue files * adds missing sanitize * fix AssetManagerTest * try to fix issue with umd asset fetching if Login not loaded * cs * updates expected test files Co-authored-by: sgiehl <stefan@matomo.org>
2022-08-08Fix for current year not processed for new custom reports (#19569)Ben Burgess
* Ignore repair year invalidation when processing a week that spans two years * Added integration test * Fixed test
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-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-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-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-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-18fix testsgiehl
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-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-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-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-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-12Change rearchive end date from yesterday to today (#18523)Ben Burgess
* Change archive invalidator default end date from yesterday to today * Integration test fixes * Increased group_concat_max_length for Archive Invalidator test to prevent test failing
2022-01-12move unsupported Browser check before create session (#18575)Peter Zhang
* Update FrontController.php move unsupported Browser before create session * Update core/FrontController.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update FrontControllerTest.php fix tests Co-authored-by: Stefan Giehl <stefan@matomo.org>
2022-01-11Avoid any archiving queries in Goals Archiver if no goals or ecommerce are ↵Stefan Giehl
active (#18354) * Avoid querying data in Goals Archiver if feature is actually unused * update test fixture * update expected test files that changed due to activating ecommerce * deactivate ecommerce in tests * updates expected ui files * do not process dependent archives if no goals or ecommerce is active * apply review feedback * don't aggregate ecommerce items if plugin is not active * updates tests * always process dependent archives * fix test * fix test * process ecommerce metrics only when plugin enabled * updates expected test files * updates expected UI test files
2022-01-07dependent archive never run (#18403)Peter Zhang
* Update ArchiveProcessor.php set plugin not include UserCountry * Update ArchiveProcessor.php update processer * Update ArchiveProcessor.php remove hardcode plugin name * add tests add tests * fix test Co-authored-by: sgiehl <stefan@matomo.org>
2021-12-08add disable archiving segment for plugins (#18279)Peter Zhang
* add disable archiving segment for plugins add disable archiving segment for plugins * Update Rules.php add isset check * Update global.ini.php update disable_archiving_segment_for_plugins to right place * update tests update tests * Update global.ini.php update wording * update wording and test update wording and test * update tests update tests * Update UIIntegrationTest_admin_diagnostics_configfile.png update config * Update global.ini.php update wording * Update UIIntegrationTest_admin_diagnostics_configfile.png update screen shot * move general config to a file move general config to a file * update screenshot update screenshot * Update Rules.php update rule * Update global.ini.php update global * Update config/global.ini.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update core/ArchiveProcessor/Rules.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * update tests and case and special-characters update tests and case and special-characters * update tests update tests * Update UIIntegrationTest_admin_diagnostics_configfile.png update config screenshot * Update core/ArchiveProcessor/Rules.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update tests/PHPUnit/System/ArchiveInvalidationTest.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * add footer message for disable plugin add footer message for disable plugin * Update core/Plugin/Visualization.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * core/Plugin/Visualization.php update en and check unsegmented reports * Update en.json update lang * Update core/Config/GeneralConfig.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/CoreHome/lang/en.json Co-authored-by: Stefan Giehl <stefan@matomo.org> * add screenshot tests add screenshot tests * Update DisablePluginArchive.php set up site * Update DisablePluginArchive.php update config * Update DisablePluginArchive.php update to overwrite * Create DisablePluginArchive_DisablePluginArchive.png update screen shot * update config update config * update screen update screen * update screenshots update screenshots * update unrelated screenshots and update tests update unrelated screenshots and update tests Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-12-07increase allowed build sizesgiehl
2021-12-01[Vue] migrate piwik-field and related directives (#18352)dizzy
* forgot to remove old files * built vue files * first pass at migrating notification directive, notification service and parts of UI.Notification to Vue * rewrite URL handling to use computed properties in a URL store + do the same for other dependent data in the comparison store to allow vues to subscribe to the properties for changes to global state * fix some tests * some more fixes * more fixes + disallow modifications to MatomoUrl state * get angularjs unit tests to pass + fix a couple more issues * another fix * fix bad merge * self review + fixes * remove old fix as it may not be needed anymore * empty string is not a valid date + do not report invalid date exception just rethrow * update screenshots and try to fix random failure * use jquery $destroy event instead of scope one since the scope one is broadcasted * rangeChange event must be triggered once on mount * initialize startDateText/endDateText correctly * use jquery $destroy event instead of angularjs one * built vue files * fix menudropdown.directive.js reference * load vue in installation/updater & correctly make focusanywherebuthere stateful * correctly implement stateful directives for ExpandOnClick/ExpandOnHover * less tweak (angularjs comment removal) * fix submenu check * quick type fix * load vue in installation workflow * add broadcast.js to Installation workflow + do not fail in pk_translate if no translations are loaded * update expected screenshots (spacing of arrow changed because of angularjs comment no longer being there) * start moving Notification class code to notifications store * fix prop type * fix html escaping * built vue files * get toast and other transitions to work + fix broken toast * move all of notification.js to NotificationStore * wait for angular to be initialized to post events to avoid loading race condition * get scroll to notification to work + get initialization of notification groups to work * correct unmount + remove notifications service file * fix some test failures * re add accidentally removed (?) file * remove no longer needed file * Add CoreHome UMD in CoreUpdater/Installation. * self review * fix type + add default value * remove file from JS list * fix test * fix UI tests * set correct type in users manager notification and allow scope values to be transformed in createAngularAdapter * start converting form field directives * start migrating siteselector * small addition * migrate rest of site selector code + make some breaking changes to function signatures in createAngularJsAdapter * disable webpack asset size hints/warnings + get siteselector code to build * fixing some bugs * fix some more issues (allow specifing require in createAngularJsAdapter and make AjaxHelper promises abortable) * get npm test to pass * a couple more fixes * remove existing files * convert quick-access directive and use shared code/state with site selector * remove site selector model * fix more issues and get UI tests to pass for quickaccess * remove debugging code / todo * fix initial value * add back a $timeout() * fixing tests, the post blur scope.$apply()s are apparently required for angularjs to function properly * migrate field-array * fixing more UI test failures * rebuild * start converting multipairfield * fix vue build * why were these deleted? * remove debug code * first pass migrate multipairfield.vue * move form-field code relevant to selects to FieldSelect.vue * fix css class issue + update expected screenshots * rebuild CoreHome * move more of form-field.directive.js to new vue classes * revert styling change * finish converting last of form-field.directive.js code (completely untested) * built vue files * get focus-if to work and remove debugging return; * rebuilt vue * should not need to specify type there * built CoreHome * built vue files * Fix for misaligned evolution trend icons (#18323) * Aligned evolution trend icons, text tweak * Update plugins/MultiSites/angularjs/dashboard/dashboard.directive.less Co-authored-by: Stefan Giehl <stefan@matomo.org> * apply review feedback * Hide feedback banner in zen mode (#18329) * [Vue] 4.6.0 fixes (#18334) * feedback plugin may not be loaded * fix copy paste * async/await not supported * built UMDs * get local files to build * built files * get auto clearing behavior to work in site selector * fix a couple more bugs * use jQuery click for expand on click * undo submodule change * rebuild vue * get vue files to run * missing element * more fixes * get more fields working properly * rebuild * fix even more issues * [Vue] use jQuery click for expand on click (#18341) * use jQuery click for expand on click * undo submodule change * migrate piwik-field directive and fix some issues * forgot to add migrated directive files and get demo.twig to work * use event target * make sure angularjs and vue do not share data * fix ng model mapping * fix a couple more issues * fix a couple more bugs * more fixes * mimic existing behavior where an empty value will result in an extra field appearing in a select option list, but only at first * another fix * built vue files * more fixes * do not use UMD if vue/src is not present * use non-minified angularjs if in development mode * deprecate custom template file property * remove angularjs properties in scope properties (ie, $$hashKey) otherwise vue will fail when it tries to process them * fixing some more issues from ui tests * more fixes * fix form field issue + patch jquery so .trigger() will also trigger events added via addEventHandler() * true bc fix * get the jquery patch to work * ignore polyfill map * fix ng-model issue in report limit in report export directive * full width property was not handled properly before in angularjs * do not try and parseInt null values * fix several more issues for tests * fix some tests * fix data binding * fix css class * fixing more ui test issues * do not decode model value of site name in site selector, so it is always the same as what is in the DB * 4.6.0-rc2 * more ng-model fixes * rebuild * html tweaks * add timeout to test * rebuild * fix another UI test * rebuild vue files * update some expected screenshots * fix more issues * Revert "[Vue] do not decode model value of site name in site selector, so it is always matches the DB value (#18356)" This reverts commit 8c7539f073e7a49311cbe6dc2474eb1bbfb8718d. * update screenshots * more fixes * another fix + screenshot update * more screenshot updates * more fixes * even more fixes * another ui test fix * more type fixes * rebuilt vue JS * couple more fixes * undo debugging * do not convert undefined to bool * update screenshot * another bool checking fix * rebuild vue files * more fixes * initial site value in field is assumed to be encoded * file headers and custom field component support * get custom component field code to work * rebuild vue * allow using angularjs templateFile for custom field (for BC) * get angularjs template embedding to work for rollupreporting at least * deal with some in source TODO items * fix a couple more issues * Use separate div in modals to display notifications otherwise Vue will erase modal content when initializing NotificationGroup component. * build again * refactor some code and fix an issue with checkbox array field handling in angularjs * more fixes * another fix * even more fixes * remove more todo * hopefully the last changes * update vue files * update submodule * revert debugging change + fix issue * built vue files * fix another select issue * rebuild vue files * fix broken refactor * update two screenshots * add some more timeouts and update screenshots * fix site selector model binding * rebuild vue * fix field array title * apply some pr feedback * apply more pr feedback * another fix * tweak * fix ng-change not executed before ng-model * fix another set of issues * fix another issue * rebuild vue * better ng-change/ng-model fix * initiate initial ng-change ONLY for site selectors where this behavior applies * update screenshots and try to fix random failure * undo submodule change * fix test Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> Co-authored-by: Matthieu Aubry <mattab@users.noreply.github.com>
2021-11-25Add option to specify the max number of websites to process by archiver. ↵Ere Maijala
(#18326) * Add option to specify the max number of websites to process by archiver. This makes it possible to limit the process lifetime to avoid excessive memory usage (possibly due to PHP bugs such as 79519). * Add an option to limit the number of archives to process. * Clean up a whitespace change. * Make --max-archives-to-process a hard limit.
2021-11-15Proportional evolution comparison for incomplete periods (#18099)Ben Burgess
* Multisite evolution metrics changed to calculate proportionally to percent of the current period which is complete * Use piwik date class, use report generated date if available, added unit test, added tooltip * Improved tooltip detail * Updated unit tested, added tests for evolution metric getRatio(), changes to allow row metadata to be preserved during datatable merges * Additional API test fixes * More test fixes * More test fixes * Remove ts_archived row metadata from final API output * Test fix reversions, added deleteRowsMetadata() method to DataTableInterface * More test fix reversions * Fixed integration test * Trigger Build * Update core/DataTable/Map.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update core/DataTable.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update core/Archive/DataCollection.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update core/DataTable.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update core/DataTable.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/CoreHome/Columns/Metrics/EvolutionMetric.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Improved tooltips for translation, use NumberFormatter for percents, moved additional constructor param to end, null checks * Update plugins/CoreHome/Columns/Metrics/EvolutionMetric.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/CoreHome/Columns/Metrics/EvolutionMetric.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Use localized period string, remove unnecessary tooltip percent digits * Formatting fixes * Fix for an issue where evolution values > 999% would be displayed incorrectly * Added data table processor option to provide raw copy of formatted metrics * Update plugins/MultiSites/API.php Fix for row metadata removed too early Co-authored-by: Stefan Giehl <stefan@matomo.org> * Replace evolution metrics 'add raw copy' api parameter with _trend column * ensure to use correct metric to check if lower value is better * updates expected test files * fix some more tests * update test file Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-11-15fix concurrency archiving overview goals (#18243)Peter Zhang
2021-11-13add feedback question, remove other related. (#18262)Peter Zhang
* remove feedback links remove feedback links * update screen shot update screen shot * add feedback question add feedback question * update close to icon update close to icon * built vue files * remove in line css remove in line css, change to less file * move translation key to plugin move translation key to plugin * remove feedback popup remove feedback popup * update remove some test and feedback related update remove some test and feedback related * add draft tests add draft tests * update feedback add php and UI tests update feedback add php and UI tests * update test screen shots update test screen shots * Update demo.twig add heart to demo page * add feedback back in extend the modal add feedback back in extend the modal * update coreHome update coreHome * update screen shots update screen shots * Update FeedbackQuestion_spec.js update js tests * update test update test * built vue files * update screenshot and js tests update screenshot and js tests * Update FeedbackQuestion_spec.js test success * update screenshot update screenshot * update tests update tests * fix test error fix test error * Removing the refer us popup * Readding accidentally removed language files * update test * update test * remove refer us * update feedback umd js update feedback umd js * merge Andy branch merge Andy branch and update screen shots * revert language changes revert language changes * revert language changes revert language changes * revert language file revert language file * revert unrelated lang change revert unrelated lang change * revert lang change revert lang change * revert lang change revert lang change * Delete ControllerTest.php remove controller test not in used * Update core/Piwik.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * Update plugins/Morpheus/javascripts/piwikHelper.js Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * update a big that cancel and reopen it again update a bug that cancel and reopen it again * update compare error update compare error * Update plugins/Feedback/FeedbackReminder.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * update feedback show logic update feedback show logic * Update FeedbackQuestion_spec.js update tests * Update Feedback.php remove comments * Update .gitignore * update vue build file update vue build file * built vue files * update vue build file update vue build file * add close button add close button * add close button add close button * update screenshot update screenshot * remove umd remove umd * git add corehome git add corehome * revert all the umd file revert all the umd file * built vue files * built vue files * Update plugins/Feedback/lang/en.json Co-authored-by: Stefan Giehl <stefan@matomo.org> * update per review update per review * built vue files * set auto focus on modal open set auto focus on modal open * built vue files * Update FeedbackQuestion.vue add please write in english * built vue files * remove please write in English remove please write in English * built vue files * update tests and question tests update tests and question tests * set cookie in the test set cookie in the test * Update page-renderer.js add setCookie to tests * update test only load 1 update test only load 1 * built vue files * Update FeedbackQuestion_feedback_popup.png update screen shot * Update piwikHelper.js update button css * update screen shot update screen shot * Update plugins/Feedback/Feedback.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/Feedback/vue/src/FeedbackQuestion/FeedbackQuestion.vue Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/Feedback/API.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update plugins/Feedback/API.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update core/Plugin/API.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * update cookie and tests update cookie and tests * built vue files * test setcookie in tests test setcookie in tests * update tests update tests * update tests update tests * Update FeedbackQuestion_spec.js update cookie test * extend setCookie in test extend setCookie in test * update elints format update elints format * built vue files * test set cookie test set cookie * built vue files * Update FeedbackQuestion_spec.js set cookie after goto URL * Update FeedbackQuestion_spec.js int to string * update set cookie update set cookie * update test URL update test URL Co-authored-by: peterhashair <peterhashair@users.noreply.github.com> Co-authored-by: Andrew Davis <andrew.affinity@gmail.com> Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-11-04Correct path for ignoring c-pchart docs (#18269)Justin Velluppillai
2021-11-03Upgrade szymach/c-pchart from v2.0 to 3.0 to support PHP8.1 (#18260)Justin Velluppillai
* Use szymach/c-pchart v3.0 * Fix some moved imports * Change path to fonts so they're excluded from final package * Don't remove default font * More path fixes * removes unneeded use statement Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-10-28Introduce new config setting to set a contact email address (#17916)Stefan Giehl
* Introduce new config setting to set a contact email address to use instead of all super user email addresses * fix test * apply review feedback * updates expected UI tests
2021-10-18Make cli archiving faster if only one concurrent request per website is ↵Thomas Steur
configured (#18157)
2021-10-18Improve performance of Process::isSupported by caching it (#18152)Thomas Steur
* Improve performance of Process::isSupported * tweak content read * Update Process.php * fix test
2021-10-14remove remain customer variables and provider unit test (#18148)Peter Zhang
2021-10-06[Vue] migrate periods service to typescript & introduce frontend unit ↵dizzy
testing for vue & migrate periods.spec.js (#18092) * initial periods service conversion * get period service migration to compile * getLastNRange was public static * fix an issue, switch angularjs tests to use chrome headless and hope it works * remove phantomjs requirement * get vue unit testing to work w/ jest (only option right now, the mocha plugin is not compatible w/ vue 3 and no one is working on making it compatible) * more test code * progress * more progress * more progress, single passing test * finish converting periods.spec.js and get test to pass * remove use of any in periods service and rebuilt corehome * add missing file headers * fix run-once.sh * debug travis build * remove debugging code & update submodule * update submodule * more travis debugging * install npm dependencies in "install-ubuntu.sh" * use latest node * try this again * typos * more debugging * more debugging * testing something * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * revert travis.yml changes * update some expected screenshots * releasechecklisttest fix
2021-10-04JavaScript tracker exclude query parameters (#18031)Ben Burgess
Adds a new option to the JavaScript tracker to exclude query parameters from the tracked URL. Co-authored-by: bx80 <bx80@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org>
2021-09-28A few more PHP8.1 fixes (#17989)Tim-Hinnerk Heuer
* add return type declartions #17686 should not break anything and gets rid of a warning * add return type to method signature #17686 * annotate return types to avoid warnings * add more return types * upgrade phpmailer/phpmailer to 6.5.1 * add return types, avoid deprecated null to string conversion * fix some deprecation warnings for php 8.1 #17686 * fix in DbHelper::getInstallVersion() instead #17686 * ensure empty(DbHelper::getInstallVersion()) succeed #17686 * force return "0" string and adjust test Co-authored-by: Justin Velluppillai <justin@innocraft.com>
2021-09-24add mysql row format dynamic option (#18002)Peter Zhang
2021-08-30If a usable archive exists and the invalidation is for a specific plugin, ↵Justin Velluppillai
delete the invalidation (#17918) * If a usable archive exists and the invalidation is for a specific plugin, delete the invalidation so it doesn't stay for ever * Improve logging text and add a simple test * Minor improvements from code review