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
path: root/tests
AgeCommit message (Collapse)Author
2021-10-082-lines label overflows the input on small device (#18052)Peter Zhang
2021-10-07Merge 4.5.0 release (#18105)Justin Velluppillai
2021-10-06Transition data exporting (#18062)Ben Burgess
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-05Icon for "Report generated X min ago" displayed for "Today" is too small ↵Peter Zhang
(#18035) * update icon and CSS update icon and CSS * remove time icon remove time icon * update related screenshots update related screenshots
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-10-01submodule updatesgiehl
2021-09-28[Vue] Introduce Vue + Workflow commands (#17940)dizzy
* adding vue * adding webpack config + example vue library project * forgot to add base tsconfig.json * Add build command that allows building all plugins + watching for changes. * autodetect umd bundles * initial externals detection * integrate vue CLI * add externals config via vue config * explain regenerator issue * remove ie11 * Build polyfills in separate library. * add command to quickly compute total asset size (minified + gzipped) * output tweak for --exclude-angular * Explicitly disable support for ie11 since Vue 3 does not support it. * rebuild and add option to clear webpack cache to build commands * Add example vue component that compiles w/ vue 3. * get example vue component to display * include tslib via polyfills so it is not compiled in each library * get async component loading to work * some tweaks and tests * Add generate vue component command and run to generate activity indicator template. * switch to using composition api since that is apparently better supported, and get activity indicator adapter to bind data properly * remove vue-class-component npm package * eslint changes * rever tracking JS change * tweak * Remove CoreVue vue dir which was just there for testing. * Update vue.config.js * apply some review feedback * add plugin to compute js asset size command * use local script to build * update changelog and apply review feedback * fix bower component mapping * update expected screenshots * update screenshot * Update and rename 4.5.0-b2.php to 4.6.0-b1.php * Update Version.php * update expected screenshot * updates expected UI test files 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-27Disable http requests on config (#18063)Justin Velluppillai
* re-init * Updated expected screenshot
2021-09-24add mysql row format dynamic option (#18002)Peter Zhang
2021-09-23Check config file was written correctly (#18024)Jason Morton
2021-09-22removed Mssql and pgsql (#18042)Peter Zhang
2021-09-21Improves Overlay UI tests (#17920)Stefan Giehl
2021-09-21Allow social & search definitions to be sourced locally (#18023)Sam
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-17only show_limit_control on Acquisition/Overview (#18017)Tim-Hinnerk Heuer
2021-09-17Added note to config that MYSQLI isn't supported for max execution (#18018)Ben Burgess
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-16Add piwik.js public api method setPagePerformanceTiming. (#17901)Tim-Hinnerk Heuer
2021-09-15Revert "if not comparing, set show_limit_control to true for Evolution ↵Stefan Giehl
Report (#17987)" (#18010) This reverts commit 9585236c88c591b377758bad315564852c27ef43.
2021-09-15if not comparing, set show_limit_control to true for Evolution Report (#17987)Tim-Hinnerk Heuer
* if not comparing, show limit control #17965
2021-09-14add promotion for seo web vitals, add campaign for Heatmaps and Sessi… ↵Tim-Hinnerk Heuer
(#17979) * add promotion for seo web vitals, add campaign for Heatmaps and Session Recording fixes #17975 * improve naming * clarify naming of events * update ui-screenshot expected images * only show once on performance page * update ui-test screenshot
2021-09-10updates all submodules (#17986)github-actions[bot]
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
2021-09-09automatically wait for lazy images in UI tests (#17981)Stefan Giehl
2021-09-08Fix failing UI tests (#17970)Stefan Giehl
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-01submodule updatesgiehl
2021-09-01Use newer version of Puppeteer for UI tests (#17880)Stefan Giehl
* Use latest version of Puppeteer for UI tests * use newer node on travis * test * use waitForTimeout / waitForSelector instead of waitFor * Handle BC for removed waitFor method * Updates expected UI test files * update submodules * improve/fix some UI tests * Updates expected UI test files * improve/fix some UI tests * update url-parse dependency * simplify some UI tests * update screenshot * avoid using merged assets that are broken * fix expected compare exit code * don't use merged assets for TwoFactorAuth UI tests it seems due to too many requests to login, logout and other pages merging the CoreJS assets somehow fails, and results in returning an empty file. Even the reload fails to serve the correct content, so maybe the file, the content should be written to, is somehow locked. Disabling the merged assets seems to fix this issue for this tests. Locally the tests are also running correctly with merged assets. * improve handling of automatic css / js reloading in UI tests * increase timeouts of TwoFactorAuth UI tests * fix 2fa ui test * revert change * update new screenshot * updates UI screenshots * submodule updates
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-04update Matomo icons submodule (#17811)Lukas Winkler
* update Matomo icons submodule * fix symlinks * updates expected UI files Co-authored-by: sgiehl <stefan@matomo.org>
2021-08-04updates composer dependencies (#17828)Stefan Giehl
* updates composer dependencies * updates expected test files
2021-08-03Fix long failing UI tests (#17848)Justin Velluppillai
* Fixed failing UI test * Fixed two more failing UI tests
2021-08-02Ensure to use correct default value for segment in scheduled reports (#17808)Stefan Giehl
* Ensure to use correct default value for segment in scheduled reports * updates expected UI file
2021-08-02Fix sorting of Geolocation providers (#17835)Stefan Giehl
* Fix sorting of Geolocation providers * Adds some tests for provider sorting