8702 Commits

Author SHA1 Message Date
e342162425 Fix #18134: Instance of ExpressionInterface will not be quoted in Connection:quoteColumnName 2020-06-30 17:59:23 +03:00
50af7ec4c7 Update CHANGELOG.md 2020-06-25 23:33:22 +03:00
08a28b27d4 Add changelog line 2020-06-25 15:43:25 +00:00
53fa22ecfd Merge branch 'master' into allow-references-in-array 2020-06-24 13:38:21 +00: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
2e21a8275c Fix #18115: Allow to load action-injected services from module's container 2020-06-22 23:49:02 +03:00
d755004c41 Fix #18110: Add quotes to return value of viewName in MSSQL schema. It is [someView] now 2020-06-22 23:46:04 +03:00
c1386858f3 Allow DI references in array in dependencies
Extremely needed for handler maps and like.
Example container config:

```
return [
    ContentTypeMiddleware::class => [
        '__construct()' => [
            Instance::of(StreamFactory::class),
            [
                'json' => Intance::of(JsonFormatter::class),
                'yaml' => Intance::of(YamlFormatter::class),
            ],
        ],
    ],
];
```
2020-06-22 16:48:28 +00:00
24505e7cdd Change SQL in migration for support old version of MSSQL (without IF EXISTS) (#18123) 2020-06-22 18:22:42 +03:00
5763c968de A hu translation string added (#18126) 2020-06-22 14:01:01 +03:00
658c822f30 Fix #18120: Include path to the log file into error message if FileTarget::export fails 2020-06-19 11:35:14 +03:00
a41879a321 Upgrade note for #18083 (#18119) 2020-06-19 11:09:24 +03:00
385fe13d66 Revert #18102 since renaming is technically problematic (#18109) 2020-06-17 13:40:17 +03:00
eb956e9c6b primary/replica in a definitely non-breaking way (#18106) 2020-06-16 11:33:27 +03:00
4c416c7982 Fix #18105: Fix for old trigger in RBAC migration with/without prefixTable 2020-06-15 14:05:58 +03:00
b642a384fa Fix #18096: Fix InlineValidator with anonymous inline function not working well from EachValidator 2020-06-15 10:14:57 +03:00
fc4f449e21 Fix #18083: Add Controller::$request and $response 2020-06-14 21:19:27 +03:00
d317e41b21 Fix #18101: Fix behavior of OUTPUT INSERTED.* for SQL Server query: "insert default values"; correct MSSQL unit tests; turn off profiling echo message in migration test 2020-06-14 14:20:21 +03:00
472600ee3f Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 2020-06-14 00:12:10 +03:00
9a3093442c Use inheritDoc to replace outdated docblock (#18100) 2020-06-13 12:50:34 +03:00
Sam
4ea484ca68 Fix #17722: Add action injection support 2020-06-12 10:06:18 +03:00
d4a3841d1c Fix #18004: Clarify where PageCache::$cacheCookies and PageCache::$cacheHeaders are used 2020-06-10 14:58:07 +03:00
1b07c0d4fb Fix #18001: Fix getting table metadata for tables ( in their name 2020-06-10 12:22:10 +03:00
1d1a9fa106 Fix ImageValidator's maxHeight doc (#18089) 2020-06-09 00:02:40 +03:00
5c01dc75ae Fix #13828, Fix #17474: Fix retrieving inserted data for a primary key for SQL Server 2005 or later
- Bug #13828: Fix retrieving inserted data for a primary key of type uniqueidentifier for SQL Server 2005 or later.
- Bug #17474: Fix retrieving inserted data for a primary key of type trigger for SQL Server 2005 or later.

The OUTPUT clause is new to SQL Server 2005 and has the ability to access the INSERTED and DELETED tables as is the case with a trigger.
2020-06-06 22:44:40 +03:00
561c9cfb47 Fix #18082 Fix German translation (#18084) 2020-06-06 10:42:13 +03:00
b9101ce893 Fix #18081: Fix for PDO_DBLIB/MSSQL. Set flag ANSI_NULL_DFLT_ON to ON for current connect to DB
* Fix for PDO_DBLIB (MSSQL). Set flag ANSI_NULL_DFLT_ON to ON for current connect to DB.
This flag modifies the behavior of the session to override default nullability of new columns.
By default, for some versions of dblib + freetds, this flag is off.
ANSI recommends default behavior - NULL for new fields without default setted null/not null
2020-06-05 20:29:08 +03:00
dc54137788 Fix #17852: Documented yii\console\Controller::stdout() additional parameters (#18076) 2020-06-05 00:18:36 +03:00
b83f06268f Fix #18041: Fix RBAC migration for MSSQL 2020-06-04 23:12:32 +03:00
79ffb87a48 Fix Russian message for FileValidator::$tooFew (#18078) 2020-06-03 14:31:26 +03:00
26ed25dcae Fix typo in Arabic language (#18069) [skip ci] 2020-05-31 16:15:54 +03:00
2a73a4ae3a Fix #18051: Fix missing support for custom validation method in EachValidator 2020-05-23 17:37:23 +03:00
eb7b23d117 Fix #18048: Use Instance::ensure() to set User::$accessChecker 2020-05-19 18:42:13 +03:00
35fb9c6248 Fix #18026: Fix ArrayHelper::getValue() did not work with ArrayAccess objects 2020-05-18 15:18:09 +03:00
3b87c5f31a Fix #18028: Fix division by zero exception in Table.php::calculateRowHeight 2020-05-18 14:11:43 +03:00
b4c599c033 Fix Latvian translation of messages (#18024) 2020-05-11 12:18:15 +03:00
8e358ff14a Add Hindi message translations (#18023) 2020-05-07 16:46:22 +03:00
88b0abd633 Applied #18019 changes to framework package 2020-05-04 14:03:42 +03:00
6ac98f3c4f prepare for next release 2020-05-02 14:11:50 +03:00
60a39654dd release version 2.0.35 2020-05-02 14:11:31 +03:00
f425f1a655 Fix DynamicModel phpdoc 2020-05-02 14:09:40 +03:00
ac383366af Minor changelog fixes 2020-05-02 14:03:00 +03:00
d07cbdaab3 Fix #17975: Fix deleting unused messages with console command if message tables were created manually (auerswald, cebe)
Co-authored-by: AA <auerswald@users.noreply.github.com>
Co-authored-by: Carsten Brandt <mail@cebe.cc>
2020-05-02 13:45:38 +03:00
37fc929285 Fix #18010: Allow upper or lower case operators in InCondition and LikeCondition 2020-05-02 13:28:06 +03:00
3bc919bcbd Fix #16481: Fix RBAC MSSQL trigger 2020-05-02 13:26:30 +03:00
2d15c484ef Fix #17961: Fix pagination pageSizeLimit ignore if set as array with more then 2 elements 2020-05-02 12:03:01 +03:00
088fd518fe Fix #17991: Improve yii\db\Connection master and slave failover, no connection attempt was made when all servers are marked as unavailable 2020-05-02 11:59:35 +03:00
e20358241c Fix #17993: Added yii\i18n\Formatter::$currencyDecimalSeparator to allow setting custom symbols for currency decimal in IntlNumberFormatter 2020-05-02 11:58:01 +03:00
89ded8c82a Fix #18000: PK value of Oracle ActiveRecord is missing after save 2020-05-02 02:17:27 +03:00