Commit Graph

8965 Commits

Author SHA1 Message Date
Alexander Makarov
2a7381c498 prepare for next release 2020-07-08 00:45:53 +03:00
Alexander Makarov
700ac02706 release version 2.0.36 2020-07-08 00:45:32 +03:00
Alexander Makarov
38f038175f Adjust changelog, correct phpdoc, minor code style fixes 2020-07-07 15:00:16 +03:00
Bizley
d62590807d Fix #18051: Fix using EachValidator with custom validation function 2020-07-06 16:18:03 +03:00
Alexander Makarov
bfc0698b36 Fix #18086: Fix accessing public properties of ArrayAccess via ArrayHelper::getValue() 2020-07-05 18:27:17 +03:00
rhertogh
6aa0ac1ed0 Fix #18151: Added Mutex::isAcquired() to check if lock is currently acquired 2020-07-04 00:05:00 +03:00
DarkDef
f944e1f039 Fix #18094: Support for composite file extension validation 2020-07-03 19:06:49 +03:00
Alexander Makarov
7bd2950a9a Fix #18031: HttpBasicAuth with auth callback now triggers login events same was as other authentication methods 2020-07-03 16:53:21 +03:00
Radosław Skrzypczak
c5b1574757 Fix #18147: Fixed parameters binding for MySQL when prepare emulation is off 2020-07-03 12:40:32 +03:00
DarkDef
1faa45c552 Fix #18134: Expression as columnName should not be quoted in likeCondition 2020-07-03 12:27:31 +03:00
DarkDef
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
Deryabin Sergey
7eb184eadb Fix #17999: Fix skipping test case on PHP v >= 7.1 and LibreSSL version >= 2.15 2020-07-01 00:14:57 +03:00
Alexander Makarov
7ca23a2413 Revert "Fix #18134: Instance of ExpressionInterface will not be quoted in Connection:quoteColumnName"
This reverts commit e342162425.
2020-06-30 21:37:57 +03:00
DarkDef
e342162425 Fix #18134: Instance of ExpressionInterface will not be quoted in Connection:quoteColumnName 2020-06-30 17:59:23 +03:00
Alexander Makarov
50af7ec4c7 Update CHANGELOG.md 2020-06-25 23:33:22 +03:00
Andrii Vasyliev
08a28b27d4 Add changelog line 2020-06-25 15:43:25 +00:00
Andrii Vasyliev
53fa22ecfd Merge branch 'master' into allow-references-in-array 2020-06-24 13:38:21 +00:00
Stepan
2b9323d517 Fix #18047: Fix colorization markers output in Table.php 2020-06-23 13:45:34 +03:00
egorrishe
5c3ee63316 Fix #15202: Add optional param --silent-exit-on-exception in yii\console\Controller 2020-06-23 13:34:09 +03:00
ErickSkrauch
2e21a8275c Fix #18115: Allow to load action-injected services from module's container 2020-06-22 23:49:02 +03:00
DarkDef
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
Andrii Vasyliev
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
DarkDef
24505e7cdd Change SQL in migration for support old version of MSSQL (without IF EXISTS) (#18123) 2020-06-22 18:22:42 +03:00
csabi001122
5763c968de A hu translation string added (#18126) 2020-06-22 14:01:01 +03:00
Oleg Poludnenko
658c822f30 Fix #18120: Include path to the log file into error message if FileTarget::export fails 2020-06-19 11:35:14 +03:00
Brandon Kelly
a41879a321 Upgrade note for #18083 (#18119) 2020-06-19 11:09:24 +03:00
Alexander Makarov
385fe13d66 Revert #18102 since renaming is technically problematic (#18109) 2020-06-17 13:40:17 +03:00
Brandon Kelly
eb956e9c6b primary/replica in a definitely non-breaking way (#18106) 2020-06-16 11:33:27 +03:00
DarkDef
4c416c7982 Fix #18105: Fix for old trigger in RBAC migration with/without prefixTable 2020-06-15 14:05:58 +03:00
trombipeti
b642a384fa Fix #18096: Fix InlineValidator with anonymous inline function not working well from EachValidator 2020-06-15 10:14:57 +03:00
Brandon Kelly
fc4f449e21 Fix #18083: Add Controller::$request and $response 2020-06-14 21:19:27 +03:00
DarkDef
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
Brandon Kelly
472600ee3f Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 2020-06-14 00:12:10 +03:00
Marco van 't Wout
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
Alexander Makarov
d4a3841d1c Fix #18004: Clarify where PageCache::$cacheCookies and PageCache::$cacheHeaders are used 2020-06-10 14:58:07 +03:00
Evgenii Goryaev
1b07c0d4fb Fix #18001: Fix getting table metadata for tables ( in their name 2020-06-10 12:22:10 +03:00
Tigran Hambardzumyan
1d1a9fa106 Fix ImageValidator's maxHeight doc (#18089) 2020-06-09 00:02:40 +03:00
DarkDef
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
Michael Härtl
561c9cfb47 Fix #18082 Fix German translation (#18084) 2020-06-06 10:42:13 +03:00
DarkDef
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
AHMAD ASJAD
dc54137788 Fix #17852: Documented yii\console\Controller::stdout() additional parameters (#18076) 2020-06-05 00:18:36 +03:00
DarkDef
b83f06268f Fix #18041: Fix RBAC migration for MSSQL 2020-06-04 23:12:32 +03:00
Michael Naumov
79ffb87a48 Fix Russian message for FileValidator::$tooFew (#18078) 2020-06-03 14:31:26 +03:00
hableel
26ed25dcae Fix typo in Arabic language (#18069) [skip ci] 2020-05-31 16:15:54 +03:00
Bizley
2a73a4ae3a Fix #18051: Fix missing support for custom validation method in EachValidator 2020-05-23 17:37:23 +03:00
Alex
eb7b23d117 Fix #18048: Use Instance::ensure() to set User::$accessChecker 2020-05-19 18:42:13 +03:00
Mikk Tendermann
35fb9c6248 Fix #18026: Fix ArrayHelper::getValue() did not work with ArrayAccess objects 2020-05-18 15:18:09 +03:00
Daniel Schischkin
3b87c5f31a Fix #18028: Fix division by zero exception in Table.php::calculateRowHeight 2020-05-18 14:11:43 +03:00
Uldis Nelsons
b4c599c033 Fix Latvian translation of messages (#18024) 2020-05-11 12:18:15 +03:00