862a5dd6b7
Added support for field yii\console\controllers\BaseMigrateController::$migrationNamespaces setup from CLI
2017-01-16 16:48:44 +02:00
25a7ed60e7
Docs about namespaced migrations fixed
2017-01-10 14:22:50 +02:00
7c98000391
Update Controller.php
2017-01-07 21:15:30 +01:00
2853dcbad7
Update FixtureController.php
2017-01-02 10:13:43 +02:00
9173656b53
Improves error message for invalid namespace in FixtureController
2017-01-02 00:07:50 -02:00
8060300bf4
Small optimization of yii\console\Request::resolve()
2016-12-31 20:57:24 +03:00
4db3bcd64c
Fixes #13277 : Invalid parsing of -- in CLI
2016-12-31 16:31:07 +02:00
194577c55e
Code style fix
2016-12-26 15:39:33 +02:00
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
2016-12-17 21:30:36 +02:00
7fead4f011
Merge pull request #12959 from yiisoft/bash-completion
...
Added bash completion file for ./yii commands
2016-12-03 01:25:06 +01:00
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.
2016-12-03 01:17:50 +01:00
1d3495d84d
Alternative implementation for Unknown command suggestions
...
alternative implementation for #12661 , proof of concept, does not
include filtering by similarity yet.
issue #12659
2016-12-03 01:13:28 +01:00
4454d05410
Added ZSH completion, moved scripts to a separate directory
2016-12-03 00:36:40 +01:00
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
2016-12-03 00:36:40 +01:00
1141fc81a7
Fixes #12735 : Fixed yii\console\controllers\MigrateController creating multiple primary keys for field bigPrimaryKey:unsigned
2016-12-02 01:03:24 +03:00
18b0dab360
Fixed yii\console\controllers\AssetController::adjustCssUrl() breaks URL reference specification (url(#id))
2016-11-29 10:24:39 +02:00
e705519c5a
Fixes #13071 : Help option for commands was not working in modules
2016-11-27 16:14:08 +03:00
1157657cab
Fixed incorrect order of migrations history in case yii\console\controllers\MigrateController::$migrationNamespaces is in use
2016-11-14 14:24:53 +02:00
1a70f60332
Merge master into doc-fixes
...
Conflicts:
framework/web/AssetManager.php
2016-11-13 15:35:18 +01:00
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
2016-11-13 14:51:21 +01:00
450eefaa50
Some phpdoc fixes from scrutinizer.
2016-11-12 22:11:30 +01:00
cf0952406d
Cosmetic changes in console controller.
2016-11-12 21:35:19 +01:00
5c3cdd792b
fix code style
2016-11-12 18:15:27 +03:00
3d3d69e3a8
returned back orderBy()
2016-11-12 18:06:02 +03:00
50062d0b9f
some change
2016-11-12 15:30:46 +03:00
c7c8f09827
ksort and reverse to uksort
2016-11-12 11:10:57 +03:00
481932e238
add migration name to sort
2016-11-12 02:20:00 +03:00
59f7335b8f
change getMigrationHistory
2016-11-12 00:58:20 +03:00
b48b1a0657
Fixes #12904 : Fixed lowercase table name in migrations
2016-11-08 23:39:44 +03:00
2d96da4e29
Merge branch 'master' of https://github.com/diezztsk/yii2 into diezztsk-master
2016-11-07 13:23:03 +03:00
e30e53843a
Changelog update. Fixed phpDoc comment.
2016-11-07 10:35:20 +07:00
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
99f1d04421
Extract default help header to protected method.
2016-11-03 11:41:34 +07:00
4f89265fff
Fixes #12748 : Migration generator now tries to fetch reference column name for foreignKey from schema if it's not set explicitly
2016-11-01 02:02:16 +03:00
02e0ac7034
Fixes #12807 : Added console controller checks for yii\console\controllers\HelpController
2016-10-23 14:02:59 +03:00
11fe407ad0
release version 2.0.10
2016-10-20 14:02:50 +02:00
e3a240af27
Added example from prompt method. ( #12579 )
...
* Added example from prompt method.
* Fixed wrong error message
2016-09-27 12:19:46 +02:00
19a896a299
Improve phpdoc and error in BaseMigrateController ( #12573 ) [skip ci]
2016-09-20 22:44:00 +02:00
239cdcdf8a
Regex fix
2016-09-16 11:58:41 +03:00
0450b2002a
Added missing @since
2016-09-13 11:26:50 +03:00
7acd3b6400
Fixed namespace path resolve on Windows at BaseMigrateController
2016-09-13 11:25:48 +03:00
8aa0e85a07
Add migration namespace support ( #12511 )
...
namespace support added to `BaseMigrateController`
2016-09-12 14:01:04 +03:00
8ec60e3d9b
Merge branch '12423-migration-tool' of https://github.com/pana1990/yii2 into pana1990-12423-migration-tool
2016-09-11 21:17:43 +03:00
ae42d7b281
Fix #12423 Fix bug migration tool when creating fields with brackets in comment
2016-09-11 18:03:09 +02:00
db15c50557
Fixed yii\console\controllers\AssetController looses bundle override configuration, which makes it external one
2016-08-31 17:25:52 +03:00
c9fc60fe74
Fixed yii\console\controllers\AssetController looses custom options of 'target' bundles
2016-08-31 15:59:26 +03:00
56cc97ae42
Added yii\console\controllers\AssetController::deleteSource
2016-08-31 13:06:19 +03:00
665a12b25c
Fix typo detaild -> detailed ( #12177 ) [skip ci]
2016-08-17 11:56:25 +03:00
496de65ee2
Fixes #12053 : ./yii migrate/create was generating wrong code when using bigPrimaryKey
2016-08-05 01:09:55 +03:00
cffb3832d1
Fixes #12028 : Add -h|--help option to console command to display help information
2016-08-05 00:52:45 +03:00