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
f35f53eaf8
Preventing breaking profiling messages when flushing ( #18800 )
2021-08-07 17:06:25 +03:00
7ebaaf0216
Fix #18789 : Added JSONP support in yii\web\JsonParser::parse()
2021-08-07 15:31:35 +03:00
be1b98b1df
Fix #18756 : Fix \yii\validators\ExistValidator::queryValueExists to validate against an array of unique values
2021-08-04 21:00:58 +03:00
fb7bc9fa5c
Fix #18274 : Fix yii\log\Logger to calculate profile timings no matter the value of the flush interval
2021-07-30 23:55:19 +03:00
8cc9aeb2f0
Fix #18749 : Fix yii\web\ErrorHandler::encodeHtml() to support strings with invalid UTF symbols
2021-07-06 23:34:21 +03:00
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>
2021-07-06 20:49:01 +02:00
9d56179e9d
Updated asUrl method to not introduce BC break ( #18742 )
2021-07-04 11:03:19 +02:00
c43a168a31
Fix #18712 : Added $scheme option to yii\i18n\Formatter::asUrl()
2021-07-02 11:26:24 +03:00
87849c640f
Fix #18737 : Fix SchemaTest::testColumnSchema() for MySql <5.7
2021-07-01 20:36:17 +03:00
e83a86fd30
Fix #18648 : Fix yii\web\Request to properly handle HTTP Basic Auth headers
2021-07-01 13:06:38 +03:00
db39f7c955
Json pretty print ( #18726 )
...
* Added pretty print support to Json helper
* Updated documentation for `yii\helpers\Json::$prettyPrint`
* Fixed line ending in \yiiunit\framework\helpers\JsonTest::testPrettyPrint for windows
* Added helper-json.md link in docs/guide/README.md
* Capitalized JSON in descriptions
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
2021-06-27 14:08:41 +02:00
7966fe47e6
Scrutinizer fixes ( #18685 )
...
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/filters/AccessRule.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/helpers/BaseFileHelper.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Application.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Module.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/MultipartFormDataParser.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/Session.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Controller.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* Added vardocs, and small refactor
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/conditions/InConditionBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/Connection.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/mssql/QueryBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/log/Logger.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/BaseMigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* Adding space between type
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/CacheController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/FixtureController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-05-31 21:07:36 +03:00
31ca0fcb6f
Fix #18676 : Added method yii\helpers\BaseFileHelper::changeOwnership() and properties newFileMode/newFileOwnership in yii\console\controllers\BaseMigrateController
...
Co-authored-by: Bizley <pawel@positive.codes>
2021-05-30 19:26:15 +03:00
4cb2dfef1a
Add more tests for helpers ( #18675 )
2021-05-25 10:28:57 +03:00
2520e50c52
Fix #18653 : Added method yii\helpers\BaseHtml::getInputIdByName()
2021-05-13 22:20:42 +03:00
c9889cfd2f
Update InflectorTest.php
2021-05-07 01:35:40 +03:00
1646a135dc
Merge branch 'master' into inflextor_fixes
2021-05-06 02:24:38 +03:00
68a1c32400
Fix #18624 : Fix yii\di\Container to properly resolve dependencies in case of PHP 8 union types
2021-05-04 16:19:24 +03:00
9c8f653554
Added 'software' and 'hardware' string to BaseInflector $specials.
2021-05-03 14:34:22 +08:00
f7fe3ae5f2
Merge branch 'master' into iss18604
2021-04-29 19:53:01 +02:00
5b4af8dbba
Fix PHP8 deprecation
2021-04-28 17:19:20 +02:00
d4c1e070f0
Merge branch 'master' into iss18604
2021-04-27 10:15:59 +02:00
4fba562cd0
New attemp
2021-04-26 19:24:14 +03:00