20336 Commits

Author SHA1 Message Date
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
f60730e210 update sitepoint link (#19441) 2022-06-16 23:25:25 +02: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
cb5e575814 Update start-installation.md (#19435)
fix broken link
2022-06-13 10:06:00 +02:00
9a44a205b0 update bower link (#19433) 2022-06-13 09:33:37 +02:00
151b587987 Update intro-yii.md & intro-upgrade-from-v1.md & add start-prerequisites.md translation [id] (#19427)
* Update intro-yii.md translation [id]

* Update intro-upgrade-from-v1.md translation [id]

* Add start-prerequisites.md translation [id]

Co-authored-by: Mas Aldo <aldo@mifx.com>
2022-06-10 13:55:34 +02:00
57ce3d3c94 update memcached link (#19428) 2022-06-09 08:42:32 +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
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