9576 Commits

Author SHA1 Message Date
018fcb5d96 Fix error summary always visible with CSP header (#19691)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2024-01-18 18:14:51 +01:00
c9c5c61f76 Fix error summary always visible with CSP header (#19691) 2024-01-18 16:30:22 +01:00
60ea174348 Fix typo in Menu phpdoc (#20101) 2024-01-12 08:57:18 +03:00
Sam
b46e2676d3 Fix #17181: Improved BaseUrl::isRelative($url) performance 2024-01-06 22:07:05 +03:00
c7b4b1dcdd Get rid of deprecation warnings for trim() [PHP8.3] (#20090) 2024-01-03 10:54:59 +03:00
dffb4c7529 Fix version in since tag 2023-12-25 12:20:09 +03:00
76f17336fe #17191: updated changelog 2023-12-03 16:27:39 +01:00
fc582a2cfd 17191: fixed isRelative method 2023-12-03 15:07:25 +01:00
6fdb805da8 Fix #18469: Fixed Link::serialize(array $links) method in yii\web\Link 2023-11-23 18:09:35 +03:00
ae3f2f2dad Update Japanese messages 2023-11-14 05:26:41 +09:00
a8aa2cf583 Merge pull request #20015 from salehhashemi1992/feature/extract-prepareCacheData-method-
Extract common cache data preparation logic to new method
2023-11-12 13:43:46 +01:00
0263c19833 Revert 20045. 2023-11-02 08:28:05 -03:00
abcd82fd17 Extract common cache data preparation logic to prepareCacheData method 2023-11-01 15:12:47 +03:30
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