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
Qiang Xue
33955a9e90
yii\web\AssetManager should not publish disabled asset bundles
2014-11-24 23:21:36 -05:00
Qiang Xue
865a94f321
Fixes #4739 : Better display of exceptions when the response format is set as "raw" format
2014-11-16 10:20:37 -05:00
Qiang Xue
61b7079993
Fixes #6007 : added doc about asset bundle name [skip ci]
2014-11-11 08:08:18 -05:00
Qiang Xue
880a305ee4
Fixes #5452 : Errors occurring after the response is sent are not displayed
2014-11-07 11:30:25 -05:00
Alexander Makarov
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
Qiang Xue
186c843abc
Merge pull request #5766 from mongosoft/feature
...
Code style fixes
2014-10-25 12:46:01 -04:00
Alexander Mohorev
899b778994
Correct type declarations
2014-10-25 16:35:50 +03:00
Alexander Mohorev
f1edafffaf
PHPDoc comment doesn't contain all necessary @throws tag
...
close #5762
2014-10-25 12:47:08 +02:00
Alexander Makarov
50fd1f586c
Bug: yii\web\UrlRule was unable to create URLs for rules containing unicode characters
2014-10-24 05:06:37 +04:00
Carsten Brandt
ab9afd74df
phpdoc improvements
2014-10-23 00:25:41 +02:00
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()
2014-10-19 18:50:46 +04:00
Alexander Makarov
02622b6fe4
phpdoc fixes and additions
2014-10-14 01:35:21 +04:00
Qiang Xue
ae8d978270
2.0.0 release.
2014-10-12 13:09:06 -04:00
Qiang Xue
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
2014-10-11 09:35:55 -04:00
Alexander Makarov
c489f8228d
Removed unnecessary token generation. We already have it.
2014-10-09 14:53:59 +04:00
Qiang Xue
22dac1af62
wording fix [skip ci]
2014-10-07 10:50:39 -04:00
Alexander Makarov
df82aabe7b
Fixes #5395 : added note about session table id column length
2014-10-07 12:18:02 +04:00
Qiang Xue
42609dbed5
Fixes #5314 : Fixed typo in the implementation of yii\web\Session::getHasSessionId()
2014-10-02 12:53:04 -04:00
nkovacs
f41abf9105
Update documentation to mention addFlash
2014-09-30 09:51:17 +02:00
Qiang Xue
29a5cd20c4
more guide.
2014-09-30 00:15:28 -04:00
Qiang Xue
d2b864da84
prepare for 2.0.0-rc release.
2014-09-27 21:59:54 -04:00
Qiang Xue
e7de579ee6
Fixes #5202 : View::registerJsFiles should not strip leading backlashes for protocol relative URL
2014-09-26 16:35:15 -04:00
Qiang Xue
851d15380f
Fixes #5131 : Added $autoRenew parameter to yii\web\User::getIdentity()
2014-09-22 17:58:58 -04:00
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
2014-09-22 16:37:28 +02:00
Qiang Xue
a81969950d
Adjusted dependency versions to stable ones.
2014-09-18 23:09:45 -04:00
Carsten Brandt
6744228e77
use mb_string to work with non latin characters
2014-09-17 19:29:35 +02:00
Qiang Xue
924e4f97e9
typo fix.
2014-09-17 10:02:37 -04:00
Qiang Xue
ecdb41e046
Fixes #5061 : Switched to use jquery composer package.
2014-09-17 09:59:44 -04:00
Qiang Xue
074c1f6c53
Merge branch 'master' into new-asset
...
Conflicts:
apps/basic/composer.json
composer.json
2014-09-16 20:03:53 -04:00
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
2014-09-12 13:49:34 -04:00
Alexander Kochetov
090e550a3d
Rename \yii\web\User component param for consistency
2014-09-10 05:55:07 +04:00
Qiang Xue
b1e7c753ae
Fixes #2702 : added doc about customizing error response format [skip ci]
2014-09-07 12:40:50 -04:00
Alexander Makarov
4832760604
Removed unused "use" statements
2014-09-07 15:46:54 +04:00
Veaceslav Medvedev
48821a8c2c
Update UrlManager.php
2014-09-04 22:27:23 +03:00
Alexander Makarov
a20f82dcfa
Fixes #4919
2014-09-04 20:44:36 +04:00
Qiang Xue
262a77caca
Added yii\web\Response::enableCsrfCookie to support storing CSRF tokens in session
2014-09-04 12:20:09 -04:00
Qiang Xue
d6fd45079e
typo fix.
2014-09-03 12:23:16 -04:00
Qiang Xue
60e07e0d2a
new asset WIP: renabled asset publishing
2014-09-02 14:51:44 -04:00