Commit Graph

20758 Commits

Author SHA1 Message Date
Tim Kelty
ff60985e51 CS fixes 2024-08-22 16:12:42 -04:00
Tim Kelty
be3d8efe0b Fix attachBehavior test 2024-08-22 15:29:41 -04:00
Tim Kelty
cc05f92181 Attach behavior via "as foo" with Closure 2024-08-21 23:35:57 -04:00
Brandon Kelly
5abe83e323 Fix #20247: Support for variadic console controller action methods 2024-08-19 08:30:57 +03:00
ErickSkrauch
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
ErickSkrauch
4b75427011 Fix regression of regression introduced in GHSA-cjcc-p67m-7qxm and #20232 2024-08-14 16:49:26 +02:00
Wilmer Arambula
34d2396920 Update PHP and MSSQL versions in CI workflow. (#20240) 2024-08-05 23:55:45 +04:00
Nobuo Kihara
9fc8a2d37d japanese doc translation updated (#20237) 2024-07-28 11:18:36 +04:00
Bizley
0d0f77529a Fix #20231: Fix regression introduced in #20167 in yii\validators\FileValidator 2024-07-26 19:06:32 +03:00
Alexandr Zeidlits
65a5e5210f Typo fix (#20236) 2024-07-26 19:05:44 +03:00
ErickSkrauch
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
ErickSkrauch
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
Alexander Makarov
633998bc0d prepare for next release 2024-07-18 22:50:14 +03:00
Alexander Makarov
9a98aff5fc release version 2.0.51 2.0.51 2024-07-18 22:50:00 +03:00
Tim Kelty
de2e5ea58c Fix #20230: Fix getting ID in \yii\filters\Cors::actions() when attached to a module 2024-07-18 22:44:00 +03:00
Alexander Makarov
4b0a02e69c Fix #20147: Fix error handler compatibility with PHP 8.3 (#20228) 2024-07-12 17:48:05 +03:00
Alexander Makarov
f96c2c5ef4 Add accidentally removed phpdoc 2024-07-12 16:29:14 +03:00
Wilmer Arambula
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
Stefano D. Mtangoo
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
Oleksandr Lynnyk
32688de621 Update active field options test. 2024-07-04 13:32:20 +03:00
Oleksandr Lynnyk
c9b425e8c8 Update CHANGELOG.md 2024-07-03 12:13:46 +03:00
Oleksandr Lynnyk
0a5b71f4d1 Add test. 2024-07-03 12:11:29 +03:00
Wilmer Arambula
97466bd11d Add upgrade note for 2.0.50 (#20200) 2024-07-01 09:00:27 +03:00
Ihor Sychevskyi
883e1d81fc update links (#20219) 2024-06-30 20:45:04 +03:00
Oleksandr Lynnyk
9ebb903a2e Add regex property to one of required option. 2024-06-24 17:40:29 +03:00
Alexander Makarov
76150c5403 Revert "Fix #20198: Boolean values of the value HTML attribute are now converted to integer values"
This reverts commit 0e50cee88f.
2024-06-19 21:04:17 +03:00
Axel Tómasson
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
Evgeniy Moiseenko
0e50cee88f Fix #20198: Boolean values of the value HTML attribute are now converted to integer values 2024-06-17 18:57:37 +03:00
Alex
140570d186 Remove cache \yii\data\ActiveDataProvider::prepareTotalCount() (#20206) 2024-06-17 13:20:35 +03:00
Wilmer Arambula
fe5688d319 Fix #16116: Codeception: oci does not support enabling/disabling integrity check 2024-06-12 17:13:26 +03:00
Erick Jovan
ec46ede976 Trasnlate security authentication to spanish (#20193) 2024-06-08 10:31:55 +03:00
Brandon Kelly
048eef42cd Fix #20191: Fix ActiveRecord::getDirtyAttributes() for JSON columns with multi-dimensional array values 2024-06-08 10:31:26 +03:00
Alex
3fa2d61e54 Fix #20175: Fix bad result for pagination when used with GridView 2024-06-08 10:29:40 +03:00
Bizley
f1ac78f578 Merge pull request #20190 from terabytesoftw/fix-ci-codecov-version
Update Codecov action to `v4` in CI workflows.
2024-06-07 08:40:01 +02:00
Wilmer Arambula
8cb50484a4 Update Codecov action to v4 in CI workflows. 2024-06-06 08:54:04 -04:00
kaptanteo
d9d168b036 Improve Thai translations in Yii2 framework messages. (#20188)
- Improve Thai translations in Yii2 framework messages so that they are more accurate and harmoniously sounding to Thai-native speakers.
- Translate not-yet-translated items.
2024-06-05 20:05:43 +03:00
rhertogh
855522cc9a Updated JS test packages (#20180)
Updated Node (6 -> 20), NPM (6 -> 10), jsdom (11.11.0 -> 24.1.0), leche (2.2.3 -> 2.3.0), mocha (5.2.0 -> 6.2.3)
2024-06-03 10:07:22 +03:00
Alexander Makarov
6b1591b222 prepare for next release 2024-05-30 20:23:51 +03:00
Alexander Makarov
52e4a3e645 release version 2.0.50 2.0.50 2024-05-30 20:23:31 +03:00
Alexander Makarov
56c0079d1b Remove phpunit cache 2024-05-30 19:45:29 +03:00
Alexander Makarov
ff3aee30e4 Fix ErrorHandler quoting tests 2024-05-30 19:44:23 +03:00
Alexander Makarov
920ce2626a Fix CHANGELOG formatting 2024-05-30 19:31:50 +03:00
Start X
f7baab16e7 Merge pull request from GHSA-qg5r-95m4-mjgj
* Hotfix: Reflected XSS in Debug mode

* Added entry for the security issue GHSA-qg5r-95m4-mjgj to the CHANGELOG

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2024-05-30 19:29:52 +03:00
Stefano D. Mtangoo
628d406bfa Merge pull request from GHSA-cjcc-p67m-7qxm
* Fix: Unsafe Reflection in base Component class

* Fix style for consistency

* add changelog entry

* Fix wrong logic

* Fix exception message

* Update framework/CHANGELOG.md

---------

Co-authored-by: Stefano Mtangoo <stefano@hosannahighertech.co.tz>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2024-05-30 19:15:58 +03:00
Wilmer Arambula
42e6524413 Fix tests addCheck(), dropCheck() MariaDB. (#20174) 2024-05-30 18:54:15 +03:00
Bizley
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
Wilmer Arambula
e1268d1f15 Fix testColumnSchema in MariaDB 10.4 or higher. (#20172) 2024-05-30 11:02:18 +03:00
Wilmer Arambula
5ebc175768 Fix: #20171: Support JSON columns for MariaDB 10.4 or higher 2024-05-29 15:01:48 +03:00
Wilmer Arambula
c6145cb87c Add tests for MariaDb (#20169) 2024-05-29 13:02:59 +03:00
Bizley
bceb37e524 Merge pull request #20170 from terabytesoftw/fix-yii2-coding-standard
Fix ci lint.
2024-05-28 21:34:35 +02:00