8166 Commits

Author SHA1 Message Date
cb15a413a7 Fix ODBC Driver 13 for SQL Server error on null (#16039) 2018-04-29 11:05:11 +03:00
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
dd57c5c73b Initialize the property definition as array (#16168) 2018-04-27 13:24:29 +03:00
56a3d21c24 Minor refactoring of BaseActiveRecord::populateRelation() (#16161) 2018-04-26 19:09:26 +03:00
2a3428c9e9 Fixes #15875: afterSave for new models flushes unsaved data 2018-04-24 19:40:21 +03:00
e2627d19fd Adjusted UploadedFile::getInstance() phpdoc [skip ci] 2018-04-24 15:53:52 +03:00
2e192ae4ea Fixes #16091: Make yii\test\InitDbFixture work with non-SQL DBMS 2018-04-23 15:01:56 +03:00
0b24d92843 Add docs about changes in the yii\validators\ExistValidator mentioned in #8092 (#16136) [skip ci] 2018-04-23 00:38:17 +03:00
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
713a8b92f8 Fix action name in commentaries (list -> index) (#16124) [skip ci]
Signed-off-by: filipe1309 <filipe1309@outlook.com>
2018-04-19 00:01:00 +03:00
1d336963a5 Updated asset installation info (#16112) [skip ci] 2018-04-18 00:14:27 +03:00
14984328e5 SCA with Php Inspections (EA Ultimate) (#16105) 2018-04-16 13:22:54 +03:00
abeb3b1a37 Fixes #16073: Fixed regression in Oracle IN condition builder for more than 1000 items 2018-04-13 14:53:06 +03:00
ab092f2e21 Fixes #15117: Fixed yii\db\Schema::getTableMetadata cache refreshing 2018-04-06 16:49:17 +03:00
yc
b8a3fa4ff9 Re-extracted Chinese messages and translated them (#16041) [skip ci] 2018-04-05 11:38:29 +03:00
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