306 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
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
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
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
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
29b76e2e8c WIP #10840: add phpdocs [skip ci] 2016-02-17 18:05:19 +01:00
26ff223855 WIP #10840: add display shorcuts in help command 2016-02-16 22:56:29 +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
f620f4de90 phpdoc fixes 2016-02-07 19:48:13 +01:00
5db772ef7b cleanup console namespace changes 2016-02-06 20:05:14 +01:00
2300e9cbe5 Update BaseMigrateController.php 2016-01-13 19:33:53 +02: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
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
08256b05ec Adjustments for #8329 2015-11-25 06:27:01 +03:00
ccfd9cb536 Fixes #8329: Added support of options for message console command 2015-11-25 06:12:52 +03:00
0b950f4039 Fix phpdocs and small bug 2015-11-24 20:03:09 +01:00
2a1764f97a Enhancements for #9465 2015-11-23 13:33:26 +03:00
f03808a7c8 Additional fixes for #9465 2015-11-20 23:04:29 +03:00
76e8556d34 #9465 better naming, code polish, changelog, docs wording 2015-11-20 22:50:32 +03:00
9afd240ab6 Fixes #9465: ./yii migrate/create now generates code based on migration name and --fields 2015-11-20 22:08:47 +03:00
5cd50fdb1d Fixes #10193: simplified ./yii serve by removing lock file and extra checks 2015-11-20 00:12:59 +03:00
06d499ab02 #10158: Accept arrays for 'js' as well
Also applied @samdark comments on array testing
2015-11-17 10:55:05 +01:00
cf01d5ff92 Use PHP type casting instead of ArrayHelper 2015-11-16 18:16:29 +01:00
8ada653e8e Fix build failure: Handle arrays in assets command 2015-11-16 15:31:20 +01:00
effc4facda Used alias instead of relative path in ServeController 2015-11-06 23:54:00 +03:00
9d7db8c7ab Fixed ServeController phpdoc 2015-11-06 23:51:32 +03:00
3e915903a2 Fixes #10083: Added wrapper for PHP webserver 2015-11-05 22:08:57 +03:00
99c6fb23a2 Added total applied migrations to final report 2015-10-27 02:23:21 +06:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
b65bfad44d Simplified regular expressions 2015-10-10 00:40:25 +03:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00