Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
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
|
|
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>
|
|
* 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>
|
|
|
|
|
|
|
|
* 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
|
|
* add Kurdish language to Matomo
* use correct languagecode
* updates expected test file
* updates expected UI test file
Co-authored-by: sgiehl <stefan@matomo.org>
|
|
* 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>
|
|
resources (#17955)
|
|
* 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>
|
|
* 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
|
|
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
|
|
* replace VEF currency with VES
* use new CLDR repository
* update CLDR to 39
* fix tests
|
|
* remove acceptedValues from PageUrl
fixes #15322
* adjust expected in test #15322
|
|
* 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
|
|
* 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>
|
|
* 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
|
|
|
|
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
|
|
* 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>
|
|
* 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>
|
|
|
|
* updates composer dependencies
* updates expected test files
|
|
* Fix sorting of Geolocation providers
* Adds some tests for provider sorting
|
|
in memory one (#17831)
* make sure summary rows are serialized with their in-db subtable ID and not in memory one
* apply review feedback
|
|
|
|
|
|
* 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>
|
|
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
* 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
|
|
|
|
* Fix filter in UserCountry.getCountry for Map of Maps
* Adds some tests & fixes other APImethods for multiple period & site request
|
|
* Updates device detector to 4.3.0
* updates expected test files
|
|
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
|
|
* Fix possible warning that session is not active for anonymous user
* update test
|
|
* Adds some tests for log importer with some basic options
* test some more options
* Adds tests for some more options
|
|
* 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>
|
|
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
|
|
|
|
* 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
|
|
* Remove archive status locking since it is not needed with the status and ts_started columns in the archive_invalidation table.
* fix some tests
|
|
* fix regression
* add test
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
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
|
|
* 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>
|