1799 Commits

Author SHA1 Message Date
fee7a56f04 Merge branch 'master' into controller-array-fix 2025-05-19 12:22:15 +02:00
848a90dea8 array union in controllers
! fix issue when handling parameter with string type, add according test
2025-05-19 12:21:45 +02:00
7037fd46ab Fix #20355: Fix SQL syntax for resetting sequence in QueryBuilder for MSSQL 2025-04-19 23:15:28 +03:00
a67bfc1274 array union in controllers
! fix yii\web\Controller::bindActionParams behaviour for union types
o some refactoring in the process
2025-04-10 10:34:06 +02:00
e5d1dbbd1e Fix tests for use_trans_id 2025-04-04 11:53:53 +03:00
2e8f686b98 Fix #8298: Loading fixtures does not update table sequence for Postgresql database 2025-04-02 12:22:20 +03:00
e38f62e55b Fix #20329: pgsql: Column Schema doesn't recognize PG type cast 2025-02-27 17:33:35 +03:00
dbb82a25a2 Fix #20332: Added support for the '__class' key in \yii\di\Instance:eunsure(['__class' => ...]) 2025-02-27 17:32:44 +03:00
4859c8fcae Fix #20309: Add custom attributes support to style tags 2025-02-14 09:59:48 +03:00
f94017ce4c Fix #20306: Add new yii\helpers\ArrayHelper::flatten() method 2025-01-06 17:53:58 +03:00
3fc7e71c67 Fix #20295: Add an ability to have wildcards in yii\log\Target::$maskVars array 2025-01-01 22:43:47 +03:00
a8586fc296 Fix #20300: Clear stat cache in FileCache::setValue() 2024-12-30 19:53:25 +03:00
ea4964dede Fix enum test. Value used in assertion should match the actual enum name. 2024-12-10 12:40:50 +02:00
4b4eb9dab1 Rename enum cases to match suggested formatting (RFC) 2024-12-06 19:23:52 +02:00
0acf0db753 Support BackedEnum attribute typecast behaviour. 2024-12-06 19:04:35 +02:00
65e3369e16 Fix #20140: Fix compatibility with PHP 8.4: calling session_set_save_handler() 2024-12-06 13:34:47 +03:00
5df412df2c Fix #20282: Fix compatibility with PHP 8.4: deprecated constant E_STRICT 2024-12-06 12:31:20 +03:00
8fe8cdd4d9 reset useCookie value (#20287)
* reset useCookie value
see also https://github.com/yiisoft/yii2-docker/issues/174

* removed empty line
2024-12-06 09:10:17 +03:00
36b34b0dc1 fix 'unafe' typo 2024-11-28 12:01:15 +07:00
2ef9471af6 update tests 2024-11-23 19:15:20 +07:00
717b285115 add CSRF validation by custom HTTP header 2024-11-23 18:58:06 +07:00
363f90a202 Merge branch 'master' into 20267-widget-end-resolved-classes 2024-10-30 22:39:22 +02:00
e4d5d73490 Fix #20268: Minor optimisation in \yii\helpers\BaseArrayHelper::map 2024-10-27 13:37:09 +03:00
8a0992d5c0 Fixed called class check in Widget::end() when widget configured using callable
See #20267
2024-10-19 20:37:49 +03:00
d9116d3ccd Merge branch 'master' into feature/attach-behaviors-with-closure
# Conflicts:
#	framework/base/Component.php
#	tests/framework/base/ComponentTest.php
2024-09-23 09:39:26 -04:00
899a833b16 Merge pull request #20243 from erickskrauch/fix_behaviors_attachment
Fix restored vulnerability after #20232
2024-09-14 12:23:36 +03:00
be3d8efe0b Fix attachBehavior test 2024-08-22 15:29:41 -04:00
cc05f92181 Attach behavior via "as foo" with Closure 2024-08-21 23:35:57 -04:00
5abe83e323 Fix #20247: Support for variadic console controller action methods 2024-08-19 08:30:57 +03:00
05a8fbee3e Merge branch 'master' into fix_behaviors_attachment
# Conflicts:
#	framework/base/Component.php
#	tests/framework/base/ComponentTest.php
2024-08-14 16:56:38 +02:00
4b75427011 Fix regression of regression introduced in GHSA-cjcc-p67m-7qxm and #20232 2024-08-14 16:49:26 +02:00
0d0f77529a Fix #20231: Fix regression introduced in #20167 in yii\validators\FileValidator 2024-07-26 19:06:32 +03:00
6abe5bf008 Fix #20232: Fix regression introduced in GHSA-cjcc-p67m-7qxm while attaching behavior defined by __class array key 2024-07-25 11:04:56 +03:00
40fe496eda Fix regression introduced in GHSA-cjcc-p67m-7qxm while attaching behavior defined by __class array key 2024-07-24 23:54:09 +02:00
a6257d8f46 Fix #20226: Revert all PR for "Data providers perform unnecessary COUNT queries that negatively affect performance" 2024-07-12 08:48:58 +03:00
32688de621 Update active field options test. 2024-07-04 13:32:20 +03:00
0a5b71f4d1 Add test. 2024-07-03 12:11:29 +03:00
76150c5403 Revert "Fix #20198: Boolean values of the value HTML attribute are now converted to integer values"
This reverts commit 0e50cee88fe7817cd23c764f16a2b1f8feb0694f.
2024-06-19 21:04:17 +03:00
0e50cee88f Fix #20198: Boolean values of the value HTML attribute are now converted to integer values 2024-06-17 18:57:37 +03:00
048eef42cd Fix #20191: Fix ActiveRecord::getDirtyAttributes() for JSON columns with multi-dimensional array values 2024-06-08 10:31:26 +03:00
3fa2d61e54 Fix #20175: Fix bad result for pagination when used with GridView 2024-06-08 10:29:40 +03:00
ff3aee30e4 Fix ErrorHandler quoting tests 2024-05-30 19:44:23 +03:00
42e6524413 Fix tests addCheck(), dropCheck() MariaDB. (#20174) 2024-05-30 18:54:15 +03:00
e92466bbba Fix #19855: Fixed yii\validators\FileValidator to not limit some of its rules only to array attribute 2024-05-30 14:36:12 +03:00
e1268d1f15 Fix testColumnSchema in MariaDB 10.4 or higher. (#20172) 2024-05-30 11:02:18 +03:00
5ebc175768 Fix: #20171: Support JSON columns for MariaDB 10.4 or higher 2024-05-29 15:01:48 +03:00
2ead4f31c6 Fixed tests. 2024-05-18 17:01:35 -04:00
2d2e141e3e Minor improvents. 2024-05-18 16:54:18 -04:00
14e2631fdf Normalize column names. 2024-05-18 14:03:39 -04:00
132b06cf8d Run tests MySQL > 8.0.16. 2024-05-18 13:48:44 -04:00