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/Zend
AgeCommit message (Collapse)Author
2021-12-14Fix possible undefined constant exception when using ssl_no_verify (#18491)Stefan Giehl
2021-11-24Further improvements for PHP 8.1 (#18330)Stefan Giehl
* Fix some PHP8.1 deprecation warnings * another fix * couple more fixes * couple more fixes * fix another warning
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-08-02[PHP 8.1 compatibility] don't pass null to PDOStatement::fetch() (#17689)Lukas Winkler
* don't pass null to PDOStatement::fetch() * use FETCH_BOTH as default * do not set default value for $style it's set in the method if null was given Co-authored-by: Stefan Giehl <stefan@matomo.org>
2021-07-19do not try and set mysqli ssl option through mysqli_options since it is set ↵dizzy
later via mysqli_ssl_set (#17788)
2021-05-12Use Common::safe_unserialize for session data (#17539)Stefan Giehl
* Use safe_unserialize in Session * Allow Notification class in session * update readme
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-07-24Merge branch '3.x-dev' into 4.x-devsgiehl
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-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-01Useless return (#15761)Jean Baptiste Noblot
* remove useless return * remove useless return
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-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-01-29Use SameSite none for session token when embedded into iframe (#15439)Thomas Steur
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-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-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-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
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-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.
2017-07-03Update list of valid hostnames (#11836)Stefan Giehl
* Update list of valid hostnames * remove duplicates
2017-02-19Fix the builds + Submodule update (#11355)Matthieu Aubry
* Fix the build * UI tests * Submodules * UI test
2016-08-23Fix the integration test and patch Zend Validatemattab
2016-04-20Fix testsThomas Steur
* Ignore idvisitor in system tests as it always changes in each test * Skip email tests in case intl extension is not installed * Update ui tests
2016-04-08New TLDs, refs https://github.com/piwik/piwik/issues/9977mattab
2016-03-30Fix the integration test, until next time - Refs #9977mattab
2016-03-28Merge pull request #9674 from sebastianpiskorski/9486_test_caseThomas Steur
Test for PR #9486, Validate allowed TLDs with current IANA list
2016-03-24Test for PR #9486, Validate allowed TLDs with current IANA listsebastianpiskorski
2016-02-13show error message in case we deactivate a plugin because of missing ↵Thomas Steur
dependencies
2016-01-08#9485 Allow up to 63 characters TLD in emailsebastianpiskorski
We should allow for 63 characters TLDs, according to RFC 1035, instead of arbitrary 10. https://en.wikipedia.org/wiki/Domain_Name_System#cite_ref-rfc1034_1-2 As far as minimum length of 2 is acceptable, becuse IANA says that it isn't likely to introduce 1 character TLD, maximium length is too short. This partially resolves #9485
2015-09-21Add error control operator prefix @ before ini_set()Joey3000
Added where where missing
2015-07-01Fix Zend\Validate using deprecated iconv_set_encoding()barbushin
2015-01-13Fix #6980 "Array to string conversion" noticeMatthieu Napoli
2013-10-03removed unused Zend_Validate_Dbsgiehl
2013-10-03removed unused Zend_Validate_Sitemapsgiehl
2013-10-02removed unused Zend_Validate_Barcodesgiehl
2013-10-02removed Zend_Uri as it isn't used anymoresgiehl
2013-10-02removed Zend_Http as it isn't used anymoresgiehl
2013-10-01changed ExampleRssWidget to use simplexml instead of Zend_Feed, which is ↵sgiehl
unused now and can be removed
2013-09-27Remove Zend_Log lib.Benaka Moorthi
2013-09-26Remove Zend_Auth from libs dir as it is no longer used.Benaka Moorthi
2013-09-06Fix Tracker variable was not set properlymattab
2013-07-31Refs #3741 Resuming PHP Namespaces conversion of Piwik core, mostly finished ↵mattab
core/ conversion