egorrishe
87849c640f
Fix #18737 : Fix SchemaTest::testColumnSchema() for MySql <5.7
3 years ago
olegbaturin
e83a86fd30
Fix #18648 : Fix `yii\web\Request` to properly handle HTTP Basic Auth headers
3 years ago
rhertogh
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>
3 years ago
Bizley
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>
3 years ago
rhertogh
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>
3 years ago
Bizley
4cb2dfef1a
Add more tests for helpers ( #18675 )
3 years ago
Anton
2520e50c52
Fix #18653 : Added method `yii\helpers\BaseHtml::getInputIdByName()`
3 years ago
Alexander Makarov
c9889cfd2f
Update InflectorTest.php
3 years ago
Bizley
68a1c32400
Fix #18624 : Fix `yii\di\Container` to properly resolve dependencies in case of PHP 8 union types
3 years ago
Kamchybek Jusupov
9c8f653554
Added 'software' and 'hardware' string to BaseInflector $specials.
3 years ago
Bizley
5b4af8dbba
Fix PHP8 deprecation
3 years ago
DarkDef
4fba562cd0
New attemp
3 years ago
Никита Медведев
f00e44fb6e
Fix #18569 : Add `NumberValidator::$allowArray`
3 years ago
DarkDef
9367af4b15
Fix for issue #18604
3 years ago
Bizley
a6dba47963
Fix #18590 : Fix `yii\web\UrlManager` to instantiate cache only when it's actually needed
4 years ago
bscheshirwork
5ad809e815
Fix #18593 : Fix setting the `maxlength` attribute for `Html::activeInput()` and `Html::activeTextArea()` based on `length` parameter of validator
4 years ago
Sartor
335385d7ba
Db pgsql getRawSql params replace fix
4 years ago
Toir Tuychiev
2650948e87
Fix #18323 : Fix client validation of RadioList when there are disabled items
4 years ago
Dmytro Naumenko
10bb71a822
Fix #17203 : Fix `yii\db\Connection` to persist customized `queryBuilder` configuration after the `close()` → `open()` cycle
4 years ago
theonedemon
42e8aa4ea5
Fix #18325 : Fix `yii\db\pgsql\Schema` to respect non-default PgSQL schema name for data types
...
Co-authored-by: SilverFire - Dmitry Naumenko <d.naumenko.a@gmail.com>
4 years ago
Aaron Mueller
3593696b93
Fixing Email Validator to handle edge case where email address is valid but fails ascii conversion.
4 years ago
Bizley
a03fb0c01e
Fix #17631 : Fix `yii\widgets\BaseListView` to properly render custom summary
4 years ago
Pigo
14a581562a
Fix #18566 : Throw the original exception when `yii\web\Controller::bindInjectedParams()` catches HttpException
4 years ago
simialbi
45a81c1eeb
Minified SVGs ( #18573 )
4 years ago
Bizley
34441ca549
Fix #14343 : Fix `yii\test\ActiveFixture` to use model's DB connection instead of the default one
4 years ago
Simon Karlen
06f1917b9c
fixed test
4 years ago
DarkDef
64ecbf10b1
Fix for issue #18526
...
DbCache doesn't working using MSSQL/SqlServer
4 years ago
Bizley
54f25c4b04
Fix #17174 : Fix `yii\db\BaseActiveRecord::unlink()` to not ignore `on` conditions in `via` relations
4 years ago
Daniil Sazhin
db47207018
Fix #18534 : Added `prepareSearchQuery` property in `yii\rest\IndexAction`
4 years ago
simialbi
ba9366be0d
Fix #17479 : Fix `yii\grid\ActionColumn` to render icons when no glyphicons are available
4 years ago
Bizley
cfe782b3f5
Fix #18544 : Fix `yii\validators\NumberValidator` to disallow values with whitespaces
4 years ago
Bizley
bd2b1f25f0
Fix #18552 : Fix bug with `yii\data\SqlDataProvider` not properly handling SQL with `ORDER BY` clause
4 years ago
Bizley
4997c51152
Fix #18548 : Fix bug with REST rules with prefixes containing tokens not being parsed properly
4 years ago
Bizley
6dad27d4a1
Reversed #18499 ( #18546 )
4 years ago
Alexander Makarov
3883d73cea
Fix #9718 : Fix user staying authorized despite authKey change
4 years ago
Alexander Makarov
50831e6f08
Travis leftovers cleanup
4 years ago
Bizley
d610853fdf
Fix #18450 : Allow empty string to be passed as a nullable typed argument to a controller's action
4 years ago
Bizley
14f1138441
Correct #18499
4 years ago
Bizley
2774f3ea6c
Fix #18529 : Fix asset files path with `appendTimestamp` option for non-root-relative base URLs
4 years ago
Brandon Kelly
5b93c1a144
Fix TableTest namespace
4 years ago
Mohamed Abdel-Monem Hussein
b8e31c0d31
Fix #18460 : `compareValue` in `CompareValidator` can now take a closure returning a value
4 years ago
Ondřej Vašíček
d1037db68d
Fix #18499 : When using `yii\db\Query::all()` and `yii\db\Query::$indexBy`, the `yii\db\Query::$indexBy` is auto inserted into `yii\db\Query::$select` - the same as in `yii\db\Query::column()`
...
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
4 years ago
Valerii Gorbachev
ad6daecdfe
Add test for issue #14663
4 years ago
Alexander Makarov
71791d790d
Fix #18505 : Fixed ArrayHelper::get() for ArrayAccess objects with explicitly defined properties
...
Co-authored-by: Bizley <pawel@positive.codes>
4 years ago
Bizley
bb1489dab1
Fix #18493 : Faster request parsing for REST UrlRule with prefix handling
4 years ago
Bizley
03befccd48
Fix #18487 : Allow creating URLs for non-GET-verb rules
4 years ago
gazooz
a3b7c65622
Fix #18479 : Fix invalid argument type for `preg_split` in `\yii\console\Controller`
4 years ago
Bizley
95bf26a3ba
Fix #18477 : Fix detecting availability of Xdebug's stack trace in `yii\base\ErrorException`
4 years ago
PowerGamer1
0781b02cc3
Fix #18455 : Add ability to use separate attributes for data model and filter model of `yii\grid\GridView` in `yii\grid\DataColumn`
4 years ago
Bizley
13cda988e7
#18475 : Correct conditional configuration of db property
4 years ago