19 Commits

Author SHA1 Message Date
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
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
6507e2e316 applied new style of Yii::t params to all occurences 2013-10-16 22:03:26 +02:00
2c30ddfcb0 added web\Controller::goBack() as shortcut
goBack() will redirect user to his returnUrl
fixes #925
2013-10-01 20:01:14 +02:00
ae39324e54 Support ajax redirection. 2013-09-20 16:21:18 -04:00
4f555a5751 Fixed CSRF validation bug. 2013-09-19 08:17:07 -04:00
f9b957554f Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions. 2013-09-18 23:24:11 -04:00
147558ea19 added some class documentation 2013-08-28 19:33:06 +02:00
bdb77f33ba updated @property annotations of many classes 2013-08-28 14:16:13 +02:00
27ad7e1fc7 Added Controller::goHome(). 2013-08-12 13:19:37 -04:00
21eab82413 Refactored redirect() methods. 2013-08-12 12:01:59 -04:00
d1212bc73b Support relative route in Controller::createUrl() 2013-07-24 11:20:04 -04:00
9cf82b3ae1 Added Model::load(). Added Controller::refresh() and redirect(). 2013-06-26 08:34:27 -04:00
f18d6df625 Revert "Merge pull request #548 from cebe/action-response"
This reverts commit 9d7597d61a51ae7030b667f740c2a97471cf7f6e, reversing
changes made to 6b6390f72b6a6010cfbe614aab236a90d10b1a00.
2013-06-16 19:45:58 -04:00
b138199c59 implementation of Response tied to actions
Result of a discussion with @qiangxue
- there is not global Yii::$app->response anymore, every action has
  dedicated response class
- implementation allows using HMVC pattern now, nested actions do not
  interfer
2013-06-16 18:12:27 +02:00
03e07f4340 cleaned up "use" statements. 2013-06-14 22:42:55 -04:00
ad218c6719 moved HttpException to web. 2013-06-10 17:08:26 -04:00
f690f0db13 Fixes issue #441: InvalidRequestException should be HttpException 2013-05-28 19:24:08 -04:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00