9185 Commits

Author SHA1 Message Date
b61b9ac253 Fix #19589: Fix Error reporting in to the BaseArrayHelper::getValue() 2022-09-25 23:48:05 +04:00
6da1f21999 Add second parameter to preg_quote() in Inflector::slug() (#19588) 2022-09-19 19:35:30 +03:00
b99f02eccd Optimize Model::safeAttributes() (#19547) 2022-09-16 10:44:07 +02:00
27344557ea fix xcache link (#19543) 2022-09-07 08:24:35 +02:00
473ead8e46 Optimize: simplified regexp (#19541) 2022-09-06 09:42:58 +03:00
0ababa2d36 small fix #19530 (#19532)
* small fix #19530

* small fix #19530 | fix test

* small fix #19530 | fix test

* small fix #19530 | fix test

* small fix #19530 | update CHANGELOG.md

* Update framework/CHANGELOG.md

Co-authored-by: viktor.shumeiko <viktor.shumeiko@simbirsoft.com>
Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>
2022-09-05 17:32:20 +06:00
5358724251 Fix #12636: Fix CompareValidator successful state when compareAttribute has an error 2022-09-04 22:14:11 +03:00
6a144bfc61 Fix #19537: Fix default expression detection for MariaDB date and time columns 2022-09-04 22:10:02 +03:00
2808e8d814 Fix #15500: Fix saving empty records to MySQL 2022-08-29 10:43:00 +03:00
775e9468cb Fix #14388: Fixed fixture loading order in output message 2022-08-29 10:35:54 +03:00
d6dfca1b80 Fix #16658: Fix file readability check on publishing assets by yii\web\AssetManager 2022-08-29 10:18:59 +03:00
391a741a63 Fix #15557: Fix empty fields exclusion in safe attributes of yii\base\Model 2022-08-29 10:17:11 +03:00
394da2b5e3 Fix #19517: Fix regression in CompositeAuth::authenticate() introduced in #19418 2022-08-28 00:26:03 +03:00
0f21d51648 update links (#19523) 2022-08-27 10:02:08 +02:00
d5e8849283 Fix #19508: Fix wrong selection for boolean attributes in GridView 2022-08-24 15:54:27 +03:00
467bc89c45 Updated Greek messages (#19514) 2022-08-22 09:28:38 +02:00
d8ad6fc0b6 prepare for next release 2022-08-19 01:19:54 +03:00
22614a5b1f release version 2.0.46 2022-08-19 01:18:45 +03:00
e296f40c73 Fix typos 2022-08-19 01:10:27 +03:00
123802e4cb Fix #19259: Fix yii\log\FileTarget locking and always rotate files only by copy 2022-08-17 00:24:50 +03:00
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
9c4c36ee72 Fix #19467: Revert changes in Inflector::camel2words() (#19495)
* Fix #19467: Revert changes in `Inflector::camel2words()` introduced in #19204

* Add UPGRADE note
2022-07-30 14:32:29 +02:00
59f69fc9cd Fix #19462: Fix validator client options to encode HTML tags 2022-07-29 13:15:54 +03:00
009961963c Fix #19407: Fix yii\validators\UniqueValidator and yii\validators\ExistValidator to respect skipOnError option for target attributes 2022-07-29 09:47:33 +03:00
0ad2651914 Fix #19471: Enable console commands on hostings with disabled exec() function 2022-07-27 14:24:39 +03:00
5c055673a5 Fix #19481: Exception is always empty in ErrorHandler when handling fatal error 2022-07-25 23:34:50 +03:00
90d290056c Fix #19477: cast shell_exec() output to string 2022-07-22 13:55:58 +03:00
adadbefe88 Fix #19469: Fix a virtual relation not working because of new isset checks in \yii\db\ActiveRelationTrait 2022-07-15 23:52:39 +03:00
dcb0750587 Fix #19454: Fix PDO exception code not properly passed to yii\db\Exception 2022-07-07 18:24:06 +03:00
827db6c90e Revert "Fix #19290: Fix Request::getHostInfo() doesn’t return the port if a Host header is used"
This reverts commit 8046d3a50f207e1033e1b23ff571da5bced0c822.
2022-07-01 10:28:31 +03:00
c5c792cb07 Update ActiveRelationTrait.php (#19453)
* Update ActiveRelationTrait.php

* Update ActiveRelationTrait.php

* Update framework/db/ActiveRelationTrait.php

Co-authored-by: Bizley <pawel@positive.codes>

Co-authored-by: Bizley <pawel@positive.codes>
2022-06-24 09:02:04 +02:00
6c4d3456b3 Optimize ErrorHandler::handleFatalError() (#19444) 2022-06-21 00:17:35 +03:00
34708b4cf4 Fix #19400: Fix passing null in yii\web\Response::redirect() 2022-06-21 00:15:07 +03:00
4c1cae3d6d Improve reflection param/return types in console\Controller (#19431) 2022-06-17 20:21:44 +03:00
45519d3c18 Fix #19437: Add support to specify request port by trusted proxies in \yii\web\Request::getServerPort() 2022-06-17 20:18:18 +03:00
474a67da99 Fix caching in Formatter::getUnitMessage() (#19445)
* Fix caching in `Formatter::getUnitMessage()`

* Update FormatterTest.php

* Update CHANGELOG.md
2022-06-16 11:32:08 +02:00
f72310c398 fix composite auth ignore only/except filters of auth methods (#19418)
* fix compositeAuth ignore only/except filters of child auth methods

* fix

* add tests for wrong token

* fix

* update changelog

* Update CHANGELOG.md

Co-authored-by: Bizley <pawel@positive.codes>
2022-06-15 10:06:38 +02:00
f2b2d576be fix: typecast for backed enums (#19319)
* fix: typecast for backed enums

Fixes #19318

* Update CHANGELOG.md

Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2022-06-15 10:03:50 +02:00
07918b6c8f Fix manual cubrid links (#19436)
* Update Schema.php

fix broken link

* fix cubrid manual links

* update links

* fxi
2022-06-13 12:23:58 +02:00
1f59b72a9d Truncate help add method and suffix (#19425)
https://github.com/yiisoft/yii2/pull/19424
2022-06-02 11:46:06 +02:00
e21cbb544b Make docs more clear about the length of the result (#19424) 2022-06-02 11:26:40 +02:00
4d0d25d479 Fix #19401: Delay exit(1) in yii\base\ErrorHandler::handleFatalError 2022-06-02 00:13:47 +03:00
58afaaf4d2 Change http to https in requirements.php (#19423) 2022-06-01 23:23:56 +03:00
d9c41fa207 Fix #19420: Update list of JS callbacks in yii\widgets\MaskedInput 2022-06-01 11:33:28 +03:00
a98ab994ad Fix #19403: Fix types in yii\web\SessionIterator 2022-06-01 11:23:36 +03:00
c1801c7c61 Fix #19402: Add shutdown event and fix working directory in yii\base\ErrorHandler 2022-06-01 10:38:27 +03:00
a345649871 Normalize PhpDoc types in AssetsManager (#19419) 2022-06-01 10:30:10 +03:00
14369f0a51 Fix outdated links in Formatter (#19422) 2022-06-01 08:07:27 +02:00
a1df078c7b Fix translators in messages/config.php (#19416)
* Fix translators in `messages/config.php` 

#19415

* Update messageConfig.php

* Update config.php

* Update messageConfig.php

* Update CHANGELOG.md

* Update framework/CHANGELOG.md

Co-authored-by: Bizley <pawel@positive.codes>

Co-authored-by: Bizley <pawel@positive.codes>
2022-05-30 11:52:06 +02:00
45640004c3 Add TrimValidator to classes.php (#19412) 2022-05-27 12:59:22 +02:00