Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
2015-05-31 13:39:30 +03:00
Alexander Makarov
acb7b2ebbb
Fixes #8556 : Extracted yii\web\User::getAuthManager() method
2015-05-31 12:46:38 +03:00
Klimov Paul
886e99be11
Fixed yii\web\Response::xSendFile() does not reset format
2015-05-29 16:29:06 +03:00
Klimov Paul
95ba06c01b
Added ability to use aliases and domain relative URLs at yii\web\AssetManager::assetMap
2015-05-28 16:41:59 +03:00
Klimov Paul
8a506e1ee3
Added support for 'only' and 'except' options for yii\web\AssetManager::publish()
2015-05-27 17:01:05 +03:00
Klimov Paul
b57b994a75
Fixed missing error suppression operator at yii\web\AssetConverter::convert()
2015-05-20 11:08:14 +03:00
Mike Grigorieff
32bc19ae9b
Updated web/Controller.php, simplified code design
...
close #8387
2015-05-13 12:53:44 +02:00
Qiang Xue
78d3a856d3
Added Json::htmlEncode() to support safer JSON data encoding in HTML code
2015-05-09 23:38:17 -04:00
Carsten Brandt
49ac8d790a
phpdoc: added link
2015-05-08 00:00:31 +02:00
Klimov Paul
8609311738
Fixed numeric keys in $_GET transformed to 0-based, if 'pretty URL' enabled
2015-05-06 17:09:31 +03:00
Qiang Xue
ebc089e6c2
Fixes #8194 : Caching of the matched rules added to yii\web\UrlManager::createUrl()
2015-05-03 22:03:42 -04:00
Carsten Brandt
c105622004
example for a link tag: issue #2803
...
[ci skip]
2015-04-30 18:25:04 +02:00
Carsten Brandt
9a5abd923f
cleanup after #8171
2015-04-24 15:28:57 +02:00
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
2015-04-24 14:30:30 +03:00
Carsten Brandt
ef662b57be
added missing @since annotations
2015-04-24 12:09:40 +02:00
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
2015-04-22 17:43:15 +03:00
Paul Klimov
1981a620d1
Merge pull request #7660 from creocoder/response-optimization
...
Light Response refactoring
2015-04-20 15:10:18 +03:00
Qiang Xue
92664b4b11
code optimization [skip ci]
2015-04-06 08:14:01 -04:00
Qiang Xue
739f6358cd
Fixes #7637 : Allow yii\web\Request::validateCsrfToken() to validate a manually provided token
2015-04-05 17:34:29 -04:00
tom--
4089c29a09
old C-prefix class name
2015-03-31 12:57:17 -04:00
Steven Michaels
748e68f98d
Fixing broken doc links to ContentNegotiator
2015-03-30 23:23:38 -05:00
Qiang Xue
19ca5a1584
Fixes #7637 .
2015-03-30 22:36:45 -04:00
Qiang Xue
72c34cda1e
Fixes #6871 : Fixed the bug that using defaults and hostnames in URL rules may cause an out-of-range index issue
2015-03-27 22:52:01 -04:00
Qiang Xue
8e33fbfbff
Fixes #7636 : yii\web\Session::getHasSessionId() uses a more lenient way to check if session ID is provided in URL
2015-03-26 22:57:27 -04:00
Alexander Kochetov
4e8197e43f
Light Response refactoring
2015-03-10 22:51:44 +03:00
Ezekiel Fernandez
d0c01dc9ba
CodeStyle fix
...
close #7614
2015-03-07 00:41:20 +01:00
Alexander Makarov
0eecb6ab1e
Fixes #7529 : Fixed yii\web\Response::sendContentAsFile() that was broken in 2.0.3
2015-03-04 00:41:44 +03:00
lynicidn
1a81211a9a
Update AssetManager #7535
...
#7535
2015-03-03 09:39:27 +03:00
Qiang Xue
07403d3f9d
Fixes #3723 : yii\filters\PageCache now supports caching response headers as well as non-HTML response content
2015-02-21 19:45:44 -05:00
slavcodev
9028bc5aa7
Fixed header Content-Type when response is empty
2015-02-21 02:05:03 +03:00
Qiang Xue
ae305bb907
Fixes #7226 : yii\web\Request::getEtag() should strip off -gzip which may be added by Apache
2015-02-10 13:36:05 -05:00
Qiang Xue
a6608ba334
Merge branch 'master' of git://github.com/yiisoft/yii2
2015-02-08 22:28:09 -05:00
Qiang Xue
0068a94af1
Fixes #4710 : added cache busting support for assets
2015-02-08 22:28:03 -05:00
Alexander Makarov
6481d13494
Optimized checks order in conditions
2015-02-08 17:56:36 +03:00
Alexander Makarov
af7ae33d5b
Use (array) cast instead of !is_array check for both readability and performance
2015-02-08 17:56:14 +03:00
Qiang Xue
0a6cd6190b
Fixes #7051 : Added support for preventing swapping values between different cookies
2015-01-28 22:29:37 -05:00
sadgnome
0b4896929b
Fixed content-length in sendContentAsFile()
...
Fixed wrong Content-Length header when sending file using Response::sendContentAsFile().
2015-01-25 20:07:11 -05:00
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.
2015-01-24 11:56:09 +03:00
Qiang Xue
96c4ec88ca
Fixes #6889 doc fix [skip ci]
2015-01-17 19:12:48 -05:00
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)
2015-01-12 17:12:57 -08:00
Qiang Xue
fd332d02dd
Merge pull request #6736 from DaSourcerer/patch-1
...
Remove Content-Transfer-Encoding from the list of default download headers
2015-01-06 18:35:57 -08:00
Qiang Xue
d341bf02b4
Fixes #6398 : Added support for specifying dependent component in terms of a configuration array for classes such as DbCache
2015-01-04 19:28:05 -05:00
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.
2015-01-03 13:06:42 +01:00
Serge Postrash
e6d84a5009
yii\web\AssetManager phpdoc typo [skip ci]
2015-01-01 20:27:52 +03:00
Carsten Brandt
792746883e
urlManager: ensure route is trimmed by / on empty pattern
...
fixes #6717
2015-01-01 17:06:12 +01:00
Carsten Brandt
bbbeae95a1
fixed wrong bracket setting
...
introduced in bf206efc66
2014-12-17 00:30:58 +01:00
Alexander Makarov
bf206efc66
Fixes #6427 : In case of invalid route web application now throws exception with "Page not found" instead of "Invalid Route"
2014-12-17 00:52:43 +03:00
Paul Klimov
70ca76d4a3
Added yii\web\AssetConverter::$forceConvert
2014-12-04 17:47:21 +02:00
Qiang Xue
875e2c3acb
Fixes #4395 : Added $checkAjax parameter to yii\web\Response::redirect() to support default redirection behavior for AJAX/PJAX requests
2014-12-03 10:07:09 -05:00
Qiang Xue
0c599b1ee1
Fixes #5480 : Added defensive code to yii\web\User::getIdentity() to avoid potential infinite recursion
2014-11-27 21:55:28 -05:00