Alexander Makarov
93073c9c41
Execute FormatterDate intl test to PHP 5.5+ only ( #17876 )
5 years ago
Viktor Pikaev
c901608af7
Fix #17863 : `\yii\helpers\BaseInflector::slug()` doesn't work with an empty string as a replacement argument
5 years ago
Arthur Skobara
a19dd48b79
Fix #7622 : Allow `yii\data\ArrayDataProvider` to control the sort flags for `sortModels` through `yii\data\Sort::sortFlags` property
5 years ago
haveyaseen
82b7ecbdf3
Fix #17828 : Fix `yii\web\UploadedFile::saveAs()` failing when error value in `$_FILES` entry is a string
5 years ago
Alexander Makarov
f5205a83ea
Skip NumberFormatter::asScientific() intl test ( #17837 )
5 years ago
rhertogh
b794d76056
Fix #17829 : `yii\helpers\ArrayHelper::filter` now correctly filters data when passing a filter with more than 2 levels
5 years ago
haveyaseen
b1da57ddf9
Apply patch to PHPUnit which replaces the deprecated each method ( #17831 )
5 years ago
Ather Shu
038ce9f77e
Fix #17755 : Fix a bug for web request with `trustedHosts` set to format `['10.0.0.1' => ['X-Forwarded-For']]`
5 years ago
Toma91
a982f31606
Fixes #17300 : Fix class-level Event handling with wildcards
5 years ago
Yusup Hambali
cf0e56907f
Fix #17037 , Fix #17729 : Fix uploaded file saving for multipart forms, add path alias support for UploadFile::saveAs()
5 years ago
Brandon Kelly
beca7b45d3
Fix #17793 : Fix inconsistent handling of null `data` attribute values in `yii\helpers\BaseHtml::renderTagAttributes()`
5 years ago
Brandon Kelly
7e471e3010
Fix #17792 : Added support for `aria` attributes to `yii\helpers\BaseHtml::renderTagAttributes()`
5 years ago
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>
5 years ago
Alexander Makarov
0ba9c619c7
Fix #17760 : Fix `JSON::encode()` for `\DateTimeInterface` under PHP 7.4
5 years ago
Somogyi Márton
48c08d093c
Fix #17749 : Dispatcher fix if target crashed in PHP 7.0+
5 years ago
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)
5 years ago
Dmitriy Derepko
bc180ac20d
Fix #17745 : Fix PostgreSQL query builder drops default value when it is empty
5 years ago
Somogyi Márton
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>
5 years ago
Evgeny
62acca9f3d
Fix #17740 : `yii\helpers\BaseInflector::slug()` doesn't replace multiple replacement string occurrences to single one
5 years ago
Hubert Strychalski
817c264181
Fix #17661 : Fix query builder incorrect IN/NOT IN condition handling for null values
5 years ago
Mikk Tendermann
83055dcc33
Fix #17665 : Implement RFC 7239 `Forwarded` header parsing in Request
5 years ago
Yusup Hambali
05aae044e5
Fix #17720 : DI 3 support for application core components and default object configurations
5 years ago
Brandon Kelly
88f08005ab
Fix #17687 : `Query::indexBy` can now include a table alias
5 years ago
Yusup Hambali
d59c60fac0
Fix BaseMailerTest ( #17721 )
5 years ago
Alexander Makarov
e88cc3888a
Patch PHPUnit mock objects to work correctly with PHP 7.4
5 years ago
Alexander Makarov
c7f07cce94
Fix GridView JS test to click on all elements in a group instead of only first element ( #17719 )
5 years ago
Alexander Makarov
8911141150
Migrate Travis from .org to .com
5 years ago
Bizley
1a8c83ba43
Fix #17694 : Fixed Error Handler to clear registered view tags, scripts, and files when rendering error view through action view
5 years ago
Brandon Kelly
40797c1139
Fix #17701 : Throw `BadRequetHttpException` when request params can’t be bound to `bool`, `int`, and `float` controller action arguments
5 years ago
Somogyi Márton
6c1b2db9de
Fix #17434 : IE Ajax redirect fix for non 11.0 versions
5 years ago
Somogyi Márton
b388aec1a2
IpValidator test fix ( #17658 )
5 years ago
AlexRas007
9c5cd51a3b
Fix #17632 : Unicode file name was not correctly parsed in multipart forms
5 years ago
alex-code
b0b1c82ae9
Fix #17648 : Handle empty column arrays in console `Table` widget
5 years ago
Yuriy Mamaev
40fff67aa4
Fix #8225 : Fixed AJAX validation with checkboxList was only triggered on first select
5 years ago
Brandon Kelly
d7f69b6676
Fix #17625 : Fix boolean `data` attributes from subkeys rendering in `Html::renderTagAttributes()`
5 years ago
Evgeny
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
5 years ago
Andrii Vasyliev
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`
5 years ago
Brandon Kelly
5efe0bda8f
Fix #17585 : Fix `yii\i18n\Formatter` including the `@calendar` locale param in `Yii::t()` calls
5 years ago
Somogyi Márton
6a2777fc6d
Add Request tests for already resolved IP case #17521 ( #17594 )
5 years ago
Somogyi Márton
9054cdfdcc
Fixes #17521 : Request::getUserHost() and request::getUserIp() ( #17593 )
5 years ago
Somogyi Márton
c87855b31c
Fix #17573 : `Request::getUserIP()` security fix for the case when `Request::$trustedHost` and `Request::$ipHeaders` are used
5 years ago
Alexander Makarov
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.
5 years ago
Viktor Khokhryakov
4c76dc4c90
Fix #16610 : ErrorException trace was cut when using XDebug
5 years ago
Alexandr Kozhevnikov
96cd8bcb68
Fix #16826 : `appendTimestamp` support was added to `View` methods `registerCssFile()` and `registerJsFile()`
5 years ago
Alexander Kartavenko
97499315a4
Fix #17539 : Fixed error when using `batch()` with `indexBy()` with MSSQL
5 years ago
Dmitry V. Alekseev
6e2b1782e5
Fix #16855 : Ignore console commands that have no actions
5 years ago
Razvan Grigore
062ebf5c0b
Fix #17549 : Fix `yii\db\ExpressionInterface` not supported in `yii\db\conditions\SimpleConditionBuilder`
5 years ago
Alexander Makarov
e7c6d3d889
Fix incorrect constant reference
5 years ago
Manu311
cc5bb71f75
Fix #17449 : Ensure `CHECK` statement goes after `COMMENT` in MySQL `QueryBuilder::addCommentOnColumn()`
5 years ago
Somogyi Márton
10a069a3a4
Fix #17434 : Fixed Internet Explorer 11 AJAX redirect bug in case of 301 and 302 response codes (`XMLHttpRequest: Network Error 0x800c0008`)
5 years ago