Jianjun Chen
2b6d181878
Fix #16193 to not reflect origin header for wildcard origins
7 years ago
杨国帅
2c997cdb82
Fixes #16184 : Fixed `yii\base\Widget` to access `stack` property with `self` instead of `static`
7 years ago
Alexey
f5665a0544
fix #15798 (yii\grid\CheckboxColumn, yii\grid\RadioButtonColumn conte… ( #16021 )
...
* fix #15798 (yii\grid\CheckboxColumn, yii\grid\RadioButtonColumn content option has no effect)
* fix #15798 update pl, call parent method
* add test for content options in checkboxcolumn and radiobuttoncolumn
* update changelog by #15798
7 years ago
Andrey Akimov
2a3428c9e9
Fixes #15875 : afterSave for new models flushes unsaved data
7 years ago
Filippo Tessarotto
4f41d1118c
FileCache: rebuild cache file before touch when different file owner ( #16120 )
...
* Test Travis envs
* The fix
* posix_geteuid only exists on Linux
* Added PR to changelog
7 years ago
Carsten Brandt
314b66827b
added test to verify #15298
7 years ago
Bob Olde Hampsink
ab092f2e21
Fixes #15117 : Fixed `yii\db\Schema::getTableMetadata` cache refreshing
7 years ago
pgaultier
35ac718110
Fixes #16006 : Handle case when `X-Forwarded-Host` header have multiple hosts separated with a comma
7 years ago
Pavel Ivanov
35c3ff2fbd
Fixes #16010 : Fixed `yii\filters\ContentNegotiator` behavior when GET parameters contain an array
7 years ago
Pavel Ivanov
13ad20551e
Fixes #14660 : Fixed `yii\caching\DbCache` concurrency issue when set values with the same key
7 years ago
Pavel Ivanov
839112a919
Issue #14834 : skip 'TIMESTAMP' definition test when NO_ZERO_DATE enabled ( #15987 )
...
This is a temporary patch to be able to run tests on local configurations without additional MySQL 5.7 tuning.
This will not affect travis builds because travis running with NO_ZERO_DATE disabled.
7 years ago
Pavel Ivanov
4e940a2772
Fix travis builds for 'nightly' php ( #15992 )
...
1) Fixed unexpected exceptions (PHP nightly): https://travis-ci.org/yiisoft/yii2/jobs/358866164#L789
2) Fixed session issues (PHP hhvm): https://travis-ci.org/yiisoft/yii2/jobs/358866162#L841
3) Excluded unicode characters check from 'nightly' PHP version
4) Also deprecated InvalidParamException replaced with InvalidArgumentException
7 years ago
Pavel Ivanov
6adc81da4c
Fix master travis builds ( #15971 )
7 years ago
Carsten Brandt
0af1c05d6a
`yii\db\ActiveRecord::findOne()` now accepts column names prefixed with table name
...
fixes #15931
7 years ago
Pavel Ivanov
8aebdd8c17
CacheableWidgetBehaviorTest enhancements ( #15930 )
...
1) Better PhpDoc (removed PhpStorm warnings)
2) Small speed optimization: there is no need 42 iterations for counter increment test. 2 is enough.
7 years ago
SilverFire - Dmitry Naumenko
b37f361ad7
Fixed possible SQL injection through `ActiveRecord::findOne()`
7 years ago
Marco Moreno
f33959419a
Fixes #15878 : Fixed migration with a comment containing an apostrophe
7 years ago
SilverFire - Dmitry Naumenko
a1a2932131
Added test to check issue #15902
...
Closes #15902
7 years ago
Marco Moreno
c31f9ac811
Fixes #15878 : Fixed migration with a comment containing an apostrophe
7 years ago
Carsten Brandt
52c80f782d
moved SQL specific test to SQL AR
7 years ago
SilverFire - Dmitry Naumenko
79583a2c7e
Reverted casting JsonExpression(null) to SQL NULL
7 years ago
SilverFire - Dmitry Naumenko
c6ea3fb455
Revert "Fixed JsonExpressionBuilder to generate SQL NULL"
...
This reverts commit cf4bd39fc1
.
7 years ago
SilverFire - Dmitry Naumenko
b3f54d1065
Simplified code, enhanced PHPDocs
7 years ago
SilverFire - Dmitry Naumenko
0ca003343b
Fixed test
7 years ago
SilverFire - Dmitry Naumenko
cf4bd39fc1
Fixed JsonExpressionBuilder to generate SQL NULL
...
Fixes #15863
7 years ago
SilverFire - Dmitry Naumenko
cc29ef8968
Fixed JsonExpressionBuilder to cast JSON explicitly
...
Fixes #15839 ;
7 years ago
Dmitry Naumenko
f435284952
Fixed typo
7 years ago
Fabrizio
52263077c0
Bug #15858 : Fixed array undefined offset error calling Html::errorSummary with same error messages from different model attributes. (FabrizioCaldarelli)
7 years ago
SilverFire - Dmitry Naumenko
aed911b5f1
Fixed nesting of JsonExpression, ArrayExpression
7 years ago
Leandro Gehlen
c484792084
Fixes #15840 : Fixed regression on load fixture data file
7 years ago
SilverFire - Dmitry Naumenko
45bccb11c1
Added test to verify #15838
7 years ago
SilverFire - Dmitry Naumenko
fcea028cf1
Disabled UrlTest for HHVM in Travis
...
Probably, this change will fix random exception during HHVM build
on travis:
ps_files_cleanup_dir: opendir(/var/lib/hhvm/sessions) failed: Permission denied (13)
7 years ago
SilverFire - Dmitry Naumenko
78aaca7a87
Fixed CommandTest::testBindValuesSupportsDeprecatedPDOCastingFormat()
7 years ago
SilverFire - Dmitry Naumenko
4e35eb6539
Fixed JSONB support in PostgreSQL 9.4
...
Closes #15829
7 years ago
SilverFire - Dmitry Naumenko
f7da602250
PgSQL: Fix table schema load for table name in quotes
...
This commit fixes the table schema loading for PostgreSQL, when
the table name is specified in quotes, e.g. `"type"`.
7 years ago
SilverFire - Dmitry Naumenko
66081c6187
Added a unit test to verify #15827
...
Closes #15827
7 years ago
SilverFire - Dmitry Naumenko
8bb31fb9e5
Updated docs, added tests
7 years ago
SilverFire - Dmitry Naumenko
5fa25b331d
Fixed encoding of empty ArrayExpression for PostgreSQL
7 years ago
SilverFire - Dmitry Naumenko
d5d4b8b0f5
Fixed `null` values handling for PostgresSQL arrays
...
Fixes #15804
7 years ago
SilverFire - Dmitry Naumenko
233eeb52d7
fixed unit tests
7 years ago
SilverFire - Dmitry Naumenko
9a949525a1
Fixed deprecated type casting format in Command::bindValues()
...
Fixed #15817
7 years ago
SilverFire - Dmitry Naumenko
08c87aec4f
Fixed `Component::off()` not to throw an exception
...
Fixes #15822
7 years ago
xutongle
695218c312
Fix a unit test hand error.
7 years ago
xutongle
d704f87219
Fix a unit test hand error.
7 years ago
Fabrizio
12afecf9ce
Added test to check has-error class on tabular input
7 years ago
Fabrizio
c4d8fd00b5
Added test to check has-error class on tabular input
7 years ago
berosoboy
061f75e15f
Fix PHPDoc [skip ci]
7 years ago
Sergey Makinen
ac687aab29
Fixed yii\db\Command::upsert() for Cubrid/MSSQL/Oracle
7 years ago
Sergey Makinen
ebc306299c
Fix MSSQL tests
7 years ago
Sergey Makinen
766f24945c
Fix Oracle tests
7 years ago