466 Commits

Author SHA1 Message Date
d0c01dc9ba CodeStyle fix
close #7614
2015-03-07 00:41:20 +01:00
0eecb6ab1e Fixes #7529: Fixed yii\web\Response::sendContentAsFile() that was broken in 2.0.3 2015-03-04 00:41:44 +03:00
1a81211a9a Update AssetManager #7535
#7535
2015-03-03 09:39:27 +03:00
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
9028bc5aa7 Fixed header Content-Type when response is empty 2015-02-21 02:05:03 +03:00
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
a6608ba334 Merge branch 'master' of git://github.com/yiisoft/yii2 2015-02-08 22:28:09 -05:00
0068a94af1 Fixes #4710: added cache busting support for assets 2015-02-08 22:28:03 -05:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
af7ae33d5b Use (array) cast instead of !is_array check for both readability and performance 2015-02-08 17:56:14 +03:00
0a6cd6190b Fixes #7051: Added support for preventing swapping values between different cookies 2015-01-28 22:29:37 -05:00
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
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
96c4ec88ca Fixes #6889 doc fix [skip ci] 2015-01-17 19:12:48 -05:00
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
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
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
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
e6d84a5009 yii\web\AssetManager phpdoc typo [skip ci] 2015-01-01 20:27:52 +03:00
792746883e urlManager: ensure route is trimmed by / on empty pattern
fixes #6717
2015-01-01 17:06:12 +01:00
bbbeae95a1 fixed wrong bracket setting
introduced in bf206efc66
2014-12-17 00:30:58 +01:00
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
70ca76d4a3 Added yii\web\AssetConverter::$forceConvert 2014-12-04 17:47:21 +02:00
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
0c599b1ee1 Fixes #5480: Added defensive code to yii\web\User::getIdentity() to avoid potential infinite recursion 2014-11-27 21:55:28 -05:00
33955a9e90 yii\web\AssetManager should not publish disabled asset bundles 2014-11-24 23:21:36 -05:00
865a94f321 Fixes #4739: Better display of exceptions when the response format is set as "raw" format 2014-11-16 10:20:37 -05:00
61b7079993 Fixes #6007: added doc about asset bundle name [skip ci] 2014-11-11 08:08:18 -05:00
880a305ee4 Fixes #5452: Errors occurring after the response is sent are not displayed 2014-11-07 11:30:25 -05:00
e2b6cb69b0 Fixes #4889: Application was getting into redirect loop when user wasn't allowed accessing login page. Now shows 403 2014-11-07 03:01:05 +03:00
186c843abc Merge pull request #5766 from mongosoft/feature
Code style fixes
2014-10-25 12:46:01 -04:00
899b778994 Correct type declarations 2014-10-25 16:35:50 +03:00
f1edafffaf PHPDoc comment doesn't contain all necessary @throws tag
close #5762
2014-10-25 12:47:08 +02:00
50fd1f586c Bug: yii\web\UrlRule was unable to create URLs for rules containing unicode characters 2014-10-24 05:06:37 +04:00
ab9afd74df phpdoc improvements 2014-10-23 00:25:41 +02:00
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() 2014-10-19 18:50:46 +04:00
02622b6fe4 phpdoc fixes and additions 2014-10-14 01:35:21 +04:00
ae8d978270 2.0.0 release. 2014-10-12 13:09:06 -04:00
be2828d593 Fixes #5484: Fixed potential string suffix detection failure on 5.5.11 2014-10-11 09:35:55 -04:00
c489f8228d Removed unnecessary token generation. We already have it. 2014-10-09 14:53:59 +04:00
22dac1af62 wording fix [skip ci] 2014-10-07 10:50:39 -04:00
df82aabe7b Fixes #5395: added note about session table id column length 2014-10-07 12:18:02 +04:00
42609dbed5 Fixes #5314: Fixed typo in the implementation of yii\web\Session::getHasSessionId() 2014-10-02 12:53:04 -04:00
f41abf9105 Update documentation to mention addFlash 2014-09-30 09:51:17 +02:00
29a5cd20c4 more guide. 2014-09-30 00:15:28 -04:00
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
e7de579ee6 Fixes #5202: View::registerJsFiles should not strip leading backlashes for protocol relative URL 2014-09-26 16:35:15 -04:00
851d15380f Fixes #5131: Added $autoRenew parameter to yii\web\User::getIdentity() 2014-09-22 17:58:58 -04:00
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
2014-09-22 16:37:28 +02:00
a81969950d Adjusted dependency versions to stable ones. 2014-09-18 23:09:45 -04:00