Carsten Brandt
0802d3eb60
added more detailed comment for #8556
9 years ago
Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
9 years ago
Alexander Makarov
acb7b2ebbb
Fixes #8556 : Extracted `yii\web\User::getAuthManager()` method
9 years ago
Klimov Paul
886e99be11
Fixed `yii\web\Response::xSendFile()` does not reset format
9 years ago
Klimov Paul
95ba06c01b
Added ability to use aliases and domain relative URLs at `yii\web\AssetManager::assetMap`
9 years ago
Klimov Paul
8a506e1ee3
Added support for 'only' and 'except' options for `yii\web\AssetManager::publish()`
9 years ago
Klimov Paul
b57b994a75
Fixed missing error suppression operator at `yii\web\AssetConverter::convert()`
10 years ago
Mike Grigorieff
32bc19ae9b
Updated web/Controller.php, simplified code design
...
close #8387
10 years ago
Qiang Xue
78d3a856d3
Added `Json::htmlEncode()` to support safer JSON data encoding in HTML code
10 years ago
Carsten Brandt
49ac8d790a
phpdoc: added link
10 years ago
Klimov Paul
8609311738
Fixed numeric keys in $_GET transformed to 0-based, if 'pretty URL' enabled
10 years ago
Qiang Xue
ebc089e6c2
Fixes #8194 : Caching of the matched rules added to `yii\web\UrlManager::createUrl()`
10 years ago
Carsten Brandt
c105622004
example for a link tag: issue #2803
...
[ci skip]
10 years ago
Carsten Brandt
9a5abd923f
cleanup after #8171
10 years ago
Philippe Gaultier
be6c619de9
Fixes #8171 : Allow the user to enforce the fileSize to allow sending files which are not seekable. Needed when using S3 Stream Wrapper
10 years ago
Carsten Brandt
ef662b57be
added missing `@since` annotations
10 years ago
Klimov Paul
91a6e4bc8e
Fixed incorrect URL config processing at `yii\web\Application::handleRequest()` and `yii\widgets\Menu::items` if route element is not a first one
10 years ago
Qiang Xue
92664b4b11
code optimization [skip ci]
10 years ago
Qiang Xue
739f6358cd
Fixes #7637 : Allow `yii\web\Request::validateCsrfToken()` to validate a manually provided token
10 years ago
tom--
4089c29a09
old C-prefix class name
10 years ago
Steven Michaels
748e68f98d
Fixing broken doc links to ContentNegotiator
10 years ago
Qiang Xue
19ca5a1584
Fixes #7637 .
10 years ago
Qiang Xue
72c34cda1e
Fixes #6871 : Fixed the bug that using defaults and hostnames in URL rules may cause an out-of-range index issue
10 years ago
Qiang Xue
8e33fbfbff
Fixes #7636 : `yii\web\Session::getHasSessionId()` uses a more lenient way to check if session ID is provided in URL
10 years ago
Alexander Kochetov
4e8197e43f
Light Response refactoring
10 years ago
Ezekiel Fernandez
d0c01dc9ba
CodeStyle fix
...
close #7614
10 years ago
Alexander Makarov
0eecb6ab1e
Fixes #7529 : Fixed `yii\web\Response::sendContentAsFile()` that was broken in 2.0.3
10 years ago
lynicidn
1a81211a9a
Update AssetManager #7535
...
#7535
10 years ago
Qiang Xue
07403d3f9d
Fixes #3723 : `yii\filters\PageCache` now supports caching response headers as well as non-HTML response content
10 years ago
slavcodev
9028bc5aa7
Fixed header Content-Type when response is empty
10 years ago
Qiang Xue
ae305bb907
Fixes #7226 : `yii\web\Request::getEtag()` should strip off `-gzip` which may be added by Apache
10 years ago
Qiang Xue
0068a94af1
Fixes #4710 : added cache busting support for assets
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Alexander Makarov
af7ae33d5b
Use (array) cast instead of !is_array check for both readability and performance
10 years ago
Qiang Xue
0a6cd6190b
Fixes #7051 : Added support for preventing swapping values between different cookies
10 years ago
sadgnome
0b4896929b
Fixed content-length in sendContentAsFile()
...
Fixed wrong Content-Length header when sending file using Response::sendContentAsFile().
10 years ago
Brandon Kelly
cf0d582a0b
Added yii\web\ErrorHandler::getTypeUrl()
...
Makes it possible for classes that extend yii\web\ErrorHandler to provide their own informational URLs for types/classes/methods.
10 years ago
Qiang Xue
96c4ec88ca
Fixes #6889 doc fix [skip ci]
10 years ago
Brandon Kelly
7a9f1a0ce7
getQueryParam() and getBodyParam() doc edits
...
- Made yii\web\Request::getQueryParam() and getBodyParam()'s doc blocks more consistent with each other
- getQueryParam() was incorrectly stating that if $name was omitted, all of $_GET would be returned (but $name is required)
10 years ago
Qiang Xue
d341bf02b4
Fixes #6398 : Added support for specifying dependent component in terms of a configuration array for classes such as `DbCache`
10 years ago
DaSourcerer
0cf4e7494f
Removed Content-Transfer-Encoding from the list of default download headers
...
`Content-Transfer-Encoding` is not a valid HTTP header (cf [RFC 7230, section 3.3.1](http://tools.ietf.org/html/rfc7230#section-3.3.1 ), [RFC 7231, section 8.3](http://tools.ietf.org/html/rfc7231#section-8.3 ), [IANA Message Header Registry](http://www.iana.org/assignments/message-headers/message-headers.xhtml )). The correct HTTP pendant would be `Transfer-Encoding: identity`, which were entirely bogus.
10 years ago
Serge Postrash
e6d84a5009
yii\web\AssetManager phpdoc typo [skip ci]
10 years ago
Carsten Brandt
792746883e
urlManager: ensure route is trimmed by / on empty pattern
...
fixes #6717
10 years ago
Carsten Brandt
bbbeae95a1
fixed wrong bracket setting
...
introduced in bf206efc66
10 years ago
Alexander Makarov
bf206efc66
Fixes #6427 : In case of invalid route web application now throws exception with "Page not found" instead of "Invalid Route"
10 years ago
Paul Klimov
70ca76d4a3
Added `yii\web\AssetConverter::$forceConvert`
10 years ago
Qiang Xue
875e2c3acb
Fixes #4395 : Added `$checkAjax` parameter to `yii\web\Response::redirect()` to support default redirection behavior for AJAX/PJAX requests
10 years ago
Qiang Xue
0c599b1ee1
Fixes #5480 : Added defensive code to `yii\web\User::getIdentity()` to avoid potential infinite recursion
10 years ago
Qiang Xue
33955a9e90
`yii\web\AssetManager` should not publish disabled asset bundles
10 years ago
Qiang Xue
865a94f321
Fixes #4739 : Better display of exceptions when the response format is set as "raw" format
10 years ago