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
mrblc
661f7318a1
Fixed tipfellery and inconsistencies regardin file translation for file validation messages in Croatian
3 years ago
Brandon Kelly
725057c273
Fix #18734 : Added `yii\validators\EmailValidator::$enableLocalIDN`
3 years ago
Bizley
9d56179e9d
Updated asUrl method to not introduce BC break ( #18742 )
3 years ago
Alexandru Bucur
2fe03cd82c
Only log the $_SERVER information under YII_DEBUG ( #18707 )
...
* Only log the $_SERVER information under YII_DEBUG
Since $_SERVER can contain sensitive information that could leak in CI pipelines ideally it should happen under the YII_DEBUG flag only
* Added upgrade / changelog
* Corrected the upgrade information
* Update framework/UPGRADE.md
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
3 years ago
Bizley
c43a168a31
Fix #18712 : Added `$scheme` option to `yii\i18n\Formatter::asUrl()`
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
Marco van 't Wout
3cc1201d7b
Allow jQuery 3.6 to be installed
...
See https://blog.jquery.com/2021/03/02/jquery-3-6-0-released/
3 years ago
Allan
8a48339e35
Added example with hyphen in action ID
...
Also added link to guide on actions - don't know if you have a better way than providing a static URL... And maybe it should be moved to the class description?
3 years ago
RodrigoDornelles
e1e7ea37d5
use getTargetClass in function checkTargetAttributeExistence
...
This interesting change, to be able to change getTargetClass when necessary when extending this class.
3 years ago
Игорь Тарасов
ed8fbaa8b1
fix QueryInterface::count return type
3 years ago
Игорь Тарасов
330166e703
fix Exception\Throwable order
3 years ago
Alexander Makarov
4a5b325160
Fix console error handler exception handling condition. Related to #18696
...
See https://github.com/yiisoft/yii2/pull/18696#discussion_r645877103
3 years ago
rhertogh
4d5fea7f6c
Fix #18695 : Added `yii\web\Cookie::SAME_SITE_NONE` constant
3 years ago
蛋蛋
d5a428e001
Fix some code smells ( #18696 )
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
aidanbek
fff35b3796
Fix #18678 : Fix `yii\caching\DbCache` to use configured cache table name instead of the default one in case of MSSQL varbinary column type detection
3 years ago
rhertogh
0cd68a330d
Fix #18669 : Changed visibility of `yii\web\User::checkRedirectAcceptable()` to `public`
3 years ago
Bizley
82be8b61cf
Replacing deprecated `::className()` with `::class` ( #18671 )
3 years ago
Allan
ddeb80cdf3
Fixed typo
3 years ago
Anton
2520e50c52
Fix #18653 : Added method `yii\helpers\BaseHtml::getInputIdByName()`
3 years ago
Marco van 't Wout
7e323ba07c
Fix #18650 : Refactor `framework/assets/yii.activeForm.js` arrow function into traditional function for IE11 compatibility
3 years ago
Bizley
66ff8309b9
Update CHANGELOG.md
3 years ago
Kamchybek Jusupov
3019d4aa8e
Merge branch 'inflextor_fixes' of github.com:kjusupov/yii2 into inflextor_fixes
3 years ago
Bizley
e63be01f20
Update CHANGELOG.md
3 years ago
Kamchybek Jusupov
94a6b5d548
Added the CHANGELOG entry
3 years ago
Alexander Makarov
c76e4dd7c7
Update BaseInflector.php
3 years ago
Kamchybek Jusupov
b41f4dc76f
Remove capitalized versions of rules
3 years ago