Commit Graph

173 Commits

Author SHA1 Message Date
Alexander Makarov
4832760604 Removed unused "use" statements 2014-09-07 15:46:54 +04:00
Qiang Xue
e3ca5a8168 Reverted/fixed some incorrect changes. 2014-09-05 20:23:11 -04:00
Alexander Makarov
d471f0ba91 Fixes #4288: added a hint on how to specify console boolean values to the output of help 2014-09-06 00:52:23 +04:00
Qiang Xue
aeb8dd560a Refactored console help system [skip ci] 2014-09-04 21:14:09 -04:00
Qiang Xue
fadfdf690a Refactored help system. [skip ci] 2014-09-04 19:47:52 -04:00
Alexander Makarov
9c9ce298c7 Merge pull request #4913 from yiisoft/console-help-refactoring
Console help refactoring
2014-09-04 20:09:07 +04:00
Alexander Makarov
da7af42371 Added information about --appconfig to output of help command, color option is now passed to controller whose help we're getting 2014-09-04 19:49:18 +04:00
Alexander Makarov
21440d7aed Moved common help parsing code into HelpParser. Action methods now have default implementation. 2014-09-04 19:28:00 +04:00
Alexander Makarov
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
Alexander Makarov
d44f424858 Fixed getting controller description, refactored a bit more 2014-09-04 03:14:36 +04:00
Alexander Makarov
277d8cbaeb Got rid of console inline action 2014-09-04 03:01:28 +04:00
Alexander Makarov
dbac35b1aa Removed description and help code duplication 2014-09-04 02:38:15 +04:00
Mark
ff80968387 cache controller adjustments and improvements
related to #4792, close #4874
2014-09-01 13:07:56 +02:00
Alexander Makarov
82fbc0ef2c Fixes #4247 2014-08-26 02:32:25 +04:00
Ragazzo
d86691240c fixed console guide and docs of FixtureController 2014-08-23 00:37:00 +04:00
Qiang Xue
5be6a841e3 Cleaned up doc. [skip ci] 2014-08-20 21:14:51 -04:00
Mark
033d66deac changed format of applying command to all 2014-08-20 20:48:58 -04:00
Mark
461576dc85 added other syntax for and tests for fixture controller 2014-08-20 20:48:58 -04:00
Mark
d9cd1a859b added append option to fixture controller 2014-08-20 20:48:58 -04:00
Carsten Brandt
c43b7ee8b5 console help WIP 2014-08-12 00:05:19 +02:00
Alexander Makarov
84af0ad1f7 Fixes #4592: Fixed yii help command was listing incorrect action names for methods like actionSayNO 2014-08-07 15:20:05 +04:00
maxlapko
62bffafeea Update MessageController.php
Fixed order of checking config `format` property
2014-08-01 16:23:49 +04:00
Alexander Makarov
100ba6c3ab Replaced substr_compare with strncmp where possible 2014-07-30 02:32:47 +04:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Alexander Makarov
1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 2014-07-30 02:15:08 +04:00
Alexander Makarov
8f81e231da Fixes #4453: yii message/extract wasn't properly writing to po files in case of multiple categories 2014-07-26 02:46:58 +04:00
Alexander Makarov
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
Alexander Makarov
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
Alexander Makarov
bc3200cef1 Fixes #4295: reworked message extraction for PO files 2014-07-17 19:33:37 +04:00
Carsten Brandt
33edfcff2e Use limit(null) instead of limit(-1)
in migration controller to be compatible to more backends

fixes #3947
2014-07-02 19:48:39 +02:00
Carsten Brandt
10dc407a3c implemented markdown parsing for console command description
issue #746
2014-06-25 18:05:29 +02:00
Qiang Xue
607294a4f1 Fixes #2821: Console help command incorrectly lists non-console controllers as available commands 2014-06-24 10:50:43 -04:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Klimov Paul
166465ec7a MigrationInterface extracted 2014-06-17 18:00:22 +03:00
Klimov Paul
6cc1310aed BaseMigrateController extracted 2014-06-17 17:49:21 +03:00
Klimov Paul
49f5d364a5 #3807: Wrong js/css path composition at AssetController::buildTarget() fixed 2014-06-13 12:40:40 +03:00
Alexander Makarov
d7a251bbec Removed unused imports, added missing phpdoc 2014-05-30 11:55:17 +06:00
Mark
1414f9ab6b limit condition changed 2014-05-28 18:06:11 +04:00
Mark
d229cb8206 limit applied to migration 2014-05-27 18:36:41 +04:00
Andrey Smirnov
1aeb306d00 Fix incomplete obsolete filling in i18n db extractor
Obsolete keys searching isn't work when we have serveral categories for tranlation with DbMessageSource. Obsolete array filled with last message category only, because it'll always overwritten.
2014-05-26 15:33:37 +04:00
Alexander Makarov
c11ca0873d Fixed asset controller tests 2014-05-25 04:11:41 +04:00
Alexander Makarov
d84898a73d Fixes #2898: yii\console\controllers\AssetController is now using hashes instead of timestamps 2014-05-24 18:39:22 +04:00
Klimov Paul
1641e057a9 VarDumper::export() applied over framework. 2014-05-20 16:35:12 +03:00
Alexander Kochetov
f5b7788edd MigrateController refactoring 2014-05-14 13:22:04 +04:00
Alexander Kochetov
697e909c30 Comments updated 2014-05-09 18:33:22 +04:00
Alexander Kochetov
5f2101893e MigrateCommand enhancement. all option added for down action. 2014-05-09 18:30:38 +04:00
Alexander Makarov
a86d2ad11e Added yii\console\Controller::EXIT_CODE_NORMAL and yii\console\Controller::EXIT_CODE_ERROR constants, yii\console\MigrateController now returns yii\console\Controller::EXIT_CODE_ERROR in case of failed migration 2014-05-07 03:11:35 +04:00
Alexander Makarov
ff3a20a785 Removed duplicate property 2014-05-06 21:02:35 +04:00
Carsten Brandt
76d8e2b5b3 code style, fixes #3140 2014-04-17 13:24:16 +02:00
Klimov Paul
7f636fc525 yii\console\controllers\AssetController::actionTemplate() advanced to include jsCompressor and cssCompressor to the template. 2014-04-17 12:57:35 +03:00