20368 Commits

Author SHA1 Message Date
0263c19833 Revert 20045. 2023-11-02 08:28:05 -03:00
11c80bfa47 Merge pull request #20059 from salehhashemi1992/feature/optimize-findBetween-method
Optimize findBetween method (remove calling function mb_substr())
2023-11-02 08:09:21 +01:00
5ce3b4ea01 Optimize findBetween method to remove calling function mb_substr() 2023-11-01 15:04:32 +03:30
6804fbeae8 Merge pull request #20034 from salehhashemi1992/feature/string-helper-get-between-
Implement StringHelper::findBetween Method
2023-10-30 12:45:37 +01:00
3d4e108a3e Update CHANGELOG.md 2023-10-30 12:18:25 +01:00
26032ad686 refactor findBetween method and add other tests 2023-10-30 13:50:08 +03:30
caa2029ec7 implement findBetween method to StringHelper 2023-10-28 22:20:37 +03:30
fcd9e0a72a Merge pull request #20049 from terabytesoftw/add-tests-boolean-pgsql
Add test for boolean type `PostgreSQL`.
2023-10-28 11:09:12 +02:00
af1858c769 add test coverage for error handler convertExceptionToString and convertExceptionToArray methods (#20051) 2023-10-27 21:56:43 +03:00
bd452da4d2 Add tests for uncovered lines in DbDependency (#20052) 2023-10-27 21:56:06 +03:00
cb8307fad9 Fix various linguistic and stylistic issues in Persian core-code-style file (#20054) 2023-10-27 21:53:07 +03:00
a2265ce990 Merge pull request #20046 from terabytesoftw/add-tests-boolean-sqlite
Add test for boolean type `SQLite`.
2023-10-27 09:02:36 +02:00
9476b84237 Merge pull request #20045 from terabytesoftw/fix-type-boolean-mysql
Fix type boolean `MYSQL`.
2023-10-27 09:02:04 +02:00
f3c1d0cba7 Add test for boolean type PostgreSQL. 2023-10-26 13:07:23 -03:00
6e6174deaa Add test for boolean type SQLite. 2023-10-26 12:59:15 -03:00
b40de6a538 Update framework/CHANGELOG.md
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
2023-10-26 05:05:34 -03:00
1d35584ec9 Add changelog line. 2023-10-25 14:39:54 -03:00
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