9043 Commits

Author SHA1 Message Date
b757d25c4b Fix #18328: Raise warning when trying to register a file after View::endBody() has been called 2021-10-23 16:08:33 +03:00
6fdba043d7 Update Session.php (#18969) 2021-10-22 08:46:29 +02:00
d80974da30 Fix #18955: Check yiisoft/yii2-swiftmailer before using as default mailer in yii\base\Application 2021-10-20 11:10:20 +03:00
0041f034fd [doc] Update PHP doc links (#18957)
* Replace https://secure.php.net with https://www.php.net

* Replace http://www.php.net with https://www.php.net
2021-10-19 14:50:26 +02:00
ae82b58d85 Fix #18909: Fix bug with binding default action parameters for controllers 2021-10-19 01:01:46 +03:00
14a28ab4f4 docs improvment (#18935) 2021-10-05 10:13:33 +02:00
7cca296a5e Framework(Baseyii.php) -----> fixed typos and improved doc (#18927)
* fixed typos and improved doc

* spacing fix

* The ---> the

* removed "are"

Co-authored-by: Bizley <pawel@positive.codes>
2021-10-03 19:33:30 +02:00
0181a49bb4 Fix phpdoc in BaseFileHelper (#18928) 2021-10-03 16:31:37 +03:00
ccf979196c Fix yii\i18n\GettextMessageSource PHPDoc (#18916) 2021-10-03 00:23:20 +03:00
e078c9422f Fix typos 2021-10-02 21:36:35 +03:00
3578621833 Shorten two identical statements in compare validator (#18922) 2021-10-01 23:37:54 +03:00
f7c81fb044 Fix BaseMigrateController::$migrationPath phpdoc (#18924) 2021-10-01 23:35:54 +03:00
175f66e6e0 Fix #18908: Add stdClass as possible return type to getBodyParams (#18918) 2021-10-01 23:23:30 +03:00
2c3f5d990c Fix #18733: Fix session offset doc types (#18919) 2021-10-01 17:16:38 +03:00
01b6b2a5d1 Fix #18913: Add filename validation for MessageSource::getMessageFilePath()
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-10-01 00:52:36 +03:00
e3028c524d Fix #18899: Replace usages of strpos with strncmp and remove redundant usage of array_merge and array_values 2021-09-28 11:06:46 +03:00
f2caf02164 Fix #18904: Improve Captcha client-side validation 2021-09-28 09:55:47 +03:00
1d7f9d8d2d Fix #18898: Fix yii\helpers\Inflector::camel2words() to work with words ending with 0 2021-09-23 17:24:17 +03:00
f8e65d2027 Fix @since tag in XmlResponseFormatter.php (#18901)
Wrong version, see https://github.com/yiisoft/yii2/blob/master/framework/CHANGELOG.md#2044-under-development
2021-09-23 15:18:17 +03:00
7332cc2cba Fix an invalid phpDoc annotation of yii\data\DataProviderInterface::getSort(). (#18897) 2021-09-22 19:13:09 +02:00
fdbdbb51fb Fix #18886: Fix default return of yii\db\Migration::safeUp() and yii\db\Migration::safeDown() 2021-09-19 12:38:06 +03:00
4e5c95f8f1 Fix PhpDoc of yii\console\Controller::stderr() (#18885) 2021-09-18 21:32:16 +03:00
6b8b0a94d9 Fix phpdoc of yii\base\Model 2021-09-18 00:10:23 +03:00
d6632a8367 Fix phpdoc of yii\base\Model (#18888) 2021-09-17 23:57:49 +03:00
f3956a4eec Fix header collection from array (#18883)
* Fixed HeaderCollection::fromArray() key case

* Added CHANGELOG.md line for #18883 (Fixed HeaderCollection::fromArray() key case)
2021-09-17 09:29:33 +02:00
Leo
9ed87a0ad6 Fix #18858: Reduce memory usage in yii\base\View::afterRender method 2021-09-14 17:41:53 +03:00
59eb9a3395 Fixed ArrayHelper::toArray for DateTime (#18880)
* Fixed ArrayHelper::toArray() for DateTime object

* Updated README.md for #18880 (Fixed ArrayHelper::toArray() for DateTime object)

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-09-14 15:30:10 +02:00
ea60fba0ae Fix yii\base\Controller::bindInjectedParams() to not throw error when argument of ReflectionUnionType type is passed (#18869) 2021-09-06 20:16:14 +02:00
932806b97d Fix #18812: Added error messages and optimized "error" methods in yii\helpers\BaseJson 2021-09-06 15:51:13 +03:00
ac373c06fe Fix #18845: Fix duplicating id in MigrateController::addDefaultPrimaryKey() 2021-09-03 11:35:19 +03:00
4f387d05c1 Fix #17119: Fix yii\caching\Cache::multiSet() to use yii\caching\Cache::$defaultDuration when no duration is passed 2021-09-03 10:02:47 +03:00
0b29ba870e Fix #18762: Added yii\helpers\Json::$keepObjectType and yii\web\JsonResponseFormatter::$keepObjectType in order to avoid changing zero-indexed objects to array in yii\helpers\Json::encode() 2021-08-24 22:30:33 +03:00
ec07ad9ff9 Fix #18783: Add support for URI namespaced tags in XmlResponseFormatter, add XmlResponseFormatter::$objectTagToLowercase option to lowercase object tags
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-08-24 16:54:50 +03:00
489a543b10 Use ircs as IRC protocol
See b583310476
2021-08-19 23:17:05 +03:00
44388e2cf9 Revert changes in dispatcher 18841 (#18843) 2021-08-18 23:29:04 +03:00
383241f65c Fix #18840: Fix yii2/log/Logger to set logger globally 2021-08-18 00:16:57 +03:00
df6e5869bd docs: update RFC 7239 link (#18839)
fix #18838
2021-08-16 17:26:31 +02:00
b7943c6732 Fix #18823: Rollback changes #18806 in yii\validators\ExistValidator::checkTargetRelationExistence() 2021-08-15 16:15:14 +03:00
c21322f0c6 Added missing note for $categoryMap (#18834) 2021-08-14 11:08:44 +02:00
63e93ba243 Fix #18832 - Inflector::camel2words() adding extra spaces (#18833) 2021-08-14 10:43:23 +02:00
463a67bc73 Add ability to turn the sorting off for a clicked column in GridView with multisort (#18826)
* Add ability to turn the sorting off for a clicked column in GridView with multisort

* Update Sort.php

* Fix SortTest

* Update CHANGELOG.md

Co-authored-by: Bizley <pawel@positive.codes>
2021-08-11 13:37:37 +02:00
c94d7049c5 Issue #18646 Cleanup auth data from session if findIdentity() returns… (#18649)
* Issue #18646 Cleanup auth data from session if findIdentity() returns null

* Issue #18646 Refactor fix to remove stale identity data from session

* Issue #18646 Fix test for HttpBasicAuth (#15658)

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
2021-08-11 10:35:01 +02:00
43f6a79e55 prepare for next release 2021-08-09 20:39:11 +03:00
540a9011af release version 2.0.43 2021-08-09 20:38:43 +03:00
5f3b3eb96d Fix typo in UPGRADE 2021-08-09 20:36:12 +03:00
e1fe04901a Adjust changelog 2021-08-09 20:13:42 +03:00
c8e4e0727a Fix #18674: Added more user-friendly exception messages for yii\i18n\Formatter 2021-08-09 10:26:10 +03:00
13f27e4d92 Fix #18817: Use paragonie/random_compat for random bytes and int generation 2021-08-09 10:25:36 +03:00
c5f8d7df20 Fix #18807: Fix replacing source whitespaces and optimize code of yii\helpers\BaseStringHelper::mb_ucwords() 2021-08-07 17:54:10 +03:00
f35f53eaf8 Preventing breaking profiling messages when flushing (#18800) 2021-08-07 17:06:25 +03:00