3334 Commits

Author SHA1 Message Date
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
8911141150 Migrate Travis from .org to .com 2019-12-06 19:10:42 +03:00
1a8c83ba43 Fix #17694: Fixed Error Handler to clear registered view tags, scripts, and files when rendering error view through action view 2019-12-03 21:36:48 +03:00
40797c1139 Fix #17701: Throw BadRequetHttpException when request params can’t be bound to bool, int, and float controller action arguments 2019-12-03 12:40:56 +03:00
6c1b2db9de Fix #17434: IE Ajax redirect fix for non 11.0 versions 2019-11-18 12:45:35 +03:00
b388aec1a2 IpValidator test fix (#17658) 2019-11-07 19:36:39 +02:00
9c5cd51a3b Fix #17632: Unicode file name was not correctly parsed in multipart forms 2019-11-05 14:42:22 +03:00
b0b1c82ae9 Fix #17648: Handle empty column arrays in console Table widget 2019-11-04 00:43:05 +03:00
40fff67aa4 Fix #8225: Fixed AJAX validation with checkboxList was only triggered on first select 2019-10-22 12:32:41 +03:00
d7f69b6676 Fix #17625: Fix boolean data attributes from subkeys rendering in Html::renderTagAttributes() 2019-10-22 12:26:28 +03:00
09eacd8dc1 Bug #17597: PostgreSQL 12 and partitioned tables support (batyrmastyr)
* yiisoft#17597, pg_constraint.consrc removed in Postgres 12

* yiisoft#17597, load schema for partitioned tables (introduced in Postgres 10)

* messed up with issue number

* #yiisoft#17597 Postgres 12 support, support GENERATED AS IDENTITY columns

* uncleared FileCache leads to falsy failures on subsequent test runs

* moved .sql for postgres 10 and 12 to separate files, added ResetSequence test for GENERATED AS IDENTITY column
2019-10-18 14:57:24 +03:00
da626f507f Fix #17607: Added Yii version 3 DI config compatibility
- Allow `__class` and `__construct()` in configurations
- Allow wider use of `Instance::of`
- Allow static call DI definition like: `[SomeFactory::class, 'createMethod']`
- Add support for `__class` in `createObject`
2019-10-17 14:01:00 +03:00
5efe0bda8f Fix #17585: Fix yii\i18n\Formatter including the @calendar locale param in Yii::t() calls 2019-10-07 18:45:51 +03:00
6a2777fc6d Add Request tests for already resolved IP case #17521 (#17594) 2019-10-05 23:54:17 +03:00
9054cdfdcc Fixes #17521: Request::getUserHost() and request::getUserIp() (#17593) 2019-10-05 22:33:29 +03:00
c87855b31c Fix #17573: Request::getUserIP() security fix for the case when Request::$trustedHost and Request::$ipHeaders are used 2019-10-03 14:56:20 +03:00
ce0c7ad096 Fix #17533: Fix mutex testRetryAcquire() on Windows (#17591)
Skip Windows tests for retry delay

https://docs.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleep

> If dwMilliseconds is less than the resolution of the system clock, the thread may sleep for less
> than the specified length of time.
2019-10-03 13:53:35 +03:00
4c76dc4c90 Fix #16610: ErrorException trace was cut when using XDebug 2019-09-18 13:40:10 +03:00
96cd8bcb68 Fix #16826: appendTimestamp support was added to View methods registerCssFile() and registerJsFile() 2019-09-17 14:07:15 +03:00
97499315a4 Fix #17539: Fixed error when using batch() with indexBy() with MSSQL 2019-09-10 20:55:58 +03:00
6e2b1782e5 Fix #16855: Ignore console commands that have no actions 2019-09-10 19:00:43 +03:00
062ebf5c0b Fix #17549: Fix yii\db\ExpressionInterface not supported in yii\db\conditions\SimpleConditionBuilder 2019-09-10 18:21:53 +03:00
e7c6d3d889 Fix incorrect constant reference 2019-09-04 01:20:58 +03:00
cc5bb71f75 Fix #17449: Ensure CHECK statement goes after COMMENT in MySQL QueryBuilder::addCommentOnColumn() 2019-09-03 19:36:37 +03:00
10a069a3a4 Fix #17434: Fixed Internet Explorer 11 AJAX redirect bug in case of 301 and 302 response codes (XMLHttpRequest: Network Error 0x800c0008) 2019-09-03 17:54:14 +03:00
5e38f47275 Fix #16305: Fix FileValidator mime-type validation failure because of case sensitivity 2019-08-27 18:59:26 +03:00
ac8307d5aa Changelog empty contributor name test fix #17528 (#17529) 2019-08-24 22:13:24 +03:00
90d46298ad Fix #17507: Fixed regular expression escaping and simpler condition in Controller::createAction() 2019-08-22 12:11:12 +03:00
cdd40b8dfb Fix #17504: Fix upsert when $updateColumns = true but there are no columns to update in the table 2019-08-21 11:56:20 +03:00
f5776a968c #17508 fix 2019-08-18 08:33:31 +02:00