632 Commits

Author SHA1 Message Date
dab7a6c317 Update phpdoc 2020-07-20 02:44:55 +03:00
4fa7d4ee48 Fix #18170: Fix regression in passing extra console command arguments to the action 2020-07-15 15:23:47 +03:00
38f038175f Adjust changelog, correct phpdoc, minor code style fixes 2020-07-07 15:00:16 +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
2b9323d517 Fix #18047: Fix colorization markers output in Table.php 2020-06-23 13:45:34 +03:00
5c3ee63316 Fix #15202: Add optional param --silent-exit-on-exception in yii\console\Controller 2020-06-23 13:34:09 +03:00
fc4f449e21 Fix #18083: Add Controller::$request and $response 2020-06-14 21:19:27 +03:00
Sam
4ea484ca68 Fix #17722: Add action injection support 2020-06-12 10:06:18 +03:00
dc54137788 Fix #17852: Documented yii\console\Controller::stdout() additional parameters (#18076) 2020-06-05 00:18:36 +03:00
3b87c5f31a Fix #18028: Fix division by zero exception in Table.php::calculateRowHeight 2020-05-18 14:11:43 +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
c41b428088 Fix #17884: Fix 0 values in console Table rendered as empty string 2020-02-21 23:07:25 +03:00
67ff6f814b Fix #17771: migrate/fresh was not returning exit code 2020-01-09 15:31:54 +03:00
b0b1c82ae9 Fix #17648: Handle empty column arrays in console Table widget 2019-11-04 00:43:05 +03:00
e7e72e2ff6 Fix #15526: Show valid aliases and options on invalid input in console application 2019-09-18 01:33:43 +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
a44b307c01 Fixes #16918: Console Table widget variables visibility was changed to protected to allow extending it 2019-05-21 12:46:08 +03:00
0f30174ae6 Fix typo in ExitCode (#17294)
A missing letter, nothing more
2019-04-30 01:36:01 +04: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
bdb7c64910 Update to https protocol for php.net links (#17168) [skip ci]
* Updated php.net link for some MemCache properties [skip ci]

* Changed protocol to https for links to php.net in comments

* Changed protocol to https for links to php.net in code

* Changed www.php.net (http) to secure.php.net (https) in comments

* Changed www.php.net (http) to secure.php.net (https) in code

* Changed protocol to https for links to php.net in UPGRADE.md

* Changed protocol to https for links to pecl.php.net in comments

* Changed us.php.net to secure.php.net (https) in comments

* Changed protocol to https for links to php.net in docs

* Changed www.php.net (http) to secure.php.net (https) in docs

* Changed protocol to https for links to pecl.php.net in docs

* Changed ru/jp.php.net to secure.php.net (https) in docs

Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +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
e11e3eb4c5 Allow \yii\console\widgets\Table to render empty table (#16865)
When headers provided but no columns.
Ref #16858
2018-11-06 00:05:49 +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
2ef24d9c65 Fixes #16331: Fixed console table without headers 2018-10-26 13:00:49 +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
22832b7c49 release version 2.0.14 2018-02-19 00:27:09 +02:00
cd8a9c47d7 Fixed kebab-name console command parameters 2018-02-18 23:32:50 +03: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
af83e59406 Fixes #14355: Added ability to pass an empty array as a parameter in console command 2018-01-10 02:51:41 +04:00
b44bbd6a13 Fix code issues (#15435)
* Fix some scrunitizer warnings

* Remove obsolete require

* Fix codestyle
2018-01-01 16:21:37 +03:00