42 Commits

Author SHA1 Message Date
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
36184569a8 removed unnecessary check 2013-06-15 14:20:50 +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
gsd
1a46b8704c fix MigrateController 2013-06-15 02:28:18 +06:00
075a6b6504 fixed how console color should be enabled. 2013-06-14 12:53:21 -04:00
725d810085 Refactored console controller color option. 2013-06-14 11:16:56 -04:00
420637443c Refactored the way of sending response in controller actions. 2013-06-13 23:39:18 -04:00
531ca690eb refactored the message command. 2013-06-11 15:01:59 -04:00
014053f080 Doc comments at "yii\console\controllers\MessageController" has been updated. 2013-06-11 20:18:06 +03:00
7c9f74722c "yii\console\controllers\MessageController" has been fixed. 2013-06-11 20:15:37 +03:00
41d1a35497 Merge branch 'master' of github.com:yiisoft/yii2 into message-command 2013-06-11 19:49:38 +03:00
f2d477dce6 Response WIP 2013-06-09 09:47:41 -04:00
04848a45c9 Default action of "yii\console\controllers\MessageController" has been renamed to "generate". 2013-06-09 16:10:59 +03:00
4a164f8afa Action "template" has been added to "yii\console\controllers\MessageController". 2013-06-09 16:07:03 +03:00
3c9b157814 Exception usage has been added to "yii\console\controllers\MessageController". 2013-06-09 15:11:34 +03:00
7a7d2a9c06 CS fixes. 2013-06-07 22:41:11 +06:00
29ac3aeea6 Added Jsonable support. 2013-06-07 11:02:26 -04:00
152e5a0e15 Doc comments and descriptive output at"AssetController" has been adjusted. 2013-06-03 22:34:15 +03:00
dfe2d00785 Output of "AssetController::actionCompress" have been adjusted to hold the action id. 2013-06-03 21:53:07 +03:00
1f68becb61 Doc comments at "AssetController" have been updated. 2013-06-03 21:46:56 +03:00
9b8b285eb1 Doc comments at "AssetController" have been extended. 2013-06-03 21:43:54 +03:00
5172dbd4c4 Additional comments have been added to the "AssetController::actionTemplate" output. 2013-06-03 21:25:04 +03:00
6c179ef3a7 File creation checks at "AssetController" have been updated to use Exceptions. 2013-06-03 20:47:37 +03:00
587529bf94 Always refetch the migration table definition. 2013-05-26 20:10:09 -04:00
f65d1398a5 Added skipping for absolute URLs at "AssetController::adjustCssUrl()". 2013-05-26 21:05:53 +03:00
2635b4775e Method "AssetController::adjustCssUrl()" has been applied to compress process. 2013-05-26 21:01:18 +03:00
b6ec6085fe Method "AssetController::adjustCssUrl()" has been complete. 2013-05-26 20:59:03 +03:00
265a6f1c39 Relative path composing at "AssetController::adjustCssUrl()" has been complete. 2013-05-26 20:47:34 +03:00
fbc8e265ad Method "AssetController::adjustCssUrl()" has been implemented in basic. 2013-05-26 18:55:12 +03:00
ce6b73c88a Method "AssetController::adjustCssUrl()" has been created as blank 2013-05-26 14:53:41 +03:00
689080519e Added support for previous exceptions
PHP supports exception stacks since 5.3 so we should use it.
Also Errorhandler is now able to display the stack: #297
2013-05-26 04:38:13 +02:00
cb0d741281 Added missing phpdoc 2013-05-25 21:57:11 +04:00
4fe732e9ae there is no app command anymore
issue #131
2013-05-25 04:39:25 +02:00
89ea3fef03 Next iteration on console commands
issue #33
- implemted getScreenSize for linux systems
- tiny adjustments and better naming for console color methods
- color switch in base Controller changed to magic property
- colorized Help command
2013-05-25 04:21:51 +02:00
774a7b52cb yiic migrate/create should not require db component 2013-05-25 00:16:30 +04:00
9948aec147 Removed "yii app" in favor of Composer application templates 2013-05-24 15:33:07 +04:00
caf9948c54 fixes #377 2013-05-23 19:51:47 +04:00
58ca27a473 Refactored console Request. 2013-05-23 09:49:01 -04:00
a0e54d623e Merge branch 'master' of github.com:yiisoft/yii2 into asset-command 2013-05-22 20:22:25 +03:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00