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-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-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-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
2021-12-22Show a summary of new features (#18065)Ben Burgess
* Added "What is new" notification display, populated by a new event * Removed test example event hook * Added support for applying a link attribute to menu items, fixes layout issue for mobile with html menu items * Updated UI test screenshots * Revert accidental edit * Hide the "What's new" icon if there are no new features to show * Changed to use changes.json, track user last viewed, added ui test * Fix UserManager unit tests broken by new ts_changes_viewed user field * Moved getChanges to separate helper class, added unit test, added user view access check * Updated to add new changes table and populate only on plugin update/install * Added missing fixture class, updated UI screenshots * Updated matomo font to add ringing bell and new releases icons * Fix for integration test * Reworked class structure, removed unnecessary angular directive, merged templates, other tidy ups * built vue files * built vue files * Added null user check, missing table exception handling, show plugin name in change title, better handling of missing change fields * Added sample changes file, moved UserChanges db code to changes model, added return type hints, better db error code handling, various other improvements * Revert accidental UI screenshot commit * Fix for incorrect link name parameter in sample changes, switched back to using $db->query for INSERT IGNORE * Integration test fix, UI screenshot updates * Test fix * Added link styling, show CoreHome changes without plugin prefix in title * Update UI test screenshot * Added styles to the popover, added event for filtering changes * Test fix * UI test screenshot updates Co-authored-by: sgiehl <stefan@matomo.org> Co-authored-by: bx80 <bx80@users.noreply.github.com>
2021-12-21Fixes more issues on PHP 8.1 (#18514)Stefan Giehl
* fixes deprecation warning in ui-test.php /srv/matomo/config/environment/ui-test.php(53): Deprecated - str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated * fixes deprecation warning caused by SettingsPiwik.php /srv/matomo/plugins/UsersManager/Controller.php(669): Deprecated - md5(): Passing null to parameter #1 ($string) of type string is deprecated * Fixes deprecation warning in ComparisonRowGenerator.php /srv/matomo/plugins/API/Filter/DataComparisonFilter/ComparisonRowGenerator.php(129): Deprecated - Automatic conversion of false to array is deprecated * Fixes type error in Sparklines.php Uncaught exception: TypeError: array_diff(): Argument #1 ($array) must be of type array, string given in /srv/matomo/plugins/CoreVisualizations/Visualizations/Sparklines.php:306 * Fixes some warnings in DisablePluginArchive fixture /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(59): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useThirdPartyCookies /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(74): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useSiteSearch /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(75): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useSiteSearch /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(76): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useSiteSearch /srv/matomo/tests/PHPUnit/Fixtures/DisablePluginArchive.php(132): Warning - Undefined property: Piwik\Tests\Fixtures\DisablePluginArchive::$useSiteSearch * Fixes undefined array key warningin SitesManager.php /srv/matomo/plugins/SitesManager/SitesManager.php(376): Warning - Undefined array key unknown
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-10-14Visual indication of incomplete periods on charts (#18086)Ben Burgess
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-21Improves Overlay UI tests (#17920)Stefan Giehl
2021-08-17Run AllTests on PHP8 (#16897)Stefan Giehl
* Run AllTests on PHP8 * use newer phpunit for tests on PHP8 * fix notices/errors * handle trace of phpunit 9 * ensure to compare same types for range check * adjust expected result for php8 * try handling hasDependencies does not exist in PHPUnit 9 * fix: ArgumentCountError: mysqli_stmt::bind_param() does not accept unknown named parameters * Fix usercountry tests * remove incorrect date check * fix expected exception message * fix referrers api test for php8 * add test hint * try to fix session related tests * debug test failure * try to fix mail tests * fix filterUser method * exlucde phpunit from build size calculation * fix scheduled reports test * update release checklist test * unset climode * improves some tests
2021-07-19Fix filter in UserCountry.getCountry for Map of Maps (#17779)Stefan Giehl
* Fix filter in UserCountry.getCountry for Map of Maps * Adds some tests & fixes other APImethods for multiple period & site request
2021-06-09fix regression (#17656)Zoltan Flamis
* fix regression * add test Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2021-05-11Do not confuse normal rows with the label "-1" w/ the summary row (#17517)dizzy
* add failing tests * do not mistake normal rows w/ labels -1 for summary rows * try to set a new flag to determine summary row inside Row instead of guessing from the label * fix tests * fix test hopefully * fix another test * fix another summary row issue * Add test showing -1 label + Others row. * apply review feedback
2021-05-07Make archiving process to respect process_new_segments_from settings (#17351)Zoltan Flamis
* update canSkipThisArchive in Loader * Update Loader.php * Update Loader.php * make cronarchive respect segment creation * check for null * do not use force-date-last-n in test * fix some other tests * fix other test * add deprecated message * Update UITestFixture.php * wip * reafactor and add tests * take into account requested report * refactor if * refactoring * fix bug Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com>
2021-04-06Show notification when there is raw data but no data (#17380)Zoltan Flamis
* ajax calls to check raw data and nb_visits * show notification if there is raw data only * using piwikApi * disable when segment selected and add do not fetch actions * update segment check * move the logic into reporting-page * show on dashboard too * limiting API requests * using notification instead of alert * check if period changed * check only if today is in daterange * use lang file for visitor log text * add contains today method * add UI test for the notification * update ui test * use range in ui test
2021-03-30Use ranking query in custom dimensions archiver (#17396)dizzy
* Allow forcing backtrace to print and do not print redundant message in exceptiontotextprocessor * fix test * consistent output when exception is an array * fix tests * fix another test * Use RankingQuery in CustomDimensions if configured * apply review feedback * fix failing tests * apply review feedback * Fixing tests.
2021-03-11Use https for urls in visitor details if host is defined with https in site ↵Stefan Giehl
(#17151) * Use https for urls in visitor details if host is defined with https in site * Use strpos/parse_url instead of preg_match * apply review feedback * also replace protocol in url metadata in page urls reports * apply review feedback Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2020-12-11Fix unknown keyword is not shown in transitions report in seach engines ↵Thomas Steur
section (#16841) * Fix unknown keyword is not shown in transitions report in seach engines section * Add test so change will be visible there Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2020-12-10Allow using last (week|month|year) as date param (#16830)Stefan Giehl
* Allow using last (week|month|year) as date param * Adds some unit tests * improve tests * Make it possible to use last (week|month|year) for api requests * improve test
2020-11-04several changes to emphasize setup and use of auto-archiving rather than ↵diosmosis
real-time processing (#16603) * several changes to emphasize setup and use of auto-archiving rather than real-time processing * apply some pr feedback * Applying more pr feedback. * apply review fixes * ignore ability to archive segments in real time * another tweak * update tests * fix another test * fix ui tests * update test * fix evolution icon bug * Update TreemapVisualization and update expected screenshots * update screenshots
2020-10-07Fix test that was failing due to php tracker changes (#16544)Stefan Giehl
2020-09-19Fix one click update test (#16445)diosmosis
* use lower major version in oneclickupdate test * use correcct submodule * update screenshots
2020-09-03Updates php-di to 6.2.1 (#16311)Stefan Giehl
2020-08-19url decode value in requestcommand (#16301)diosmosis
* url decode value in requestcommand * modify test segment so it matches a couple visits and not every visit * update expected test files * another update * another update * last time i hope * hopefully not random * make segment more restrcitive so sorting is not an issue * another test update
2020-08-18fix embedding ui tests (#16298)Stefan Giehl
2020-08-11Only allow widgetize and token usage for view users (#16263)Thomas Steur
2020-08-04allow invalidating plugin archives only and archiving past data for plugins ↵diosmosis
(#15889) * Adding initial new code for cron archive rewrite. * first pass at removing unused CronArchive code. * unfinished commit * fill out archiveinvalidator code * getting some tests to pass * unfinished commit * fixing part of test * Another test fix. * another sql change * fix broken merge or something else that went wrong * Couple more fixes and extra logs. * Fixing enough issues to get core archive command to run completely. * Fix and log change. * Fixed more segment/test related issues for CronArchiveTest. Includes optimization for no visits for period + segment process from handling. * another optimization and possible build fix * no visit optimization * test fix * Implement archiving_custom_ranges logic w/ queue based implementation * fixes to get archivecrontest to work * add logic to invalidate today period * fix optimization and some tests * Fixing more tests. * Fixing more tests * debug travis failure * more test fixes * more test fixes, removing more unneeded code, handling some TODOs * Handle more TODOs including creating ArchiveFilter class for some cli options. * tests and todos * idarchives are specific to table + start on archivefilter tests * one test * more TODOs and tests * more tests and todo taken care of * handle more todos * fixing more tests * fix comment * make sure autoarchiving is enabled for segments when cron archive picks them up * Fixing test. * apply more pr feedback * order by date1 asc * quick refactor * use batch insert instead of createDummyArchives * apply rest of pr feedback * add removed events, add new test, fix an issue (when deleting idarchives older than do not lump all segments together). * re-add fixed/shared siteids * fix tests * incomplete commit * Insert archive entries into archive_invalidations table. * Use invalidations table in core:archive and get ArchiveCronTest to pass. * fixing some tests * debugging travis * fix more tests & remove DONE_IN_PROGRESS which is no longer used. * fix more tests * Allow forcing plugin specific archive in core:archive. * When querying from archive data use all available archives including "all" archives and plugin specific archives. * Adding some code for invalidating specific plugin archives. * Get archive invalidation test to pass. * add plugin capability to invalidate command * Handle plugin only archives in core:archive. * Add Archive test and get ArchiveCronTest to pass. * update some expected files * Fix some more tests. * incomplete commit * allow invalidating individual reports * adding more API for DONE_PARTIAL support * get archivecrontest to pass * add archive processor tests * fix some test randomnes * when purging keep latest partial archives if there is no newer whole archive * add rearchivereport method + some unfinished tests * Add archiveReports API method, fix race condition in test, when archiving single report, always ignore inserting other reports. * require archivers to handle partial archives themselves entirely instead of trying to do it automatically and allow requested report to be any string * couple fixes * Use core config option for last N montsh to invalidate. * Add test for ArchiveSelector method. * Ignore archives w/ deactivated plugins. * Refactor queue looping into new QueueConsumer class. * apply more review feedback + another fix * invalidate segments too in reArchiveReport w/ etsts * remove DONE_IN_PROGRESS, no longer used. use new status in query and add queue consumer test. * forgot to add file * delete old unneeded archives when finalizing a new one. * tweak invalidation archive description * add plugin archiving tests and get them to pass * fix test * many fixes * fix another test * update expected test files * fix more tests * last test fixes hopefully * tweak log * In case a column already exists, do not try to add it in an AddColumns migration or the entire migration will fail and no columns will be added. * try to fix tests again * fix again? * apply some review feedback + fix test * fix test * fix another test * couple fixes * Remove extra param. * apply pr feedback * check for usable archive before invalidating and before initiating archiving * fixing tests * fixing tests * fixing tests * fix another test issue * fix archiveinvalidator test * fix one test and debug another * more debugging * fix test * use twig * remove no longer needed change * add back previous logic * fix tracking is not working * apply pr feedback and add tests * fixing tests * update submodule * debugging random travis failure * update test * more debugging * more debugging * another attempt at debugging * Lets try this fix * trying to fix the build * debug * simpler test * fix test * fix test * fix test * fix test * fix test failure * update screenshots * update screenshots Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com>
2020-07-29Use new tracker mehtod to set a custom dimension (#16245)Stefan Giehl
2020-07-01Removes CustomVariables plugin from core (#16090)Stefan Giehl
* Removes CustomVariables plugin * removes CustomVariables plugin from core list * Move methods to get custom variables from request to the plugin * define visit fields to persist in plugin * do not use custom variables plugin if not available * adjust test requirements for CustomVariables plugin * Only execute update if plugin is installed * do not consider custom variables widget as api in tests * move autosuggest tests for custom variables to plugin * do not use custom variable segments in core tests * move multi column segment test to custom variables plugin * do not use custom variable segment in archive cron test * update access log to use new product view parameters instead of custom variables * move some custom variables based tests to plugin * Use Contents API instead of CustomVariables for CSV export tests * skip some tests if CustomVariables plugin is not available * Adjust tracker code generator tests to work without custom variables plugin * [TEMP] remove custom variables from system test output * adjust some tests to run without custom variables plugin * apply some review feedback * Readds Custom Variables as submodule (#16104) * Adds CustomVariables as submodule * Revert "[TEMP] remove custom variables from system test output" This reverts commit 30b56dc135b6c130c841306f739dbcd7d9f4a366. * use submodule branch * test changes due to loading CustomVariables as submodule (plugin order) * updates some expected screenshots * improve test fixture * submodule update
2020-06-26Track seconds instead of days for "days since" dimensions (#15774)diosmosis
* Modify dimensions and add tests. * unfinished debugging commit * changes to fix test, remove tracker code, add update code * fix some tests * fix migration issue * fixing some tests * fix some bugs, update some expected test files, remove _idvc from some tests * start replacing _ects * Finish seconds since last ecommerce order change. * fix couple issues * fix a couple tests * fix some more tests * fixing a couple more tests * apply review feedback * unfinished commit * add back dimensions = * fixing tests & removing some code * fix some bugs + tests and remove debugging code * fixing some tests and issues * Some debugging code for the tracker in case of exceptions. * debug and fix another issue when tracking visits in the past * fix test * update JS and fix several tests * Fixing more tests. * Add missing files. * update expected test files * Add some unit tests. * update more expected files * update more test files * update more test files * update changelog and remove _ects query param * apply review feedback * fix merge issue * clearer code * fix migration issue * update expected files * update expected files again * updating tests * fix test * rebuilt piwik.js * unify previous visitor properties / original visit row approach * fixing some tests * Add new column version entries into the option table. * try undoing 1.5 update change * apply review feedback * remove more unused cookie values * rebuilt piwik.js * Fix test count. * update test files * rebuilt piwik.js * removel log analytics submodule update * update submodule * update some expected screenshots * Fix versions in omnifixture since we were probably adding to the beta update after it changed. * update screenshots
2020-06-11Date factory test when date object is passed (#15998)Thomas Steur
2020-06-09Track ecommerce views as new dimensions instead of custom variables (#15999)Stefan Giehl
* Adds new columns to log_link_visit_action table to track ecommerce view data * update piwik.js to track ecommerce view s the new way * Adjust archiving * update tests * [TEMP] use php-tracker branch for composer * Archive custom variables the old way, only if Matomo was installed before 4.0 * add fallback to custom variables to keep bc when replaying old logs * update some expected test files * fix jslint errors * update javascript test * update dimension names * updates some expected test files * add product view data to visitor details and add suggested segment values * updates some expected test files * rebuilt piwik.js * adjust checked version * update expected ui files * updates some expected test files * submodule updates * apply some review feedback * Show product views in action tooltips * updates expected UI files Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2020-05-27Removes director detection (#15989)Stefan Giehl
* Remove detection for director * Drop column * some more adjustments * submodule updates * updates expected test files * updates expected UI files * fix test * rebuilt piwik.js * submodule updates * fix tests Co-authored-by: pebosi <mail@pebosi.net> Co-authored-by: Peter Boden <p.boden@pax.de> Co-authored-by: sgiehl <sgiehl@users.noreply.github.com>
2020-04-24Update doc blocks with new name (#15857)Stefan Giehl
* update doc blocks with new name * submodule updates * updates expected UI files
2020-04-20try to fix two UI tests (#15755)diosmosis
* try to fix two UI tests * update screenshots * try to fix oneclickupdate * try to fix build * remove debugging code * updates ui files * remove debugging code * Revert "try to fix oneclickupdate" This reverts commit 246de42be2e27e37b56231f4fab1bab3b5b6fb20. * revert oneclickupdate change * Use 4.x-dev TagManager submodule. * Use temp token auth in one click update to make sure second request always works. * try to fix random failure * add expected screenshot * try update again Co-authored-by: Stefan Giehl <stefan@matomo.org>
2020-04-17New page performance reports (#15736)Stefan Giehl
* Adds various new performance metrics and dimensions * Adds tracking for new performance values * track performance metrics only for page views * Archive new performance metrics * move everything into a new plugin * fix archiving of overall metrics * Adds new overview reports * show performance metric on some more reports * adds new page performance icon * Adds new row action to view page performance evolution for pages * Adds new stacked bar visualization for page performance evolutions * show total value in stacked bar chart tooltips * [TEMP] use php tracker package branch * Adds some simple System tests * Adds some UI tests * remove performance metrics from action reports that don't support it * move calculation to api * mark as tracker plugin * improve calculation of maximum value in bar evolution chart * enrich existing tests with performance metrics * updates expected test files * send performance metrics with the next request after they are available this might not be the pageview it self but any request after it, like a ping, goal, ... * Adds request processor to process performance metrics not sent directly with the page view * rebuilt js * Add metric decriptions to evolution chart documentation * fix convertion of microseconds part * Ensure average page load time is displayed in evolution graph in scheduled reports * fix some more tests * move page performance overview to visitors overview * Adds new table with performance metrics visualization * Adds some additional information to page performance evolution overlay * update omnifixture * updates expected UI files * Use mediumints for new dimensions * Adds additional permission check * Encode label in page performance overlay title * Improve updating performance metrics in later requests * Adds some integration tests * improves metric documentations * Send already available performance data with page view request * update tests * updates expected UI test screenshots * updates expected test files * improves archiving * show page generation time in performance metrics table if matomo was installed before 4.0 * Hide page generation time in ui reports if Matomo was installed after 4.0 * Fix removal of unavailable columns from being displayed that was done too early in the process causing to be overwritten again by the reports configureView * do not track automatically calculated generation time any more * split latency into network and server time * [TEMP] update php tracker * rebuilt piwik.js * Ensure to count zero values as hits * updates Omnifixture * updates expected test files * remove possibility to set generation time * rebuilt piwik.js * adjust tests * update php tracker * update test logs * submodule * update Omnifixture * show page load time in action tooltip and visitor summary instead of generation time * updates expected ui files * mark page generation time metric as deprecated * fix tests * [TEMP] use submodule branches * ensure lower metric values are shown as better * use 4.x-dev branch of php-tracker * update submodules
2020-04-16merge 3.x to 4.x (#15821)diosmosis
* Avoid possible error subtable already exists but not loaded (#15779) * Make sure to always set JSON_PIWIK to native JSON when possible (#15785) * make sure to always set JSON_PIWIK to native JSON when possible * rebuilt piwik.js * Force POST for bulk requests, fix alwaysUseSendBeacon not respected for bulk requests (#15784) * Force POST for bulk requests, fix alwaysUseSendBeacon not respected for bulk requests * rebuilt piwik.js * Make sure to clean up tracking failures before sending email notification (#15798) Feedback from a customer... Eg the daily `cleanupTrackingFailures()` action might be only executed after the weekly `notifyTrackingFailures` therefore we should try to clean up failures first and then check if any are left. Avoids the case where a user opens hours later the email they receive and then there are no tracking failures reported. This could still happen but it's a bit less likely. * 3.13.5-b1 * Faster segmented suggested values when browser archiving is disabled (#15786) * Faster segmented suggested values when browser archiving is disabled * make sure no segment is set * remove wrong var type * fix/add tests * add more segment values * detect if we should flatten or not * add docs * Fix problem when comparing segments or opening popovers (#15809) refs #15805 * purge all old archives regardless of done value (#15800) * purge all old archives regardless of done value, we only care about the newest usable one * Fix test and start on new one. * Add coverage for change in tests. * there is no longer an inner join so should not need the idsite check * Add more parameters to the computeNbUnique event (#15808) * 3.13.5-b2 * One click update in two parts so new code is loaded for second. (#15770) * One click update in two parts so new code is loaded for second. * remove no longer needed code Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com> Co-authored-by: Matthieu Aubry <mattab@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org>
2020-03-24Regenerates Omnifixture (#15520)Stefan Giehl
* updates Omnifixture * fix some namespaces * updates some outdated urls * use correct method * update expected UI files * ensure popover param is not sanitized * try to fix one click update ui test until 4.x stable release * fix jstracker ui test * set now timestamp for realtime test * replace some changing ids to avoid changes on omnifixture update * ui files
2020-03-23Remove user alias from DB (#15714)Thomas Steur
* Remove alias * fix more tests * fix more system tests * fix ui tests * add to developer changelog * fix typo
2020-03-18App specific token_auths (#15410)Thomas Steur
* some initial work * add security page * backing up some code * more functionality * adjust more UI parts * adjust more code * more tweaks * add todo note * few tweaks * make sure date is in right format * fix not existing column * few fixes * available hashes * use different hash algo so tests run on php 5 * fix name of aglorithm * trying to fix some tests * another try to fix some tests * more fixes * more fixes * few fixes * update template * fix some tests * fix test * fixing some tests * various test fixes * more fixes * few more tests * more tests * various tweaks * add translations * add some ui tests * fix selector * tweaks * trying to fix some ui tests * fallback to regular authentication if needed * fix call authenticate on null * fix user settings * fix some tests * few fixes * fix more ui tests * update schema * Update plugins/CoreHome/angularjs/widget-loader/widgetloader.directive.js Co-Authored-By: Stefan Giehl <stefan@matomo.org> * fix maps are not showing data * trying to fix some tests * set correct token * trying to fix tracking failure * minor tweaks and fixes * fix more tests * fix screenshot test * trigger event so brute force logic is executed * test no fallback to actual authentication * allow fallback * apply review feedback * fix some tests * fix tests * make sure location values from query params are limited properly before attempting a db insert * make sure plugin uninstall migration reloads plugins, make sure 4.0.0-b1 migration removes unique index that is no longer used, use defaults extra file in SqlDump to get test to run on travis * Fix UI tests. * update expected screenshot Co-authored-by: Stefan Giehl <stefan@matomo.org> Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2020-03-09Refactor search category/count to not use custom variables (#15286)Kate Butler
* Database migration * Populate new columns * Refactor Dimensions * Remove CustomVariables SearchCategory dimension * Update query in ActionsArchiver * New implementation of archiving for Actions.getSiteSearchCategories * Change search_count column to integer * Remove check for CustomVariables plugin being enabled * Remove references to search category/custom CV constants * Prevent undefined offset error in DataArray when row is empty * Update system tests * remove unused method * fix update script * populate sitesearch category and count in visitor details * ignore old site search variables in visitor details * updates some exptected test files * Show search categroy and count in action tooltip * append category and count to action subtitle * fix category archiving * update tests * Allow segmenting by search category and count * update tests * fix update * fix tests * keep old sitesearch vars as preserved custom variable * updates expected UI files * fix tests * set segment name correctly * apply review feedback Co-authored-by: sgiehl <stefan@matomo.org>
2020-02-27Update to PHPUnit 8.5 (#15581)Stefan Giehl
* use latest phpunit/phpunit ~8.5 * submodule updates * fixes
2020-02-26Fix CSV export for idSite=all (#15584)Stefan Giehl
* Ensure idSite=all is handled correctly * apply review feedback * Adds some new tests for CSV exports with idSite=all
2020-02-24Merge branch '3.x-dev' into 4.x-devsgiehl
2020-02-21Add UI test for JavaScript tracking. (#15567)diosmosis
* Add UI test for JavaScript tracking. * apply some review feedback * try to fix UI test on travis * Add missing screenshot. * Normalize JSTracker UI test result. * update screenshot
2020-02-19Improve / Fix UserID tests (#15595)Stefan Giehl
* always use same method to set visitor id * update expected test files
2020-01-28Use rebranded components (#15253)Stefan Giehl
2019-11-28 Remove the SiteSpecificUserAgentExcludeEnabled setting (#15089)Kate Butler
2019-11-19Only add site to list of sites to reprocess if only date being processed is ↵diosmosis
today. (#15154) * Only add site to list of sites to reprocess if only date being processed is today. * Fix test. * Purge all older archives if newest is queryable. * fix test