426 Commits

Author SHA1 Message Date
4e2045c040 release version 2.0.41 2021-03-04 00:51:35 +03:00
b8f4958092 Fix #18442: Fix calls with array access to strings 2020-12-23 01:08:58 +03:00
6cba80d887 Fix #18339: Fix migrate controller actions to return exit codes
Co-authored-by: Bizley <pawel@positive.codes>
2020-12-09 16:48:39 +03:00
ccb14ff667 release version 2.0.39 2020-11-10 13:58:35 +03:00
3f3003d823 Fix #18303: Fix creating migration issue for column methods used after defaultValues 2020-10-05 01:02:21 +03:00
e478c23bd4 Fix #17985: Convert migrationNamespaces to array if needed
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2020-07-01 00:52:52 +03:00
e6c4640c98 Fix #17979: Improve migrate/fresh command description 2020-04-18 11:53:18 +03:00
110199bcfd Fix #17859: Fix loading fixtures under Windows 2020-02-22 17:43:25 +03:00
67ff6f814b Fix #17771: migrate/fresh was not returning exit code 2020-01-09 15:31:54 +03:00
6e2b1782e5 Fix #16855: Ignore console commands that have no actions 2019-09-10 19:00:43 +03:00
e50a07c30c Fix #17437: Fixed generating namespaced migrations 2019-07-23 17:28:43 +03:00
2b9374558b Fix #17395: Fixed issues with actions that contain underscores in their names 2019-07-08 13:46:43 +03:00
d23537fa26 Fix type annotations 2019-07-02 21:56:01 +03:00
757bc42645 Fixes #17325: Fixed "Cannot drop view" for MySQL while migrate/fresh 2019-06-30 19:53:50 +03:00
0fcd495583 Fixes #16394: Fixed issues in migrate/create when specifying default values with colons and adding multiple columns 2019-06-26 12:44:24 +07:00
c5397f8784 Closes #16411. Fix windows tests (#17380)
* Fix `\yiiunit\framework\helpers\ConsoleTest::testErrorSummary`
* Fix `\yiiunit\framework\console\controllers\PHPMessageControllerTest::testRemoveUnusedBehavior`
2019-06-19 16:48:20 +03:00
5b5150ae62 Fixes #17133: Fixed aliases rendering during help generation for a console command 2019-03-09 15:35:19 +03:00
e6513a2c9e Fixes #17124: Fixed ErrorException when run ./yii fixture/unload without arguments 2019-03-06 17:34:34 +03:00
905cfd9725 Fixes #17098: Fixed message/extract when using message params returned from method calls 2019-02-07 20:44:11 +03:00
ec1809bed2 Fix to do not delete used message files with nested category names (#17021) 2019-01-06 16:20:25 -05:00
1a34f61e56 Fixes #16941: Set yii\console\controllers\MigrateController::useTablePrefix to true as default value 2019-01-03 12:16:42 -05:00
5250197d3b Fixed typo in MessageController docs [skip ci] (#16982) 2018-12-30 16:38:39 -05:00
c162bd7ae7 Fixes #16910: Fix messages sorting on extract 2018-12-12 22:57:24 +03:00
b5be47321b Fixes #16469: Allow cache to be specified as interface and to be configured in DI container 2018-12-10 11:41:45 +03:00
db1d730695 Fixes #16822: Create config dir recursively in message/config 2018-12-05 01:37:12 +03:00
8150cd1ed4 Fixes #16580: Delete unused php message files in MessageController if $removeUnused option is on 2018-12-05 01:35:44 +03:00
5208ef761e Fixes #16828: yii\console\controllers\MessageController::translator recognized object' methods and functions calls as identical sets of tokens 2018-11-03 11:19:27 +03:00
e55b3e0ba1 Fixes #16278: Fixed drop existing views when console migrate/fresh command runs 2018-06-30 02:19:40 +03:00
e4b559d720 Fixes #16217: Fixed yii\console\controllers\HelpController to work well in Windows environment 2018-05-12 14:47:00 +03:00
1a74b3d4f8 [minor] SCA with Php Inspections (EA Ultimate) (#15871)
* Php Inspections (EA Ultimate): use type casting where applicable

* Php Inspections (EA Ultimate): use constants where applicable

* Php Inspections (EA Ultimate): CS

* Php Inspections (EA Ultimate): address some of one-time used variables

* Php Inspections (EA Ultimate): address some of performance-related findings

* Php Inspections (EA Ultimate): address some of performance-related findings

* Php Inspections (EA Ultimate): revert a constant usage

* Php Inspections (EA Ultimate): revert sequential assignments

* Php Inspections (EA Ultimate): build is green again

* Php Inspections (EA Ultimate): revert array_merge tweaks

* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak

* Update description [skip ci]

* Php Inspections (EA Ultimate): CS
2018-03-12 01:37:19 +03:00
f9b03dfd42 SCA with Php Inspections (EA Ultimate) 2018-02-27 19:06:27 +01:00
2c68336754 Fix #15724: MigrateController::optionAliases() have 2 same keys 2018-02-22 22:06:13 +04:00
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
b953a184e3 Fixes #13919: Added option to add comment for created table to migration console command 2018-01-15 18:30:52 +03:00
185209957e Fixes #15270: Resolved potential race conditions when writing generated php-files 2017-12-02 18:24:56 +03:00
8897ea7270 Fixes #15249: Controllers in subdirectories were not visible in commands list 2017-11-30 22:06:24 +03:00
0948109a19 Fixes #15221: Console improvements 2017-11-26 14:43:05 +08:00
2d672b6722 release version 2.0.13 2017-11-03 01:09:29 +03:00
e311001ef5 #14543: Adjusted implementation of migration name length limit 2017-10-27 00:20:37 +03:00
614fb52c45 Fixes #14543: Throw exception when trying to create migration longer than 255 symbols 2017-10-23 23:21:44 +03:00
43ea93315f Fixes #14929: Additional semicolon should avoid an affection of trailing line comment when asset/compress 2017-10-11 23:10:56 +03:00
6e8cc4c151 Fixes #14929: Ensure trailing ; on combining files with asset command to fix compiler failures 2017-10-06 22:31:37 +02:00
6bde69aa96 Fixes #14016: Fixed empty messages marked as unused in PHP and PO sources when extracted with message command when markUnused is false 2017-10-06 22:24:38 +02:00
a1ddd8b907 Fixes #14129: Fixed console help to properly work with tricky camelcased controller names 2017-09-29 23:02:09 +03:00
ab8c54f12a Fixes #14864: Ability to use dependencies in constructor of migrations 2017-09-23 01:24:18 +02:00
97923ac783 ensure backwards compatibiliy with migration without $compact
See https://github.com/yiisoft/yii2/pull/14474#discussion_r135237472
2017-09-01 11:07:52 +02:00
f866edcfba Fix console cache controller
Fixed a bug in a `yii\console\controllers\CacheController` when caches
defined via a closure were not detected.

fixes #13969
close #14586
2017-09-01 09:34:56 +02:00
9588c8f5a4 Fixes #13853: Added yii\db\Migration::$compact as well as yii\console\controllers\BaseMigrateController::$compact to allow making the migration console output more compact 2017-08-25 13:30:28 +03:00
264831cf21 BaseMigrateController::refreshDatabase() renamed to truncateDatabase() 2017-08-24 13:08:46 +03:00
5a8c3d537b Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.

* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00