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
f00e44fb6e
Fix #18569 : Add NumberValidator::$allowArray
2021-04-26 15:43:13 +03:00
9367af4b15
Fix for issue #18604
2021-04-25 20:19:14 +03:00
a6dba47963
Fix #18590 : Fix yii\web\UrlManager to instantiate cache only when it's actually needed
2021-04-10 13:02:23 +03:00
5ad809e815
Fix #18593 : Fix setting the maxlength attribute for Html::activeInput() and Html::activeTextArea() based on length parameter of validator
2021-04-09 20:15:14 +03:00
f48fc452af
Merge branch 'master' into 18585-email-validator-idn-fix
2021-04-02 10:27:48 +02:00
ddde2c2e0f
Merge branch 'master' of git://github.com/yiisoft/yii2 into 18585-email-validator-idn-fix
2021-04-01 16:24:48 -07:00
395dc70468
Merge branch 'master' into fix/db-pgsql-raw-sql-params
2021-04-01 23:49:53 +03:00
335385d7ba
Db pgsql getRawSql params replace fix
2021-04-01 19:37:50 +03:00
2650948e87
Fix #18323 : Fix client validation of RadioList when there are disabled items
2021-04-01 01:13:53 +03:00
10bb71a822
Fix #17203 : Fix yii\db\Connection to persist customized queryBuilder configuration after the close() → open() cycle
2021-04-01 01:10:16 +03:00
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>
2021-04-01 00:52:02 +03:00
3593696b93
Fixing Email Validator to handle edge case where email address is valid but fails ascii conversion.
2021-03-31 11:50:24 -07:00
a03fb0c01e
Fix #17631 : Fix yii\widgets\BaseListView to properly render custom summary
2021-03-26 13:53:42 +03:00
14a581562a
Fix #18566 : Throw the original exception when yii\web\Controller::bindInjectedParams() catches HttpException
2021-03-23 21:38:52 +03:00
45a81c1eeb
Minified SVGs ( #18573 )
2021-03-22 11:43:58 +03:00
34441ca549
Fix #14343 : Fix yii\test\ActiveFixture to use model's DB connection instead of the default one
2021-03-22 00:37:54 +03:00
06f1917b9c
fixed test
2021-03-18 08:27:12 +01:00
64ecbf10b1
Fix for issue #18526
...
DbCache doesn't working using MSSQL/SqlServer
2021-03-15 22:47:54 +03:00
54f25c4b04
Fix #17174 : Fix yii\db\BaseActiveRecord::unlink() to not ignore on conditions in via relations
2021-03-14 19:04:07 +03:00
db47207018
Fix #18534 : Added prepareSearchQuery property in yii\rest\IndexAction
2021-03-13 00:05:49 +03:00
ba9366be0d
Fix #17479 : Fix yii\grid\ActionColumn to render icons when no glyphicons are available
2021-03-12 23:58:20 +03:00
cfe782b3f5
Fix #18544 : Fix yii\validators\NumberValidator to disallow values with whitespaces
2021-03-11 00:40:34 +03:00
bd2b1f25f0
Fix #18552 : Fix bug with yii\data\SqlDataProvider not properly handling SQL with ORDER BY clause
2021-03-10 23:28:45 +03:00
4997c51152
Fix #18548 : Fix bug with REST rules with prefixes containing tokens not being parsed properly
2021-03-04 17:01:22 +03:00
6dad27d4a1
Reversed #18499 ( #18546 )
2021-03-04 12:53:11 +03:00
3883d73cea
Fix #9718 : Fix user staying authorized despite authKey change
2021-03-03 13:18:06 +03:00
50831e6f08
Travis leftovers cleanup
2021-03-03 02:21:39 +03:00