20336 Commits

Author SHA1 Message Date
53f16192d2 Merge pull request #19992 from rob006/mimeTypes-revert
Revert changes in `mimeTypes.php` from 4a1f2c6b9bc90427e91da73f5e8c8fa33d3c53c1
2023-10-06 14:34:24 +02:00
9f51fe3b4b Revert changes in mimeTypes.php from 4a1f2c6b9bc90427e91da73f5e8c8fa33d3c53c1
restores https://github.com/yiisoft/yii2/pull/19936
2023-10-06 10:02:32 +02:00
290e03cddc prepare for next release 2023-10-05 18:12:47 +02:00
4a1f2c6b9b release version 2.0.49.1 2.0.49.1 2023-10-05 18:12:27 +02:00
48d754cac2 Update CHANGELOG.md 2023-10-05 18:00:59 +02:00
cfd8c6bfe9 Merge pull request #19989 from Yur-ok/patch-2
Update concept-di-container.md
2023-10-04 10:49:59 +02:00
aec836620f Update concept-di-container.md
Сслка "Конфигурация приложения" была не верной, она вела на страницу "Service-locator'a"
2023-10-04 15:43:18 +07:00
75f37a78e1 Merge pull request #19984 from lubosdz/master
Do not duplicate log messages
2023-10-02 11:59:20 +02:00
7f3397a5cc Update framework/log/FileTarget.php
Co-authored-by: Bizley <pawel.bizley@gmail.com>
2023-10-01 23:31:10 +02:00
764926a877 Do not duplicate log messages in memory 2023-09-29 09:49:05 +02:00
98c4bb89f3 Merge pull request #19982 from xicond/bugfix/19978-Mistake_in_Korean_translation
fix: #19978 - Mistake in Korean translation
2023-09-26 12:03:02 +02:00
17386c7501 fix: keep doublequote 2023-09-26 16:24:47 +08:00
ced6d04dc1 fix: #19978 - Mistake in Korean translation 2023-09-26 16:16:35 +08:00
ae4399e255 Merge branch 'master' into 13920-validation-marks-valid-field-as-invalid 2023-09-25 13:27:18 +02:00
757676128b Merge pull request #19963 from terabytesoftw/update-bower-inputmask-punycode
Update `bower-asset/inputmask`, `bower-asset/punycode`.
2023-09-22 12:05:32 +02:00
a028baf1b9 Fix order. 2023-09-22 06:14:23 -03:00
33fde4b94a Merge pull request #19780 from schmunk42/feature/pcntl-req-check
added pcntl to requirements check
2023-09-22 10:58:23 +02:00
eb2add33a4 added CHANGELOG line 2023-09-21 15:09:23 +00:00
a32617eb13 Merge branch 'master' into feature/pcntl-req-check 2023-09-21 17:04:07 +02:00
20a4b7eff9 Update bower-asset/inputmask, bower-asset/punycode. 2023-09-21 11:22:53 -03:00
f0b970d4dd Merge branch 'master' into 13920-validation-marks-valid-field-as-invalid 2023-09-20 15:21:29 +02:00
9aac121d01 Fix #13920: Add unit test 2023-09-20 15:15:31 +02:00
81f3033087 Merge pull request #19958 from terabytesoftw/fixed-tests
Fixed `CHANGELOG.md`.
2023-09-20 12:05:17 +02:00
18421ab976 Fixed tests. 2023-09-20 06:47:45 -03:00
7ae255cbd2 Merge pull request #19949 from uaoleg/patch-2
PHP 8.1 trim(): Passing null to parameter #1 ($string) of type string is deprecated
2023-09-20 11:31:00 +02:00
fd5c1bbf27 Update CHANGELOG.md 2023-09-20 12:27:33 +03:00
7a260f7189 Merge branch 'master' into patch-2 2023-09-19 19:11:55 +03:00
2995696db9 Added section about Unsafe Reflection in Security best practices doc (#19948)
Co-authored-by: Bizley <pawel.bizley@gmail.com>
2023-09-19 10:24:11 +02:00
5a48739c16 Merge branch 'master' into patch-2 2023-09-14 12:05:27 +02:00
30b491dfdf removed MIME file tests (#19951)
* removed MIME file tests
see also 0f7248c7a2 (commitcomment-127223170)

* added CHANGELOG line
2023-09-13 13:23:21 +02:00
b05ad49a19 trim(): Passing null to parameter #1 ($string) of type string is deprecated 2023-09-11 19:38:41 +03:00
e8c4a7e56e added PHP version check, fixed #19925 (#19936)
* added PHP version check, fixed #19925

* added CHANGELOG line

* fixed typo

* fixed typo

---------

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Bizley <pawel@positive.codes>
2023-09-04 10:09:49 +02:00
671fbefe84 File Log writer without newline. (#19941)
* File Log writer without newline.

* Fix minor correction.

* Fix tests.

* Add more test.

* Add line to CHANGELOG.md.
2023-08-30 14:14:12 +02:00
a2ee22044c prepare for next release 2023-08-29 15:36:45 +02:00
0f7248c7a2 release version 2.0.49 2.0.49 2023-08-29 15:36:17 +02:00
4ffb58ed56 Fix type (#19939) 2023-08-28 09:30:51 +02:00
cd774d7450 Merge branch 'master' into 13920-validation-marks-valid-field-as-invalid 2023-08-26 08:15:07 +04:00
8532622d7b Fix #19911: Resolved inconsistency in ActiveRecord::getAttributeLabel() with regard of overriding in primary model labels for attributes of related model in favor of allowing such overriding for all levels of relation nesting 2023-08-26 07:06:41 +04:00
d5b3b6ca83 Add note to UPGRADE guide for change in Validator behavior (#19938)
The `unique` and `exists` validators behave slightly different since
2.0.46 (issue #19407) when used on multiple/combined attributes.

See: https://github.com/yiisoft/yii2/issues/19407#issuecomment-1689625762
2023-08-26 05:08:16 +04:00
4c0a00f2b9 Fix #19924: Fix yii\i18n\Formatter to not throw error Unknown named parameter under PHP 8 2023-08-21 15:55:14 +04:00
c06b62e4be Merge branch 'master' into 13920-validation-marks-valid-field-as-invalid 2023-08-18 15:45:05 +04:00
e916e9d564 Fix #19914: Fixed ArrayHelper::keyExists() and ::remove() functions when the key is a float and the value is null 2023-08-18 15:31:09 +04:00
786a75ca63 Fix incorrect translation in db-query-builder.md (#19916) 2023-08-18 15:20:46 +04:00
73f57fdcb0 Fix #19872: Fixed the definition of dirty attributes in AR properties for a non-associative array in case of changing the order of elements 2023-08-18 15:19:24 +04:00
e40fb70fa8 Remove unnecessary type (#19932)
Because Web and Console application extend Base application there is no need to specify it.

Actually, PHPStan narrows this to _just_ BaseApplication because it is the only consistent type of the three so you lose Web and Console Application type hints.

See, https://phpstan.org/r/d21fb99f-c436-480b-99c2-32df35ec07fa
2023-08-18 15:15:39 +04:00
73902f0730 Added support for string and DateTimeInterface as Cookie::$expire (#19920)
* Added support for string as Cookie::$expire

* Updated changelog for #19920 (Broadened the accepted type of `Cookie::$expire` from `int` to `int|string|null`)

* Fixed `\yiiunit\framework\web\ResponseTest::parseHeaderCookies()` to overwrite existing cookie.

* Added support for `\DateTimeInterface` in `\yii\web\Cookie::$expire`

* Fixed `\yiiunit\framework\web\ResponseTest::cookiesTestProvider()` for PHP 5.4 and commited missing code for \DateTimeInterface processing in `\yii\web\Response::sendCookies()`
2023-08-15 18:38:10 +02:00
ad3c2f516b Merge branch 'master' into 13920-validation-marks-valid-field-as-invalid 2023-08-10 16:24:45 +02:00
84c15dc5d1 Fix associative array cell content in Table widget (#19908)
* Fixed rendering of assosative arrays in `\yii\console\widgets\Table`

* Updated readme for #19908 (fix associative array cell content rendering in Table widget)

---------

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2023-08-09 14:05:46 +02:00
504a66dae5 Update documentation for setCookieParams (#19921)
The link for more information about "sameSite" lead to a 404 Not Found.
2023-07-30 11:51:25 +02:00
8a213315ac End fenced code block (#19919) 2023-07-28 13:13:01 +02:00