Commit Graph

49 Commits

Author SHA1 Message Date
Qiang Xue
3bef7365f1 Fixes #624: renamed www to web. 2013-07-25 07:57:49 -04:00
Alexander Makarov
02608626fb class import cleanup 2013-07-21 19:29:18 +04:00
Alexander Makarov
02f8062435 fixed code style 2013-07-21 19:13:00 +04:00
Qiang Xue
e15938474c Refactored console commands. 2013-07-18 18:21:21 -04:00
Qiang Xue
a6cd7b72bb refactored helper organization. 2013-07-17 20:45:36 -04:00
Qiang Xue
a128bffb47 Fix for asset command. 2013-07-16 21:43:17 -04:00
Qiang Xue
ba6c10eb30 Yii debugger WIP 2013-07-06 21:20:49 -04:00
Qiang Xue
f18d6df625 Revert "Merge pull request #548 from cebe/action-response"
This reverts commit 9d7597d61a, reversing
changes made to 6b6390f72b.
2013-06-16 19:45:58 -04:00
Carsten Brandt
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
Carsten Brandt
82c978f86a draft idea of action based responses 2013-06-16 17:04:28 +02:00
Carsten Brandt
36184569a8 removed unnecessary check 2013-06-15 14:20:50 +02:00
Carsten Brandt
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
Qiang Xue
075a6b6504 fixed how console color should be enabled. 2013-06-14 12:53:21 -04:00
Qiang Xue
725d810085 Refactored console controller color option. 2013-06-14 11:16:56 -04:00
Qiang Xue
420637443c Refactored the way of sending response in controller actions. 2013-06-13 23:39:18 -04:00
Qiang Xue
531ca690eb refactored the message command. 2013-06-11 15:01:59 -04:00
Klimov Paul
014053f080 Doc comments at "yii\console\controllers\MessageController" has been updated. 2013-06-11 20:18:06 +03:00
Klimov Paul
7c9f74722c "yii\console\controllers\MessageController" has been fixed. 2013-06-11 20:15:37 +03:00
Klimov Paul
41d1a35497 Merge branch 'master' of github.com:yiisoft/yii2 into message-command 2013-06-11 19:49:38 +03:00
Qiang Xue
f2d477dce6 Response WIP 2013-06-09 09:47:41 -04:00
Klimov Paul
04848a45c9 Default action of "yii\console\controllers\MessageController" has been renamed to "generate". 2013-06-09 16:10:59 +03:00
Klimov Paul
4a164f8afa Action "template" has been added to "yii\console\controllers\MessageController". 2013-06-09 16:07:03 +03:00
Klimov Paul
3c9b157814 Exception usage has been added to "yii\console\controllers\MessageController". 2013-06-09 15:11:34 +03:00
resurtm
7a7d2a9c06 CS fixes. 2013-06-07 22:41:11 +06:00
Qiang Xue
29ac3aeea6 Added Jsonable support. 2013-06-07 11:02:26 -04:00
Klimov Paul
152e5a0e15 Doc comments and descriptive output at"AssetController" has been adjusted. 2013-06-03 22:34:15 +03:00
Klimov Paul
dfe2d00785 Output of "AssetController::actionCompress" have been adjusted to hold the action id. 2013-06-03 21:53:07 +03:00
Klimov Paul
1f68becb61 Doc comments at "AssetController" have been updated. 2013-06-03 21:46:56 +03:00
Klimov Paul
9b8b285eb1 Doc comments at "AssetController" have been extended. 2013-06-03 21:43:54 +03:00
Klimov Paul
5172dbd4c4 Additional comments have been added to the "AssetController::actionTemplate" output. 2013-06-03 21:25:04 +03:00
Klimov Paul
6c179ef3a7 File creation checks at "AssetController" have been updated to use Exceptions. 2013-06-03 20:47:37 +03:00
Qiang Xue
587529bf94 Always refetch the migration table definition. 2013-05-26 20:10:09 -04:00
Klimov Paul
f65d1398a5 Added skipping for absolute URLs at "AssetController::adjustCssUrl()". 2013-05-26 21:05:53 +03:00
Klimov Paul
2635b4775e Method "AssetController::adjustCssUrl()" has been applied to compress process. 2013-05-26 21:01:18 +03:00
Klimov Paul
b6ec6085fe Method "AssetController::adjustCssUrl()" has been complete. 2013-05-26 20:59:03 +03:00
Klimov Paul
265a6f1c39 Relative path composing at "AssetController::adjustCssUrl()" has been complete. 2013-05-26 20:47:34 +03:00
Klimov Paul
fbc8e265ad Method "AssetController::adjustCssUrl()" has been implemented in basic. 2013-05-26 18:55:12 +03:00
Klimov Paul
ce6b73c88a Method "AssetController::adjustCssUrl()" has been created as blank 2013-05-26 14:53:41 +03:00
Carsten Brandt
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
Alexander Makarov
cb0d741281 Added missing phpdoc 2013-05-25 21:57:11 +04:00
Carsten Brandt
4fe732e9ae there is no app command anymore
issue #131
2013-05-25 04:39:25 +02:00
Carsten Brandt
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
Alexander Makarov
774a7b52cb yiic migrate/create should not require db component 2013-05-25 00:16:30 +04:00
Alexander Makarov
9948aec147 Removed "yii app" in favor of Composer application templates 2013-05-24 15:33:07 +04:00
Alexander Makarov
caf9948c54 fixes #377 2013-05-23 19:51:47 +04:00
Qiang Xue
58ca27a473 Refactored console Request. 2013-05-23 09:49:01 -04:00
Klimov Paul
a0e54d623e Merge branch 'master' of github.com:yiisoft/yii2 into asset-command 2013-05-22 20:22:25 +03:00
Qiang Xue
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00