Jianjun Chen
2b6d181878
Fix #16193 to not reflect origin header for wildcard origins
2018-05-01 00:01:25 +08:00
杨国帅
2c997cdb82
Fixes #16184 : Fixed yii\base\Widget to access stack property with self instead of static
2018-04-29 12:36:10 +03:00
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
2018-04-29 10:47:09 +03:00
Andrey Akimov
2a3428c9e9
Fixes #15875 : afterSave for new models flushes unsaved data
2018-04-24 19:40:21 +03:00
Dmitry Naumenko
ca614afe2e
Merge pull request #16076 from cebe/time-format-c
...
added test to verify #15298
2018-04-22 21:14:19 +03:00
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
2018-04-22 09:49:07 +03:00
Carsten Brandt
314b66827b
added test to verify #15298
2018-04-10 09:40:15 +02:00
Bob Olde Hampsink
ab092f2e21
Fixes #15117 : Fixed yii\db\Schema::getTableMetadata cache refreshing
2018-04-06 16:49:17 +03:00
pgaultier
35ac718110
Fixes #16006 : Handle case when X-Forwarded-Host header have multiple hosts separated with a comma
2018-03-31 16:17:16 +03:00
Pavel Ivanov
35c3ff2fbd
Fixes #16010 : Fixed yii\filters\ContentNegotiator behavior when GET parameters contain an array
2018-03-30 18:16:52 +03:00
Pavel Ivanov
13ad20551e
Fixes #14660 : Fixed yii\caching\DbCache concurrency issue when set values with the same key
2018-03-30 12:26:19 +03:00
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.
2018-03-27 19:22:56 +03:00
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
2018-03-27 19:22:15 +03:00
Pavel Ivanov
6adc81da4c
Fix master travis builds ( #15971 )
2018-03-25 19:11:07 +03:00
Carsten Brandt
5aa7bffedd
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
Fixed a small spelling mistake
Tweaking a few grammatical bugs (#15932 ) [skip ci]
CacheableWidgetBehaviorTest enhancements (#15930 )
2018-03-21 19:41:35 +01:00
Carsten Brandt
0244abcd5a
Merge branch '2.0.15-dev'
...
* 2.0.15-dev:
release version 2.0.15.1
optimize table name
`yii\db\ActiveRecord::findOne()` now accepts column names prefixed with table name
2018-03-21 19:41:03 +01:00
Carsten Brandt
0af1c05d6a
yii\db\ActiveRecord::findOne() now accepts column names prefixed with table name
...
fixes #15931
2018-03-21 17:44:22 +01:00
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.
2018-03-20 21:11:28 +03:00
Carsten Brandt
52ffaa1b25
Merge branch '2.0.15-dev'
...
* 2.0.15-dev:
prepare for next release
release version 2.0.15
remove ColumnSchema import from mysql Schema because it conflicts with existing class
Added russian docs
Fixed grammar
improved filtering condition on yii\db\ActiveRecord
Wording adjustments and doc enhancements [skip ci]
Fixed possible SQL injection through `ActiveRecord::findOne()`
Fixes #15878 : Fixed migration with a comment containing an apostrophe
Conflicts:
framework/UPGRADE.md
2018-03-20 13:45:22 +01:00
SilverFire - Dmitry Naumenko
b37f361ad7
Fixed possible SQL injection through ActiveRecord::findOne()
2018-03-20 11:20:56 +01:00
Marco Moreno
f33959419a
Fixes #15878 : Fixed migration with a comment containing an apostrophe
2018-03-20 11:19:10 +01:00
SilverFire - Dmitry Naumenko
a1a2932131
Added test to check issue #15902
...
Closes #15902
2018-03-17 13:30:27 +02:00
Marco Moreno
c31f9ac811
Fixes #15878 : Fixed migration with a comment containing an apostrophe
2018-03-15 00:51:32 +03:00
Dmitry Naumenko
7a38c795b4
Merge pull request #15868 from SilverFire/mysql-json-cast-15839
...
Fixed JsonExpressionBuilder to cast JSON explicitly
2018-03-13 12:30:09 +02:00
Carsten Brandt
52c80f782d
moved SQL specific test to SQL AR
2018-03-12 11:21:05 +01:00
Dmitry Naumenko
8be4563341
Merge pull request #15859 from FabrizioCaldarelli/15858-broken-basehtml-collecterrors-with-showallerrors-true
...
15858 broken basehtml collecterrors with showallerrors true
2018-03-10 18:44:10 +02:00
SilverFire - Dmitry Naumenko
79583a2c7e
Reverted casting JsonExpression(null) to SQL NULL
2018-03-10 11:14:08 +02:00
SilverFire - Dmitry Naumenko
c6ea3fb455
Revert "Fixed JsonExpressionBuilder to generate SQL NULL"
...
This reverts commit cf4bd39fc1 .
2018-03-10 11:11:11 +02:00
SilverFire - Dmitry Naumenko
b3f54d1065
Simplified code, enhanced PHPDocs
2018-03-10 10:19:07 +02:00
SilverFire - Dmitry Naumenko
0ca003343b
Fixed test
2018-03-10 10:09:17 +02:00
SilverFire - Dmitry Naumenko
cf4bd39fc1
Fixed JsonExpressionBuilder to generate SQL NULL
...
Fixes #15863
2018-03-10 10:04:41 +02:00
SilverFire - Dmitry Naumenko
cc29ef8968
Fixed JsonExpressionBuilder to cast JSON explicitly
...
Fixes #15839 ;
2018-03-10 09:56:28 +02:00
Dmitry Naumenko
f435284952
Fixed typo
2018-03-09 08:15:51 +02:00
Fabrizio
52263077c0
Bug #15858 : Fixed array undefined offset error calling Html::errorSummary with same error messages from different model attributes. (FabrizioCaldarelli)
2018-03-08 23:24:41 +01:00
SilverFire - Dmitry Naumenko
aed911b5f1
Fixed nesting of JsonExpression, ArrayExpression
2018-03-08 12:45:01 +02:00
Leandro Gehlen
c484792084
Fixes #15840 : Fixed regression on load fixture data file
2018-03-08 00:44:22 +03:00
SilverFire - Dmitry Naumenko
45bccb11c1
Added test to verify #15838
2018-03-05 16:27:03 +02:00
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)
2018-03-05 16:25:59 +02:00
SilverFire - Dmitry Naumenko
78aaca7a87
Fixed CommandTest::testBindValuesSupportsDeprecatedPDOCastingFormat()
2018-03-05 15:49:01 +02:00
SilverFire - Dmitry Naumenko
4e35eb6539
Fixed JSONB support in PostgreSQL 9.4
...
Closes #15829
2018-03-04 20:25:36 +02:00
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"`.
2018-03-04 20:19:45 +02:00
SilverFire - Dmitry Naumenko
66081c6187
Added a unit test to verify #15827
...
Closes #15827
2018-03-03 22:31:42 +02:00
SilverFire - Dmitry Naumenko
b642c36019
Merge branch 'antonmarin-patch-1'
2018-03-03 21:17:42 +02:00
SilverFire - Dmitry Naumenko
8bb31fb9e5
Updated docs, added tests
2018-03-03 21:17:31 +02:00
SilverFire - Dmitry Naumenko
5fa25b331d
Fixed encoding of empty ArrayExpression for PostgreSQL
2018-03-03 20:43:58 +02:00
SilverFire - Dmitry Naumenko
d5d4b8b0f5
Fixed null values handling for PostgresSQL arrays
...
Fixes #15804
2018-03-03 18:54:33 +02:00
SilverFire - Dmitry Naumenko
233eeb52d7
fixed unit tests
2018-03-03 18:12:51 +02:00
SilverFire - Dmitry Naumenko
9a949525a1
Fixed deprecated type casting format in Command::bindValues()
...
Fixed #15817
2018-03-03 17:50:18 +02:00
SilverFire - Dmitry Naumenko
08c87aec4f
Fixed Component::off() not to throw an exception
...
Fixes #15822
2018-03-03 16:37:41 +02:00
xutongle
695218c312
Fix a unit test hand error.
2018-03-03 18:01:44 +08:00