2841 Commits

Author SHA1 Message Date
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
efac23dde7 Fixes #15335: Added FileHelper::unlink() that works well under all OSes 2017-12-11 22:29:31 +03:00
873c2b6b8f Fixed HHVM tests (#15330)
* Fixed Ipv6ExpandingWithInvalidValue test on HHVM

* Skip PgSQLCache tests on HHVM
2017-12-11 15:10:58 +03:00
1b63f7c891 Fixes #15320: Fixed special role checks in yii\filters\AccessRule::matchRole() 2017-12-11 13:18:59 +03:00
1e00a050d7 Fixes #15322: Fixed PHP 7.2 compatibility of FileHelper::getExtensionsByMimeType() 2017-12-10 16:31:42 +03:00
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
d604d80823 Fixes #14043: Added yii\helpers\IpHelper 2017-12-10 01:15:39 +03:00
d2423cd6ca Fixes #15301: Fixed ArrayHelper::filter() to work properly with 0 in values 2017-12-08 16:34:29 +03:00
b20d2692a1 More tests for Console helper (#15285)
* Adding some tests for \yii\helpers\BaseConsole

BaseConsole::input()
BaseConsole::output()
BaseConsole::error()
BaseConsole::prompt()
BaseConsole::confirm()
BaseConsole::select()

* Simplify Console helper stub for obviousness

* Linking to \yii\helpers\Console instead of \yii\helpers\BaseConsole
2017-12-06 12:51:02 +03:00
01ff1f6593 Fixes #15142: Fixed array params replacing in yii\helpers\BaseUrl::current() 2017-12-02 08:26:55 +03:00
2992b9b09d Refactored tests with PHPUnit assert methods (#15260) 2017-11-30 22:10:31 +03:00
8897ea7270 Fixes #15249: Controllers in subdirectories were not visible in commands list 2017-11-30 22:06:24 +03:00
ba38edd393 Fix last time driver use if not support any (#15246) 2017-11-29 22:38:34 +03:00
a6b01a7d1e Сhanges in test case naming (#15228) 2017-11-27 23:34:10 +03:00