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
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
1ad85c640b
Bug #15826 : Fixed JavaScript compareValidator in yii.validation.js for attributes not in rules (mgrechanik)
2018-07-19 12:19:32 +08:00
e9ffcb2d12
Fixes #16456 : Fixed OptimisticLockBehavior omitting HTML web forms
2018-07-05 21:16:36 +03:00
80d0c2b05a
Fixes #16365 : Added $filterOnFocusOut option for GridView
2018-07-04 21:42:40 +03:00
e55b3e0ba1
Fixes #16278 : Fixed drop existing views when console migrate/fresh command runs
2018-06-30 02:19:40 +03:00
3555633223
Fixes #14289 : Added yii\db\Command::executeResetSequence() to work with Oracle
2018-06-27 22:29:50 +03:00
68e5a9b315
Fix typo ( #16443 ) [skip ci]
2018-06-26 19:05:49 +03:00
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
292a545642
Fixes #16104 : Fixed yii\db\pgsql\QueryBuilder::dropIndex() to prepend index name with schema name
2018-05-31 17:37:14 +03:00
aeeb6ce39d
Fixes #16252 : Fixed yii\base\DynamicModel for checking exist property
2018-05-30 22:51:52 +03:00
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
33fe3476c7
Fixes #16280 : Fixed yii\base\Model::getActiveValidators() to return correct validators for attribute on scenario
2018-05-21 01:17:34 +05:00
a32cfcc8ef
Fixes #16266 : Fixed yii\helpers\BaseStringHelper where explode would not allow 0 as trim string
2018-05-13 01:14:39 +03:00
1945dc69c7
Fixes #9133 : Added yii\behaviors\OptimisticLockBehavior
2018-05-12 14:43:13 +03:00
a8d95f429d
Fixes #14636 : Views can now use relative paths even when using themed views
2018-05-11 12:50:56 +03:00
84cb255aab
Fixes #16245 : Fixed __isset() in BaseActiveRecord not catching errors
2018-05-11 11:04:00 +03:00
3d96a45f6b
Fixed BC breaking change in Inflector
...
Fixes #16239
2018-05-08 16:39:55 +03:00
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
629a33fd0e
Made Inclector unicode-safe
2018-05-01 12:32:16 +03:00
2b6d181878
Fix #16193 to not reflect origin header for wildcard origins
2018-05-01 00:01:25 +08:00
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
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
2a3428c9e9
Fixes #15875 : afterSave for new models flushes unsaved data
2018-04-24 19:40:21 +03:00
ca614afe2e
Merge pull request #16076 from cebe/time-format-c
...
added test to verify #15298
2018-04-22 21:14:19 +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
314b66827b
added test to verify #15298
2018-04-10 09:40:15 +02:00
ab092f2e21
Fixes #15117 : Fixed yii\db\Schema::getTableMetadata cache refreshing
2018-04-06 16:49:17 +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
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
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
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
0af1c05d6a
yii\db\ActiveRecord::findOne() now accepts column names prefixed with table name
...
fixes #15931
2018-03-21 17:44:22 +01:00
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
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
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
a1a2932131
Added test to check issue #15902
...
Closes #15902
2018-03-17 13:30:27 +02:00
c31f9ac811
Fixes #15878 : Fixed migration with a comment containing an apostrophe
2018-03-15 00:51:32 +03: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
52c80f782d
moved SQL specific test to SQL AR
2018-03-12 11:21:05 +01: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
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