20351 Commits

Author SHA1 Message Date
4a46f6763e Merge branch 'master' into fix-type-boolean-mysql 2023-10-25 14:38:13 -03:00
f0628dfab5 Fix error typo. 2023-10-25 14:02:42 -03:00
045996ed4b Merge branch 'master' into fix-type-boolean-mysql 2023-10-25 13:54:28 -03:00
7005d2775b Fix #20042: Add empty array check to ActiveQueryTrait::findWith() 2023-10-25 19:53:45 +03:00
9d3c71d6a7 Fix #20040: Fix type boolean in MSSQL 2023-10-25 19:47:46 +03:00
e2773e4524 Fix #20032: Added mask method for string masking with multibyte support 2023-10-25 19:47:03 +03:00
18ed620e78 Update tests. 2023-10-25 08:57:40 -03:00
4b7669cf08 Fix boolean type MYSQL. 2023-10-25 08:37:18 -03:00
778d708c4f Fix fa messages (#20037)
* Fix 20016: Updating the Persian translation message file.

Signed-off-by: Nabi <nabikaz@gmail.com>

* Fix 20036: Updating the Persian translation message file.

Signed-off-by: Nabi <nabikaz@gmail.com>

---------

Signed-off-by: Nabi <nabikaz@gmail.com>
2023-10-24 11:25:08 +03:00
6c19ba1c77 Effectiveness eol=lf on all text file extensions, in .gitattributes file (#20035)
* Fixed #20023, Added `eol=lf` to `.gitattributes` file.

Signed-off-by: Nabi <nabikaz@gmail.com>

* Fix #20023: Effectiveness eol=lf on all file extensions, in .gitattributes file.

Signed-off-by: Nabi <nabikaz@gmail.com>

---------

Signed-off-by: Nabi <nabikaz@gmail.com>
2023-10-24 11:21:28 +03:00
80f465a8b2 Merge pull request #20033 from rob006/error-handler
Improve performance of handling `ErrorHandler::$memoryReserveSize`
2023-10-23 21:09:14 +02:00
2141f9abdf Improve performance of handling ErrorHandler::$memoryReserveSize 2023-10-23 20:49:27 +02:00
c9ac82d85d Fixed #20023, Added eol=lf to .gitattributes file. (#20026)
Signed-off-by: Nabi <nabikaz@gmail.com>
2023-10-23 21:16:23 +03:00
5f3d36ea21 Extract messages (#20022)
* {attribute} must not be equal to "{compareValue}""

* update config

* {attribute} must be greater than "{compareValueOrAttribute}".
{attribute} must be greater than or equal to "{compareValueOrAttribute}".
{attribute} must be less than "{compareValueOrAttribute}".
{attribute} must be less than or equal to "{compareValueOrAttribute}".

* {nFormatted} B
{nFormatted} GB
{nFormatted} kB
{nFormatted} MB
{nFormatted} PB
{nFormatted} TB

* {nFormatted} {n, plural, =1{byte} other{bytes}}
{nFormatted} {n, plural, =1{gigabyte} other{gigabytes}}
{nFormatted} {n, plural, =1{kilobyte} other{kilobytes}}
{nFormatted} {n, plural, =1{megabyte} other{megabytes}}
{nFormatted} {n, plural, =1{petabyte} other{petabytes}}
{nFormatted} {n, plural, =1{terabyte} other{terabytes}}

* Extract messages.
2023-10-21 18:22:41 +02:00
bc565451f9 Merge pull request #20021 from terabytesoftw/yii-serve-fix
Fix `yii server` and add tests.
2023-10-21 18:21:56 +02:00
bee7f7206f Add changelog line. 2023-10-21 09:03:20 -03:00
f58eb362ca Remove YII_ENV. 2023-10-21 08:53:15 -03:00
b7488185ba Merge branch 'master' into yii-serve-fix 2023-10-20 13:16:06 -03:00
f8b49ce511 Fix getMockbuilder className(). 2023-10-20 12:59:20 -03:00
c56bccd913 Fix error typo. 2023-10-20 12:50:20 -03:00
e726284a48 Fix php 5. 2023-10-20 12:45:51 -03:00
ecc6c6121e Use Mock tests, after checking the real test. 2023-10-20 12:42:19 -03:00
39cf0a567d Merge branch 'master' into yii-serve-fix 2023-10-20 10:50:00 -03:00
5eeb12f275 Fix #19060: Fix yii\widgets\Menu bug when using Closure for active item and adding additional tests in tests\framework\widgets\MenuTest 2023-10-20 16:49:25 +03:00
70a7282fec Fix yii server and add tests. 2023-10-20 10:45:21 -03:00
a4b5856f4c Fix typo in runtime-logging.md (#20019) 2023-10-20 16:43:13 +03:00
04f59442d9 Merge pull request #20007 from xicond/bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer
fix: #20002 optimize head request on serializeDataProvider
2023-10-20 11:10:53 +02:00
c1315b9cd6 Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-20 16:22:55 +08:00
ce13f0f35a refactor: cleanup SerializerTest 2023-10-20 16:22:19 +08:00
75e5a0845f Merge pull request #20018 from rob006/patch-1
Use `self` to access private method in `BaseFormatConverter`
2023-10-20 08:32:54 +02:00
ace4a5b888 fix: separate test Head Serialize DataProvider 2023-10-20 10:47:17 +08:00
febbe0f20e Use self to access private method in BaseFormatConverter 2023-10-19 21:33:43 +02:00
833f335fd0 Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-19 20:36:05 +03:00
f28386835d Update framework/CHANGELOG.md 2023-10-19 20:35:59 +03:00
e0299884fe Introduce createFormatter Static Method for Formatter Logic (#20014) 2023-10-19 20:27:52 +03:00
fd241defd0 Update the Persian translation file (#20016)
Signed-off-by: Nabi <nabikaz@gmail.com>
2023-10-19 18:15:54 +03:00
344b0aecf3 core: add collectionEnvelope unit test 2023-10-18 16:36:43 +08:00
b4697641d3 fix: changelog 2023-10-18 16:18:29 +08:00
e11819ddbe fix: changelog 2023-10-18 16:16:42 +08:00
a923481b65 Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-18 16:07:31 +08:00
c314febd95 core: add changelog 2023-10-18 16:02:48 +08:00
5d8a96ee0d Added 'zh' into 'framework/messages/config.php' (#19995) 2023-10-18 11:01:40 +03:00
4f2a7c5f03 Merge branch 'bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer' of https://github.com/xicond/yii2 into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-18 15:57:19 +08:00
72e46e6795 Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-18 15:56:46 +08:00
b9a30a8df2 feat: add HEAD unit test serializer 2023-10-18 15:56:32 +08:00
4b423e4bbc Merge pull request #19909 from tim-fischer-maschinensucher/13920-validation-marks-valid-field-as-invalid
Fix #13920: Fixed erroneous validation for specific cases
2023-10-17 10:45:15 +02:00
cba3a5e87e Merge branch 'master' into 13920-validation-marks-valid-field-as-invalid 2023-10-17 09:50:31 +02:00
fe73d9c11f Merge pull request #20009 from terabytesoftw/fix-maskedinputasset
Fix `MaskedInputAsset::class`.
2023-10-16 15:03:53 +02:00
961a952f82 Fix #19927: Fixed console\controllers\MessageController when saving translations to database: fixed FK error when adding new string and language at the same time, checking/regenerating all missing messages and dropping messages for unused languages 2023-10-16 10:17:02 +03:00
87dea2570e Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-16 09:13:51 +08:00