Commit Graph

205 Commits

Author SHA1 Message Date
Alexander Makarov
fce99c874e Fixes #5504: Added note to yii\console\CacheController explaining that cache components should be configured in console app configuration in order to be cleared 2014-11-23 21:56:23 +03:00
Alexander Makarov
d1f72be5fc Used echo instead of stdout not to cluttter tests 2014-11-22 02:47:02 +03:00
Alexander Makarov
e88a5d9cc4 Fixes #4823 and #6005: yii message accuracy and error handling were improved by using PHP tokenizer instead of regular expressions. Removed eval() as well. 2014-11-22 02:33:02 +03:00
Alexander Makarov
fb2dff8528 Fixes #6107 and #6112: yii message was emptying existing translations and incorrectly writing not yet translated strings in .po in case of multiple categories 2014-11-21 20:19:32 +03:00
Klimov Paul
63e434b473 Safe real path resolving added to yii\console\controllers\AssetController::combineCssFiles() 2014-11-11 16:33:16 +02:00
Klimov Paul
112ad80d6e Fixed yii\console\controllers\AssetController breaks CSS URLs, which start from '/' 2014-11-11 14:49:20 +02:00
Alexander Makarov
4b97abacc7 Fixes #5954: yii message command now shows user friendly error if it's not able to parse source file 2014-11-07 01:27:37 +03:00
munawer
33b760eca2 [ci skip] Guide typos fixed 2014-11-04 13:05:47 +03:00
Qiang Xue
530537e48f Fixes #5817 [skip ci] 2014-11-01 20:41:34 -04:00
Qiang Xue
10cc19d0b6 Fixes #5833: The message command fails with a FK constraint error when trying to update messages 2014-10-31 10:01:20 -04:00
Qiang Xue
1ad7e5f77a Fixes #5508: Dropped the support for the --append option for the fixture command 2014-10-26 20:47:12 -04:00
Alexander Mohorev
899b778994 Correct type declarations 2014-10-25 16:35:50 +03:00
Dima Vasilyev
935146901b Fixes #5682: The asset command would incorrectly combine CSS files when UrlManager::linkAssets is true 2014-10-22 11:58:06 -04:00
Carsten Brandt
2bfec326d5 Proper error message when fixture controller is called without input
before: failed with undefined index PHP error
now: fail with proper error complaining about missing argument.
2014-10-14 15:36:43 +02:00
Alexander Makarov
02622b6fe4 phpdoc fixes and additions 2014-10-14 01:35:21 +04:00
Qiang Xue
be2828d593 Fixes #5484: Fixed potential string suffix detection failure on 5.5.11 2014-10-11 09:35:55 -04:00
Carsten Brandt
3e3948d8ea fix breaking changes in markdown for console and API
API is not finished.

issue #5082
2014-10-10 19:40:53 +02:00
Klimov Paul
0fa3694088 Created template content at yii\console\controllers\AssetController adjusted 2014-10-10 16:23:03 +03:00
Klimov Paul
f5c5c2fd8b Fixed yii\console\controllers\AssetController breaks CSS URLs in case target file localed at yii\web\AssetManager::basePath root 2014-10-10 16:17:31 +03:00
Klimov Paul
37e0295c01 Error prone realpath() call removed 2014-10-10 15:25:12 +03:00
Klimov Paul
13bc95ae52 Fixed yii\console\controllers\AssetController breaks CSS URLs on Windows 2014-10-10 13:55:29 +03:00
Carsten Brandt
15c54de666 added yii version to the console help output 2014-10-04 12:06:51 +02:00
Carsten Brandt
fc8f6c469c reverted color change of de87f43d70 2014-10-03 16:32:08 +02:00
Qiang Xue
de87f43d70 Fixes #4292: The error messages for console commands will not be translated 2014-10-02 23:46:11 -04:00
Qiang Xue
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
Qiang Xue
97e37f7864 Fixed some issues in asset command. 2014-09-26 16:32:19 -04:00
Klimov Paul
684365e8c9 Fixed yii\console\controllers\CacheController does not check if cache component instance of 'yii\caching\Cache'
close #5055
2014-09-17 18:49:32 +02:00
Klimov Paul
db26e65c62 Fixed yii\console\controllers\MessageController handles category name containing dot incorrectly 2014-09-17 15:48:12 +03:00
Qiang Xue
00cfe93b20 Finished console Gii feature. 2014-09-14 14:25:11 -04:00
Qiang Xue
443779d693 Merge commit '81c3c48c53d5087be681fc5472a837bc4660ca12' into console-gii
Conflicts:
	framework/console/controllers/HelpController.php
2014-09-14 14:22:43 -04:00
Qiang Xue
6a9b3c7774 Finished console Gii. 2014-09-14 14:15:16 -04:00
Qiang Xue
bfb9aa84f7 WIP 2014-09-14 11:29:26 -04:00
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