Sam
9459eaa277
Fixes #10372 : Fixed console controller including complex typed arguments in help
8 years ago
Alexander Makarov
3f8e8a89eb
Used more specific unit test assertions in framework tests
8 years ago
gagatust
6397791513
Fixed whitespaces to match code style [skip ci]
8 years ago
Daniel Gómez Pan
73ddf2e65e
Fixes #13670 : Fixed alias option from console when it includes `-` or `_` in option name
8 years ago
SilverFire - Dmitry Naumenko
1dc4618f3d
Fixed `MessageConstroller::saveMessagesToDb()` to work on different DBMS correctly
...
Closes #13494
8 years ago
SilverFire - Dmitry Naumenko
e9a96ee834
Replced InvalidParamException with \yii\console\Exception in Request::resolve()
8 years ago
SilverFire - Dmitry Naumenko
86b08e29d2
Enhanced `yii\console\Request::resolve()` to prevent passing parameters, that begin from digits
...
Closes #8641
8 years ago
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
8 years ago
Tobias Munk
9f95f71572
added groups to tests
8 years ago
Tobias Munk
ec8daa0d77
added db group to test
8 years ago
Robert Korulczyk
4c46c6a096
Improve messages test on HHVM. ( #13520 )
8 years ago
Bizley
1749c46c5d
Fixes #11502 : Fixed `yii\console\controllers\MessageController` to properly populate missing languages in case of extraction with "db" format
8 years ago
Pavel Ivanov
4db3bcd64c
Fixes #13277 : Invalid parsing of `--` in CLI
8 years ago
Klimov Paul
6211f9c030
`MigrateControllerTestTrait` fix for HHVM
8 years ago
Daniel Gómez Pan
b985ea3476
Fix #13108 : Negative integer parameter causes "Unknown alias" error w… ( #13220 )
...
* Fix #13108 : Negative integer parameter causes "Unknown alias" error when you execute command console
* Fix #13108 : Fix small issues
* Update Request.php
change order
8 years ago
Carsten Brandt
187c44e43e
implement suggestion for unknown command in console application
...
suggestion is based on two principles:
- first suggest commands the begin with the unknown name, to suggest
commands after accidentally hitting enter
- second find similar commands by computing the levenshtein distance
which is a measurement on how many changes need to be made to convert
one string into another. This is perfect for finding typos.
8 years ago
SilverFire - Dmitry Naumenko
4454d05410
Added ZSH completion, moved scripts to a separate directory
8 years ago
Carsten Brandt
beb140446b
added test for helpcontroller list action
8 years ago
SG5
1141fc81a7
Fixes #12735 : Fixed `yii\console\controllers\MigrateController` creating multiple primary keys for field `bigPrimaryKey:unsigned`
8 years ago
Klimov Paul
18b0dab360
Fixed `yii\console\controllers\AssetController::adjustCssUrl()` breaks URL reference specification (`url(#id)`)
8 years ago
Alexey Rogachev
e705519c5a
Fixes #13071 : Help option for commands was not working in modules
8 years ago
Klimov Paul
1157657cab
Fixed incorrect order of migrations history in case `yii\console\controllers\MigrateController::$migrationNamespaces` is in use
8 years ago
Alexander Zlakomanov
b48b1a0657
Fixes #12904 : Fixed lowercase table name in migrations
8 years ago
Boudewijn Vahrmeijer
8705219005
Added tests for HelpController ( #12908 )
8 years ago
Klimov Paul
60307c118b
code style fix
8 years ago
Klimov Paul
8c39b1cbfa
code style fix
8 years ago
Paul Klimov
8aa0e85a07
Add migration namespace support ( #12511 )
...
namespace support added to `BaseMigrateController`
8 years ago
Daniel Gomez Pan
ae42d7b281
Fix #12423 Fix bug migration tool when creating fields with brackets in comment
8 years ago
Klimov Paul
d73d155e43
code style fix
8 years ago
Klimov Paul
db15c50557
Fixed `yii\console\controllers\AssetController` looses bundle override configuration, which makes it external one
8 years ago
Klimov Paul
8c9bafcc06
Fix unit test on HHVM
8 years ago
Klimov Paul
56cc97ae42
Added `yii\console\controllers\AssetController::deleteSource`
8 years ago
Nikola Kovacs
84124bec4f
Fix grammar in migration template docblocks. ( #12148 )
...
Fix typo in test file's name.
8 years ago
Daniel Gómez Pan
83496853c8
Fixes #11461 : Fixed migration tool error when create migrate with comma in defaultValue
8 years ago
Angel Guevara
8c240ed067
Fixes #11683 : Fixed fixture command to work with short syntax. `yii fixture "*, -User"` should be used instead of `yii fixture "*" -User`
8 years ago
Robert Korulczyk
5992eea571
Fixes #11808 : `_table` and `_column` suffixes are now required when generating migration
8 years ago
cuiliang
c0df003ac0
merge from master
8 years ago
Angel Guevara
fdbf7d85a1
Simple tests ( #11606 )
...
* method to simplify migrate/create tests
* use new assertion for all migration/create tests
* move the expected files to test/data/console
8 years ago
Andrii Vasyliev
b4995c3990
Fixed `yii\console\Application::runAction` to not to corrupt response exit code when action returns Response object
...
close #10235
9 years ago
Angel Guevara
b923adf75c
Enh: Support for useTablePrefix parameter in migrate command
...
Fixes #11166 : migrate command new option `useTablePrefix`
9 years ago
Angel Guevara
49aec24ae1
Enh: Migrate command now supports foreign keys
...
Fixes #11207 : migrate command can create foreign keys
9 years ago
Angel Guevara
3cbd64547a
Additional phpdoc for #11187
9 years ago
Alexander Makarov
4cb0c1b55c
Fixed tests
9 years ago
Daniel Gomez Pan
1ce21cd927
WIP #10840 : rename key 'alias' to '_aliases'
9 years ago
Daniel Gomez Pan
03cb361a59
Fixed #10969 : add more tests
9 years ago
Daniel Gomez Pan
921b102961
Fixed #10969 : generator migration tool not works with decimal params in column
9 years ago
Vladimir Khramov
8db7df9352
replace all occurrences of migration class
9 years ago
Daniel Gomez Pan
26ff223855
WIP #10840 : add display shorcuts in help command
9 years ago
Daniel Gomez Pan
edfdb54430
WIP #10840 : rename shortCuts() to optionAliases()
9 years ago
Daniel Gomez Pan
a0a44c382a
WIP #10840
9 years ago