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-10-11Optimise ecommerce life time metric query (#18097)Sam
2021-10-08Fixed fake acess check when idsite=0, #18115 (#18116)AltamashShaikh
2021-10-07Merge 4.5.0 release (#18105)Justin Velluppillai
2021-10-06fix broken test (#18100)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-09-23Check config file was written correctly (#18024)Jason Morton
2021-09-21Improves Overlay UI tests (#17920)Stefan Giehl
2021-09-20Update device detector to 4.3.1 (#18034)Stefan Giehl
* Update device detector to 4.3.1 * update submodules * updates expected test files * Adjust methods to fetch browser logo to have the same result with new device detector version
2021-09-16add Kurdish language to Matomo (#17934)Lukas Winkler
* add Kurdish language to Matomo * use correct languagecode * updates expected test file * updates expected UI test file Co-authored-by: sgiehl <stefan@matomo.org>
2021-09-03Added config option for custom tracking image (#17879)Ben Burgess
* Added config option for custom tracking image * Update core/Tracker/Response.php Improved brevity Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update core/Tracker/Response.php Improved brevity Co-authored-by: Stefan Giehl <stefan@matomo.org> * Update tests/PHPUnit/Unit/Tracker/ResponseTest.php Remove unnecessary debug comment Co-authored-by: Stefan Giehl <stefan@matomo.org> * Added restricted list of supported mime types, automatically determine mime type for image strings, switched to using file_get_contents, is_file and is_readable for image file loading * Removed image recreation due to performance limitations Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-09-03Provide SecurityPolicy method to allow embedded iframes to fetch their ↵Justin Velluppillai
resources (#17955)
2021-09-01Prepares Weblate migration (#17927)Stefan Giehl
* Add translation stats to readme * improve generate-intl command * update readme * remove translation workflow * allow empty translation files * Adds internal parameter to ignore config in LanguageManager API * ignore missing translators * extend commands to ignore language info * Update lang/README.md Co-authored-by: Lukas Winkler <git@lw1.at> * Update commands to use Weblate instead of Transifex API * Replace remaining Transifex occurences * submodule updates * fix/update tests Co-authored-by: Lukas Winkler <git@lw1.at>
2021-08-30Syncs all translations from Transifex (#17931)Stefan Giehl
* fixes some whitespaces and formatting in english translation files * Adds translations for languages that did not yet exist * fix tests * adds missing locales * fix locale * update submodules * updates expected UI file
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
2021-08-26Update intl cldr 39 (#17917)Lukas Winkler
* replace VEF currency with VES * use new CLDR repository * update CLDR to 39 * fix tests
2021-08-22remove acceptedValues from PageUrl (#17895)Tim-Hinnerk Heuer
* remove acceptedValues from PageUrl fixes #15322 * adjust expected in test #15322
2021-08-20When aggregating reports, inflate one expanded datatable at a time (#17817)dizzy
* datatable should always be a map here * rewrite datatable aggregation to inflate a single expanded table at a time, rather than all at once * when adding a new row, make sure we do not share row instances between datatables (as this will mean sharing subtable instances as well) * support deleting datatables between specific range of IDs * fix datatable aggregation code that expands one datatable at a time * fix parameter issue * fix one type of test failure * undo last change, variation in precision is expected in column values * remove plugin submodule update * debugging change * change * debug changes * undo some debug changes, metadata changes are expected * small refactor * decimal and actions metadata changes expected * lat long changes are for duplicates, expected * correctly set metadata on created table * fix test * update expected screenshots * revert debugging changes * change modifier back * update more tests * fix UI test
2021-08-19Test Config::getBool() for clarity of configuration options (#17865)Tim-Hinnerk Heuer
* relax force ssl if assuming secure protocol #13374 * avoid error ignoring on always defined config variables #13374 * solidify Config::getBool() with unit test #13374 * leave logic as was but introduce new method: Config::getBool() #13374 * ensure all possible true settings' values are reflected and documented in tests #13374 * show developers how boolean settings should be processed and what true means in config.ini.php files #13374 * remove edge cases and exception handling fixes #13374 * Update tests/PHPUnit/Unit/Config/ConfigTest.php Co-authored-by: Stefan Giehl <stefan@matomo.org> * beautify test cases with @dataProvider #13374 * Apply suggestions from code review Co-authored-by: Stefan Giehl <stefan@matomo.org>
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-08-16Skip max execution query hint test for Mysqli (#17893)Stefan Giehl
2021-08-12before trying to invalidate parent period, make sure period is enabled in ↵dizzy
INI config (#17874) * before trying to invalidate parent period, make sure period is enabled in INI config * avoid error in queueconsumer as well * make sure we avoid disabled periods in CronArchive.php
2021-08-12Set CSP header to prevent XSS (#17798)Justin Velluppillai
* Set CSP header to prevent XSS * Add config setting to disable CSP or enable report-only mode * Modify settings and remove deprecated report-uri * Adding tests * Added tests for different settings * Prefer DI Co-authored-by: Stefan Giehl <stefan@matomo.org> * SecurityPolicy objects now constructed with Config parameter * Updates expected UI test file Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-08-12avoid large amounts of notifications being added to the session (#17736)dizzy
* impose limit on notification message size when logging to notifications * if in memory notification count exceeds max notification size in session, do not attempt to new ones it to the session * Detect when session was too large to read and provide warning to user. * add some tests for Notification\ManagerTest.php * add tests for relevant DbTable members * Change session data column type to allow larger session data values. * update to rc3 * trigger new build? * fix namespace * fix test namespaces * bump version correctly
2021-08-10Fixing some test failures (#17852)dizzy
* fix controller test * debug travis failure * debug some more * more debugging * more debugging * another debug * another debug * more debug + fix test? * remove debug changes * remove forced failure * ui test change, check status in assert for more information in test output * check image magick status AFTER comparison threshold check * try to debug test performance on travis * try to speed up some tests * fix test change * fix test * update two screenshots * update UI test again and fix random failure hopefully * try to get rid of some more random failures * some more debugging * try fixing some more random failures * stop using screenshotSelector in some tests since it (inexplicably) cant find jquery on the test page + mysqli test * another ui test tweak * trigger new build * try fixing more random failures * updates expected test file Co-authored-by: sgiehl <stefan@matomo.org>
2021-08-04update search engine listsgiehl
2021-08-04updates composer dependencies (#17828)Stefan Giehl
* updates composer dependencies * updates expected test files
2021-08-02Fix sorting of Geolocation providers (#17835)Stefan Giehl
* Fix sorting of Geolocation providers * Adds some tests for provider sorting
2021-07-30make sure summary rows are serialized with their in-db subtable ID and not ↵dizzy
in memory one (#17831) * make sure summary rows are serialized with their in-db subtable ID and not in memory one * apply review feedback
2021-07-28updates expected test filessgiehl
2021-07-22Fix Mail test (#17806)Stefan Giehl
2021-07-20Fix exporting main metrics with a period of weeks and export format CSV (#17442)Daniel Ziegenberg
* Fix exporting main metrics with a period of weeks and export format CSV * add regression unit tests for exporting main metrics with a period of weeks and export format CSV Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-07-20do not ignore remote_addr if reading the last ip in proxy header lists (#17790)Thomas Steur
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2021-07-19More helpful messages on db connection failures (#17789)Justin Velluppillai
* Added a message map to allow translating db error messages * Allow translation of db error message * Also include mysql error numbers as possible detection mechanisms for errors * Only create a new exception if we're changing the message * Missed change * Fixing tests * More test fixes * Update en.json Use MySQL server has gone away to help people google the fix
2021-07-19Support filter_truncate parameter for MultiSites API (#17795)Stefan Giehl
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-07-19Updates device detector to 4.3.0 (#17792)Stefan Giehl
* Updates device detector to 4.3.0 * updates expected test files
2021-07-16add config to read the last IP address in the list of proxies rather than ↵dizzy
the first (#17765) * by default read the last IP address in the list of proxies rather than the first * apply review feedback * apply review feedback * update expected screenshot
2021-07-13Fix possible warning that session is not active for anonymous user (#17758)Stefan Giehl
* Fix possible warning that session is not active for anonymous user * update test
2021-07-01Adds some more tests for log importer (#17700)Stefan Giehl
* Adds some tests for log importer with some basic options * test some more options * Adds tests for some more options
2021-06-25Remove type attribute from tracking code (#17685)Justin Velluppillai
* Remove redundant type="text/javascript" from matomo tracking code, see #17281 * Fix system test expected output * Fix more system tests' expected output * Fix integration tests * Fixed UI tests failure caused by removing type attribute from script tags * Fix UI tests * Fix lfs screenshot * plugins/SegmentEditor/tests/UI/expected-screenshots/SegmentSelectorEditorTest_deleted.png: convert to Git LFS * plugins/UsersManager/tests/UI/expected-screenshots/UsersManager_permissions_bulk_access_set.png: convert to Git LFS * tests/UI/expected-screenshots/UIIntegrationTest_invalid_idsite_superuser.png: convert to Git LFS * tests/UI/expected-screenshots/EmptySite_emptySiteDashboard.png: convert to Git LFS * tests/UI/expected-screenshots/UIIntegrationTest_admin_manage_tracking_code.png: convert to Git LFS Co-authored-by: sgiehl <stefan@matomo.org>
2021-06-18fix regression in trackingspamprevention and warning in bound parameter ↵dizzy
checking code (#17683) * remove testdox * fix warning if parameters is a single value, not an array * allow skipping valid host check for hardcoded URLs we know are valid * print testdox hint in case build takes too long to finish consistently * move testdox warning to correct boostrap file * fixing some tests + fix use of Date in bind params
2021-06-18don't pass null as a glob() flag (#17687)Lukas Winkler
2021-06-15Improvements to site type detection (added Drupal and WebFlow) (#17671)Stefan Giehl
* Do not send any requests to localhost or any IP in order to determine the site type * Adds integration detection for Drupal and Webflow * Make it possible to disallow Http class requests to certain hosts * log info
2021-06-10Remove archive status locking since it is not needed anymore (#17657)dizzy
* Remove archive status locking since it is not needed with the status and ts_started columns in the archive_invalidation table. * fix some tests
2021-06-09fix regression (#17656)Zoltan Flamis
* fix regression * add test Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2021-06-01insert invalidations for segment archives that get invalidated when ↵dizzy
invalidating all visits archives (#17617) * also insert segment archives that get invalidated into the archive invalidation table, when invalidating normal archives * do not schedule archiving of plugin specific archives that were invalidated
2021-05-31Allow overriding some Tracker config by idSite (#17636)dizzy
* Allow tracker config to be customized per site (for some configs) * Update Response.php * allow few more settings to be overwritten on a per site basis * idsite parameter may not be specified during Tracker\Request::__construct() (eg, during bulk tracking) * Fix another test. * Just make idsite optional for TrackerConfig::getConfigValue() calls. * try to fix remaining failure * forgot to add test file Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com>