Age | Commit message (Collapse) | Author |
|
|
|
metadata API (#18510)
|
|
* Fix some PHP8.1 deprecation warnings
* another fix
* couple more fixes
* couple more fixes
* fix another warning
|
|
API.getWidgetMetadata (#18233)
* Added code to filter response for API.getReportPagesMetadata and API.getWidgetMetadata, #DEV-2366
* Updated filters check when the filterkey is array
* Added testcases with filter for API.getWidgetMetadata and API.getReportPagesMetadata
|
|
* update database test
update database test
* update tests
update tests
* add matomo_tests to exception
add matomo_tests to exception
* test env on travis
test env on travis
* test database change on travis
test database change on travis
* update tests
update tests
* update test
update test
* update test database host
update test database host
* update tests
update tests
* Update bootstrap.php
update bootstrap to recreate empty test
|
|
SystemTestCase (#18141)
* added functionality to filter getReportMetadata and getSegmentsMetadata API response, #DEV-2366
* Added api filter setter and getter in Fixture.php, #DEV-2366
* Handled condition when fixure is not set, #DEV-2366
* Updated code and started using SystemTestCase instead of Fixtures to set and get, #DEV-2366
* started filtering testcase response for API.getReportMetadata,#DEV-2366
* Updated code to setup filter in setUpBeforeClass instead of setUp, #DEV-2366
* started adding api filter event always, #DEV-2366
* started filtering on category for getSegmentsMetadata and on module for getReportMetadata, #DEV-2366
* Added filter by Visitor for getSegmentsMetadata test and updated testcase file, #DEV-2366
* Updated code to support filter by multiple values, #DEV-2366
* Blank line to iniitiate rebuild, #DEV-2366
|
|
|
|
|
|
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>
|
|
* 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
|
|
* 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
|
|
* 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>
|
|
* Fix sorting of Geolocation providers
* Adds some tests for provider sorting
|
|
|
|
posts event that loads all activated plugins. (#17480)
|
|
* Allow generating reports in TSV format
* adds test files
|
|
child archives (#17439)
* Add new test for partial archiving edge case, add two safety/sanity checks for partial archives, fix a couple issues that arise when archiving a multi-period partial archive that has to initiate archiving for a child archive and reuse archives for a child archive.
* remove unneeded test and make existing test more trustworthy
* apply review feedback
|
|
the browser, and browser archiving is authorized (#17379)
* Initiate archiving if an archive is invalidated, the request is from the browser, and browser archiving for the current request is authorized.
* add test that was strangely removed and add tests for period = range
* Add test for tracking data in the past and fix invalidation issue in core:archive.
* Add test for default use case of core:archive w/ browser initiated range archiving.
* actually just dont perform the check if the period does not include today
* undo isPeriodIncludesToday change
* Fix ArchiveInvalidationTest and get to work, fix bug in Loader causing it to fail
* fix tests
* add comment to test
* Fix CronArchiveTest, make sure we do not use a TTL when running invalidateRecentDate("yesterday").
* tweak comment
* make sure invalid ranges only rearchive when authorized to rearchive child archive or when all child archives are usable while still respecting ttl for periods that include today
* instead of previous change, make range ttl get respected if range period is used and archiving is enabled for the current request/period
* remove dead code + tweak test
* add check for invalidated archive
* move new invalidation check to Loader from ArchiveSelector since getArchiveIdAndVisits is used in multiple code paths now
* remove TODO
* remove use
* apply pr feedback
* get tests to pass
* Fix strange test failure on travis-ci (class was loaded before mock file methods used in next test were loaded)
|
|
* speed up integration tests by not using DbHelper::getTablesInstalled()
* apply review feedback
|
|
core:archive (#17321)
* Make sure not to clear the tracker cache so often when invalidating in core:archive
* apply review feedback
* remove comment
* missed another withDelegatedCacheClears call
* fix test
* fix test
|
|
* 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
|
|
|
|
|
|
* Add system and measurable setting to enable cookie less tracking
* Never return a visitor id if cookieless tracking is forced
* Adds custom tracker.js to prevent cookies
* ignore exceptions
* cache setting in site attributes for faster tracking
* updates expected test files
* ensure getVisitorId also works without idSite in request
* fix js tests
* store global cookie flag in config to avoid failures when building tracker js
* use config instead of systemsetting
* use a new event to update the tracker file
* Fix handling in Request::getVisitorId()
* improve setting descriptions
* Revert "use config instead of systemsetting"
This reverts commit 1fdfb6808415d2984726cedfe2644de31086f927.
* Revert "store global cookie flag in config to avoid failures when building tracker js"
This reverts commit 2587dbb851d3e44f2740e39c91af3213930cad6f.
* code improvements
* Reset storage to ensure it's not filled with invalid database objects
* updates expected test files
* Remove measurable setting again
* move setting from systemsettings to ip anonymization settings
* Show a warning if tracker file is not writable
* updates expected test file
* apply some review feedback
* fix test
* updates expected screenshot
* apply review feedback
* submodule update
|
|
* Automatically add plugin group to every test
* prevent possible error
* add test
|
|
|
|
|
|
(#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>
|
|
* 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
|
|
* run new log importer with python3
* update submodule to master
* update changelog
* tweak windows python test code + allow using environment variable for test python path
|
|
* remove some code tagged with deprecated
* some more tweaks
* remove more deprecated methods
* more deprecations
* remove old files
* remove more deprecated methods
* fix some tests
* update logviewer submodule
* fix some tests
* fix ui test
* another deprecation
* Update CHANGELOG.md
Co-authored-by: Stefan Giehl <stefan@matomo.org>
* add test for dimensions provider
Co-authored-by: Stefan Giehl <stefan@matomo.org>
|
|
* unfinished commit
* ensure correct order with test
* add unit test for climulti:request parser and get to pass
* fix test
* forgot to add file
* add missing method and tests
* couple fixes
* fix test
* Fix unit test.
|
|
* 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>
|
|
|
|
* Remoing gears
* Remove gears from test files
* revert removing gears column from dump
* Move sql update to core
* Revert "visitorGeolocator: output actual changes in debug mode (#12478)" (#12480)
This reverts commit 19a7654a9fd775d5bcaed3b9a22224228288c7f3.
* Merge with latest changes
* Merge with latest changes
* revert
* revert, add migration
* add migration
* Merge
* Merge
* revert
* Update core/Tracker/Settings.php
Use 0 as default
Co-Authored-By: Stefan Giehl <stefan@matomo.org>
* fix tests
* rebuilt js
* updates expected UI files
* update changelog
* submodule updates
Co-authored-by: Peter Boden <p.boden@pax.de>
Co-authored-by: pebosi <mail@pebosi.net>
Co-authored-by: Matthieu Aubry <mattab@users.noreply.github.com>
|
|
* update doc blocks with new name
* submodule updates
* updates expected UI files
|
|
* removes some unused methods
* reactivate some skipped tests
|
|
* run tests on php 7.4 / xenial
* composer update
* fix lfs check
* adjust travis.yml
* adds distribution param
* update submodule
* update travis.yml
* fix icon tests
* Fix array access error on PHP 7.4
* fix test
* avoid usage of deprecated assertArraySubset
* convert expectedException annotations
* avoid error on php 7.4
* Use assertion instead of conditional expection
* add separat expected test result asserialize output changed for PHP7.4
* updates expected ui files
* fix ui test
* run UI tests on xenial dist
* updates expected ui files
* Update core/DataTable/Renderer.php
* updates expected UI files
* submodule update
|
|
* Remove alias
* fix more tests
* fix more system tests
* fix ui tests
* add to developer changelog
* fix typo
|
|
|
|
* 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>
|
|
* use latest phpunit/phpunit ~8.5
* submodule updates
* fixes
|
|
* Removes GeoIp Legacy support
* move rendering provider configuration to the provider, to allow other providers to define an own one
* move related translations to GeoIp2 plugin
* Adds some UI tests
* Apply review feedback
|
|
|
|
* Removes deprecated class Piwik\Translate
* use submodule branches
* adjust test
* fix typo
* readd deprecated Piwik\Translate
* submodule updates
|
|
* Ensure https warning is hidden in optout ui test
* ensure to include image tests on travis
* try to fix update test
* improve feedback ui test
* fix update ui test
* try to fix 2factorauth ui test
* updates expected test files
* improve 2fa ui tests
* improve usersmanager ui test
* updates expected test file
* try killing cookies on logout
* allow some pixels difference for usermanager tests
* try to fix randomly failing dashboard test
* try to fix emptysite ui test
* remove no longer needed ui file
|
|
|
|
|
|
* Updates search engine and social definitions (#15384)
* updates device detector to latest release (#15388)
* updates device detector to latest release
* updates tests
* translation update (#15389)
* Fix Could not get the lock for ID, when creating a site (#15401)
* Lock key start
* do not empty key lock
Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com>
* 3.13.1
* submodule updates
* Use correct name in update available message (#15423)
* Fix removing user capabilities (#15422)
* Order of implode() args, avoid E_NOTICE in PHP7.4 (#15428)
* Fixes possible php warning in visitor log (#15442)
* silence is_executable call (#15446)
* Make sure geolocation admin experience is consistent if user is not using GeoIp2 plugin. (#15447)
* Fix referrers test. (#15448)
* Ensure to close visitor popover correctly (#15443)
* Fixes possible warning (#15453)
* Forward instance_id from local config when reseting config during tests. (#15445)
* Add event that allows plugins to disable archiving for certain periods/sites if they want. (#15457)
* Add event that allows plugins to disable archiving for certain periods/sites if they want.
* apply review feedback
* Fix possible warning for columns without index (#15467)
* Day range archiving issue (#15462)
* Improve lock ID check for max length (#15407)
Better patch for https://github.com/matomo-org/matomo/pull/15401 which was merged last minute...
This way it always works even when someone calls `acquireLock` directly instead of `execute`
Pushing this for now into 3.x-dev but can also put it into 4.x-dev directly but then there might be merge conflicts when merging 3.x-dev into 4.x-dev
* Use SameSite none for session token when embedded into iframe (#15439)
* Make sure tracking works in IE9 and lower (#15480)
* Mention Joomla install FAQ (#15481)
* Make sparklines work when mbstring extension is not installed (#15489)
1) Too few arguments to function mb_strtolower(), 1 passed in matomo/vendor/davaxi/sparkline/src/Sparkline/StyleTrait.php on line 129 and exactly 2 expected
2) mb_strlen is not defined
* update screenshots (#15488)
* 3.13.2-rc1
* Use safemode when running CLI commands (#15472)
* update icons submodule (#15490)
* update icons submodule
* update UI tests
* Fix possible undefined index notice (#15502)
* Use latest davaxi/sparkline release (#15464)
* translation update
* submodule updates
* Fix deprecation notice (#15530)
see https://github.com/matomo-org/matomo/pull/15467#issuecomment-583283444
* 3.13.2-rc2
* update cache component (#15536)
* fixes copy dashboard to user for more than 100 users (#15538)
cherry picking #15424 to fix #15420 in 3.x-dev
* Add missing return statement. (#15539)
* 3.13.2
* update tests
* update tests
Co-authored-by: Matthieu Aubry <mattab@users.noreply.github.com>
Co-authored-by: Thomas Steur <tsteur@users.noreply.github.com>
Co-authored-by: Peter Upfold <pgithub@upfold.org.uk>
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Co-authored-by: Lukas Winkler <github@lw1.at>
|
|
|