Qiang Xue
b59812507a
reverted doc change: the original one is correct.
2013-09-27 18:39:33 -04:00
Alexander Makarov
45778a4bd7
Added ->send() to redirect phpdoc example
2013-09-27 20:36:47 +04:00
Alexander Makarov
e19d0dacf9
Fixes #823 : consistent interface naming
2013-09-24 15:45:09 +04:00
Qiang Xue
76154b9776
Fixes #901 : Added $delete parameter to Session::getFlash().
2013-09-23 20:38:54 -04:00
Qiang Xue
93d5f5a3ec
Fixes #897 .
2013-09-22 13:01:27 -04:00
Qiang Xue
ae39324e54
Support ajax redirection.
2013-09-20 16:21:18 -04:00
Qiang Xue
3acca93ad3
Enable CSRF validation by default.
2013-09-20 15:04:28 -04:00
Qiang Xue
1aeb86df78
refactored Request::validateCsrfToken().
2013-09-19 08:24:06 -04:00
Qiang Xue
4f555a5751
Fixed CSRF validation bug.
2013-09-19 08:17:07 -04:00
Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
2013-09-18 23:24:11 -04:00
Carsten Brandt
b8ffee6559
moved CacheSession::init() parent call after init of cache component
...
session autostart would fail otherwise.
fixes #887
2013-09-18 22:38:53 +02:00
Carsten Brandt
cc09ef56b9
updated @property annotations of web\Request
2013-09-18 16:03:06 +02:00
Qiang Xue
2deff126cf
Supports sending CSRF token via HTTP header.
2013-09-17 21:43:03 -04:00
Qiang Xue
1aa836ffc7
use meta tags to pass CSRF token.
2013-09-17 21:00:19 -04:00
Qiang Xue
ad479dd7f6
Modified js registration position.
2013-09-15 18:57:11 -04:00
Qiang Xue
51c29e444d
renamed Request::csrfTokenName to csrfVar.
...
added version, csrfVar and csrfToken to yii js module.
2013-09-15 18:54:26 -04:00
Alexander Makarov
f34d7064ea
Better phpdoc for AccessControl
2013-09-16 02:08:29 +04:00
Qiang Xue
30907b6134
Fixes #826 : cleaned up User::getReturnUrl().
2013-09-13 20:54:16 -04:00
Benjamin Wöster
64d57b397a
add checks for HEAD request
2013-09-10 14:33:50 +02:00
Benjamin Wöster
d02e7d4004
add checks for GET and OPTIONS requests
2013-09-10 14:27:22 +02:00
Qiang Xue
ea10868824
Removed Yii::import().
2013-09-01 10:26:59 -04:00
Qiang Xue
afd0472784
Fixes #837 : turn private variables into public ones.
2013-08-31 21:29:46 -04:00
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
2013-08-30 16:52:33 +02:00
Carsten Brandt
147558ea19
added some class documentation
2013-08-28 19:33:06 +02:00
Carsten Brandt
c582e589d2
added note about differing property types
2013-08-28 15:18:13 +02:00
Carsten Brandt
ca69ef09d4
update of @property annotations
2013-08-28 14:59:52 +02:00
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
2013-08-28 14:16:13 +02:00
Borro
9f72973b83
Bug in XML format
2013-08-23 11:34:31 -07:00
Qiang Xue
a9e71d5565
better handling with exceptions in __toString()
2013-08-23 07:05:33 -04:00
Qiang Xue
27ad7e1fc7
Added Controller::goHome().
2013-08-12 13:19:37 -04:00
Qiang Xue
89fa7ed3cb
Reverted the change to User::loginUrl.
2013-08-12 12:02:59 -04:00
Qiang Xue
5c5b20906e
Merge branch 'master' of github.com:yiisoft/yii2
2013-08-12 12:02:08 -04:00
Qiang Xue
21eab82413
Refactored redirect() methods.
2013-08-12 12:01:59 -04:00
Luciano Baraglia
3f8e9b7a84
Login url fix when called from a module
2013-08-12 12:21:28 -03:00
Qiang Xue
d1c41fe144
changed to trace from info.
2013-08-10 12:22:32 -04:00
Qiang Xue
8ee92fdb80
Added ErrorAction.
2013-08-10 07:32:19 -04:00
Ryadnov
2409624894
fix typos - Yii::app()
2013-08-08 21:15:46 +04:00
Alexander Makarov
9c97e3e38a
fixed phpdoc of Request
2013-08-05 12:00:56 +04:00
Qiang Xue
3d5388ff2b
Reorganized captcha code.
2013-08-03 07:20:39 -04:00
Qiang Xue
9f4ccb6243
Added status code display to debugger toolbar.
2013-08-02 22:07:26 -04:00
Alexander Makarov
3a2215b833
fixed length constraints check to always result in correct range
2013-08-03 01:19:26 +04:00
Qiang Xue
eda171e1be
Added more YII_ENV constants.
2013-07-31 07:18:59 -04:00
Qiang Xue
f2ceef4c76
Fixes #686
2013-07-30 11:56:09 -04:00
Qiang Xue
3bef7365f1
Fixes #624 : renamed www to web.
2013-07-25 07:57:49 -04:00
Qiang Xue
d1212bc73b
Support relative route in Controller::createUrl()
2013-07-24 11:20:04 -04:00
Qiang Xue
e433c98ed4
Fixes #599
2013-07-23 22:01:16 -04:00
Qiang Xue
6f4e2c9b3c
Fixes #647
2013-07-21 19:10:29 -04:00
Alexander Makarov
dd47668cba
added missing return tags to CaptchaAction
2013-07-21 19:13:00 +04:00
Alexander Makarov
02f8062435
fixed code style
2013-07-21 19:13:00 +04:00
Carsten Brandt
6ce60c1666
added support for HTTP verb PATCH
...
To provider better REST API support PATCH method is added which is used
for partial updates, while a PUT should only update whole record.
issues #303 and yiisoft/yii#2664
2013-07-20 22:46:32 +02:00