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
17955140d5
Fix #19741 : Added option to use a closure for $variations
definition in yii\filters\PageCache
2023-01-21 00:26:40 +03: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
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
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
64adbd73c6
Fix #19534 : Fix yii\helpers\BaseHtml::renderSelectOptions()
to properly render boolean selection
2022-11-17 15:49:09 +03:00
12a2030fbd
Fix intl differences in tests ( #19679 )
2022-11-16 01:37:41 +03:00
0b4d5aaafa
Fix #19520 : Fix for TIMESTAMP & ROWVERSION columns in MSSQL insert query
2022-11-13 21:26:49 +03: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
0ababa2d36
small fix #19530 ( #19532 )
...
* small fix #19530
* small fix #19530 | fix test
* small fix #19530 | fix test
* small fix #19530 | fix test
* small fix #19530 | update CHANGELOG.md
* Update framework/CHANGELOG.md
Co-authored-by: viktor.shumeiko <viktor.shumeiko@simbirsoft.com>
Co-authored-by: Alexey Rogachev <arogachev90@gmail.com>
2022-09-05 17:32:20 +06:00
5358724251
Fix #12636 : Fix CompareValidator successful state when compareAttribute has an error
2022-09-04 22:14:11 +03:00
2808e8d814
Fix #15500 : Fix saving empty records to MySQL
2022-08-29 10:43:00 +03:00
391a741a63
Fix #15557 : Fix empty fields exclusion in safe attributes of yii\base\Model
2022-08-29 10:17:11 +03:00
394da2b5e3
Fix #19517 : Fix regression in CompositeAuth::authenticate()
introduced in #19418
2022-08-28 00:26:03 +03:00
123802e4cb
Fix #19259 : Fix yii\log\FileTarget
locking and always rotate files only by copy
2022-08-17 00:24:50 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
9c4c36ee72
Fix #19467 : Revert changes in Inflector::camel2words()
( #19495 )
...
* Fix #19467 : Revert changes in `Inflector::camel2words()` introduced in #19204
* Add UPGRADE note
2022-07-30 14:32:29 +02:00
59f69fc9cd
Fix #19462 : Fix validator client options to encode HTML tags
2022-07-29 13:15:54 +03:00
009961963c
Fix #19407 : Fix yii\validators\UniqueValidator
and yii\validators\ExistValidator
to respect skipOnError
option for target attributes
2022-07-29 09:47:33 +03:00
adadbefe88
Fix #19469 : Fix a virtual relation not working because of new isset checks in \yii\db\ActiveRelationTrait
2022-07-15 23:52:39 +03:00
827db6c90e
Revert "Fix #19290 : Fix Request::getHostInfo()
doesn’t return the port if a Host header is used"
...
This reverts commit 8046d3a50f207e1033e1b23ff571da5bced0c822.
2022-07-01 10:28:31 +03:00
34708b4cf4
Fix #19400 : Fix passing null in yii\web\Response::redirect()
2022-06-21 00:15:07 +03:00
45519d3c18
Fix #19437 : Add support to specify request port by trusted proxies in \yii\web\Request::getServerPort()
2022-06-17 20:18:18 +03:00
474a67da99
Fix caching in Formatter::getUnitMessage()
( #19445 )
...
* Fix caching in `Formatter::getUnitMessage()`
* Update FormatterTest.php
* Update CHANGELOG.md
2022-06-16 11:32:08 +02:00
f72310c398
fix composite auth ignore only/except filters of auth methods ( #19418 )
...
* fix compositeAuth ignore only/except filters of child auth methods
* fix
* add tests for wrong token
* fix
* update changelog
* Update CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes>
2022-06-15 10:06:38 +02:00
41f7986922
Add test case for Cache::getValue() with non existent key ( #19396 )
2022-05-22 14:04:16 +03:00
98e93083ed
Update DeadLockTest::testDeadlockException() ( #19385 )
2022-05-22 12:52:56 +03:00
c409264484
Fix BaseArrayHelper::htmlDecode() ( #19386 )
...
* Fix BaseArrayHelper::htmlDecode()
Add missed second argument on recursive calling.
* Fix BaseArrayHelper::htmlDecode()
`htmlspecialchars_decode()` flags must be same to `htmlspecialchars()` in `BaseArrayHelper::htmlEncode()`
* Update ArrayHelperTest.php
* Update ArrayHelperTest.php
* Update ArrayHelperTest.php
* Update CHANGELOG.md
* test workflow fix
2022-05-22 10:20:04 +02:00
f458263d93
fix import UnauthorizedHttpException ( #19404 )
2022-05-22 10:17:54 +02:00
0f004db99b
Fixed issue when trying to check if a multidimensional array is dirty… ( #19272 )
...
* Fixed issue when trying to check if a multidimensional array is dirty attribute or not
* fixed issue in logic and added test
* Updated test to only support PHP 7 and above
* Code refactoring
* Updated Test Cases
* Update framework/helpers/BaseArrayHelper.php
Co-authored-by: Bizley <pawel@positive.codes>
* Added to CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Maher Al Ghoul <maher.gh@opensooq.com>
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Maher Al Ghoul <maher@rufoof.com>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Maher Al Ghoul <Maher.AlGhoul@opensooq.com>
2022-04-18 13:41:20 +02:00
8046d3a50f
Fix #19290 : Fix Request::getHostInfo()
doesn’t return the port if a Host header is used
2022-04-16 00:37:55 +04:00
94dfccd6fa
19324 dropdownlist selection for boolean attributes ( #19331 )
...
* Fix #19324 by allowing for direct comparison
* Invert meaning of strict
* Remove WinterSilence from authors list
* Fix improper implementation of strict checks
* Add test for renderSelectOptions
* Partially revert 'Fix improper implementation of strict checks'
* Add additional tests for strict
* Revert 'Fix improper implementation of strict checks'
* Add failing test for demonstration
* Comment out demonstration test
* Update framework/CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes>
Co-authored-by: Bizley <pawel@positive.codes>
2022-04-11 09:44:48 +02:00
e352649a75
Improve DataFilterTest ( #19341 )
2022-04-08 13:48:17 +04:00
06e5472753
Fix #19256 : Pass missed $view
to user's callback in yii\validators\InlineValidator::clientValidateAttribute()
2022-04-08 01:20:28 +04:00
1382aea4a8
Fix #19295 : Added alias text/rtf
for mime-type application/rtf
2022-04-07 00:14:00 +04:00
14c42b7bb5
Added jfif
to mimeTypes.php ( #19338 )
...
* Added `jfif` to mimeTypes.php
Added the 'image/jpeg' mime type for `.jfif` files (https://en.wikipedia.org/wiki/JPEG_File_Interchange_Format )
* Update MimeTest.php
Added 'jfif' extension to MimeTest
2022-04-05 08:28:41 +02:00
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
f6d328335e
GroupUrlRule slash in prefix ( #19330 )
...
* Bring back slash
* changelog
* group url rule test
2022-03-29 21:37:25 +02:00
091b055ce9
Fix yii\caching\Dependency::generateReusableHash() ( #19303 )
...
* Fix yii\caching\Dependency::generateReusableHash()
* Update DbQueryDependencyTest.php
* Update CHANGELOG.md
* Update Dependency.php
* Update framework/caching/Dependency.php
Co-authored-by: Bizley <pawel@positive.codes>
* Update comment Dependency::generateReusableHash()
Co-authored-by: Bizley <pawel@positive.codes>
2022-03-29 08:22:34 +02:00
2874e070f3
Fix #19322 : Revert force setting value to empty string in case it's null
in yii\validators\FilterValidator::validateAttribute()
2022-03-24 17:50:00 +04:00
7b8c29d874
Fix #19243 : Handle finfo_open
for tar.xz as application/octet-stream
on PHP 8.1
2022-02-19 23:45:20 +03:00
7fd85d2268
Fix MimeTest
2022-02-11 16:39:05 +03:00
730f0e56b5
Fix #18821 : Allow yii\db\ExpressionInterface
as column in yii\db\conditions\InBuilder
2022-02-08 16:51:38 +03:00
7a2689e761
Fix #19004 : Container::resolveCallableDependencies() unable to handle union and intersection types
...
Co-authored-by: Sartor <sartor@syneforge.com>
2022-02-07 22:40:13 +03:00