9233 Commits

Author SHA1 Message Date
95b0e6010e Fix #19683: Updated framework\mimeType.php to the actual value. Fix typo in build/controllers/MimeTypeController.php 2023-02-11 19:21:51 +03:00
5d0d6f4a18 Fix #19705: Add binary and other data type to $typeMap list for MySQL 2023-02-09 22:05:52 +03:00
7c07885375 Feature/dependency fixes for PHP 8.2 (#19746) 2023-01-24 00:01:18 +03:00
8f7fb576cb Remove array syntax in #19741 (#19745) 2023-01-22 11:26:27 +03:00
17955140d5 Fix #19741: Added option to use a closure for $variations definition in yii\filters\PageCache 2023-01-21 00:26:40 +03:00
ff2d004c35 Fix #19734: PHP 8.1 compatibility fix for $query->orderBy(null) 2023-01-13 10:59:54 +04:00
581a7b2543 Fix #19735: Fix yii\validators\NumberValidator to use programmable message for the value validation 2023-01-13 10:57:03 +04:00
55ea8eee1e Fix sorting link for multisort with default order (#19733)
* Add sort tests

* Fix link for multisort

* changelog

* Fix test
2023-01-10 12:16:04 +01:00
7ed855ccae Add FileHelper test for a negative except, clarify docs (#19723) 2022-12-30 00:37:32 +04:00
7b369576a8 Fix #15376: Added $userId for RBAC roles cache 2022-12-28 19:43:20 +04:00
41d232f25e Bug #18867: Fixed multiple issues with yii\grid\CheckboxColumn
- "check all" checkbox not being checked on page load when all data row checkboxes are initially checked
- clicking checkboxes triggered "change" event for other checkboxes that do not change their state
- "check all" checkbox not being checked when disabled checkboxes are present and clicking last non-checked data row checkbox
2022-12-28 19:35:42 +04:00
3ad01aa0f0 Fix #19712: cast shell_exec() output to string for jsCompressor 2022-12-12 14:55:08 +03:00
c55db9b305 Fix #19635: PHP 8.2 compatibility fix for yii\validators\DateValidator 2022-12-10 12:35:48 +03:00
819b7cf701 Fix #17194: Fix unnecessary SQL updates in the database on attributes typecast via yii\behaviors\AttributeTypecastBehavior 2022-12-09 12:26:23 +03:00
948029f583 Fix #19693: Fix db/Command not caching NULL result with scalar fetchMode 2022-12-04 19:55:12 +03:00
a97934fd92 Fix #15376: Added cache usage for yii2\rbac\DbManager::getRolesByUser() 2022-12-02 13:45:45 +03:00
fe46b59361 Change property visibility to allow more flexibility for apps (#19696)
* Change property visibility to allow more flexibility for apps

* Update framework/web/View.php

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>

* Added changelog

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2022-11-29 08:18:03 +01:00
1f0f701bc3 Fix #19689: Remove empty elements from the class array in yii\helpers\BaseHtml::renderTagAttributes() to prevent unwanted spaces 2022-11-28 23:57:25 +03:00
51fc314f58 Add back SqlToken import in sqlite/Schema 2022-11-28 13:05:19 +04:00
63ae3f9a04 Fix #9740: Usage of DI instead of new keyword in Schemas 2022-11-27 19:10:23 +03:00
c297dfb8f8 Fix pt translation "Vêr" to "Ver" (#19690)
A Portuguese dictionary source: https://www.infopedia.pt/dicionarios/lingua-portuguesa/ver
2022-11-25 07:59:33 +01:00
aed647b78c prepare for next release 2022-11-18 20:22:13 +04:00
68b473679a release version 2.0.47 2022-11-18 20:21:58 +04:00
792619ff99 Fix CHANGELOG 2022-11-18 20:19:48 +04:00
64adbd73c6 Fix #19534: Fix yii\helpers\BaseHtml::renderSelectOptions() to properly render boolean selection 2022-11-17 15:49:09 +03:00
add56d843f Fix #17811: Do not reset retryHandler when yii\db\Command::reset() called 2022-11-16 11:03:00 +03:00
3c6e66f2b3 Unique and Exist validators docs updated (#19678)
* Unique and Exist validators docs updated

* Correct the line in unique validator as well

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2022-11-16 08:32:27 +01:00
64afc3279a Revert "Fix #19668: Fix Error null check PHP 8.1 yii\validators\FilterValidator"
This reverts commit d056c7f209c3e14c36959225383b0ca4aaaf171f.
2022-11-15 11:46:11 +04:00
86f8fd7e89 Fix #19581: Fix regression in CompositeAuth introduced in #19418 2022-11-15 10:16:59 +03:00
becb910dc9 Fix #19354: Reuse Validator::getAttributeNames() in AttributeTypecastBehavior::detectAttributeTypes() 2022-11-15 09:40:21 +03:00
b563edecd0 Fix Uzbek translation of validator message (#19674) 2022-11-15 09:29:21 +03:00
d056c7f209 Fix #19668: Fix Error null check PHP 8.1 yii\validators\FilterValidator 2022-11-15 09:27:42 +03:00
394922f804 Fix check for stream return false
c33ef022fe (r89827546)
2022-11-14 12:58:06 +03:00
c33ef022fe Fix #19670: Fix Error null check PHP 8.1 yii\rbac\DbManager 2022-11-14 11:39:41 +03:00
e3dab27c33 Fix typo in Container.php phpdoc (#19666) 2022-11-13 21:39:52 +03:00
0b4d5aaafa Fix #19520: Fix for TIMESTAMP & ROWVERSION columns in MSSQL insert query 2022-11-13 21:26:49 +03:00
241ec447b9 PL language fixes 2 (#19662) 2022-11-13 14:33:52 +03:00
a80ca77f33 Added UPGRADE.md note for #19603 (#19645)
Added UPGRADE.md note since the default "scope" of the yii\mutex\MysqlMutex has changed.
2022-11-07 10:34:35 +04:00
56e872e37b PL language fixes (#19659) 2022-11-07 09:14:48 +04:00
ca1c7efa93 Fix #19546: Reverted #19309 2022-10-26 15:59:25 +04:00
fd8b08e022 Added upgrade note about default options for message console command (#19633) 2022-10-25 09:10:07 +02:00
d41752bec8 19265 fix file cache duration phpdoc (#19623)
* #19265 fix file cache duration phpdoc

* #19265 fix file cache duration phpdoc

* Update framework/caching/FileCache.php

Co-authored-by: Bizley <pawel@positive.codes>

* #19265 remove CHANGELOG.md line

* #19265 add CHANGELOG.md line

Co-authored-by: Márton Somogyi <somogyi.marton@metrisoft.hu>
Co-authored-by: Bizley <pawel@positive.codes>
2022-10-16 12:14:01 +02:00
364e907875 #19316 removed not relevant CHANGELOG.md line (#19620)
Co-authored-by: Márton Somogyi <somogyi.marton@metrisoft.hu>
2022-10-13 09:14:14 +02:00
25eed6fe1c Fix phpdoc for yii\web\Controller (#19619) 2022-10-12 08:41:20 +02:00
b2fcedaeea Fix comments in BaseFormatConverter (#19618) 2022-10-12 01:26:20 +04:00
381c266443 #19316 fix MysqlMutex long name (#19614)
Co-authored-by: Márton Somogyi <somogyi.marton@metrisoft.hu>
2022-10-09 20:21:09 +02:00
0b4741ea6a MysqlMutext component fix same connection but difference database fail (#19603)
* MysqlMutext component fix same connection but difference database fail with extended keyPrefix.

* @since added to MysqlMutex#keyPrefix

Co-authored-by: Márton Somogyi <somogyi.marton@metrisoft.hu>
2022-10-06 09:06:59 +02:00
7d8507dea8 Fix eager loading of nested one-to-many relations (#19585)
* Update ActiveRelationTrait.php

fix #19507

* update structure-applications.md wiki links (#19597)

* update structure-models.md wiki links (#19598)

* Update structure-views.md wiki links (#19600)

* update structure-filters.md links (#19601)

* Added nested via relations

* Added nested via relations eager loading test

* Update framework/db/ActiveRelationTrait.php

Co-authored-by: Bizley <pawel@positive.codes>

* Update tests/data/ar/Customer.php

Co-authored-by: Bizley <pawel@positive.codes>

* Update tests/data/ar/Customer.php

Co-authored-by: Bizley <pawel@positive.codes>

* Update tests/framework/db/ActiveRecordTest.php

Co-authored-by: Bizley <pawel@positive.codes>

* Update tests/framework/db/ActiveRecordTest.php

Co-authored-by: Bizley <pawel@positive.codes>

* Update tests/framework/db/ActiveRecordTest.php

Co-authored-by: Bizley <pawel@positive.codes>

* Update tests/framework/db/ActiveRecordTest.php

Co-authored-by: Bizley <pawel@positive.codes>

* Update tests/framework/db/ActiveRecordTest.php

Co-authored-by: Bizley <pawel@positive.codes>

* Update tests/framework/db/ActiveRecordTest.php

Co-authored-by: Bizley <pawel@positive.codes>

* Update tests/framework/db/ActiveRecordTest.php

Co-authored-by: Bizley <pawel@positive.codes>

* Fix #19507: Fix eager loading of nested relations

Co-authored-by: Ihor Sychevskyi <arhell333@gmail.com>
Co-authored-by: Bizley <pawel@positive.codes>
2022-10-04 15:55:53 +06:00
b61b9ac253 Fix #19589: Fix Error reporting in to the BaseArrayHelper::getValue() 2022-09-25 23:48:05 +04:00
6da1f21999 Add second parameter to preg_quote() in Inflector::slug() (#19588) 2022-09-19 19:35:30 +03:00