Alexander Gubarev
e3028c524d
Fix #18899 : Replace usages of `strpos` with `strncmp` and remove redundant usage of `array_merge` and `array_values`
3 years ago
hexkir
f2caf02164
Fix #18904 : Improve Captcha client-side validation
3 years ago
Michaël Arnauts
1d7f9d8d2d
Fix #18898 : Fix `yii\helpers\Inflector::camel2words()` to work with words ending with 0
3 years ago
Basil
f8e65d2027
Fix @since tag in XmlResponseFormatter.php ( #18901 )
...
Wrong version, see https://github.com/yiisoft/yii2/blob/master/framework/CHANGELOG.md#2044-under-development
3 years ago
Alexander Gubarev
7332cc2cba
Fix an invalid phpDoc annotation of `yii\data\DataProviderInterface::getSort()`. ( #18897 )
3 years ago
Anton
fdbdbb51fb
Fix #18886 : Fix default return of `yii\db\Migration::safeUp()` and `yii\db\Migration::safeDown()`
3 years ago
Anton
4e5c95f8f1
Fix PhpDoc of `yii\console\Controller::stderr()` ( #18885 )
3 years ago
Anton
6b8b0a94d9
Fix phpdoc of yii\base\Model
3 years ago
Anton
d6632a8367
Fix phpdoc of `yii\base\Model` ( #18888 )
3 years ago
rhertogh
f3956a4eec
Fix header collection from array ( #18883 )
...
* Fixed HeaderCollection::fromArray() key case
* Added CHANGELOG.md line for #18883 (Fixed HeaderCollection::fromArray() key case)
3 years ago
Leo
9ed87a0ad6
Fix #18858 : Reduce memory usage in `yii\base\View::afterRender` method
3 years ago
rhertogh
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>
3 years ago
Bizley
ea60fba0ae
Fix yii\base\Controller::bindInjectedParams() to not throw error when argument of `ReflectionUnionType` type is passed ( #18869 )
3 years ago
Anton
932806b97d
Fix #18812 : Added error messages and optimized "error" methods in `yii\helpers\BaseJson`
3 years ago
Anton
ac373c06fe
Fix #18845 : Fix duplicating `id` in `MigrateController::addDefaultPrimaryKey()`
3 years ago
Oscar Barrett
4f387d05c1
Fix #17119 : Fix `yii\caching\Cache::multiSet()` to use `yii\caching\Cache::$defaultDuration` when no duration is passed
3 years ago
Jaak Tamre
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()`
3 years ago
Anton
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>
3 years ago
Alexander Makarov
489a543b10
Use ircs as IRC protocol
...
See b583310476
3 years ago
Bizley
44388e2cf9
Revert changes in dispatcher 18841 ( #18843 )
3 years ago
lexizz
383241f65c
Fix #18840 : Fix `yii2/log/Logger` to set logger globally
3 years ago
Evgeniy Tkachenko
df6e5869bd
docs: update RFC 7239 link ( #18839 )
...
fix #18838
3 years ago
Anton
b7943c6732
Fix #18823 : Rollback changes #18806 in `yii\validators\ExistValidator::checkTargetRelationExistence()`
3 years ago
Bizley
c21322f0c6
Added missing note for $categoryMap ( #18834 )
3 years ago
Brandon Kelly
63e93ba243
Fix #18832 - Inflector::camel2words() adding extra spaces ( #18833 )
3 years ago
Andrew
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>
3 years ago
Michael Härtl
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>
3 years ago
Alexander Makarov
43f6a79e55
prepare for next release
3 years ago
Alexander Makarov
540a9011af
release version 2.0.43
3 years ago
Alexander Makarov
5f3b3eb96d
Fix typo in UPGRADE
3 years ago
Alexander Makarov
e1fe04901a
Adjust changelog
3 years ago
Bizley
c8e4e0727a
Fix #18674 : Added more user-friendly exception messages for `yii\i18n\Formatter`
3 years ago
Alexander Makarov
13f27e4d92
Fix #18817 : Use `paragonie/random_compat` for random bytes and int generation
3 years ago
Anton
c5f8d7df20
Fix #18807 : Fix replacing source whitespaces and optimize code of `yii\helpers\BaseStringHelper::mb_ucwords()`
3 years ago
Bizley
f35f53eaf8
Preventing breaking profiling messages when flushing ( #18800 )
3 years ago
Allan
c905c10c93
Document that link() will not trigger events/behaviors ( #18683 )
3 years ago
Anton
7ebaaf0216
Fix #18789 : Added JSONP support in `yii\web\JsonParser::parse()`
3 years ago
Anton
1474e2d61a
Optimize `yii\validators\ExistValidator`
...
Optimize methods `valueExists()` and `checkTargetRelationExistence()`
3 years ago
DrDeath72
be1b98b1df
Fix #18756 : Fix `\yii\validators\ExistValidator::queryValueExists` to validate against an array of unique values
3 years ago
Alexander Makarov
1a057444ab
Update URLs ( #18802 )
...
Composer doesn't support ircs protocol yet
3 years ago
Bizley
fb7bc9fa5c
Fix #18274 : Fix `yii\log\Logger` to calculate profile timings no matter the value of the flush interval
3 years ago
Anton
9607d0eb52
Small fixes in `yii\helpers\BaseStringHelper` ( #18795 )
...
- Update and format PhpDoc's
- Format code to be more readable
- Replace similar code to `byteSubstr()`
3 years ago
Anton
86d7e95077
Minor enhancements for JsExpression ( #18793 )
...
- Fix class phpDoc.
- Convert expression to string in `__toString()`.
3 years ago
Anton
22c7cef869
Fix PhpDoc in yii\db\Query ( #18752 )
3 years ago
Anton
d9928455e3
Fix PhpDoc for yii\db\{QueryInterface,Query} ( #18753 )
3 years ago
Mark Huot
25c0e6dcad
Fix #18656 : Added ability for `yii serve`'s `--router` param to take an alias
3 years ago
Sohel Ahmed Mesaniya
fd7373f1c6
Make docs gender agnostics ( #18781 )
3 years ago
Steve
4276eb4955
Fix $value parameter types in yii\i18n\Formatter::normalizeDatetimeValue()
3 years ago
Sergei Predvoditelev
8cc9aeb2f0
Fix #18749 : Fix `yii\web\ErrorHandler::encodeHtml()` to support strings with invalid UTF symbols
3 years ago
egorrishe
17742cb146
don't convert int to string if db type of column is numeric ( #18741 )
...
* write adequate test for issue #14663
* don't convert int to string if db type of column is numeric (#14663 )
* fix bigint schema test for MySql >8.0.17 (#14663 )
* Update CHANGELOG.md
* Update CHANGELOG.md
* update phpdoc [ci skip] (#14663 )
* refactoring test case to make it clearer [ci skip] (#14663 )
* check `int unsigned` in `QueryBuilderTest::testInsertInteger()` (#14663 )
* Update Upgrade.md (#14663 )
* fix `int unsigned` schema test for MySql >8.0.17 (#14663 )
* fix `int unsigned` schema test for MySql <5.7 (#14663 )
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago