Marius Ebel
fff61bf99b
- Reworked order of parameters in order to keep backwards compatibility
...
- Update statement of unused messages in DB now depends on $markUnused parameter
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
Carsten Brandt
47bcd020ff
fixed bug in console controller
...
pass correct action name to options when $id is empty (default action)
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
Sergey Gonimar
3872c6c565
Fix migrate/down order
...
Migrations were applied at the same time. This cause invalid sort order while downgrade.
Command `yii migrate `
Output:
```
Yii Migration Tool (based on Yii v2.0.4-dev)
Total 2 new migrations to be applied:
m150402_075534_initial
m150402_075544_feedback
```
Command `yii migrate/down 2`
```
Yii Migration Tool (based on Yii v2.0.4-dev)
Total 2 migrations to be reverted:
m150402_075534_initial
m150402_075544_feedback
```
In databasse
```
"m000000_000000_base";1428382302
"m150402_075534_initial";1428388855 <----
"m150402_075544_feedback";1428388855 <----
```
10 years ago
Paul Klimov
378937f8d5
`yii\console\controllers\AssetController` provides dependency trace in case bundle circular dependency detected
10 years ago
Klimov Paul
97c0ffc836
Creating target dir at `yii\console\controllers\AssetController::buildTarget()` refactored
10 years ago
Klimov Paul
e9ecdf88f9
Fixed `yii\console\controllers\AssetController` does not create missing folders for the target bundles
10 years ago
Alexander Makarov
1713a99c79
Fixes #7924 : Migrations in history are now ordered by time applied allowing to roll back in reverse order no matter how these were applied
10 years ago
Alexander Makarov
b7a29e38d9
Fixes #6895 : Added `ignoreCategories` config option for message command to ignore categories specified
10 years ago
Carsten Brandt
08e0143c16
created Console::wrapText() to imrove console help output on small screens
10 years ago
callmez
f60da03e07
Fixes #7562 , fixes #6841 : `yii help` now lists all sub-commands by default
10 years ago
Paul Melekhov
86891f9f82
Fixes #7358 : Fix trimming PHPDoc prefix with TAB indent in `yii\console\Controller::parseDocCommentSummary()`
10 years ago
Carsten Brandt
2b6de9665e
adjusted docs about #7347
10 years ago
lynicidn
84052d15df
Used yii\di\Instance::ensure() in MigrateController instead of doing the same without it
10 years ago
lynicidn
a71423cf2a
Fixes #7269 : `yii\console\controllers\BaseMigrateController` now throws exception if directory specified doesn't exist and action isn't `create`
10 years ago
Klimov Paul
690b6f7e6c
'Dividing asset bundles into group' docs added
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
Klimov Paul
5bda2fe073
`yii\console\controllers\AssetController` now correctly handles relative image URLs if source and target CSS are under same directory
10 years ago
Alexander Makarov
e606617a8e
Better checks for empty string in MessageController
10 years ago
Carsten Brandt
aef8fdffde
fixed indentation in Cache Controller
10 years ago
Klimov Paul
9b9b361aff
Doc comments for `yii\console\controllers\AssetController` extended
10 years ago
Klimov Paul
94f702fe6e
`yii\console\controllers\AssetController` now handles bundle files from external resources properly
10 years ago
Carsten Brandt
119c302033
fixed issue with UTF-8 characters in help description parsing
...
fixes #6691
10 years ago
Paul Klimov
e796d1fa27
Plain `echo` replaced by `stdout()` at `yii\console\HelpController`
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
Paul Klimov
19e79ad4b4
Plain `echo` replaced by `stdout()` at `yii\console\AssetController`
10 years ago
Alexander Makarov
9e42285f61
Reverted #3305
10 years ago
Alexander Makarov
19af264530
Enh: `yii fixture` command now offers help if no arguments are provided instead of crashing
10 years ago
Carsten Brandt
8b79293ff2
added missing `@since` annotations
10 years ago
Alexander Makarov
5d7b70da5f
Adjusted #3305 : `MigrateController::refreshSchema()` is no more called automatically
10 years ago
Alexander Makarov
7c5938f902
#4791 : Added more colors to `yii migrate` command
10 years ago
Alexander Makarov
3c70d3c317
Fixes #3305 : `yii migrate` now automatically flushes DB schema cache after successful migration
10 years ago
Alexander Makarov
eaf8ece568
Fixes #5627 : Added `yii cache/flush-schema` console command to flush DB schema cache of a given database connection
10 years ago
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
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
Klimov Paul
63e434b473
Safe real path resolving added to `yii\console\controllers\AssetController::combineCssFiles()`
10 years ago
Klimov Paul
112ad80d6e
Fixed `yii\console\controllers\AssetController` breaks CSS URLs, which start from '/'
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
munawer
33b760eca2
[ci skip] Guide typos fixed
10 years ago
Qiang Xue
530537e48f
Fixes #5817 [skip ci]
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