83 Commits (140e7fc915088ce969097014b58d19c1f5a5a95a)

Author SHA1 Message Date
Daniel Gomez Pan 1989494faa Console command aliases enhancements 9 years ago
Daniel Gomez Pan 9088d49990 fix name method 9 years ago
Carsten Brandt 191f2a4943 fixed phpdoc type names 9 years ago
Daniel Gomez Pan 705edfff5a Add aliases for core commands 9 years ago
Carsten Brandt 5db772ef7b cleanup console namespace changes 9 years ago
Revin Roman 62fd874413 Update phpdoc comments and changelog 9 years ago
Revin Roman c22a9c0d84 Method `isIgnoredCategory` renamed to `isCategoryIgnored` and update phpdoc comments 9 years ago
Revin Roman 229f9a8364 Support wildcard category name in export messages config #10359 9 years ago
Vovan-VE d1d1106179 MessageController output DB lost EOL when unused messages unchanged 9 years ago
Alexander Makarov 08256b05ec Adjustments for #8329 9 years ago
Vadym Chenin ccfd9cb536 Fixes #8329: Added support of options for `message` console command 9 years ago
Alexander Makarov 5ab4f0f090 Better quotes usage in strings 9 years ago
Alexander Makarov 3a207b7559 Fixes #9323: Fixed `yii\console\controllers\MessageController` not using database connection specified in config 9 years ago
Carsten Brandt a2568d1ec8 updated some comments and `@since` annotations 9 years ago
Alexander Makarov 63f9ec4da6 Fixed formatting 9 years ago
Alexander Mohorev ae42a054bb PSR-2 spaces, commas, etc 9 years ago
Marius Ebel fff61bf99b - Reworked order of parameters in order to keep backwards compatibility 9 years ago
Marius Ebel 0dcb50db5e - i18n MessageController now supports config parameter 'markUnused' that turns adding @@s either on or off 9 years ago
Philippe Gaultier 4851d7f9e3 Fixes #8574: Added `yii\console\controllers\MessageController` support .pot file creation 9 years ago
Klimov Paul adb0460ee1 `yii\console\controllers\MessageController` now sorts created messages, even if there is no new one, while saving to PHP file 10 years ago
Klimov Paul 72ec914992 `yii\console\controllers\MessageController` improved allowing extraction of nested translator calls 10 years ago
Klimov Paul a0b5652673 `yii\console\controllers\MessageController::saveMessagesToDb()` updated to use `yii\db\Schema::insert()` 10 years ago
Carsten Brandt ef662b57be added missing `@since` annotations 10 years ago
Alexander Makarov b7a29e38d9 Fixes #6895: Added `ignoreCategories` config option for message command to ignore categories specified 10 years ago
Alexander Makarov 6481d13494 Optimized checks order in conditions 10 years ago
Alexander Makarov af7ae33d5b Use (array) cast instead of !is_array check for both readability and performance 10 years ago
Alexander Makarov e606617a8e Better checks for empty string in MessageController 10 years ago
Paul Klimov a3af271edf Color output added to `yii\console\MessageController` and `yii\console\AssetController` 10 years ago
Paul Klimov 8632882312 Plain `echo` replaced by `stdout()` at `yii\console\MessageController` 10 years ago
Carsten Brandt 8b79293ff2 added missing `@since` annotations 10 years ago
Alexander Makarov d1f72be5fc Used echo instead of stdout not to cluttter tests 10 years ago
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. 10 years ago
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 10 years ago
Alexander Makarov 4b97abacc7 Fixes #5954: `yii message` command now shows user friendly error if it's not able to parse source file 10 years ago
Qiang Xue 10cc19d0b6 Fixes #5833: The `message` command fails with a FK constraint error when trying to update messages 10 years ago
Alexander Mohorev 899b778994 Correct type declarations 10 years ago
Alexander Makarov 02622b6fe4 phpdoc fixes and additions 10 years ago
Qiang Xue be2828d593 Fixes #5484: Fixed potential string suffix detection failure on 5.5.11 10 years ago
Klimov Paul db26e65c62 Fixed `yii\console\controllers\MessageController` handles category name containing dot incorrectly 10 years ago
maxlapko 62bffafeea Update MessageController.php 10 years ago
RichWeber 92cd13a913 pull origin 10 years ago
Alexander Makarov 100ba6c3ab Replaced substr_compare with strncmp where possible 10 years ago
Carsten Brandt 3a1e0f3a5c property codestyle framework 10 years ago
Alexander Makarov 1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 10 years ago
Alexander Makarov 8f81e231da Fixes #4453: `yii message/extract` wasn't properly writing to po files in case of multiple categories 10 years ago
Alexander Makarov 07f01bcf2b Used substr_compare instead of substr when we don't care about result 10 years ago
Alexander Makarov bc3200cef1 Fixes #4295: reworked message extraction for PO files 10 years ago
Andrey Smirnov 1aeb306d00 Fix incomplete obsolete filling in i18n db extractor 10 years ago
Klimov Paul 1641e057a9 `VarDumper::export()` applied over framework. 10 years ago
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 11 years ago