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
e39e744b45
Fix #19384 : Normalize setBodyParams() and getBodyParam() in yii\web\Request
2022-05-23 10:39:33 +04: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
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
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
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
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
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
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