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/libs
AgeCommit message (Collapse)Author
2020-12-13Prevent memory error when using PHP8 and a session error happens (#16943)Thomas Steur
Noticed it exceeded 512MB, then 2GB, ... It was running in an endless loop because > PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Zend_Session_Exception::handleSessionStartError(), 4 passed and exactly 5 expected i See https://www.php.net/manual/en/function.set-error-handler.php > Since PHP 8: errcontext was removed, and will no longer be passed to user callbacks. There might be also other places where we maybe use error handler
2020-11-12fix parameter order in quickform (#16708)Lukas Winkler
2020-07-24Merge branch '3.x-dev' into 4.x-devsgiehl
2020-07-21Update PiwikTracker.php (#16227)Stefan Giehl
2020-07-06don't use create_function anywhere (#16181)Lukas Winkler
2020-06-10Fix falsely assumes session was already started (#16047)Thomas Steur
fix https://wordpress.org/support/topic/an-error-occurred-session-already-started/#topic-12961322-replies The code should actually not be needed as we added a while ago `session_status()` to correctly check if a session is already active or not. SID constant is not realiable. In this case problem was this https://3v4l.org/bpUFK Basically a session was started by some other plugin causing the SID constant to be set. The plugin also directly closed the session again so we still attempted to start the session (which is correct). But then Zend falsely assumes session is started because of the SID constant when there is actually no session. SID is not reliable for this purpose and be better to rely on `session_status()` which we added a while backa
2020-06-08Switch from bower to npm and update JS libraries (#14082)diosmosis
* Starting to replace bower with npm: use updated jquery-ui from npm. * Use jquery from npm./ * Use angular from npm. * Add more angular libraries. * Use chroma-js from npm. * Remove html5shiv, does not appear to be used. * Use iframe resizer library from npm. * Add jquery-mousewheel * Add jquery.dotdotdot from npm. * Get jquery.scrollto from npm. * Get jscrollpane from npm. * Get materialize-css from npm. * Get mousetrap from npm. * Remove ngDialog, as it is no longer used. * Install qrcode.js from npm. * Get sprintf-js from npm. * Get visibillityjs from npm. * Remove bower.json. * Getting parts of matomo to work w/ new versions of libraries installed by npm. * Ignore node_modules subfolders in node_modules since we only use npm for frontend dependencies + fix a test. * Fix button padding. * Fix series picker checkboxes. * Fix karma conf. * Fix CSS in right place. * Fixing more css/less issues. * More test fixes. * Limit selection style fix. * Fix more tests + materializecss issues. * Fix a couple more tests. * Fix annotation styling. * remove error * add ng-dialog files * try to fix some tests * Fix several UI tests. * fixing more build issues * Fix several more tests and issues. * fixing more tests * split ui tests into 3 groups * fix several more issues and tests * Fix some console warnings on chrome. * Updating more test files. * fix some tests * yet more fixes * couple more fixes * another form fix * Fix some tests. * update screenshot * update more expected files * Fix two more form issues. * test commit (travis is not fetching submodules for some reason...) * remove scripts removed in merge * three travis builds * split UIIntegrationTest into multiple suites * lets try this again * updae several expected screenshots * fix some more tests * fix plugin details material select and tabs initiaialization * update screenshots + css fix * re-initialize materialize tabs since we load jquery-ui afterwards for datepicker which unsets materialize tabs * update more screenshots and fix couple more issues * update more screenshots + tweak to test * more fixes and screenshot updates * fix some issues and update more screenshots * update submodules * more fixes + more updated screenshots * more css fixes and test fixes * couple fixes & updated screenshots * update screenshots * fix random failure * Map old bower_component files to new ones in AssetManager. * Remove node_modules from PR and ignore node_modules in .gitignore and remove libs/jquery (adding new required libs). * Update .travis.yml. * update screenshots * fixing some more issues * fix copy pasta * update screenshots * fix more modal issues * Update css & screenshots. * correct close modal calls * fixing more issues * data-target instead of data-activates * fix more tests * trigger build that works? * fix more tests * update submodule * debugging travis * more debugging * try to fix test * fix modal no button click in test * update more screenshots * couple more test fixes * some more fixes and updated screenshots * update screenshots * apply some review feedback * Fix modal centering and initial top position. * apply some more pr feedback * another pr fix * update submodule * remove style * fix color of checkbox mark * Fix centering the popover Note: centering the popover relative to body doesn't work poperly anymore, maybe because of the fixed position of the widget overlay. Using the ui-widget-overlay to position the dialog centered seems to work * ignore line endings check for node modules * updates expected UI files * submodule updates * use minified file of jquery.browser.js * updates expected test files * ensure to hide parent tooltips when row action tooltips are shown * tweak less for datatable navigation * style is only useful for dashboard * update some screenshots * update submodules Co-authored-by: sgiehl <stefan@matomo.org>
2020-05-14Replace Zend Mail with PHPMailer (#15891)Stefan Giehl
* require composer package phpmailer/phpmailer * change mail class to use phpmailer instead of Zend_Mail * removes Zend_Mail and Zend_Mime * submodule * fix tests * enable smtp debug for test mail command * fix embedded images * set language for phpmailer * apply some review feedback * removes Zend_Validate (#15907) * don't inline file without cid * submodule update * fix test * decouples Mail class from PHPMailer and moves sending mails to new transport layer * submodule * cleanup * unset xmailer header * simplify mail attachment handling * adds methods to add bcc recipients * change implementation of setReplyTo
2020-05-07Bind param values manually since PDOStatement::execute() will assume … ↵diosmosis
(#15919) * Bind param values manually since PDOStatement::execute() will assume params are all strings. This causes null values to not be bound correctly. * Add insert null value test. * move test * undo submodule changes
2020-04-24Update doc blocks with new name (#15857)Stefan Giehl
* update doc blocks with new name * submodule updates * updates expected UI files
2020-04-01Useless return (#15761)Jean Baptiste Noblot
* remove useless return * remove useless return
2020-03-20Replace jscrollpane with native (#15636)pebosi
2020-03-04Fix void return used and "improve" isLeap in Date (#15662)Jean Baptiste Noblot
* let's PHP say is leap or not * try to return a void function
2020-02-29Remove jquery placeholder (#15632)pebosi
* Remove jquery.placeholder lib * Remove lib file * Remove lib file * Remove lib file * remove from bower
2020-02-27Removes GeoIp Legacy support (#15521)Stefan Giehl
* 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
2020-02-24Merge branch '3.x-dev' into 4.x-devsgiehl
2020-02-20Fix couple issues w/ samesite handling in session, make sure session … ↵diosmosis
(#15561)
2020-02-13Prevent possible notice curly braces on array (#15560)Thomas Steur
2020-02-11Merge branch 3.x-dev into 4.x-dev (#15543)Stefan Giehl
* 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>
2020-01-30Make sparklines work when mbstring extension is not installed (#15489)Matthieu Aubry
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
2020-01-29Use SameSite none for session token when embedded into iframe (#15439)Thomas Steur
2020-01-28Use rebranded components (#15253)Stefan Giehl
2020-01-27Use correct base branch for creating translation PRs (#15466)Stefan Giehl
2020-01-10Avoid using getmypid (#15364)Thomas Steur
* Avoid using getmypid * use cache for pid * revert previous change and not use cache * Added method for getmypid
2019-12-10Use appropriate SameSite value for session cookie (#15186)Kate Butler
* Set SameSite=lax for session cookie * Update warning text when Matomo is installed on HTTP * urlencode all session cookie values
2019-11-28another PHP 7.3 fix (#15204)Lukas Winkler
2019-11-18Fix socket configuration not applied in MySQLi (#15166)Thomas Steur
We have a `unix_socket` setting to connect using this setting instead of host & port. It is being used in the Mysqli Tracker DB but by the looks not in the MySQLi core db. Haven't tested it but should work and at least won't make it worse :)
2019-11-08Better detection of a succesfull start of a session (#15114)Thomas Steur
* Better detection of a succesfull start of a session Differentiate between errors and warnings in session error handler and only assume session was not started if there was an error triggered. It should not throw an exception if there was only a notice or a warning. * Update Session.php
2019-11-04Fix zend session hides actual error when there are two or more errors… ↵Thomas Steur
(#15095) * Fix zend session hides actual error when there are two or more errors/notices/warnings Need to append each warning. * Adding a space to separate errors.
2019-10-11Remove no longer used library html5shiv (#14990)Thomas Steur
2019-10-07Remove JSON2 from Admin UI (#14962)Thomas Steur
2019-10-02Fix error session already started (#14914)Thomas Steur
* Fix error session already started Got this error when going on eg `index.php?module=PrivacyManager&action=privacySettings&idSite=1&period=week&date=2019-09-20` and a session was started by another tool. That page uses NONCE which then uses SessionNamespace which then wants to start the session even though it was already started. I don't think I can write a test for it but need to see. * add test
2019-09-10fix magic quotes deprecation warning (#14873)Lukas Winkler
2019-09-10remove Zend Config (#14875)Lukas Winkler
2019-07-14use PHP filter to validate E-Mails (#14476)Lukas Winkler
* use PHP filter to validate E-Mails * remove failing test * only test with ASCII TLDs as others seem to fail * remove Zend_Validate_EmailAddress config and class
2019-07-06removes Zend_Cache (#14600)Stefan Giehl
2019-07-05Update the link tag for all php files (#14635)Luca
I updated the link tag for all php files with the new matomo link. Not sure if it is realistic that this will get merged but I though that someday someone has to do this(?)
2019-05-23add link to Legal noticeMatthieu Aubry
2019-04-11Use better random string generator in 2fa lib (#14321)Thomas Steur
2018-12-21QR code library adds several new files to vendor dir that is breaking build ↵Thomas Steur
(#13889) * replace qrcode library * use lower correctness * lets use best correctness * fix some tests * fix tests
2018-12-06Quickform2 throws warnings with PHP7.2 (#13463)Thomas Steur
fixes #13272 Haven't actually tested it but should fix the issue. If tests pass, the logic would be still the same. I don't have a PHP 7.2 running here otherwise at the moment
2018-12-03Implement Two Factor Authentication (#13670)Thomas Steur
2018-11-02Remove outdated lib changes from README (#13642)Stefan Giehl
2018-06-28Remove executable bit on most files (#13038)Adrien Crivelli
Only the files declaring a shebang have their execution bit set. Everything else is not executable to avoid possible security issues
2018-06-18replace sparkline library with modern equivalent (#12066)Lukas Winkler
* replace sparkline library with modern equivalent * test setting $enableSparklineImages to true for UI tests * update LEGALNOTICE * add minimum and maximum dots * further improve sparklines - no minimum/maximum if they are the same - add offset to the top so that maximum isn't stuck at the border - doubled resolution of image as it was a bit blurry and it's still <1.5KB * fix display size of sparklines * make Sparklines red * fix sparkline size in rowEvoluton * change line colors to black * lastPoint and padding * update Sparkline to new version * remove possibility to disable sparklines ($enableSparklineImages) * handle formatted numbers * Updates UI files
2018-04-02Mysql SSL connection support from pull request #8049 (#10866)Geoff Waggott
* Mysql SSL connection support from pull request #8049 * updated minified js * Add ssl_no_verify config option for skipping certificate verification (works only on some PHP setups). * Remove TODO comment from DbOverSSLCheck diagnostic, will create issue. * Skip test if SSL is not enabled * Undo changes to piwik.js for tests. * Tweak to DbSSLTest.
2018-03-23Quick fix for $.scrollTo on chrome: if using chrome or chromium, scroll from ↵Benaka
documentElement, not body element. (this is a change to 3rd party library) (#12642)
2018-01-10Further Piwik.org => Matomo.org replacements (#12415)Thomas Steur
* renaming more Piwik mentions * some more updates * fix some tests * support matomo partially as require string * fix tests * fix failing system test * fix tests * fix system test * fix test
2017-11-22Revert "Use composer version of GeoIP library (#12021)"sgiehl
This reverts commit 23249e9eec85350e7464eac3ec90450b2614e3c7.
2017-11-20Use composer version of GeoIP library (#12021)Stefan Giehl
* use composer version of geoip library * region london was renamend in latest geoip version