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
|
|
(#18035)
* update icon and CSS
update icon and CSS
* remove time icon
remove time icon
* update related screenshots
update related screenshots
|
|
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>
|
|
|
|
* 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>
|
|
* 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>
|
|
* re-init
* Updated expected screenshot
|
|
|
|
|
|
|
|
|
|
|
|
* 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>
|
|
|
|
Report (#17987)" (#18010)
This reverts commit 9585236c88c591b377758bad315564852c27ef43.
|
|
* if not comparing, show limit control #17965
|
|
(#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
|
|
Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
|
|
|
|
|
|
* 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)
|
|
|
|
* 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
|
|
* 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>
|
|
|
|
* update Matomo icons submodule
* fix symlinks
* updates expected UI files
Co-authored-by: sgiehl <stefan@matomo.org>
|
|
* updates composer dependencies
* updates expected test files
|
|
* Fixed failing UI test
* Fixed two more failing UI tests
|
|
* Ensure to use correct default value for segment in scheduled reports
* updates expected UI file
|
|
* Fix sorting of Geolocation providers
* Adds some tests for provider sorting
|