e352649a75
Improve DataFilterTest ( #19341 )
2022-04-08 13:48:17 +04:00
06e5472753
Fix #19256 : Pass missed $view to user's callback in yii\validators\InlineValidator::clientValidateAttribute()
2022-04-08 01:20:28 +04:00
1382aea4a8
Fix #19295 : Added alias text/rtf for mime-type application/rtf
2022-04-07 00:14:00 +04:00
14c42b7bb5
Added jfif to mimeTypes.php ( #19338 )
...
* Added `jfif` to mimeTypes.php
Added the 'image/jpeg' mime type for `.jfif` files (https://en.wikipedia.org/wiki/JPEG_File_Interchange_Format )
* Update MimeTest.php
Added 'jfif' extension to MimeTest
2022-04-05 08:28:41 +02:00
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
f6d328335e
GroupUrlRule slash in prefix ( #19330 )
...
* Bring back slash
* changelog
* group url rule test
2022-03-29 21:37:25 +02:00
091b055ce9
Fix yii\caching\Dependency::generateReusableHash() ( #19303 )
...
* Fix yii\caching\Dependency::generateReusableHash()
* Update DbQueryDependencyTest.php
* Update CHANGELOG.md
* Update Dependency.php
* Update framework/caching/Dependency.php
Co-authored-by: Bizley <pawel@positive.codes>
* Update comment Dependency::generateReusableHash()
Co-authored-by: Bizley <pawel@positive.codes>
2022-03-29 08:22:34 +02:00
2874e070f3
Fix #19322 : Revert force setting value to empty string in case it's null in yii\validators\FilterValidator::validateAttribute()
2022-03-24 17:50:00 +04:00
7b8c29d874
Fix #19243 : Handle finfo_open for tar.xz as application/octet-stream on PHP 8.1
2022-02-19 23:45:20 +03:00
7fd85d2268
Fix MimeTest
2022-02-11 16:39:05 +03:00
730f0e56b5
Fix #18821 : Allow yii\db\ExpressionInterface as column in yii\db\conditions\InBuilder
2022-02-08 16:51:38 +03:00
7a2689e761
Fix #19004 : Container::resolveCallableDependencies() unable to handle union and intersection types
...
Co-authored-by: Sartor <sartor@syneforge.com>
2022-02-07 22:40:13 +03:00
6a36fa82c7
Fix #19047 , fix #19118 : Fix deprecated preg_match() passing null parameters #2 in db\mysql\Schema.php
2022-02-07 01:29:03 +03:00
cf1600411c
Fix #19204 : Support numbers in Inflector::camel2words
2022-02-03 17:23:47 +03:00
60c91eb433
Fix BC introduced in #19188 ( #19194 )
2022-01-27 21:47:37 +03:00
dbb157fd32
Fix #19187 : Fix yii\filters\PageCache to store original headers names instead of normalized ones
2022-01-27 00:52:32 +03:00
e691713ed7
Fix #19171 : Added $pagination and $sort to \yii\rest\IndexAction for easy configuration
2022-01-23 23:26:59 +03:00
67ea4cf968
Fix #19148 : Fix undefined array key errors in yii\db\ActiveRelationTrait
2022-01-19 01:47:07 +03:00
1271bc419f
Fix #19041 : Fix PHP 8.1 issues
2022-01-14 13:52:01 +03:00
e68b7ae162
Fix #19138 : Allow digits in language code
...
Co-authored-by: ntesic <nikolatesic@gmail.com>
2022-01-08 12:32:19 +03:00
12763a146e
Fix #19067 : Fix constant session regeneration ( #19113 )
...
* Fix constant session regeneration
* Add tests for session ID, always regenerating session ID for switching identity
2021-12-29 12:45:13 +03:00
6fb16bc30f
Fix #19098 : Add yii\helper\BaseHtml::$normalizeClassAttribute to fix duplicate classes
2021-12-27 21:44:48 +03:00
02fe7f42c8
Fix #18660 : Check name if backslash appears
2021-12-27 17:26:28 +03:00
8e0e5ad814
Fix #19096 : Fix Request::getIsConsoleRequest() may return erroneously when testing a Web application in Codeception
2021-12-22 00:57:30 +03:00
6067608321
Fix #19005 : Add yii\base\Module::setControllerPath()
2021-12-09 10:46:15 +03:00
766cf701e5
Fix #19031 : Fix displaying console help for parameters with declared types
2021-12-01 15:11:19 +03:00
0d899fa18b
Fix #19030 : Add DI container usage to yii\base\Widget::end()
2021-11-30 23:58:24 +03:00
4a8c72f0c4
Normalize todos ( #19045 )
2021-11-26 00:45:09 +03:00
6aa5bd8d46
Fix #18967 : Use proper attribute names for tabular data in yii\widgets\ActiveField::addAriaAttributes()
2021-11-22 13:00:45 +03:00
c8d027f649
Fix #18993 : Load defaults by attributes() in yii\db\ActiveRecord::loadDefaultValues()
2021-11-12 00:25:08 +03:00
03235e6c12
Fix #18988 : Fix default value of yii\console\controllers\MessageController::$translator
2021-11-02 13:21:37 +03:00
d27fb96409
StringHelper::dirname() fixed for trailing slash ( #18965 )
...
* StringHelper::dirname() fixed for trailing slash
* StringHelper::dirname() fix for PHP <7 versions
* Update CHANGELOG.md
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
2021-10-24 10:43:54 +02: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
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
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
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
ffe7904d80
Minor tests cleanup ( #18811 )
2021-09-03 12:41:10 +03:00
ac373c06fe
Fix #18845 : Fix duplicating id in MigrateController::addDefaultPrimaryKey()
2021-09-03 11:35:19 +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
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
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
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