3463 Commits

Author SHA1 Message Date
7a27f5fd12 Add missing third parameter to preg_match in ChangeLogTest (#17998) 2020-04-28 01:01:13 +03:00
a66fac3bb1 Fix #17758: Query::withQuery() can be used for CTE 2020-04-13 11:58:18 +03:00
0643ef312d Corrected tests 2020-04-08 15:29:54 +02:00
64142f0677 Fixed typo 2020-04-08 15:12:38 +02:00
355ca1562d Fix #17810: Fix EachValidator crashing with uninitialized typed properties 2020-04-04 15:03:09 +03:00
65e5640810 Fix #17932: Fix regression in detection of AJAX requests (#17937) 2020-03-26 12:30:56 +03:00
7f88acb313 Fix #17878: Detect CORS AJAX requests without X-Requested-With in Request::getIsAjax() 2020-03-24 19:01:52 +03:00
4b6d3c0290 Fix #17929: Actions can now have bool typed params bound 2020-03-24 18:44:43 +03:00
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
438cc80fc7 Fix #17667: Fix CREATE INDEX failure on sqlite when specifying schema 2020-03-24 15:40:02 +03:00
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
1d6d0d76c5 Fix HtmlTest to work well with line endings 2020-03-24 12:28:51 +03:00
50b19dbfba Fix #17920: Fix for Command::getRawSql and Expression in params 2020-03-20 19:15:16 +03:00
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
b7d8730044 Fix #16092: Fix duplicate joins in usage of joinWith 2020-03-04 17:57:07 +03:00
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
e22c9c6d68 Fix incorrect assertion in fixture test (#17904) 2020-03-02 17:38:31 +03:00
ecbafa2e3a Fix #17886: yii\rest\Serializer serialize arrays 2020-02-23 15:58:51 +03:00
79e68767db Fix #11945: Fix Schema Builder MySQL column definition order 2020-02-22 17:17:06 +03:00
6e9764b467 Added support of JsonSerializable interface to ArrayableTrait (#17888) 2020-02-22 12:34:27 +03:00
c41b428088 Fix #17884: Fix 0 values in console Table rendered as empty string 2020-02-21 23:07:25 +03:00
18f7970d80 Fix #16334: Serializer support \JsonSerializable 2020-02-21 17:20:29 +03:00
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
215862a91e Don't test FormatterDate DATE_ATOM with PHP 5.5 (#17879) 2020-02-19 23:22:11 +03:00
93073c9c41 Execute FormatterDate intl test to PHP 5.5+ only (#17876) 2020-02-19 20:17:02 +03:00
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
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
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
f5205a83ea Skip NumberFormatter::asScientific() intl test (#17837) 2020-01-29 15:11:12 +03:00
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
b1da57ddf9 Apply patch to PHPUnit which replaces the deprecated each method (#17831) 2020-01-27 01:41:09 +03:00
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
a982f31606 Fixes #17300: Fix class-level Event handling with wildcards 2020-01-15 13:16:05 +03:00
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
beca7b45d3 Fix #17793: Fix inconsistent handling of null data attribute values in yii\helpers\BaseHtml::renderTagAttributes() 2020-01-10 21:35:09 +03:00
7e471e3010 Fix #17792: Added support for aria attributes to yii\helpers\BaseHtml::renderTagAttributes() 2020-01-10 18:39:00 +03:00
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
0ba9c619c7 Fix #17760: Fix JSON::encode() for \DateTimeInterface under PHP 7.4 2020-01-09 18:52:48 +03:00
48c08d093c Fix #17749: Dispatcher fix if target crashed in PHP 7.0+ 2019-12-26 16:00:53 +03:00
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
bc180ac20d Fix #17745: Fix PostgreSQL query builder drops default value when it is empty 2019-12-18 14:27:10 +03:00
5e71b11d8d #17733: Additional fixes for #17665, Forwarded header parsing in Request
- Remove header from secure headers
- Regexp and return null fix
- Fix tests, fix in array case sensitivity, rx duplicated group name
- Simplify code
- Add phpdoc

Co-Authored-By: Alexander Makarov <sam@rmcreative.ru>
2019-12-17 21:53:55 +03:00
62acca9f3d Fix #17740: yii\helpers\BaseInflector::slug() doesn't replace multiple replacement string occurrences to single one 2019-12-17 15:19:15 +03:00
817c264181 Fix #17661: Fix query builder incorrect IN/NOT IN condition handling for null values 2019-12-17 13:58:07 +03:00
83055dcc33 Fix #17665: Implement RFC 7239 Forwarded header parsing in Request 2019-12-12 23:29:54 +03:00
05aae044e5 Fix #17720: DI 3 support for application core components and default object configurations 2019-12-12 02:48:42 +03:00
88f08005ab Fix #17687: Query::indexBy can now include a table alias 2019-12-12 02:32:40 +03:00
d59c60fac0 Fix BaseMailerTest (#17721) 2019-12-11 22:59:33 +03:00
e88cc3888a Patch PHPUnit mock objects to work correctly with PHP 7.4 2019-12-11 18:55:35 +03:00
c7f07cce94 Fix GridView JS test to click on all elements in a group instead of only first element (#17719) 2019-12-07 01:41:15 +03:00