Commit Graph

3198 Commits

Author SHA1 Message Date
Elvira Sheina
3c017b6b61 Fixes #15462: Fixed accessChecker configuration error 2018-01-13 20:49:33 +03:00
Elvira Sheina
af83e59406 Fixes #14355: Added ability to pass an empty array as a parameter in console command 2018-01-10 02:51:41 +04:00
Elvira Sheina
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
Elvira Sheina
2dc4e8e6b2 Fixed translating a string when NULL parameter is passed [#15169] 2018-01-04 10:46:56 +05:00
Klimov Paul
2a742cee9f Fixed yii\behaviors\AttributeTypecastBehavior::$attributeTypes auto-detection fails for rule, which specify attribute with '!' prefix 2018-01-03 15:46:15 +02:00
Bizley
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
leandrogehlen
33c9b7423c Added cors preflight tests 2017-12-27 14:01:44 -02:00
Sergey Makinen
f199b2bfff Merge branch 'master' of https://github.com/yiisoft/yii2 into command-txn-retry 2017-12-26 13:20:25 +03:00
Sergey Makinen
cc2e28bd0e Add transaction/retry support for yii\db\Command 2017-12-26 13:10:36 +03:00
Dmitry Dorogin
73fddb004e Fixes #15407 2017-12-24 15:53:25 +02:00
Dmitry Naumenko
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
vladis
78d76c3f2c Enh #15226: Auto generate placeholder from fields 2017-12-24 08:07:18 +05:00
Alexander Makarov
e813c20124 Fixes #3250: Added support for events partial wildcard matching 2017-12-24 00:36:54 +03:00
Klimov Paul
c2cf1f03ca Event wildcards added to Event 2017-12-22 17:32:03 +02:00
SilverFire - Dmitry Naumenko
072ef77ea5 Prevent source path disclosure when form is represented by an anonymous class 2017-12-22 12:21:32 +02:00
SilverFire - Dmitry Naumenko
9e0f19ace7 Renamed Html::error() option errorMethod to errorSource 2017-12-22 11:02:08 +02:00
SilverFire - Dmitry Naumenko
8f2cd050af Fixed Query not to dig inside Expression 2017-12-21 16:16:33 +02:00
Alexander Makarov
f22f4a41c9 Removed empty array tests since it causes issues for ActiveQuery 2017-12-21 01:50:42 +03:00
Alexander Makarov
ba931fa21d Fixes #15356: Fixed multiple bugs in yii\db\Query::getTablesUsedInFrom() 2017-12-21 01:35:08 +03:00
vladis
6c731d46d0 #15356: Initial version of yii\db\Query::getTablesUsedInFrom() fix and tests 2017-12-21 01:33:58 +03:00
Klimov Paul
8fccf7f6ca Event wildcards added 2017-12-20 17:44:03 +02:00
Paul Klimov
1b8da6d951 Add StringHelper::matchWildcard() (#15389)
`StringHelper::matchWildcard()` added
2017-12-20 16:16:25 +02:00
Ilya Rogov
d7c8286f20 Added test for yii\helpers\BaseConsole (#14212) 2017-12-20 02:18:30 +03:00
rossoneri
605478c043 Fixes #14157: Add support for loading default value CURRENT_TIMESTAMP of MySQL datetime field 2017-12-20 01:45:01 +03:00
Sergey Makinen
315855f7f5 Fixes #15357: Added multi statement support for yii\db\sqlite\Command 2017-12-20 00:02:14 +03:00
bscheshirwork
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
Elvira Sheina
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
Dmitry Naumenko
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
brandonkelly
6ab93bd4ef a => A (fixes #15380) 2017-12-18 05:45:05 -08:00
Laszlo
0bec2b462c Fixes #14484: Fixed yii\validators\UniqueValidator for target classes with a default scope 2017-12-18 10:41:13 +03:00
Alexander Makarov
f6ae1dc725 Merge branch 'master' into di-support-instance-by-property-and-setters 2017-12-18 00:12:16 +03:00
Elvira Sheina
3b1ff661d8 Fixes #7996: Short syntax for verb in GroupUrlRule 2017-12-18 00:01:24 +03:00
Tobias Munk
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
Benoît Bouré
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
Elvira Sheina
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
Elvira Sheina
713529e042 Fixes #8752: Allow specify $attributeNames as a string for yii\base\Model validate() method 2017-12-13 23:00:36 +03:00
KoJIT2009
45dca1ff40 di-support-instance-for-property
class name fix.
2017-12-13 16:12:26 +05:00
KoJIT2009
00bc1c4843 di-support-instance-for-property
add support Instance for object property in dic.
2017-12-12 20:18:44 +05:00
Alexander Makarov
4270470523 Various test fixes (mostly Windows-specific) (#15336) 2017-12-11 22:59:17 +03:00
Alexander Makarov
efac23dde7 Fixes #15335: Added FileHelper::unlink() that works well under all OSes 2017-12-11 22:29:31 +03:00
Viktor
873c2b6b8f Fixed HHVM tests (#15330)
* Fixed Ipv6ExpandingWithInvalidValue test on HHVM

* Skip PgSQLCache tests on HHVM
2017-12-11 15:10:58 +03:00
Viktor
1b63f7c891 Fixes #15320: Fixed special role checks in yii\filters\AccessRule::matchRole() 2017-12-11 13:18:59 +03:00
Alexander Makarov
1e00a050d7 Fixes #15322: Fixed PHP 7.2 compatibility of FileHelper::getExtensionsByMimeType() 2017-12-10 16:31:42 +03:00
edwards-sj
23630abe6d Fixes #15302: Fixed yii\caching\DbCache so that getValues now behaves the same as getValue with regards to streams 2017-12-10 01:18:55 +03:00
Dmitry Naumenko
d604d80823 Fixes #14043: Added yii\helpers\IpHelper 2017-12-10 01:15:39 +03:00