12 Commits

Author SHA1 Message Date
3e18479d1f Fixes issue #545: PageCache doesn't work. 2013-06-17 00:48:05 -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
82c978f86a draft idea of action based responses 2013-06-16 17:04:28 +02:00
5ed52b98a1 renamed Application::handle() to handelRequest()
Name make more sense imo as it is not clear what it handles otherwise.
Removed unused method processRequest form console app and also refactored
console Application to be more similar to web Application.
2013-06-15 14:10:47 +02:00
03e07f4340 cleaned up "use" statements. 2013-06-14 22:42:55 -04:00
a951e1c8e1 Replaced Jsonable with Arrayable.
Added support for different response formats.
Support for error response in different formats.
2013-06-14 16:26:33 -04:00
420637443c Refactored the way of sending response in controller actions. 2013-06-13 23:39:18 -04:00
ad218c6719 moved HttpException to web. 2013-06-10 17:08:26 -04:00
800723945b Fixes issue #194: Added Application::catchAll. 2013-05-31 21:52:20 -04:00
ebe31c5f60 Fixes issue 380: invalid route exception should be 404. 2013-05-23 13:24:10 -04:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00