Commit Graph

8732 Commits

Author SHA1 Message Date
Alex Yashkin
758c27f48f Use kB instead of KB in Belarusian messages (#18220) 2020-08-07 11:26:15 +03:00
Alexander Makarov
7cc538c0a9 Fix #18203: PDO exception code was not properly passed to yii\db\Exception 2020-08-05 17:06:16 +03:00
Alex
e49a52f3a1 Fix #18210: Allow strict comparison for multi-select inputs 2020-08-05 15:12:42 +03:00
DarkDef
a624c31698 Fix #18198: Fix saving tables with trigger by outputting inserted data from insert query with usage of temporary table 2020-08-05 09:39:05 +03:00
Alexander Makarov
f34d160179 Remove unused use 2020-08-05 09:23:12 +03:00
Kartik Visweswaran
cf364f5e00 Fix #17147: Fix form attribute validations for empty select inputs 2020-08-04 19:47:40 +03:00
Alexander Makarov
1ade4993f9 Fix #18204: Fix 2.0.36 regression in inline validator and JS validation 2020-08-04 14:24:43 +03:00
Sergei Predvoditelev
a496eeaf83 Fix #18205: Add .phpstorm.meta.php file for better auto-completion in PhpStorm 2020-08-04 12:27:35 +03:00
Bizley
c47aed2a7c ExistValidator info (#18197) 2020-07-22 16:49:49 +03:00
Alexander Makarov
b492476e35 Fix #18189: Fix "Invalid parameter number" in yii\rbac\DbManager::removeItem() (#18190) 2020-07-21 12:27:01 +03:00
rhertogh
c1b033a15f Using ExpressionInterface instead of Expression in ActiveRecord::findbycondition() (#18188) 2020-07-20 17:54:28 +03:00
Alexander Makarov
dab7a6c317 Update phpdoc 2020-07-20 02:44:55 +03:00
rhertogh
931f080aee Fix #18182: yii\db\Expression was not supported as condition in ActiveRecord::findOne() and ActiveRecord::findAll() 2020-07-20 00:21:41 +03:00
stevekr
f3f5312469 Update BaseHtml and Formatter typehints (#18185) 2020-07-19 11:14:45 +03:00
Sohel Ahmed Mesaniya
878dcff08e Add Hindi language in messages config array (#18177) 2020-07-15 22:25:24 +03:00
DarkDef
f1aaa0de89 Fix #18171: Change case of column names in SQL query for findConstraints to fix MySQL 8 compatibility 2020-07-15 16:55:23 +03:00
DarkDef
4fa7d4ee48 Fix #18170: Fix regression in passing extra console command arguments to the action 2020-07-15 15:23:47 +03:00
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