1417 Commits

Author SHA1 Message Date
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
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
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
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