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
2021-11-18 10:10:09 +03:00
fa6f0ef658
Fix variable references in phpdoc ( #19006 )
2021-11-10 13:26:55 +03:00
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>
2021-10-25 23:11:29 +03:00
b757d25c4b
Fix #18328 : Raise warning when trying to register a file after View::endBody() has been called
2021-10-23 16:08:33 +03:00
6fdba043d7
Update Session.php ( #18969 )
2021-10-22 08:46:29 +02:00
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
2021-10-19 14:50:26 +02:00
ae82b58d85
Fix #18909 : Fix bug with binding default action parameters for controllers
2021-10-19 01:01:46 +03:00
175f66e6e0
Fix #18908 : Add stdClass as possible return type to getBodyParams ( #18918 )
2021-10-01 23:23:30 +03:00
2c3f5d990c
Fix #18733 : Fix session offset doc types ( #18919 )
2021-10-01 17:16:38 +03:00
f8e65d2027
Fix @since tag in XmlResponseFormatter.php ( #18901 )
...
Wrong version, see https://github.com/yiisoft/yii2/blob/master/framework/CHANGELOG.md#2044-under-development
2021-09-23 15:18:17 +03:00
f3956a4eec
Fix header collection from array ( #18883 )
...
* Fixed HeaderCollection::fromArray() key case
* Added CHANGELOG.md line for #18883 (Fixed HeaderCollection::fromArray() key case)
2021-09-17 09:29:33 +02:00
ea60fba0ae
Fix yii\base\Controller::bindInjectedParams() to not throw error when argument of ReflectionUnionType type is passed ( #18869 )
2021-09-06 20:16:14 +02:00
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()
2021-08-24 22:30:33 +03:00
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>
2021-08-24 16:54:50 +03:00
df6e5869bd
docs: update RFC 7239 link ( #18839 )
...
fix #18838
2021-08-16 17:26:31 +02:00
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>
2021-08-11 10:35:01 +02:00
540a9011af
release version 2.0.43
2021-08-09 20:38:43 +03:00
7ebaaf0216
Fix #18789 : Added JSONP support in yii\web\JsonParser::parse()
2021-08-07 15:31:35 +03:00
86d7e95077
Minor enhancements for JsExpression ( #18793 )
...
- Fix class phpDoc.
- Convert expression to string in `__toString()`.
2021-07-30 12:46:57 +03:00
fd7373f1c6
Make docs gender agnostics ( #18781 )
2021-07-25 15:44:56 +02:00
8cc9aeb2f0
Fix #18749 : Fix yii\web\ErrorHandler::encodeHtml() to support strings with invalid UTF symbols
2021-07-06 23:34:21 +03:00
e83a86fd30
Fix #18648 : Fix yii\web\Request to properly handle HTTP Basic Auth headers
2021-07-01 13:06:38 +03:00
4d5fea7f6c
Fix #18695 : Added yii\web\Cookie::SAME_SITE_NONE constant
2021-06-05 14:06:17 +03: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
0cd68a330d
Fix #18669 : Changed visibility of yii\web\User::checkRedirectAcceptable() to public
2021-05-23 17:37:01 +03:00
88a7a00458
release version 2.0.42
2021-05-06 00:08:29 +03:00
08a133e728
Update docs for #9718 ( #18623 )
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-05-05 12:47:38 +03:00
209cf9b2de
Improve docs
2021-04-30 09:55:46 +02:00
629133f1bf
Fix #18619 : Do not modify yii\web\Cookie::$path on yii\web\Response::sendCookies()
2021-04-27 21:10:13 +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
14a581562a
Fix #18566 : Throw the original exception when yii\web\Controller::bindInjectedParams() catches HttpException
2021-03-23 21:38:52 +03:00
74d1842dee
Use the correct db if strict mode is used in DbSession fixes #18574
2021-03-18 15:39:57 +01:00
4479c66522
Fixed phpdoc types
2021-03-12 23:41:48 +03:00
7f6671cdfc
Update OWASP link
2021-03-10 22:51:34 +03:00
4e2045c040
release version 2.0.41
2021-03-04 00:51:35 +03:00
3883d73cea
Fix #9718 : Fix user staying authorized despite authKey change
2021-03-03 13:18:06 +03:00
b3546e6fdb
Fix #18535 : Set Cookie SameSite to Lax by default
2021-03-03 10:12:20 +03:00
d610853fdf
Fix #18450 : Allow empty string to be passed as a nullable typed argument to a controller's action
2021-03-02 14:24:17 +03:00
2774f3ea6c
Fix #18529 : Fix asset files path with appendTimestamp option for non-root-relative base URLs
2021-02-27 15:06:08 +03:00
f935065bca
Fix #18518 : Add support for ngrok’s X-Original-Host header
2021-02-16 20:04:58 +03:00
03befccd48
Fix #18487 : Allow creating URLs for non-GET-verb rules
2021-01-26 14:47:53 +03:00
bceba86952
Fix #18414 : Fix AssetManager::appendTimestamp() not appending timestamp for website root in sub-directory
2020-12-23 12:57:29 +03:00
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()
2020-11-23 23:06:25 +03:00
6b33ddf441
Fix #18199 : Fix content body response on 304 HTTP status code, according to RFC 7232
2020-11-23 23:05:04 +03:00
279f59a3d4
Fix #18394 : Add support for setting yii\web\Response::$stream to a callable
2020-11-23 22:56:59 +03:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
835971c6f6
Fix Controller phpdoc annotations
2020-11-02 13:13:11 +03:00
306171b582
Add phpdoc for properties "request" and "response" in web and console controllers ( #18361 )
2020-11-01 17:38:32 +03:00
ce088e05df
Fix #18247 : Added support for the 'session.use_strict_mode' ini directive in yii\web\Session
2020-10-31 11:58:34 +03:00
7ff516063d
Fix #18160 , fix #18192 : Fixed registerFile with argument depends set does not use the position and appendTimestamp argument, also modify the unit view
2020-10-11 15:03:12 +03:00