Commit Graph

1443 Commits

Author SHA1 Message Date
Sam
4ea484ca68 Fix #17722: Add action injection support 2020-06-12 10:06:18 +03:00
Evgenii Goryaev
1b07c0d4fb Fix #18001: Fix getting table metadata for tables ( in their name 2020-06-10 12:22:10 +03:00
Bizley
2a73a4ae3a Fix #18051: Fix missing support for custom validation method in EachValidator 2020-05-23 17:37:23 +03:00
Alexander Makarov
f2d32fab77 Fix #18046: Add test for current ArrayHelper::merge() behavior (#18054) 2020-05-20 18:41:40 +03:00
Alex
eb7b23d117 Fix #18048: Use Instance::ensure() to set User::$accessChecker 2020-05-19 18:42:13 +03:00
Mikk Tendermann
35fb9c6248 Fix #18026: Fix ArrayHelper::getValue() did not work with ArrayAccess objects 2020-05-18 15:18:09 +03:00
Daniel Schischkin
3b87c5f31a Fix #18028: Fix division by zero exception in Table.php::calculateRowHeight 2020-05-18 14:11:43 +03:00
Alex
37fc929285 Fix #18010: Allow upper or lower case operators in InCondition and LikeCondition 2020-05-02 13:28:06 +03:00
XPOHOC
e20358241c Fix #17993: Added yii\i18n\Formatter::$currencyDecimalSeparator to allow setting custom symbols for currency decimal in IntlNumberFormatter 2020-05-02 11:58:01 +03:00
Kwok
89ded8c82a Fix #18000: PK value of Oracle ActiveRecord is missing after save 2020-05-02 02:17:27 +03:00
Maksym Storchak
c32811887a Fix #18011: Added attribute labels support for DynamicModel, fixed EachValidator to pass the attribute label to the underlying DynamicModel 2020-05-02 02:14:03 +03:00
scottix
975937e531 Fix #18006: Allow SameSite cookie pre PHP 7.3 2020-05-01 13:28:23 +03:00
Deryabin Sergey
7a27f5fd12 Add missing third parameter to preg_match in ChangeLogTest (#17998) 2020-04-28 01:01:13 +03:00
Sartor
a66fac3bb1 Fix #17758: Query::withQuery() can be used for CTE 2020-04-13 11:58:18 +03:00
Bizley
0643ef312d Corrected tests 2020-04-08 15:29:54 +02:00
ricardomm85
355ca1562d Fix #17810: Fix EachValidator crashing with uninitialized typed properties 2020-04-04 15:03:09 +03:00
Alexander Makarov
65e5640810 Fix #17932: Fix regression in detection of AJAX requests (#17937) 2020-03-26 12:30:56 +03:00
Igor Tarasov
7f88acb313 Fix #17878: Detect CORS AJAX requests without X-Requested-With in Request::getIsAjax() 2020-03-24 19:01:52 +03:00
Alex
4b6d3c0290 Fix #17929: Actions can now have bool typed params bound 2020-03-24 18:44:43 +03:00
Adam Hayward
31e3698ab9 Fix #17827: Add StringValidator::$strict that can be turned off to allow any scalars
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2020-03-24 16:51:38 +03:00
Alexander Makarov
438cc80fc7 Fix #17667: Fix CREATE INDEX failure on sqlite when specifying schema 2020-03-24 15:40:02 +03:00
Alexander Makarov
4de66f8205 Fix #16145: Fix Html helper checkboxList(), radioList(), renderSelectOptions(), dropDownList(), listBox() methods to work properly with traversable selection 2020-03-24 12:55:35 +03:00
Alexander Makarov
1d6d0d76c5 Fix HtmlTest to work well with line endings 2020-03-24 12:28:51 +03:00
Alex
50b19dbfba Fix #17920: Fix for Command::getRawSql and Expression in params 2020-03-20 19:15:16 +03:00
alex-code
5939813a8e Fix #17797: Fix for activeListInput options
* Tests

Test for `activeListInput` options.
Also fixed test names for `checkbox` and `radio`.

* activeListInput options

Fix for `activeListInput` options.

* Update BaseHtml.php

* Update HtmlTest.php

* Update CHANGELOG.md

* Update BaseHtml.php

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2020-03-12 18:46:38 +03:00
Ivan Hermanov
b7d8730044 Fix #16092: Fix duplicate joins in usage of joinWith 2020-03-04 17:57:07 +03:00
vinpel
f165b6b31f Fix #17679: Fix Oracle exception "ORA-01461: can bind a LONG value only for insert into a LONG column" when inserting 4k+ string 2020-03-02 23:26:53 +03:00
Alexander Makarov
e22c9c6d68 Fix incorrect assertion in fixture test (#17904) 2020-03-02 17:38:31 +03:00
patacca
ecbafa2e3a Fix #17886: yii\rest\Serializer serialize arrays 2020-02-23 15:58:51 +03:00
simialbi
79e68767db Fix #11945: Fix Schema Builder MySQL column definition order 2020-02-22 17:17:06 +03:00
Ivan Hermanov
6e9764b467 Added support of JsonSerializable interface to ArrayableTrait (#17888) 2020-02-22 12:34:27 +03:00
Michael Härtl
c41b428088 Fix #17884: Fix 0 values in console Table rendered as empty string 2020-02-21 23:07:25 +03:00
Ivan Hermanov
18f7970d80 Fix #16334: Serializer support \JsonSerializable 2020-02-21 17:20:29 +03:00
Yusup Hambali
55793471ea Fix #17875: Revert move_uploaded_file() function instead of copy() and unlink() for saving uploaded files when POST request 2020-02-20 12:22:01 +03:00
Alexander Makarov
215862a91e Don't test FormatterDate DATE_ATOM with PHP 5.5 (#17879) 2020-02-19 23:22:11 +03:00
Alexander Makarov
93073c9c41 Execute FormatterDate intl test to PHP 5.5+ only (#17876) 2020-02-19 20:17:02 +03:00
Viktor Pikaev
c901608af7 Fix #17863: \yii\helpers\BaseInflector::slug() doesn't work with an empty string as a replacement argument 2020-02-19 03:26:33 +03:00
Arthur Skobara
a19dd48b79 Fix #7622: Allow yii\data\ArrayDataProvider to control the sort flags for sortModels through yii\data\Sort::sortFlags property 2020-02-04 11:56:35 +03:00
haveyaseen
82b7ecbdf3 Fix #17828: Fix yii\web\UploadedFile::saveAs() failing when error value in $_FILES entry is a string 2020-02-01 12:56:22 +03:00
Alexander Makarov
f5205a83ea Skip NumberFormatter::asScientific() intl test (#17837) 2020-01-29 15:11:12 +03:00
rhertogh
b794d76056 Fix #17829: yii\helpers\ArrayHelper::filter now correctly filters data when passing a filter with more than 2 levels 2020-01-29 01:03:31 +03:00
Ather Shu
038ce9f77e Fix #17755: Fix a bug for web request with trustedHosts set to format ['10.0.0.1' => ['X-Forwarded-For']] 2020-01-15 15:51:57 +03:00
Toma91
a982f31606 Fixes #17300: Fix class-level Event handling with wildcards 2020-01-15 13:16:05 +03:00
Yusup Hambali
cf0e56907f Fix #17037, Fix #17729: Fix uploaded file saving for multipart forms, add path alias support for UploadFile::saveAs() 2020-01-15 00:57:45 +03:00
Brandon Kelly
beca7b45d3 Fix #17793: Fix inconsistent handling of null data attribute values in yii\helpers\BaseHtml::renderTagAttributes() 2020-01-10 21:35:09 +03:00
Brandon Kelly
7e471e3010 Fix #17792: Added support for aria attributes to yii\helpers\BaseHtml::renderTagAttributes() 2020-01-10 18:39:00 +03:00
Alexander Makarov
f226c3cb38 Fix #12539: yii\filters\ContentNegotiator now generates 406 'Not Acceptable' instead of 415 'Unsupported Media Type' on content-type negotiation fail
Co-authored-by: PowerGamer1 <PowerGamer1@users.noreply.github.com>
2020-01-09 23:43:24 +03:00
Alexander Makarov
0ba9c619c7 Fix #17760: Fix JSON::encode() for \DateTimeInterface under PHP 7.4 2020-01-09 18:52:48 +03:00
Somogyi Márton
48c08d093c Fix #17749: Dispatcher fix if target crashed in PHP 7.0+ 2019-12-26 16:00:53 +03:00
Bizley
b79fe7d106 Fix #17744: Fix a bug with setting incorrect defaultValue to AR column with CURRENT_TIMESTAMP(x) as default expression (MySQL >= 5.6.4) 2019-12-20 15:23:20 +03:00