Qiang Xue
ed85c16ff2
Merge pull request #962 from cebe/700-fix-js-asset-position-conflict
...
fix js asset position conflict
2013-10-10 17:44:28 -07:00
Carsten Brandt
7817514e86
fixed default status code for Response::redirect()
...
fixes #961
2013-10-11 02:42:32 +02:00
Carsten Brandt
abc1e0c2bb
fix issue #700
...
adjust depended asset position or throw exception on conflict
2013-10-11 01:54:05 +02:00
Qiang Xue
8bff031fc2
Fixed the issue that dots in URL rules would match any character.
2013-10-10 11:23:20 -04:00
Alexander Makarov
c7d7a3ce36
Fixed missing error page when AccessControl is used with default deny rule
2013-10-10 13:53:12 +04:00
Alexander Makarov
6488fe47ec
Better phpdoc for chained method calls
2013-10-10 13:34:16 +04:00
Qiang Xue
293cb9d86f
Fixed search form.
2013-10-04 20:35:58 -04:00
egorpromo
536075c040
Just simple correction of unintelligible description
2013-10-04 21:17:13 +07:00
Qiang Xue
fe58cbd56a
doc update.
2013-10-01 21:35:56 -04:00
Carsten Brandt
2c30ddfcb0
added web\Controller::goBack() as shortcut
...
goBack() will redirect user to his returnUrl
fixes #925
2013-10-01 20:01:14 +02:00
Qiang Xue
ba1496cd50
doc fix.
2013-09-28 20:11:24 -04:00
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