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
Alexander Makarov
9ce0d42daf
Update BaseInflector.php
3 years ago
Alexander Makarov
f422d419c2
prepare for next release
3 years ago
Alexander Makarov
273cbab90e
release version 2.0.42.1
3 years ago
Bizley
52cf02d685
Fix #18634 : Fix `yii\db\BaseActiveRecord::unlink()` and `unlinkAll()` to omit condition for `on` property when it doesn't exist
3 years ago
Alexander Makarov
3a58026359
prepare for next release
3 years ago
Alexander Makarov
88a7a00458
release version 2.0.42
3 years ago
Alexander Makarov
26656a2ed1
Minor cleanup
3 years ago
N. D
08a133e728
Update docs for #9718 ( #18623 )
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
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
209cf9b2de
Improve docs
3 years ago
DarkDef
4f74d2a2db
Add line to changelog
3 years ago
DarkDef
f14b2ccd89
remove duplicate code
3 years ago
Valerii Gorbachev
a7ee99ce92
Update framework/db/mssql/QueryBuilder.php
...
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago
Valerii Gorbachev
662c54b47c
Update framework/db/mssql/ColumnSchemaBuilder.php
...
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago
Mikk Tendermann
629133f1bf
Fix #18619 : Do not modify `yii\web\Cookie::$path` on `yii\web\Response::sendCookies()`
3 years ago
DarkDef
2d76f33dd4
Fixes after review
3 years ago
Valerii Gorbachev
12ccd2adde
Update framework/db/mssql/QueryBuilder.php
...
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago
Valerii Gorbachev
a0552f1680
Update framework/db/mssql/QueryBuilder.php
...
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago
Valerii Gorbachev
98b0c5b665
Update framework/db/mssql/ColumnSchemaBuilder.php
...
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago
Valerii Gorbachev
dbc4d1ecea
Update framework/db/mssql/ColumnSchemaBuilder.php
...
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago
Valerii Gorbachev
a1cc222927
Update framework/db/mssql/QueryBuilder.php
...
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago
Valerii Gorbachev
01a9fef962
Update framework/db/mssql/ColumnSchemaBuilder.php
...
Co-authored-by: Bizley <pawel@positive.codes>
3 years ago