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
Carsten Brandt
1d3495d84d
Alternative implementation for Unknown command suggestions
...
alternative implementation for #12661 , proof of concept, does not
include filtering by similarity yet.
issue #12659
8 years ago
SilverFire - Dmitry Naumenko
4454d05410
Added ZSH completion, moved scripts to a separate directory
8 years ago
Carsten Brandt
05b17ebb65
Added bash completion file for ./yii commands
...
This allows to auto-complete commands available by the `./yii`
executable on the bash by expanding the first argument with the TAB key.
E.g. Typing `./yii [TAB]` will list all commands. `./yii mig[TAB]` will
auto-complete to `./yii migrate` and tab after that will list all
migration sub-commands(actions).
fixes #475
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
Robert Korulczyk
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
8 years ago
Robert Korulczyk
450eefaa50
Some phpdoc fixes from scrutinizer.
8 years ago
Robert Korulczyk
cf0952406d
Cosmetic changes in console controller.
8 years ago
evgen
5c3cdd792b
fix code style
8 years ago
evgen
3d3d69e3a8
returned back `orderBy()`
8 years ago
evgen
50062d0b9f
some change
8 years ago
evgen
c7c8f09827
ksort and reverse to uksort
8 years ago
evgen
481932e238
add migration name to sort
8 years ago
Evgeny
59f7335b8f
change getMigrationHistory
8 years ago
Alexander Zlakomanov
b48b1a0657
Fixes #12904 : Fixed lowercase table name in migrations
8 years ago
diezztsk
e30e53843a
Changelog update. Fixed phpDoc comment.
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
diezztsk
99f1d04421
Extract default help header to protected method.
8 years ago
MKiselev
4f89265fff
Fixes #12748 : Migration generator now tries to fetch reference column name for foreignKey from schema if it's not set explicitly
8 years ago
Tobias Munk
02e0ac7034
Fixes #12807 : Added console controller checks for `yii\console\controllers\HelpController`
8 years ago
Carsten Brandt
11fe407ad0
release version 2.0.10
8 years ago
Basil
e3a240af27
Added example from prompt method. ( #12579 )
...
* Added example from prompt method.
* Fixed wrong error message
8 years ago
Nikola Kovacs
19a896a299
Improve phpdoc and error in BaseMigrateController ( #12573 ) [skip ci]
8 years ago
Klimov Paul
239cdcdf8a
Regex fix
8 years ago
Klimov Paul
0450b2002a
Added missing `@since`
8 years ago
Klimov Paul
7acd3b6400
Fixed namespace path resolve on Windows at `BaseMigrateController`
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
db15c50557
Fixed `yii\console\controllers\AssetController` looses bundle override configuration, which makes it external one
8 years ago
Klimov Paul
c9fc60fe74
Fixed `yii\console\controllers\AssetController` looses custom options of 'target' bundles
8 years ago
Klimov Paul
56cc97ae42
Added `yii\console\controllers\AssetController::deleteSource`
8 years ago
AS
665a12b25c
Fix typo detaild -> detailed ( #12177 ) [skip ci]
8 years ago
Alexander Makarov
496de65ee2
Fixes #12053 : `./yii migrate/create` was generating wrong code when using `bigPrimaryKey`
8 years ago
Daniel Gomez Pan
cffb3832d1
Fixes #12028 : Add -h|--help option to console command to display help information
8 years ago
Alexander Makarov
9b1b4fc5fa
Added missing phpdoc
8 years ago
Alexander Makarov
33a45b196c
Additional optimization for #12048
8 years ago
Alexander Makarov
0dbe589bf5
Fixes #12048 : Improved message extraction command performance
8 years ago
Егор Малыгин
a2123d8bb9
Fixed typo in BaseMigrateController.php ( #12033 )
8 years ago
Daniel Gómez Pan
83496853c8
Fixes #11461 : Fixed migration tool error when create migrate with comma in defaultValue
8 years ago
Alexander Makarov
6728d5d0e0
Fixes #11965 : fixed docs for MessageController only and except
8 years ago
Carsten Brandt
ee92cfa7ba
release version 2.0.9
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
Alexander Makarov
65232792b9
#10503 : Added note about flusing APC and OpCache from CLI
8 years ago
Robert Korulczyk
5992eea571
Fixes #11808 : `_table` and `_column` suffixes are now required when generating migration
8 years ago
Carsten Brandt
4e7f6f64d2
added errorHandler, Request and Response getter
...
to web and console application to ensure better ide completion.
methods in base class are required because they are called from base
class.
fixes #10947
8 years ago
Nikola Kovacs
9d327baa8b
coding style fixes
8 years ago