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
2021-12-10convert sparkline api to one request - fixes archive (#18399)Peter Zhang
* update lock update lock * update sparkline update sparkline * Update getSparklines.twig update title link * Update Pages.php add comments * update loader update loader * update template update template * update to visualise update to visualise * Update Controller.php update controller * revert lock revert lock * update matrix update matrix * update config title update config title * Delete getSparklines.twig remove template * Update Pages.php remove mutilple * us getMetrics us getMetrics * update tests update tests * Update plugins/Goals/Controller.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * Update plugins/Goals/Pages.php Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> * built vue files * Update CoreHome.umd.min.js update umd js Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> Co-authored-by: peterhashair <peterhashair@users.noreply.github.com>
2021-12-10Updated shell_exec recommended message (#18469)Justin Velluppillai
* Updated shell_exec recommended message * Add _blank and noopener to external link * Rename shell_exec translation string key
2021-12-09[Vue] migrate piwik-reporting-menu directive to vue (#18423)dizzy
* 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 * initial conversion, loading w/o error * tweaks * get period selector work in UI * fix site selector model binding * rebuild vue * fix viewDate not being kept in sync * rebuild CoreHome * [Vue] fix modal notification placement (#18377) * Use separate div in modals to display notifications otherwise Vue will erase modal content when initializing NotificationGroup component. * built vue files * two fixes * couple UI test fixes * rebuild vue * update files * sidenav start * make getRef a utility method * tweak * add return type * finish converting side-nav directive * starting on reporting menu conversion * remove unused properties * convert reporting pages service * migrate report metadata store * remove angularjs files * migrating reporting pages store * make store adapters more immutable * get service adapters to work * fix a UI test * another html fix * migrate most of reporting menu directive and model * Use themed font family for input forms to override materialize.css styling * rebuild vue * add a missing div * ui test fixes * update styling * get to build * get to load in the UI w/o error * clone result of functions * fix compile issue * Updating version to 4.6.0 * update expected screenshot * add wait just in case travis is slow * fix ordering bug * add another wait * rebuild vue * css tweak * fix some bugs and tests * undo screenshot changes * Menus test passing locally * [Vue] date picker viewDate property is not kept up to date (#18385) * viewDate ref is not kept up to date * rebuild corehome * reporting menu subcategory items are meant to be normal links * update some screenshots * use innerText instead of text() since angularjs maintains newlines in HTML that vue does not add * trigger angularjs digest after ajaxhelper request * rebuild vue * update screenshots, fix bug in link generation in reporting menu and allow syncing multiple screenshot regexes at a time * undo box-shadow change for UI tests * fix more issues & update more tests * update some screenshots * fix some tests * built vue files * 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 * update some screenshots * rebuild vue * remove some TODOs * initiate initial ng-change ONLY for site selectors where this behavior applies * built vue files * fix function signature * fix vue warning * fix ajax request race condition * rebuild vue * add new notification type "help" so the help notification is not cleared when clearing transient notifications * fix some bugs and tests * update screenshot * update screenshot & fix a test * allow using unminified jquery ui + fix bug in last fix * add polyfill min.js * update some screenshots and fix sanitization/escape issue * update screenshots * rebuild vue * fix url location updating regression in MatomoUrl.updateLocation use * submodule * update screenshots and fix possible error in json parse * built vue files * Merge branch 'vue-period-selector-regression' into vue-reporting-menu * rebuild vue * use correct variable * rebuild vue * segment parameter can be undefined now for some reason * fix ngmodel binding in siteselector adapter (for last time hopefully) * the original site selector only set the first site to the first site in the initial sites query if there was only one site in the entire matomo instance * fix sitesmanager ui test failure * fix usersettings test failure * rebuild vue * more siteselector tweaks. * another siteselector issue * update screenshots * update screenshot and try to fix random failure * apply review feedback * fix ngmodel render issue w/ extra nextTick() * fix css * fix test * rebuild vue * update screenshots Co-authored-by: Matthieu Aubry <mattab@users.noreply.github.com> Co-authored-by: Justin Velluppillai <justin@innocraft.com> Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com> Co-authored-by: sgiehl <stefan@matomo.org>
2021-12-08updates all submodules (#18466)github-actions[bot]
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2021-12-08Translations update from Hosted Weblate (#18457)Weblate (bot)
* Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin TwoFactorAuth Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-twofactorauth/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin Transitions Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-transitions/ [ci skip]
2021-12-08Improve site without data page (#18462)Stefan Giehl
* Improve site without data page * updates expected screenshots * use less mixin for matomo font css * fix typo * updates expected test files * Wording tweaks * Updated UI test screenshots Co-authored-by: Justin Velluppillai <justin@innocraft.com>
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-07Fix 'Call to undefined function Piwik\piwik_fix_lbrace()' (#18461)Stefan Giehl
2021-12-07submodule updatesgiehl
2021-12-07remove filesgiehl
2021-12-07[automatic composer updates] (#18463)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>
2021-12-07updates all submodules (#18464)github-actions[bot]
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2021-12-07[Vue] fix url location updating regression in MatomoUrl.updateLocation use ↵dizzy
(#18449) * fix url location updating regression in MatomoUrl.updateLocation use * submodule * use correct variable * rebuild vue Co-authored-by: sgiehl <stefan@matomo.org>
2021-12-06Added table of contents for general settings (#18404)Ben Burgess
* Added table of contents for general settings * Update UI test screenshots * Fix UI tests * Fix for wrapping issue, improved text formatting, fix missing core home settings * Update submodule
2021-12-06Rendering performance improvement for reports with many rows (#18405)Ben Burgess
* Remove obsolete datatable handleColumnHighlighting method * Restore handleColumnHighlighting method but without width setting code * Replace datatable setFixWidthToMakeEllipsisWork() method with CSS * Restore datatable setFixWidthToMakeEllipsisWork() method * Updated UI screenshots * Update submodule * update submodule * update submodule Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-12-06Translations update from Hosted Weblate (#18450)Weblate (bot)
* Translated using Weblate (German) Currently translated at 100.0% (116 of 116 strings) Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/de/ [ci skip] Translated using Weblate (German) Currently translated at 100.0% (116 of 116 strings) Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/de/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Julian Knakowski <alexander.j.knakowski@student.hs-anhalt.de> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin SitesManager Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-sitesmanager/ [ci skip] Co-authored-by: Julian Knakowski <alexander.j.knakowski@student.hs-anhalt.de>
2021-12-06[Vue] migrate reportingPagesModel and reportMetadataModel (#18389)dizzy
* 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 * initial conversion, loading w/o error * tweaks * get period selector work in UI * fix site selector model binding * rebuild vue * fix viewDate not being kept in sync * rebuild CoreHome * two fixes * couple UI test fixes * rebuild vue * update files * make getRef a utility method * add return type * remove unused properties * convert reporting pages service * migrate report metadata store * remove angularjs files * make store adapters more immutable * get service adapters to work * fix a UI test * another html fix * Use themed font family for input forms to override materialize.css styling * rebuild vue * add a missing div * ui test fixes * update styling * update expected screenshot * add wait just in case travis is slow * add another wait * 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 * built vue files * fix function signature * fix vue warning * fix ajax request race condition * rebuild vue * update screenshot * revert submodule change 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-12-06Widgetize language reworked (#18425)Allan Nordhøy
* Widgetize language reworked * Update plugins/Widgetize/lang/en.json Co-authored-by: Stefan Giehl <stefan@matomo.org> Co-authored-by: Justin Velluppillai <justinvelluppillai@gmail.com> Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-12-03[Vue] migrate piwik-period-selector angularjs component (#18382)dizzy
* 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 * initial conversion, loading w/o error * tweaks * get period selector work in UI * fix site selector model binding * rebuild vue * fix viewDate not being kept in sync * rebuild CoreHome * two fixes * couple UI test fixes * rebuild vue * update files * make getRef a utility method * add return type * fix a UI test * another html fix * Use themed font family for input forms to override materialize.css styling * rebuild vue * add a missing div * ui test fixes * update styling * update expected screenshot * 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 * built vue files * update screenshots * fix date range picker input editing behavior & undo changes to matomo.js/piwik.js * Update plugins/CoreHome/vue/src/DateRangePicker/DateRangePicker.vue Co-authored-by: Stefan Giehl <stefan@matomo.org> * built vue files * undo CustomAlerts submodule 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-12-03Ensure javascript of a datatable only initializes itself (#18386)Stefan Giehl
* Ensure javascript of a datatable only initializes itself * apply review feedback * use css max-width instead of js calculation * improve js code * updates expected screenshots * updates submodule
2021-12-03Merge remote-tracking branch 'weblate/4.x-dev' into 4.x-devsgiehl
2021-12-03updates all submodules (#18438)github-actions[bot]
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2021-12-02Translated using Weblate (German)Julian Knakowski
Currently translated at 100.0% (86 of 86 strings) Translation: Matomo/Plugin CorePluginsAdmin Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-corepluginsadmin/de/ [ci skip]
2021-12-02Translations update from Hosted Weblate (#18414)Weblate (bot)
* Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin ProfessionalServices Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-professionalservices/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin ProfessionalServices Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-professionalservices/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Translated using Weblate (Japanese) Currently translated at 100.0% (622 of 622 strings) Translation: Matomo/Matomo Base Translate-URL: https://hosted.weblate.org/projects/matomo/matomo-base/ja/ [ci skip] Co-authored-by: Kozue Ono <kozue_ono@matomo.jp> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin ProfessionalServices Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-professionalservices/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin ProfessionalServices Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-professionalservices/ [ci skip] Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin IntranetMeasurable Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-intranetmeasurable/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin ProfessionalServices Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-professionalservices/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin ProfessionalServices Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-professionalservices/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin ProfessionalServices Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-professionalservices/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin ProfessionalServices Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-professionalservices/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin ProfessionalServices Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-professionalservices/ [ci skip] Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin IntranetMeasurable Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-intranetmeasurable/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Kozue Ono <kozue_ono@matomo.jp>
2021-12-02Update translation filesHosted Weblate
Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin CorePluginsAdmin Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-corepluginsadmin/ [ci skip]
2021-12-02Translated using Weblate (German)Hosted Weblate
Currently translated at 100.0% (86 of 86 strings) Translation: Matomo/Plugin CorePluginsAdmin Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-corepluginsadmin/de/ [ci skip] Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin CoreHome Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-corehome/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Julian Knakowski <alexander.j.knakowski@student.hs-anhalt.de>
2021-12-02Fixes some UI issues in anonymise data (#18413)Stefan Giehl
* UI fix for anonymize data: Remove icon not clickable * UI fix for anonymize data: select fields slightly misplaced * updates expected screenshots
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-12-01updates all submodules (#18424)github-actions[bot]
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2021-12-01do not use real mysql version in tests for running UI tests (#18407)dizzy
* do not use real mysql version in tests for running UI tests locally * undo customalerts update * update screenshot * updates expected screenshots Co-authored-by: sgiehl <stefan@matomo.org>
2021-12-01Update missing screenshots (#18422)Ben Burgess
2021-12-01Configuration option to disable transition periods (#18366)Ben Burgess
* Added config option to disable transition periods * Config section checks * Hide transitions row action if period is not allowed * Added system test * Add default values for requests vars * Do allowed period checks for transition row actions in javascript * Code tidy up, fix for range get day count bug, improved tests * Added UI test for disabled period
2021-12-01Fix possible notice when comparing goal data (#18355)Stefan Giehl
happened as some metrics might have been formatted twice
2021-11-30Merge fixes made to latest release back (#18406)Justin Velluppillai
* 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> * 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 * [Vue] use jQuery click for expand on click (#18341) * use jQuery click for expand on click * undo submodule change * 4.6.0-rc2 * [Vue] fix modal notification placement (#18377) * Use separate div in modals to display notifications otherwise Vue will erase modal content when initializing NotificationGroup component. * built vue files * Updating version to 4.6.0 * [Vue] date picker viewDate property is not kept up to date (#18385) * viewDate ref is not kept up to date * rebuild corehome * built vue files Co-authored-by: Ben Burgess <88810029+bx80@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org> Co-authored-by: dizzy <diosmosis@users.noreply.github.com> Co-authored-by: Matthieu Aubry <mattab@users.noreply.github.com> Co-authored-by: justinvelluppillai <justinvelluppillai@users.noreply.github.com>
2021-11-30Translations update from Hosted Weblate (#18331)Weblate (bot)
* Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin CoreAdminHome Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-coreadminhome/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin CoreAdminHome Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-coreadminhome/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin CoreAdminHome Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-coreadminhome/ [ci skip] Co-authored-by: Hosted Weblate <hosted@weblate.org> * Update translation files Updated by "Squash Git commits" hook in Weblate. Translation: Matomo/Plugin MultiSites Translate-URL: https://hosted.weblate.org/projects/matomo/plugin-multisites/ [ci skip]
2021-11-29Use themed font family for input forms to override materialize.css styling ↵dizzy
(#18390)
2021-11-28fix incorrect condition introduced in #18387sgiehl
2021-11-27Improve password handling in SMTP configuration (#18387)Stefan Giehl
2021-11-26Fix time on page calculation in visits log (#18294)Stefan Giehl
* Try to fix time on page calculation in visits log * fix calculation of last page view * updates expected test files * updates submodules
2021-11-26updates all submodules (#18380)github-actions[bot]
Co-authored-by: diosmosis <diosmosis@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-24Fix System check widget shows wrong tooltip text (#18029)mwithheld
* Add preg_replace filter * 18006 Fix System check widget shows wrong tooltip text
2021-11-24Further improvements for PHP 8.1 (#18330)Stefan Giehl
* Fix some PHP8.1 deprecation warnings * another fix * couple more fixes * couple more fixes * fix another warning
2021-11-24updates all submodules (#18372)github-actions[bot]
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2021-11-24Chrome isn't using WebKit anymore (#18252)Lukas Winkler
* Chrome isn't using WebKit anymore * updates expected test files * updates expected ui tests Co-authored-by: sgiehl <stefan@matomo.org>
2021-11-24[Vue] in site selector execute search on searchTerm change rather than ↵dizzy
keydown (#18367) * execute search on searchTerm change rather than keydown so special keys dont have an effect * couple more improvements: only do limit request once, only highlight site name when finished loading sites, make sure search term wasnt changed when search site request finishes * build vue files * built vue files Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2021-11-23Revert "[Vue] do not decode model value of site name in site selector, so it ↵dizzy
is always matches the DB value (#18356)" (#18364) This reverts commit 8c7539f073e7a49311cbe6dc2474eb1bbfb8718d.
2021-11-22[Vue] do not decode model value of site name in site selector, so it is ↵dizzy
always matches the DB value (#18356) * do not decode model value of site name in site selector, so it is always the same as what is in the DB * Update SiteSelector.vue * built vue files
2021-11-22updates all submodules (#18359)github-actions[bot]
Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2021-11-22updates expected ui testssgiehl