2698 Commits

Author SHA1 Message Date
5ce0e06cd7 Refactor email validator tests (#15503) 2018-01-16 11:04:29 +03:00
f1277d6d21 Fixes #6844: yii\base\ArrayableTrait::toArray() now allows recursive $fields and $expand 2018-01-15 18:15:32 +03:00
f8990ac97a Fixes #15353: Remove side effect of ActiveQuery::getTablesUsedInFrom() introduced in 2.0.13 2018-01-15 13:02:28 +03:00
6c0540aa2d Fixes #15496: CSRF token is now regenerated on changing identity 2018-01-14 02:13:24 +03:00
7adf3152cb Fixed PHP 5.4 compatibility 2018-01-13 22:29:45 +03:00
e516d64d1e Fixes #15422: Added default roles dynamic definition support via closure for yii\rbac\BaseManager 2018-01-13 21:02:34 +03:00
3c017b6b61 Fixes #15462: Fixed accessChecker configuration error 2018-01-13 20:49:33 +03:00
af83e59406 Fixes #14355: Added ability to pass an empty array as a parameter in console command 2018-01-10 02:51:41 +04:00
a559b9fa76 Fixes #14903: Fixed route with extra dashes is executed controller while it should not 2018-01-09 18:59:07 +04:00
72b69e359a Fixes #15417: Added yii\validators\FileValidator::$minFiles 2018-01-08 02:12:27 +04:00
2dc4e8e6b2 Fixed translating a string when NULL parameter is passed [#15169] 2018-01-04 10:46:56 +05:00
2a742cee9f Fixed yii\behaviors\AttributeTypecastBehavior::$attributeTypes auto-detection fails for rule, which specify attribute with '!' prefix 2018-01-03 15:46:15 +02:00
b8f4397426 Fixes #15432: Fixed wrong value being set in yii\filters\RateLimiter::checkRateLimit() resulting in wrong X-Rate-Limit-Reset header value 2017-12-30 15:16:26 +03:00
33c9b7423c Added cors preflight tests 2017-12-27 14:01:44 -02:00
f199b2bfff Merge branch 'master' of https://github.com/yiisoft/yii2 into command-txn-retry 2017-12-26 13:20:25 +03:00
cc2e28bd0e Add transaction/retry support for yii\db\Command 2017-12-26 13:10:36 +03:00
73fddb004e Fixes #15407 2017-12-24 15:53:25 +02:00
02b4a1c3af Merge pull request #15405 from vladis84/15226-auto-generate-placeholder
Enh #15226: Auto generate placeholder from fields
2017-12-24 15:12:06 +02:00
78d76c3f2c Enh #15226: Auto generate placeholder from fields 2017-12-24 08:07:18 +05:00
e813c20124 Fixes #3250: Added support for events partial wildcard matching 2017-12-24 00:36:54 +03:00
c2cf1f03ca Event wildcards added to Event 2017-12-22 17:32:03 +02:00
072ef77ea5 Prevent source path disclosure when form is represented by an anonymous class 2017-12-22 12:21:32 +02:00
9e0f19ace7 Renamed Html::error() option errorMethod to errorSource 2017-12-22 11:02:08 +02:00
8f2cd050af Fixed Query not to dig inside Expression 2017-12-21 16:16:33 +02:00
f22f4a41c9 Removed empty array tests since it causes issues for ActiveQuery 2017-12-21 01:50:42 +03:00
ba931fa21d Fixes #15356: Fixed multiple bugs in yii\db\Query::getTablesUsedInFrom() 2017-12-21 01:35:08 +03:00
6c731d46d0 #15356: Initial version of yii\db\Query::getTablesUsedInFrom() fix and tests 2017-12-21 01:33:58 +03:00
8fccf7f6ca Event wildcards added 2017-12-20 17:44:03 +02:00
1b8da6d951 Add StringHelper::matchWildcard() (#15389)
`StringHelper::matchWildcard()` added
2017-12-20 16:16:25 +02:00
d7c8286f20 Added test for yii\helpers\BaseConsole (#14212) 2017-12-20 02:18:30 +03:00
605478c043 Fixes #14157: Add support for loading default value CURRENT_TIMESTAMP of MySQL datetime field 2017-12-20 01:45:01 +03:00
315855f7f5 Fixes #15357: Added multi statement support for yii\db\sqlite\Command 2017-12-20 00:02:14 +03:00
eac6a5d6af Fixes #14998: Adjusted variable name in tests 2017-12-19 23:35:33 +03:00
f9cdcf438d Fixes #3087: Added yii\helpers\BaseHtml::error() "errorMethod" option to be able to customize errors display 2017-12-19 23:16:00 +03:00
dc019856b7 Fixes #15355: Fixed yii\db\Query::from() does not work with yii\db\Expression 2017-12-19 21:42:54 +03:00
c8fbe40352 Fixes #9253: Allow variations to be a string for yii\filters\PageCache and yii\widgets\FragmentCache 2017-12-19 12:52:17 +03:00
c06c9a46e3 Merge pull request #15347 from KoJIT2009/di-support-instance-by-property-and-setters
di-support-instance-for-property
2017-12-18 22:31:22 +02:00
6ab93bd4ef a => A (fixes #15380) 2017-12-18 05:45:05 -08:00
0bec2b462c Fixes #14484: Fixed yii\validators\UniqueValidator for target classes with a default scope 2017-12-18 10:41:13 +03:00
f6ae1dc725 Merge branch 'master' into di-support-instance-by-property-and-setters 2017-12-18 00:12:16 +03:00
3b1ff661d8 Fixes #7996: Short syntax for verb in GroupUrlRule 2017-12-18 00:01:24 +03:00
163ac55834 Feature/updated docker testing docs (#15346) [skip ci]
* updated dockerized testing docs, see also https://github.com/yiisoft/yii2/pull/15345#issuecomment-351032168

* added testing notes

* updated dockerized testing docs, fixed paths
2017-12-14 18:10:49 +03:00
a1fa635332 Fixes #15219: Added yii\filters\auth\HttpHeaderAuth 2017-12-14 15:37:22 +03:00
Sam
4d388f6cd2 Fixes #15317: Regenerate CSRF token if an empty value is given 2017-12-14 12:14:51 +03:00
f11f818b18 Fixes #7988: Added \yii\helpers\Console::errorSummary() and \yii\helpers\Json::errorSummary() 2017-12-14 10:59:53 +03:00
Sam
99030465ff Added unit test that checks changelog formatting [skip ci] 2017-12-13 23:48:34 +03:00
713529e042 Fixes #8752: Allow specify $attributeNames as a string for yii\base\Model validate() method 2017-12-13 23:00:36 +03:00
45dca1ff40 di-support-instance-for-property
class name fix.
2017-12-13 16:12:26 +05:00
00bc1c4843 di-support-instance-for-property
add support Instance for object property in dic.
2017-12-12 20:18:44 +05:00
4270470523 Various test fixes (mostly Windows-specific) (#15336) 2017-12-11 22:59:17 +03:00