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
Qiang Xue
61b7079993
Fixes #6007 : added doc about asset bundle name [skip ci]
10 years ago
Qiang Xue
880a305ee4
Fixes #5452 : Errors occurring after the response is sent are not displayed
10 years ago
Alexander Makarov
e2b6cb69b0
Fixes #4889 : Application was getting into redirect loop when user wasn't allowed accessing login page. Now shows 403
10 years ago
Alexander Mohorev
899b778994
Correct type declarations
10 years ago
Alexander Mohorev
f1edafffaf
PHPDoc comment doesn't contain all necessary @throws tag
...
close #5762
10 years ago
Alexander Makarov
50fd1f586c
Bug: `yii\web\UrlRule` was unable to create URLs for rules containing unicode characters
10 years ago
Carsten Brandt
ab9afd74df
phpdoc improvements
10 years ago
Alexander Makarov
48ec791e4a
Fixes #5587 : `json_encode` is now used with `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE` where it makes sense, also it is now default for `Json::encode()`
10 years ago
Alexander Makarov
02622b6fe4
phpdoc fixes and additions
10 years ago
Qiang Xue
ae8d978270
2.0.0 release.
10 years ago
Qiang Xue
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
10 years ago
Alexander Makarov
c489f8228d
Removed unnecessary token generation. We already have it.
10 years ago
Qiang Xue
22dac1af62
wording fix [skip ci]
10 years ago
Alexander Makarov
df82aabe7b
Fixes #5395 : added note about session table id column length
10 years ago
Qiang Xue
42609dbed5
Fixes #5314 : Fixed typo in the implementation of `yii\web\Session::getHasSessionId()`
10 years ago
nkovacs
f41abf9105
Update documentation to mention addFlash
10 years ago
Qiang Xue
29a5cd20c4
more guide.
10 years ago
Qiang Xue
d2b864da84
prepare for 2.0.0-rc release.
10 years ago
Qiang Xue
e7de579ee6
Fixes #5202 : View::registerJsFiles should not strip leading backlashes for protocol relative URL
10 years ago
Qiang Xue
851d15380f
Fixes #5131 : Added `$autoRenew` parameter to `yii\web\User::getIdentity()`
10 years ago
Dmitry Kushnikov
3d55ee5af0
Add possibility to customize path to binary using alias.
...
If you don't want to install command-line utils globally, you have to specify it's paths.
public $commands = [
'styl' => ['css', '@app/node_modules/bin/stylus < {from} > {to}'],
];
close #5130
10 years ago
Qiang Xue
a81969950d
Adjusted dependency versions to stable ones.
10 years ago
Carsten Brandt
6744228e77
use mb_string to work with non latin characters
10 years ago
Qiang Xue
924e4f97e9
typo fix.
10 years ago
Qiang Xue
ecdb41e046
Fixes #5061 : Switched to use jquery composer package.
10 years ago
Qiang Xue
91e41b0470
Fixes #5001 : `yii\rest\CreateAction`, `yii\rest\UpdateAction` and `yii\rest\DeleteAction` should throw 500 error if the model operation returns false without validation errors
10 years ago