24ad05de5b
Refactored yii\web\ErrorAction to make it reusable
2016-12-31 21:29:12 +02:00
c33583aede
Fixed naming for #13214 as suggested by Paul
2016-12-26 22:42:14 +07:00
8ba78398c7
Handle root tag set to null or false or empty. Fixed version in @since
2016-12-16 02:23:08 +03:00
2f7c1b36b5
Fixes #12419 : Added ability to remove root tag and object tags for yii\web\XmlResponseFormatter
2016-12-16 00:27:31 +03:00
1dcc6042b6
Initial work on #12419
2016-12-16 00:12:32 +03:00
deea3cf798
Fixes #12854 : Added RangeNotSatisfiableHttpException to cover HTTP error 416 file request exceptions
2016-12-02 00:51:49 +03:00
081ee7c5b1
Implemented shortcut methods for returning JSON and XML ( #13101 )
...
fixes #13036
2016-12-01 10:33:49 +01:00
7da77c3d5a
created HostControl filter to prevent Host header attacks
...
fixes #13050
close #13063
2016-12-01 00:59:26 +01:00
2d91723934
Add support for creating protocol-relative URLs.
...
Improve phpdoc for protocol-relative URL creation.
Remove useless `is_string()` check.
2016-11-29 09:53:51 +02:00
a498dedb5c
Added documentation about Host header attack ( #13073 )
...
* Added documentation about Host header attack
Added info about Host header attack (#13050 ) to the guide and the Request class.
When we introduce a filter or property to protect against this, these
sections should be updated to link to that option.
2016-11-26 21:57:52 +01:00
b8b3aeeb00
update deprecated phpdoc messages
2016-11-22 16:03:28 +01:00
bd9e68eb0a
Optimize imports ( #13033 )
2016-11-17 17:12:56 +03:00
1a70f60332
Merge master into doc-fixes
...
Conflicts:
framework/web/AssetManager.php
2016-11-13 15:35:18 +01:00
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
2016-11-13 14:51:21 +01:00
450eefaa50
Some phpdoc fixes from scrutinizer.
2016-11-12 22:11:30 +01:00
95f2c82009
Fixed the cryptic unstructured doc block ( #12978 ) [skip ci]
2016-11-12 17:05:13 +03:00
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
bea7c63664
And another leftover
...
No pushes to master today anymore. Need more sleep :(
2016-11-02 14:17:56 +03:00
3d9945958d
Removed accidentally committed leftovers
2016-11-02 14:13:49 +03:00
dd71fa3958
Fixes #4113 : Error page stacktrace was generating links to private methods which are not part of the API docs
2016-11-02 13:42:11 +03:00
0ac321370b
Fixes #12856 : Fixed yii\web\XmlResponseFormatter to use true and false to represent booleans
2016-10-29 21:57:48 +03:00
11fe407ad0
release version 2.0.10
2016-10-20 14:02:50 +02:00
8d5daef88e
more direct link in DbSession comment
2016-10-13 12:28:52 +02:00
e23a419732
PHPDocs updated
2016-10-12 20:29:32 +03:00
4b43183df7
Fixes #10563 : Fixed forming Content-Disposition header for file downloads ( #12721 )
2016-10-12 11:41:21 +03:00
63f95fa3ad
Fixes #11309 : Added yii\web\Request::getHostName() method that returns hostname of current request
2016-10-07 01:00:14 +03:00
7ca2260702
UrlManager::normalizer creation fixed
2016-10-04 17:02:57 +03:00
3861108553
Fixed casting of binnary() type for MSSQL. Closes #12599
2016-09-26 13:41:27 +03:00
3ec3ce9312
Reverted #10429 because of BC breaking
2016-09-23 12:28:50 +03:00
f3dc5c437d
Fixed replacement of alias more than once in View::registerJsFile() and View::registerCssFile(), updated tests
2016-09-17 10:28:39 +03:00
9931324e48
Fixed regression in View::registerJsFile, View::registerCssFile
...
Closes #12544
2016-09-15 21:23:19 +03:00
ee8a8e90f8
update urlnormalizer docs
2016-09-15 14:52:32 +02:00
2063115982
Docblock: jquery -> jQuery, javascript -> JavaScript ( #12534 ) [skip ci]
2016-09-13 21:11:52 +02:00
adde31ef10
Docblock: javascript -> JavaScript ( #12533 ) [skip ci]
2016-09-13 21:02:58 +02:00
bda1dbe004
Fix unit test
2016-09-13 12:33:07 +03:00
821f035c90
UrlManager::normalizer disabled by default
2016-09-13 12:21:40 +03:00
78edcd0b51
Fixed typo in yii\web\View::registerJsFile()
2016-09-12 18:23:29 +03:00
c3622bb1ad
Added tests for #10429
2016-09-10 15:41:39 +03:00
fd6dd73cec
AssetManager::getAssetUrl() fixed to get URL when appendedTimestamp is true
2016-09-10 12:46:54 +03:00
494842636e
📖 Fixed client-side and server-side grammar in all files
2016-09-08 10:16:02 +03:00
4e59607c9d
MultipartFormDataParser added (#12466 )
...
`MultipartFormDataParser` added
2016-09-07 12:05:32 +03:00
22a224d232
Usage of extract() at Session::setCookieParamsInternal() removed
2016-09-07 11:42:33 +03:00
eb02b362be
Revert "Replaced extract() function usages with custom polyfill in order to fix HHVM compatibility"
...
This reverts commit f7bd7c2b6b1b9941e3c50d99e4f07ff17d513cca.
2016-09-07 11:33:57 +03:00
f7bd7c2b6b
Replaced extract() function usages with custom polyfill in order to fix HHVM compatibility
2016-09-06 22:50:00 +03:00
ed0603b706
Fixed yii\web\Request::getBodyParams() does not pass full 'content-type' value to yii\web\RequestParserInterface::parse()
2016-09-05 14:49:16 +03:00
7d1ef4c054
Improvements for handling redirections produced by UrlNormalizer ( #12451 )
2016-09-04 11:03:19 +03:00
d5d36a9c40
Fix phpdoc for UrlNormalizer::normalizeRoute() [skip ci] ( #12444 )
2016-09-02 23:38:49 +03:00
2fe0a405a9
fix for #9027 - UploadedFile early instantiation problem ( #12439 )
...
fix for #9027 - UploadedFile - class instance is created on demand when getInstance or getInstances called, not when loadFiles called
2016-09-02 17:27:59 +03:00
6a9e9df8d6
Fix phpdoc for UrlNormalizer [skip ci] ( #12417 )
2016-08-31 23:16:49 +03:00