414 Commits

Author SHA1 Message Date
5992eea571 Fixes #11808: _table and _column suffixes are now required when generating migration 2016-07-04 12:50:37 +03:00
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
2016-06-20 14:47:17 +02:00
9d327baa8b coding style fixes 2016-05-26 11:19:32 +02:00
731769241b release version 2.0.8 2016-04-28 16:50:20 +02:00
7615a39e4d Add note about purge DB (#11445) 2016-04-28 12:00:14 +02:00
4411a74ebd proper fix for #9425, adjust changes from #11363
includes tests and fix that works in all cases.
2016-04-28 01:29:07 +02:00
9ea5d46140 added missing @since annotations 2016-04-28 01:05:31 +02:00
72eca59399 [ci skip] add note about create_xxx drop_xxx (#11435) 2016-04-27 16:44:26 +03:00
7c663debd5 [ci skip] phpDoc updated (#11434) 2016-04-27 16:43:40 +03:00
b4995c3990 Fixed yii\console\Application::runAction to not to corrupt response exit code when action returns Response object
close #10235
2016-04-22 17:24:11 +02:00
de3c7d9d27 Fix MigrateController 2016-04-06 16:28:13 +03:00
6e96d881fd Merge branch 'master' of github.com:yiisoft/yii2 into migrate-fields-refactoring 2016-04-06 16:03:05 +03:00
b923adf75c Enh: Support for useTablePrefix parameter in migrate command
Fixes #11166: migrate command new option `useTablePrefix`
2016-04-06 13:37:37 +03:00
a90ffecdb3 MigrateController refactored avoiding internal state changing 2016-04-06 13:37:03 +03:00
b72524d490 Fixes #11280 migrate autogenerate breaks MongoDB migration
Fixes #11280: Descendants of `yii\console\controllers\BaseMigrateController`, like the one for MongoDB, unable to create new migration
2016-04-05 23:05:40 +03:00
49aec24ae1 Enh: Migrate command now supports foreign keys
Fixes #11207: migrate command can create foreign keys
2016-04-05 01:02:52 +03:00
60be6389bf Fixes #11081 2016-03-10 21:31:03 +03:00
1989494faa Console command aliases enhancements 2016-03-05 17:56:12 +03:00
9088d49990 fix name method 2016-03-04 14:13:18 +01:00
857eee2451 Merge pull request #10870 from pana1990/10840-add-shorcuts-console
WIP #10840
2016-03-04 13:53:28 +02:00
4a5a80b1ce WIP #10870: improvement docs [skip ci] 2016-03-04 00:11:13 +01:00
1ce21cd927 WIP #10840: rename key 'alias' to '_aliases' 2016-02-27 23:26:34 +01:00
5dcfb19112 remove unnecesary check 2016-02-27 02:45:10 +01:00
921b102961 Fixed #10969: generator migration tool not works with decimal params in column 2016-02-26 03:34:03 +01:00
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
705edfff5a Add aliases for core commands 2016-02-25 16:28:19 +01:00
c8a8bfb093 WIP #10840: add @since [skip ci] 2016-02-19 22:47:36 +01:00
ea14db4eca WIP #10840: rename 'key_exists' to 'array_key_exists' 2016-02-19 22:33:06 +01:00
6a5df64768 WIP #10840: fix regexp 2016-02-19 16:26:53 +01:00
c6d7ba188d WIP #10840: refactor regexp 2016-02-18 12:48:37 +01:00
ab18f77fcc WIP #10840: fixes phpdocs [skip ci] 2016-02-18 00:24:45 +01:00
29b76e2e8c WIP #10840: add phpdocs [skip ci] 2016-02-17 18:05:19 +01:00
f6c2a4382d WIP #10840: fix naming var 2016-02-16 23:23:19 +01:00
26ff223855 WIP #10840: add display shorcuts in help command 2016-02-16 22:56:29 +01:00
edfdb54430 WIP #10840: rename shortCuts() to optionAliases() 2016-02-16 22:35:40 +01:00
a0a44c382a WIP #10840 2016-02-16 15:47:28 +01:00
bf3d8fe40f Use $arr[] = 'x' instead of array_push 2016-02-16 14:35:15 +03:00
97bc4e0567 Fixed wrong case in method calls 2016-02-16 13:53:53 +03:00
9b5f6cb188 prepare for 2.0.7 release
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
2016-02-14 15:45:55 +01:00
f620f4de90 phpdoc fixes 2016-02-07 19:48:13 +01:00
b226252e08 Merge pull request #10765 from yiisoft/revert-action-di
Revert DI injection via controller action method signature
2016-02-07 12:28:15 +03:00
5db772ef7b cleanup console namespace changes 2016-02-06 20:05:14 +01:00
3f828d9599 alphabetical order for console core commands 2016-02-06 20:04:31 +01:00
42b8569846 Revert DI injection via controller action method signature
reverts b7020065c and related commits.
reverts implementation of #9476

For reasons, see discussion https://github.com/yiisoft/yii2/issues/9476#issuecomment-179749039
2016-02-06 18:40:50 +01:00
2300e9cbe5 Update BaseMigrateController.php 2016-01-13 19:33:53 +02:00
18fc8db32f Fixes #10372: Fixed console controller including DI arguments in help 2015-12-22 13:11:00 +03:00
62fd874413 Update phpdoc comments and changelog 2015-12-14 14:56:39 +03:00
c22a9c0d84 Method isIgnoredCategory renamed to isCategoryIgnored and update phpdoc comments 2015-12-14 14:50:22 +03:00
229f9a8364 Support wildcard category name in export messages config #10359 2015-12-14 14:04:06 +03:00
d1d1106179 MessageController output DB lost EOL when unused messages unchanged
When storing messages to DB and neither `removeUnused`, nor `markUnused`
is enabled, then output about obsoleted messages won't say anything
about update results and lost EOL:

    [/path] $ ./yii message/extract ...
    Extracting messages from <file>...

    Extracting messages from <file>...

    Inserting new messages...saved.
    Updating obsoleted messages...[/path] $ _

Patched to explain what happened and fix EOL:

    Inserting new messages...saved.
    Updating obsoleted messages...kept untouched.
    [/path] $ _
2015-12-04 11:43:06 +08:00