9357 Commits

Author SHA1 Message Date
0263c19833 Revert 20045. 2023-11-02 08:28:05 -03:00
5ce3b4ea01 Optimize findBetween method to remove calling function mb_substr() 2023-11-01 15:04:32 +03:30
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
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
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
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
2141f9abdf Improve performance of handling ErrorHandler::$memoryReserveSize 2023-10-23 20:49:27 +02: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
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
ecc6c6121e Use Mock tests, after checking the real test. 2023-10-20 12:42:19 -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
c1315b9cd6 Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-20 16:22:55 +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
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
72e46e6795 Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-18 15:56:46 +08: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
6ceb6f65f4 Fix MaskedInputAsset::class. 2023-10-15 06:28:12 -03:00
3014fa22e5 fix: #20002 optimize head request on serializeDataProvider 2023-10-14 12:28:22 +08:00
9875ae6445 Fixed a bug where the yii serve command would break if a custom router was supplied and it had a space in the path 2023-10-13 10:26:42 -07:00
02ed808056 New methods: BaseActiveRecord::loadRelations() and BaseActiveRecord::loadRelationsFor(). 2023-10-13 13:22:48 +03:00
505fd5a2f8 prepare for next release 2023-10-12 17:46:49 +02:00
4f1735995a release version 2.0.49.2 2023-10-12 17:46:26 +02:00
33254d5dad Update CHANGELOG.md
2.0.49.2 changelog
2023-10-12 17:43:55 +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 2023-10-05 18:12:27 +02:00
48d754cac2 Update CHANGELOG.md 2023-10-05 18:00:59 +02:00
7f3397a5cc Update framework/log/FileTarget.php
Co-authored-by: Bizley <pawel.bizley@gmail.com>
2023-10-01 23:31:10 +02:00