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-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
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-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-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-04-24Update doc blocks with new name (#15857)Stefan Giehl
* update doc blocks with new name * submodule updates * updates expected UI files
2020-02-27Update to PHPUnit 8.5 (#15581)Stefan Giehl
* use latest phpunit/phpunit ~8.5 * submodule updates * fixes
2019-03-15Allow customization of GeoIP2 database location using DI (#13913)Stefan Giehl
2018-12-02Support for matomo.php in log importer (submodule + tests) (#13776)diosmosis
* Update log analytics sumodule for https://github.com/matomo-org/matomo-log-analytics/pull/235 and add tests for said PR. * Update submodule again. * update submodule * Add CHANGELOG.md note for new log importer param.
2018-11-29Make matomo.js and matomo.php the default Tracking API endpoints used (#13596)Thomas Steur
* Make matomo.js and matomo.php the default Tracking API endpoints used * few fixes * fix few tests * update matomo php tracker in composer * make sure to record install version * do not overwrite ever install version * trying to fix test * more tweaks and fix tests * prefer matomo endpoint in the ui, fix some tests * file was still needed * apply review feedback * fix ui tests
2018-05-04GeoIP2 implementation as a plugin (#12699)Stefan Giehl
* require geoip2/geoip2 composer package * Determine region name based on Location Provider * Adds empty GeoIp2 plugin * move location_region column definition to GeoIp2 plugin so it's get changed as soon as the plugin is activated * Adds GeoIP2 location providers * ignore GeoIP2 mmdb files * Adds script to generate GeoIP2 test databases * Adds Command to convert region codes from FIPS to ISO for old log table records * Adds GeoIP2 AutoUpdater * Use GeoIP2 in tests * update test files * code fixes * adds tests * rename old GeoIP providers to Legacy * Let GeoIP autoupdater UI handle GeoIp2 as well * convert region codes to ISO in API after switch to GeoIP2 * do not show GeoIP providers if GeoIP2 plugin is enabled an no GeoIP Legacy provider is still in use * small fixes * review changes * Use correct region translations * Show correct message if no database can be found * if log tables have been converted, use archive date to check if region codes still need to be converted to iso * fix tests * Improves extracting GeoIP2 databases * Adjust GeoLocation diagnostics * readds old taiwan fixes * Assume all third party location providers as 'recommended' * Download database over HTTPS * remove outdated comment (see https://github.com/matomo-org/matomo/issues/12411) * Remove indication that Geoip2 may be slow, since we found it should be quite fast and this should not be an issue in theory * skip detection if IP is empty & do not try convert IP to IPv4 * remove downloaded file if an error occurs while extracting * command should be runnable multiple times * use ISO codes for suggested region codes * reload after wizard success * Drop table if exists. * Fix two translation keys. * add special region handling for UK * update system test * update UI files * submodule update * update test files
2017-12-01In log importer, allow filtering logs by host & datetime (new submodule ↵Benaka
commit + tests). (#12267) * In log importer, allow filtering logs by host & datetime (new submodule commit + tests). * Add tests for replay tracking filtering & check that filtered line is in output. * More log filtering tests for log replay.
2016-12-01Tracking API: when overriding the request datetime with an invalid ↵Thomas Steur
token_auth, don't track the request (#10899) * refs #10890 ignore tracking requests with custom timestamp, accept timestamps up to 1 day in past, added config for timestamps that require auth * fix test * update travis yml * update travis * update travis * fix test * added changelog entry * .travis.yml file is out of date, auto-updating .travis.yml file. * .travis.yml file is out of date, auto-updating .travis.yml file. * .travis.yml file is out of date, auto-updating .travis.yml file. * .travis.yml file is out of date, auto-updating .travis.yml file. * .travis.yml file is out of date, auto-updating .travis.yml file. * .travis.yml file is out of date, auto-updating .travis.yml file. * New config.ini.php setting: `tracking_requests_require_authentication_when_custom_timestamp_newer_than`
2015-09-01Adding tests for related log importer PR here: ↵diosmosis
https://github.com/piwik/piwik-log-analytics/pull/94
2015-09-01call replayLogFile method twice so one can see how often we trigger log importerThomas Steur
2015-08-31added tests for piwik/piwik-log-analytics#97 to make sure idsite option is ↵Thomas Steur
applied
2015-06-17Updating log analytics submodule for ↵diosmosis
https://github.com/piwik/piwik-log-analytics/issues/74 and make sure this code path is tested in ImportLogsTest.php.
2015-06-03Fixing all tests that use Access::setSingletonInstance().diosmosis
2015-02-11Add new --w3c-field-regex option to log importer which allows specifying ↵diosmosis
regex for any w3c extended log field. Can combine this option w/ --regex-group-to-...-cvar options to track any field that the importer doesn't natively recognize.
2015-02-11Replace --api-to-cvar params with --regex-group-to-cvar options in log ↵diosmosis
importer for greater flexibility. Added an --ignore-groups parameter to allow ignoring certain parsed groups (like userid). Also added available regex groups to log-format-regex documentation (not added in generic way unfortunately).
2015-02-08Add option to map API tracking parameter to custom variable in log importer ↵diosmosis
script. Includes change to ImportLogs system test and fix for import log custom variable handling (old behavior was to not set multiple custom variables if they were set already instead of simply adding custom variables).
2015-01-10Fixes #6919, do not check for host in regex group in log importer if format ↵diosmosis
has no regex. Also add nginx json log to log importer system test.
2015-01-08Enable more segments in tests for archiveCron testmattab
2014-12-15Adding support for parsing amazon cloudfront log files in log importer & ↵diosmosis
making W3cExtendedFormat treat time-taken field as seconds by default (since that is what the W3C format specifies). Also add support for event tracking and cloudfront RTMP logs (which provide event logs). Also allow multiple spaces in between W3C extended log files. Allow derived classes of W3cExtendedFormat to define new custom field regexes.
2014-12-15Initial commit, differences in ImportLogsTest.diosmosis
2014-12-12Change IIS log format in log importer script to be more generic and format ↵diosmosis
any log in W3C extended log format. Keeps iis format for backwards compatibility.
2014-12-09Refs #6388, map IIS time-taken field to gneration time in log importer.diosmosis
2014-12-08Refs #4707, add test for netscaler logs, support already present due to last ↵diosmosis
commit.
2014-12-08Refs #6795, add --iis-map-field option to allow users of log importer script ↵diosmosis
to parse log files created using the IIS Advanced Logging module. Includes tests for such a case (including python unit test + PHP System test).
2014-10-13refs #5940 moved files into a subfolder framework, added autoloader to ↵Thomas Steur
remove duplicated code to load autoload.php and to be able to register more autoloaders (eg for test files) on demand. This I got read of many includes that had to be updated all the time and that had to be updated all the time when moving iles
2014-10-06refs #5940 fix namespacesThomas Steur
2014-10-06refs #5940 we might stay backwards compatible this way for 2 months. moved ↵Thomas Steur
some tests from unit to integration and explained when a test is a unit test, an integration test or a system test.
2014-07-23removed lots of trailing whitespaceChristian Raue
2014-07-10Refs #5800, add namespaces to all Fixture classes.diosmosis
2014-06-10Piwik is a free/libre analytics platform. Refs #4455 GNU Package requirement ↵mattab
to use free/libre instead of open source
2014-05-09Organised imports, using phpstorm optimize imports featuremattab
2014-04-17UI test fixtures need OverrideLoginmattab
2014-04-17fix Archive*Testmattab
2014-04-05Catch all exceptionsmattab
2014-04-05Trigger buildmattab
2014-03-17Maybe too many segment requests issued to the API at once is what crashed ↵mattab
mysql on travis?
2014-03-17debugging travis failures, skipping some testsmattab
2014-03-17Refs #4827 Forgot to commit test fixture changesmattab
2014-03-13Refs #3632 Adding more tests cases for log replay functionnalitymattab
Forcing all recorders and recorders max payload to 1, to prevent random behavior (eg. in Live.getLastVisitsDetails, the pageIdAction may be random order if recorders import data in random thread order)
2014-02-28Refs #4189, bug fixes for dashboard & changes to make dashboard UI tests ↵diosmosis
possible. Includes: - fix for bug where top controls not displayed correctly when dashboard is displayed in a widget iframe. - do not display dashboard manager after dashboard action selected. - truncate tables when running UI tests w/ --persist-fixture-data so existing database data won't be used if the fixture setup didn't complete before. - do not create super user more than once in Fixture. - don't include Test_Piwik_Fixture_CustomAlerts in omni fixture. - make sure UITestFixture executes the correct code every time regardless of whether --persist-fixture-data isn't used. - add mouseup/mousedown events to screenshot testing page rendere. - add ability to call controller methods in screenshot tests and fix API calling mechanism.
2014-02-20Refactoring testing framework:diosmosis
- Rename *_BaseFixture to Fixture. - Move DB setup code to Fixture and reuse code in DatabaseTestCase. - Make IntegrationTestCase::$defaultApiNotToCall an instance var.
2014-01-31this might fix the tests as a superuser is needed to import logsThomas Steur
2014-01-31refs #4564 it does not accept a parameterThomas Steur
2014-01-31refs #4564 we have to get the token from the piwik_tests databaseThomas Steur
2014-01-31refs #4564 test whether import_logs.py script can find the token_auth ↵Thomas Steur
automatically
2013-12-15Refs #4189, use new Omni test fixture for UI tests that combines all other ↵diosmosis
fixtures.