Bizley
12763a146e
Fix #19067 : Fix constant session regeneration ( #19113 )
...
* Fix constant session regeneration
* Add tests for session ID, always regenerating session ID for switching identity
3 years ago
Alexey Rogachev
552593ca3b
Prepare for new apidoc (part 2) ( #19010 )
...
* Fix broken links for events with different namespace
* Fix broken links in see tag
* Fix broken links in see tag (loadData())
* Fix broken link for var_export()
* Fix broken link for CVE
* Remove redundant markdown link wrap in see tags
* Remove see tags that refer to private properties
* Remove more see tags that refer to private properties
* Remove see tags that refer to private methods
* Remove one more redundant markdown link wrap in see tag [skip ci]
* Fix typo in see tag (causes broken link)
* Remove more see tags that refer to private methods
3 years ago
Alexey Rogachev
fa6f0ef658
Fix variable references in phpdoc ( #19006 )
3 years ago
Aleksandr Bogatikov
e294c23102
Fix#18328: Yii::warning() raised on file register after View::endBody() has been moved to View::endPage() ( #18975 )
...
Co-authored-by: Mehdi Achour <machour@gmail.com>
3 years ago
Aleksandr Bogatikov
b757d25c4b
Fix #18328 : Raise warning when trying to register a file after `View::endBody()` has been called
3 years ago
Anton
6fdba043d7
Update Session.php ( #18969 )
3 years ago
Bizley
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
3 years ago
Bizley
ae82b58d85
Fix #18909 : Fix bug with binding default action parameters for controllers
3 years ago
Mario Simão
175f66e6e0
Fix #18908 : Add stdClass as possible return type to getBodyParams ( #18918 )
3 years ago
Mario Simão
2c3f5d990c
Fix #18733 : Fix session offset doc types ( #18919 )
3 years ago
Basil
f8e65d2027
Fix @since tag in XmlResponseFormatter.php ( #18901 )
...
Wrong version, see https://github.com/yiisoft/yii2/blob/master/framework/CHANGELOG.md#2044-under-development
3 years ago
rhertogh
f3956a4eec
Fix header collection from array ( #18883 )
...
* Fixed HeaderCollection::fromArray() key case
* Added CHANGELOG.md line for #18883 (Fixed HeaderCollection::fromArray() key case)
3 years ago
Bizley
ea60fba0ae
Fix yii\base\Controller::bindInjectedParams() to not throw error when argument of `ReflectionUnionType` type is passed ( #18869 )
3 years ago
Jaak Tamre
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()`
3 years ago
Anton
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>
3 years ago
Evgeniy Tkachenko
df6e5869bd
docs: update RFC 7239 link ( #18839 )
...
fix #18838
3 years ago
Michael Härtl
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>
3 years ago
Alexander Makarov
540a9011af
release version 2.0.43
3 years ago
Anton
7ebaaf0216
Fix #18789 : Added JSONP support in `yii\web\JsonParser::parse()`
3 years ago
Anton
86d7e95077
Minor enhancements for JsExpression ( #18793 )
...
- Fix class phpDoc.
- Convert expression to string in `__toString()`.
3 years ago
Sohel Ahmed Mesaniya
fd7373f1c6
Make docs gender agnostics ( #18781 )
3 years ago
Sergei Predvoditelev
8cc9aeb2f0
Fix #18749 : Fix `yii\web\ErrorHandler::encodeHtml()` to support strings with invalid UTF symbols
3 years ago
olegbaturin
e83a86fd30
Fix #18648 : Fix `yii\web\Request` to properly handle HTTP Basic Auth headers
3 years ago
rhertogh
4d5fea7f6c
Fix #18695 : Added `yii\web\Cookie::SAME_SITE_NONE` constant
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
0cd68a330d
Fix #18669 : Changed visibility of `yii\web\User::checkRedirectAcceptable()` to `public`
3 years ago
Alexander Makarov
88a7a00458
release version 2.0.42
3 years ago
N. D
08a133e728
Update docs for #9718 ( #18623 )
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
3 years ago
Bizley
209cf9b2de
Improve docs
3 years ago
Mikk Tendermann
629133f1bf
Fix #18619 : Do not modify `yii\web\Cookie::$path` on `yii\web\Response::sendCookies()`
3 years ago
Bizley
a6dba47963
Fix #18590 : Fix `yii\web\UrlManager` to instantiate cache only when it's actually needed
4 years ago
Pigo
14a581562a
Fix #18566 : Throw the original exception when `yii\web\Controller::bindInjectedParams()` catches HttpException
4 years ago
Alexander Krug
74d1842dee
Use the correct db if strict mode is used in DbSession fixes #18574
4 years ago
Dmitry Eliseev
4479c66522
Fixed phpdoc types
4 years ago
Bizley
7f6671cdfc
Update OWASP link
4 years ago
Alexander Makarov
4e2045c040
release version 2.0.41
4 years ago
Alexander Makarov
3883d73cea
Fix #9718 : Fix user staying authorized despite authKey change
4 years ago
Alexander Makarov
b3546e6fdb
Fix #18535 : Set Cookie SameSite to Lax by default
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
2774f3ea6c
Fix #18529 : Fix asset files path with `appendTimestamp` option for non-root-relative base URLs
4 years ago
Brandon Kelly
f935065bca
Fix #18518 : Add support for ngrok’s `X-Original-Host` header
4 years ago
Bizley
03befccd48
Fix #18487 : Allow creating URLs for non-GET-verb rules
4 years ago
Isitar
bceba86952
Fix #18414 : Fix `AssetManager::appendTimestamp()` not appending timestamp for website root in sub-directory
4 years ago
Basil
890df1c867
Fix #18381 : The `yii\web\AssetManager` `$basePath` readable and writeable check has been moved to the `checkBasePathPermission()`. This check will run once before `publishFile()` and `publishDirectory()`
4 years ago
Rober Díaz
6b33ddf441
Fix #18199 : Fix content body response on 304 HTTP status code, according to RFC 7232
4 years ago
Brandon Kelly
279f59a3d4
Fix #18394 : Add support for setting `yii\web\Response::$stream` to a callable
4 years ago
Alexander Makarov
ccb14ff667
release version 2.0.39
4 years ago
Alexander Makarov
835971c6f6
Fix Controller phpdoc annotations
4 years ago
Sergei Predvoditelev
306171b582
Add phpdoc for properties "request" and "response" in web and console controllers ( #18361 )
4 years ago
rhertogh
ce088e05df
Fix #18247 : Added support for the 'session.use_strict_mode' ini directive in `yii\web\Session`
4 years ago