resurtm
2f360e53c3
Add CoffeeScript and TypeScript commands to AssetConverter.
2013-10-31 17:55:44 +06:00
Alexander Makarov
8c98d99596
Removed fallback from mb_parse_str to parse_str from Request::getRestParams since mb_ availability is Yii2 requirement
2013-10-24 17:06:40 +04:00
Alexander Makarov
e67b9a8482
Removed check for PHP 5.4 from Session::open()
2013-10-24 17:05:08 +04:00
Alexander Makarov
2ce09559a2
fixes #1055
2013-10-24 14:50:51 +04:00
Alexander Makarov
ee2af2661c
Removed unneeded use statements
2013-10-24 03:12:25 +04:00
Alexander Makarov
616b406a0c
fixes #979
2013-10-24 02:06:35 +04:00
Qiang Xue
732b9ab8fb
removed unused use statement.
2013-10-21 20:58:37 -04:00
Qiang Xue
b03b38fb0d
Added $publish parameter to AssetManager::getBundle().
2013-10-20 10:31:06 -04:00
Carsten Brandt
1475b46249
adjusted asset phpdoc after refactoring #996
2013-10-20 12:45:05 +02:00
Qiang Xue
e79e33ffa0
Merge branch 'master' of github.com:yiisoft/yii2
2013-10-18 19:15:25 -04:00
Qiang Xue
40cb5b813e
Fixed bug in AssetBundle::registerAssets().
2013-10-18 13:23:11 -04:00
Alexander Makarov
1f6a823073
Short array syntax
2013-10-18 20:52:38 +04:00
Qiang Xue
f4e3edb1e0
Fixes #1004 .
2013-10-18 12:30:57 -04:00
Qiang Xue
3cd897e583
Fixed asset file registration with extra leading slashes.
2013-10-18 11:55:58 -04:00
Qiang Xue
602592411d
Fixes #996 .
2013-10-18 10:33:56 -04:00
Carsten Brandt
61fe888780
Merge branch 'master' into i18n-icu
...
* master: (103 commits)
fixed broken test after whitespace changes in view
Removed the extra EOLs.
I add new line in methods that render code in the head and for body
GII update button style
GII create object button style [skip ci]
Fixes #980 : Changed the default way of generating action URLs for ActionColumn.
View default value for $params
adjusted cubrid version in schema quote
removed cubrid env from tavis.yml
simplified cubrid db install on travis
fixed cubrid schema test for pdo type
fixed validator test break
added cubrid specific pdo type casting
Updated FileValidator tests
Better AR connection init in tests
Removed @codeCoverageIgnore
no xss for attribute error messages that contain {value}
Clientvalidation {value} was not what has been validated
moved getPdoType() to Schema.
optimized datepick js code.
...
2013-10-16 22:04:17 +02:00
Carsten Brandt
6507e2e316
applied new style of Yii::t params to all occurences
2013-10-16 22:03:26 +02:00
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