Commit Graph

1243 Commits

Author SHA1 Message Date
Alexander Makarov
9910519aba Revert "Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget"
This reverts commit 7dc38ff402.
2018-10-01 01:04:11 +03:00
Evgeniy Moiseenko
4d26c915dc Additional fix for #14230 2018-09-25 17:41:45 +03:00
Ade Attwood
7dc38ff402 Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget 2018-09-23 13:28:09 +03:00
Evgeniy Moiseenko
a8bfe8bbe6 Fixes #14230: Fixed itemsOptions ignored in checkBoxList 2018-09-19 17:39:21 +03:00
Evgeniy Moiseenko
f7862c16c7 Fixes #14368: Added role attribute for active radio list 2018-09-17 02:26:42 +03:00
Evgeniy Moiseenko
3eba4ea69a Fixes #16680: Fixed ActiveField 'text' input with maxlength 2018-09-13 12:18:18 +03:00
Andrey Akimov
87af257892 Fixes #5341: HasMany via two relations 2018-09-09 23:45:32 +03:00
Elvira Sheina
633d6b93b8 Fixes #15802: Fixed exception class in yii\di\Container 2018-09-09 01:12:32 +03:00
Mikhail
e53fc0ded1 Fixes #16558: Added cloning yii\data\ActiveDataProvider::query property when ActiveDataProvider object is cloned 2018-08-05 15:18:24 +03:00
Alexey
bf5476f253 Fixes #15889: Fixed override yii\helpers\Html::setActivePlaceholder 2018-07-29 00:07:09 +08:00
船歌
1246e5feb3 Fixes #16514: Fixed yii\di\Container::resolveCallableDependencies to support callable object 2018-07-28 00:41:38 +08:00
Carsten Brandt
d0712e4918 added tests to verify issue #16484
the case is to match all module names before a catch-all URL rule.
module routes should work with "module name only", "module
name+controller name" and "module/controller/action".
2018-07-24 16:45:46 +02:00
Salem Ouerdani
e9ffcb2d12 Fixes #16456: Fixed OptimisticLockBehavior omitting HTML web forms 2018-07-05 21:16:36 +03:00
Elvira Sheina
e55b3e0ba1 Fixes #16278: Fixed drop existing views when console migrate/fresh command runs 2018-06-30 02:19:40 +03:00
CedricYii
3555633223 Fixes #14289: Added yii\db\Command::executeResetSequence() to work with Oracle 2018-06-27 22:29:50 +03:00
bscheshirwork
68e5a9b315 Fix typo (#16443) [skip ci] 2018-06-26 19:05:49 +03:00
Razvan Grigore
ca3c8da503 Fixes #16377: Fixed yii\base\Event:off() undefined index error when event handler does not match 2018-06-12 09:50:43 +03:00
Sergey
292a545642 Fixes #16104: Fixed yii\db\pgsql\QueryBuilder::dropIndex() to prepend index name with schema name 2018-05-31 17:37:14 +03:00
Vuong Minh
aeeb6ce39d Fixes #16252: Fixed yii\base\DynamicModel for checking exist property 2018-05-30 22:51:52 +03:00
Viktor
0b61f9ba3b Fixes #16301: Fixed yii\web\User::setIdentity() to clear access check cache while setting identity object to null 2018-05-21 22:19:49 +05:00
Paweł Jankowiak
33fe3476c7 Fixes #16280: Fixed yii\base\Model::getActiveValidators() to return correct validators for attribute on scenario 2018-05-21 01:17:34 +05:00
Thoulah
a32cfcc8ef Fixes #16266: Fixed yii\helpers\BaseStringHelper where explode would not allow 0 as trim string 2018-05-13 01:14:39 +03:00
Salem Ouerdani
1945dc69c7 Fixes #9133: Added yii\behaviors\OptimisticLockBehavior 2018-05-12 14:43:13 +03:00
Sam
a8d95f429d Fixes #14636: Views can now use relative paths even when using themed views 2018-05-11 12:50:56 +03:00
Sam
84cb255aab Fixes #16245: Fixed __isset() in BaseActiveRecord not catching errors 2018-05-11 11:04:00 +03:00
SilverFire - Dmitry Naumenko
3d96a45f6b Fixed BC breaking change in Inflector
Fixes #16239
2018-05-08 16:39:55 +03:00
Dmitry Naumenko
5c15293b1a Merge pull request #16191 from SilverFire/inflector-c2w
Fixed `yii\helpers\Inflector::camel2words()` to work with UTF-8
2018-05-05 08:31:05 +03:00
SilverFire - Dmitry Naumenko
629a33fd0e Made Inclector unicode-safe 2018-05-01 12:32:16 +03:00
Jianjun Chen
2b6d181878 Fix #16193 to not reflect origin header for wildcard origins 2018-05-01 00:01:25 +08:00
SilverFire - Dmitry Naumenko
b9aa0001b6 Fixed yii\helpers\Inflector::camel2words() to work with UTF-8 2018-04-29 13:13:56 +03: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