20273 Commits

Author SHA1 Message Date
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
e39e744b45 Fix #19384: Normalize setBodyParams() and getBodyParam() in yii\web\Request 2022-05-23 10:39:33 +04:00
41f7986922 Add test case for Cache::getValue() with non existent key (#19396) 2022-05-22 14:04:16 +03:00
98e93083ed Update DeadLockTest::testDeadlockException() (#19385) 2022-05-22 12:52:56 +03:00
c409264484 Fix BaseArrayHelper::htmlDecode() (#19386)
* Fix BaseArrayHelper::htmlDecode()

Add missed second argument on recursive calling.

* Fix BaseArrayHelper::htmlDecode()

`htmlspecialchars_decode()` flags must be same to `htmlspecialchars()` in `BaseArrayHelper::htmlEncode()`

* Update ArrayHelperTest.php

* Update ArrayHelperTest.php

* Update ArrayHelperTest.php

* Update CHANGELOG.md

* test workflow fix
2022-05-22 10:20:04 +02:00
f458263d93 fix import UnauthorizedHttpException (#19404) 2022-05-22 10:17:54 +02:00
92f2cd9aa4 Fix scrutinizer (#19395) 2022-05-21 23:31:25 +03:00
6599713d2b Removed merging of parent labels in DynamicModel::attributeLabels() since DynamicModel::attributes() does not merge parent attributes. Cleaned up DynamicModel documentation. (#19394) 2022-05-16 23:19:50 +04:00
bf058f4d23 Simple optimization and PHPDoc type fixes in yii\helpers\BaseArrayHelper (#19387) 2022-05-16 23:14:43 +04:00
2af75cb5e7 Fix typo in rest-filtering-collections.md (#19388) 2022-05-11 00:10:19 +03:00
d5fee8aa05 Add Uzbek (cyrillic) language in messages config (#19383) 2022-05-05 10:07:29 +03:00
c4c1a66752 Add Uzbek cyrillic messages translation (#19382) 2022-05-05 10:07:03 +03:00
2d6f1d5e05 Fix #19380: Fix PHP 8.1 passing non string to trim() in yii\db\Query 2022-05-04 16:29:14 +03:00
4768cb0f1d Fix returning type of yii\base\Widget::run() (#19378) 2022-05-04 10:34:41 +03:00
4264082499 Update link in Yii::powered() (#19376) 2022-05-03 19:28:55 +03:00
6b84d5deed Update PHP version is README.md (#19375) 2022-05-02 21:34:59 +03:00
268e8156bd Fix typo in pipeline config (#19372) 2022-04-28 11:31:45 +03:00
9de6d596d8 Fix scrutinizer ci and remove code coverage github actions. (#19371) 2022-04-27 21:43:20 +03:00
4c32d90d4d Update workflows (#19370) 2022-04-27 19:09:49 +03:00
e234e48f3c Fix #19368: Fix PHP 8.1 error when $fileMimeType is null in yii\validators\FileValidator::validateMimeType() 2022-04-27 11:01:01 +03:00
706765d4aa add rest-quick-start (#19364) 2022-04-24 13:30:33 +02:00
a173488711 Optimize BaseArrayHelper::isIndexed() (#19363) 2022-04-24 10:46:36 +02:00
9eb268a52c Add guide section for filtering REST collection. (#19357)
* Add guide section for filtering REST collection.

* Update docs/guide/rest-filtering-collections.md

Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>

* Update docs/guide/rest-filtering-collections.md

Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>

Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>
2022-04-20 09:11:20 +02:00
67795ca73f Fix guide generation errors (#19356) 2022-04-19 10:59:46 +03:00
0f004db99b Fixed issue when trying to check if a multidimensional array is dirty… (#19272)
* Fixed issue when trying to check if a multidimensional array is dirty attribute or not

* fixed issue in logic and added test

* Updated test to only support PHP 7 and above

* Code refactoring

* Updated Test Cases

* Update framework/helpers/BaseArrayHelper.php

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

* Added to CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Maher Al Ghoul <maher.gh@opensooq.com>
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Maher Al Ghoul <maher@rufoof.com>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Maher Al Ghoul <Maher.AlGhoul@opensooq.com>
2022-04-18 13:41:20 +02:00
8046d3a50f Fix #19290: Fix Request::getHostInfo() doesn’t return the port if a Host header is used 2022-04-16 00:37:55 +04:00
4f1ffd2c98 Fix generation of docs on the site (#19353) 2022-04-15 16:49:11 +04:00
ad1fd84f39 Fix PHP 8.1 Empty header DataColumn (#19350)
* Fix PHP 8.1 Empty header DataColumn

#19349

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Bizley <pawel@positive.codes>
2022-04-13 17:58:28 +02:00
0741c4cab0 Allow null values for date formatters in Formatter (#19348) 2022-04-11 12:11:33 +02:00
60e9fc3f6e Fix code block in rest resource docs (#19346)
Co-authored-by: Bizley <pawel@positive.codes>
2022-04-11 10:07:54 +02:00
94dfccd6fa 19324 dropdownlist selection for boolean attributes (#19331)
* Fix #19324 by allowing for direct comparison

* Invert meaning of strict

* Remove WinterSilence from authors list

* Fix improper implementation of strict checks

* Add test for renderSelectOptions

* Partially revert 'Fix improper implementation of strict checks'

* Add additional tests for strict

* Revert 'Fix improper implementation of strict checks'

* Add failing test for demonstration

* Comment out demonstration test

* Update framework/CHANGELOG.md

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

Co-authored-by: Bizley <pawel@positive.codes>
2022-04-11 09:44:48 +02:00
16a684e8e6 Fix broken code block (#19344) 2022-04-10 13:31:35 +02:00
a90017294c Fix #19312: Fix PHP 8.1 error when passing null to yii\helpers\BaseInflector 2022-04-08 17:36:08 +04:00
def396f7d9 Fix broken code block inside note block (#19342) 2022-04-08 15:53:16 +04:00
e352649a75 Improve DataFilterTest (#19341) 2022-04-08 13:48:17 +04:00
4e1a37d567 Resolve #19327 (#19336)
* Resolve #19327

* cast from extracted column

* Update CHANGELOG

* Update CHANGELOG.md

Co-authored-by: Bizley <pawel@positive.codes>
2022-04-08 08:05:47 +02:00
06e5472753 Fix #19256: Pass missed $view to user's callback in yii\validators\InlineValidator::clientValidateAttribute() 2022-04-08 01:20:28 +04:00
406ec82f94 Fix #19270: Replace deprecated scss converter in yii\web\AssetConverter::$commands 2022-04-08 01:18:36 +04:00
1382aea4a8 Fix #19295: Added alias text/rtf for mime-type application/rtf 2022-04-07 00:14:00 +04:00
1789b28d76 Extend examples in guide/input-tabular-input.md (#19278) 2022-04-07 00:05:17 +04:00
9f6d24d939 Fix #19328: Passing null to parameter #1 ($string) of type string is deprecated in yii\db\oci\Schema
Co-authored-by: Kevin Desmettre <kdesmettre@oph74.fr>
2022-04-06 23:58:14 +04:00
10f604582c Fix autoload sections in composer.json (#19337)
Move `yii\cs\`  into `autoload-dev` and add  `test` and `build` namespaces
2022-04-06 23:43:31 +04:00
14c42b7bb5 Added jfif to mimeTypes.php (#19338)
* Added `jfif` to mimeTypes.php

Added the 'image/jpeg' mime type for `.jfif` files (https://en.wikipedia.org/wiki/JPEG_File_Interchange_Format)

* Update MimeTest.php

Added 'jfif' extension to MimeTest
2022-04-05 08:28:41 +02:00