Qiang Xue
fe58cbd56a
doc update.
11 years ago
Carsten Brandt
2c30ddfcb0
added web\Controller::goBack() as shortcut
...
goBack() will redirect user to his returnUrl
fixes #925
11 years ago
Qiang Xue
ba1496cd50
doc fix.
11 years ago
Qiang Xue
b59812507a
reverted doc change: the original one is correct.
11 years ago
Alexander Makarov
45778a4bd7
Added ->send() to redirect phpdoc example
11 years ago
Alexander Makarov
e19d0dacf9
Fixes #823 : consistent interface naming
11 years ago
Qiang Xue
76154b9776
Fixes #901 : Added $delete parameter to Session::getFlash().
11 years ago
Qiang Xue
93d5f5a3ec
Fixes #897 .
11 years ago
Qiang Xue
ae39324e54
Support ajax redirection.
11 years ago
Qiang Xue
3acca93ad3
Enable CSRF validation by default.
11 years ago
Qiang Xue
1aeb86df78
refactored Request::validateCsrfToken().
11 years ago
Qiang Xue
4f555a5751
Fixed CSRF validation bug.
11 years ago
Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
11 years ago
Carsten Brandt
b8ffee6559
moved CacheSession::init() parent call after init of cache component
...
session autostart would fail otherwise.
fixes #887
11 years ago
Carsten Brandt
cc09ef56b9
updated @property annotations of web\Request
11 years ago
Qiang Xue
2deff126cf
Supports sending CSRF token via HTTP header.
11 years ago
Qiang Xue
1aa836ffc7
use meta tags to pass CSRF token.
11 years ago
Qiang Xue
ad479dd7f6
Modified js registration position.
11 years ago
Qiang Xue
51c29e444d
renamed Request::csrfTokenName to csrfVar.
...
added version, csrfVar and csrfToken to yii js module.
11 years ago
Alexander Makarov
f34d7064ea
Better phpdoc for AccessControl
11 years ago
Qiang Xue
30907b6134
Fixes #826 : cleaned up User::getReturnUrl().
11 years ago
Benjamin Wöster
64d57b397a
add checks for HEAD request
11 years ago
Benjamin Wöster
d02e7d4004
add checks for GET and OPTIONS requests
11 years ago
Qiang Xue
ea10868824
Removed Yii::import().
11 years ago
Qiang Xue
afd0472784
Fixes #837 : turn private variables into public ones.
11 years ago
Qiang Xue
947a557240
Reverted changeset 595ac6d0be
11 years ago
Qiang Xue
595ac6d0be
Fixes #833 : added charset to json response.
11 years ago
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.
11 years ago
Alexander Makarov
e1a6aacba8
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049
)
11 years ago
Alexander Makarov
c2c12a9049
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set
11 years ago
Carsten Brandt
147558ea19
added some class documentation
11 years ago
Carsten Brandt
c582e589d2
added note about differing property types
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Borro
9f72973b83
Bug in XML format
12 years ago
Qiang Xue
a9e71d5565
better handling with exceptions in __toString()
12 years ago
Qiang Xue
27ad7e1fc7
Added Controller::goHome().
12 years ago
Qiang Xue
89fa7ed3cb
Reverted the change to User::loginUrl.
12 years ago
Qiang Xue
21eab82413
Refactored redirect() methods.
12 years ago
Luciano Baraglia
3f8e9b7a84
Login url fix when called from a module
12 years ago
Qiang Xue
d1c41fe144
changed to trace from info.
12 years ago
Qiang Xue
8ee92fdb80
Added ErrorAction.
12 years ago
Ryadnov
2409624894
fix typos - `Yii::app()`
12 years ago
Alexander Makarov
9c97e3e38a
fixed phpdoc of Request
12 years ago
Qiang Xue
3d5388ff2b
Reorganized captcha code.
12 years ago
Qiang Xue
9f4ccb6243
Added status code display to debugger toolbar.
12 years ago
Alexander Makarov
3a2215b833
fixed length constraints check to always result in correct range
12 years ago
Qiang Xue
eda171e1be
Added more YII_ENV constants.
12 years ago
Qiang Xue
f2ceef4c76
Fixes #686
12 years ago
Qiang Xue
3bef7365f1
Fixes #624 : renamed www to web.
12 years ago