20680 Commits

Author SHA1 Message Date
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
5c168215d3 Fix #20276: Removed autogenerated migration phpdoc 2024-11-12 01:57:49 +03:00
8bd71d3d83 Fix #20273: Remove unnecessary paragonie/random_compat dependency 2024-11-05 02:58:05 +03:00
5ec5a4b74d Merge pull request #20270 from jrajamaki/20267-widget-end-resolved-classes
Fix: called class check in `Widget::end()` when widget configured using callable. Closes #20267
2024-10-31 11:03:49 +03: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
25059c4e08 Docs: Ukrainian — Add Sessions&Cookies page (#20272) 2024-10-27 12:08:06 +03:00
02ef942c53 Added missing underscore in front of private property #20267 2024-10-19 20:48:31 +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
3c75ff1043 Merge pull request #20248 from timkelty/feature/attach-behaviors-with-closure
Attach behavior via "as behaviorName" with Closure
2024-09-26 04:51:51 +03:00
8724ba3505 Changelog 2024-09-25 15:46:52 -04: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
eb304e7615 Merge pull request #20259 from harusakura924/translate-tw-unique
Translate Yii2 Unique Validation Error Message to zh-TW
2024-09-23 08:57:05 +02:00
dff9c269a2 Changing it to "與" is more formal. 2024-09-23 02:01:05 +00:00
64af4fd7d6 Translate Yii2 Unique Validation Error Message to zh-TW 2024-09-23 01:34:52 +00:00
62f7f12aee Merge pull request #20257 from ambrozt/bugfix/20256-mssql-drop-views
Add support for dropping views in MSSQL server when running migrate/fresh
2024-09-22 16:38:33 +03:00
e69746b2b1 correct CHANGELOG.md to reflect better changes in commit
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2024-09-21 12:05:44 +03:00
26756a7e0f Add support for dropping views in MSSQL server when running migrate/fresh 2024-09-19 22:09:51 +02:00
899a833b16 Merge pull request #20243 from erickskrauch/fix_behaviors_attachment
Fix restored vulnerability after #20232
2024-09-14 12:23:36 +03:00
964fe57625 Исправления документации на русском языке (#20249) 2024-08-31 14:39:14 +03:00
2d38497f0a Revert "CS fixes"
This reverts commit ff60985e5128a499c5840cae7f20a953ed49119f.
2024-08-25 11:57:46 -04:00
ff60985e51 CS fixes 2024-08-22 16:12:42 -04: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
34d2396920 Update PHP and MSSQL versions in CI workflow. (#20240) 2024-08-05 23:55:45 +04:00
9fc8a2d37d japanese doc translation updated (#20237) 2024-07-28 11:18:36 +04:00
0d0f77529a Fix #20231: Fix regression introduced in #20167 in yii\validators\FileValidator 2024-07-26 19:06:32 +03:00
65a5e5210f Typo fix (#20236) 2024-07-26 19:05:44 +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
633998bc0d prepare for next release 2024-07-18 22:50:14 +03:00
9a98aff5fc release version 2.0.51 2.0.51 2024-07-18 22:50:00 +03:00
de2e5ea58c Fix #20230: Fix getting ID in \yii\filters\Cors::actions() when attached to a module 2024-07-18 22:44:00 +03:00
4b0a02e69c Fix #20147: Fix error handler compatibility with PHP 8.3 (#20228) 2024-07-12 17:48:05 +03:00
f96c2c5ef4 Add accidentally removed phpdoc 2024-07-12 16:29:14 +03: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
5f5ef64892 Merge pull request #20212 from alxlnk/master
Add regex property to one of required option to MaskedInput inititialization
2024-07-04 18:51:59 +03:00
32688de621 Update active field options test. 2024-07-04 13:32:20 +03:00
c9b425e8c8 Update CHANGELOG.md 2024-07-03 12:13:46 +03:00
0a5b71f4d1 Add test. 2024-07-03 12:11:29 +03:00
97466bd11d Add upgrade note for 2.0.50 (#20200) 2024-07-01 09:00:27 +03:00
883e1d81fc update links (#20219) 2024-06-30 20:45:04 +03:00
9ebb903a2e Add regex property to one of required option. 2024-06-24 17:40: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
8dacd2aad7 Fix #20195: Do not set non abstract values into ColumnSchema->type on MSSQL version less then 2017 2024-06-18 12:30:42 +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