8151 Commits

Author SHA1 Message Date
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
35c3ff2fbd Fixes #16010: Fixed yii\filters\ContentNegotiator behavior when GET parameters contain an array 2018-03-30 18:16:52 +03:00
13ad20551e Fixes #14660: Fixed yii\caching\DbCache concurrency issue when set values with the same key 2018-03-30 12:26:19 +03:00
d880148fd0 Add php-intl dependency info for SluggableBehavior (#15997) [skip ci] 2018-03-28 13:25:31 +03:00
ba9f038586 Added extra upgrade note about CSRF cookies [skip ci] 2018-03-27 16:30:49 +03:00
af24cf9a93 Fixes #15988: Fixed bash completion 2018-03-27 13:10:43 +03:00
ff5616f1ff framework/messages/ja/yii.php updated (#15979) [skip ci] 2018-03-25 19:12:32 +03:00
6adc81da4c Fix master travis builds (#15971) 2018-03-25 19:11:07 +03:00
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
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
20aa508018 release version 2.0.15.1 2018-03-21 19:36:53 +01:00
b195d9e780 optimize table name 2018-03-21 18:07:30 +01:00
0af1c05d6a yii\db\ActiveRecord::findOne() now accepts column names prefixed with table name
fixes #15931
2018-03-21 17:44:22 +01:00
be73606eee Fixed a small spelling mistake 2018-03-20 18:22:49 -06:00
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
33b45f6bba prepare for next release 2018-03-20 13:42:13 +01:00
702618a863 release version 2.0.15 2018-03-20 13:41:23 +01:00
a33b09dab3 remove ColumnSchema import from mysql Schema because it conflicts with existing class 2018-03-20 13:40:28 +01:00
a38302fdfd improved filtering condition on yii\db\ActiveRecord 2018-03-20 11:42:28 +01:00
5f75916cde Wording adjustments and doc enhancements [skip ci] 2018-03-20 11:20:56 +01:00
b37f361ad7 Fixed possible SQL injection through ActiveRecord::findOne() 2018-03-20 11:20:56 +01:00
f33959419a Fixes #15878: Fixed migration with a comment containing an apostrophe 2018-03-20 11:19:10 +01:00
8a80e48f1d Fixes in docs [skip ci] (#15909) 2018-03-16 17:54:20 +03:00
a7ccf65855 Update UPGRADE.md
fixes #15899
2018-03-15 13:18:59 +01:00
c31f9ac811 Fixes #15878: Fixed migration with a comment containing an apostrophe 2018-03-15 00:51:32 +03:00
d4c4294318 #15899 Updated cebe/markdown composer constraint 2018-03-15 00:48:00 +03:00
61186b5bd5 prepare for next release 2018-03-13 16:15:29 +02:00
4bfe5e7a49 release version 2.0.14.2 2018-03-13 16:15:01 +02:00
4ad04be2ea Fixed null saving for JSON and Array cols in AR
Fixes #15863
2018-03-13 16:03:46 +02:00
dd08c028a4 Reordered changelog [skip ci] 2018-03-13 15:46:29 +02:00
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
1a74b3d4f8 [minor] SCA with Php Inspections (EA Ultimate) (#15871)
* Php Inspections (EA Ultimate): use type casting where applicable

* Php Inspections (EA Ultimate): use constants where applicable

* Php Inspections (EA Ultimate): CS

* Php Inspections (EA Ultimate): address some of one-time used variables

* Php Inspections (EA Ultimate): address some of performance-related findings

* Php Inspections (EA Ultimate): address some of performance-related findings

* Php Inspections (EA Ultimate): revert a constant usage

* Php Inspections (EA Ultimate): revert sequential assignments

* Php Inspections (EA Ultimate): build is green again

* Php Inspections (EA Ultimate): revert array_merge tweaks

* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak

* Update description [skip ci]

* Php Inspections (EA Ultimate): CS
2018-03-12 01:37:19 +03:00
80da46c32d REST OPTIONS Action bug fix with Header name (#15869) 2018-03-10 23:59:46 +03:00
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
5e16c67673 Merge pull request #15797 from kalessil/master
[minor] Static code analysis
2018-03-10 15:42:48 +02:00
79583a2c7e Reverted casting JsonExpression(null) to SQL NULL 2018-03-10 11:14:08 +02:00
c6ea3fb455 Revert "Fixed JsonExpressionBuilder to generate SQL NULL"
This reverts commit cf4bd39fc1927c3cbe85c08c6fc473d60921d96f.
2018-03-10 11:11:11 +02:00
b3f54d1065 Simplified code, enhanced PHPDocs 2018-03-10 10:19:07 +02:00
cf4bd39fc1 Fixed JsonExpressionBuilder to generate SQL NULL
Fixes #15863
2018-03-10 10:04:41 +02:00
cc29ef8968 Fixed JsonExpressionBuilder to cast JSON explicitly
Fixes #15839;
2018-03-10 09:56:28 +02:00
f3ad7a79e1 Merge pull request #15857 from SilverFire/nested-jsonexpression-15836
Fixed nesting of JsonExpression, ArrayExpression
2018-03-09 17:19:11 +02:00
e72c31dc0b Fixed changelog formatting 2018-03-09 15:51:49 +03:00
14b76d3a7a Updated Greek messages. 2018-03-09 11:18:52 +02:00
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
aed911b5f1 Fixed nesting of JsonExpression, ArrayExpression 2018-03-08 12:45:01 +02:00
a98552ef64 Fix PostgreSQL aray field typecast when $disableArraySupport is true 2018-03-08 00:58:13 -03:00
ca4e1a5c9c #15776: Removed unnecessary UPGRADE note, added @berosoboy to changelog [skip ci] 2018-03-08 01:40:02 +03:00
92213864d9 Fixes #15776: Fixed slow MySQL constraints retrieving 2018-03-08 00:45:22 +03:00
c484792084 Fixes #15840: Fixed regression on load fixture data file 2018-03-08 00:44:22 +03:00
4391ca7f7b Connection::getTransaction() adjust phpdoc to also return null (#15848) [skip ci] 2018-03-07 23:45:50 +03:00