Commit Graph

2875 Commits

Author SHA1 Message Date
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
hhniao
d2423cd6ca Fixes #15301: Fixed ArrayHelper::filter() to work properly with 0 in values 2017-12-08 16:34:29 +03:00
Pavel Dovlatov
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
IceJOKER
01ff1f6593 Fixes #15142: Fixed array params replacing in yii\helpers\BaseUrl::current() 2017-12-02 08:26:55 +03:00
Gabriel Caruso
2992b9b09d Refactored tests with PHPUnit assert methods (#15260) 2017-11-30 22:10:31 +03:00
IceJOKER
8897ea7270 Fixes #15249: Controllers in subdirectories were not visible in commands list 2017-11-30 22:06:24 +03:00
bscheshirwork
ba38edd393 Fix last time driver use if not support any (#15246) 2017-11-29 22:38:34 +03:00
bscheshirwork
a6b01a7d1e Сhanges in test case naming (#15228) 2017-11-27 23:34:10 +03:00
Brandon Kelly
0948109a19 Fixes #15221: Console improvements 2017-11-26 14:43:05 +08:00
Dmitry Dorogin
5ebf98cc1d Fixes #5515: Added default value for yii\behaviors\BlameableBehavior for cases when the user is guest 2017-11-25 20:39:17 +08:00
Sergey Makinen
b7d5393a08 Fixes #15194: Fixed yii\db\QueryBuilder::insert() to preserve passed params when building a INSERT INTO ... SELECT query for MSSQL, PostgreSQL and SQLite 2017-11-24 15:19:34 +07:00
Carsten Brandt
d50822dfa5 test case for #15172 2017-11-17 22:35:35 +01:00
Tobias Munk
821b007698 Updated base-image for dockerized tests, examples, GitLab config (#15181) 2017-11-17 22:35:05 +03:00
Dmitry Dorogin
bce830a8b0 Fixed tests for PHP 7.2 #15154 (#15171) 2017-11-17 10:31:03 +03:00
Nikolay Oleynikov
75dbdb0083 Fixes #14568: Refactored migration templates to use safeUp() and safeDown() methods 2017-11-15 00:49:40 +03:00
Mikk Tendermann
c009b06114 Fixes #14604: Fixed yii\validators\CompareValidator compareAttribute does not work if compareAttribute form ID has been changed 2017-11-15 00:43:14 +03:00
Nikolay Oleynikov
48bf8ce048 Fixes #14662: Added support for custom Content-Type specification to yii\web\JsonResponseFormatter 2017-11-15 00:39:32 +03:00
Elvira Sheina
10e7b1b541 Fixes #14276: Fixed I18N format with dotted parameters 2017-11-15 00:26:10 +03:00
Alex
988440caae Add test for Yii::createObject(); (#15129) 2017-11-15 00:24:05 +03:00
Sergey Makinen
85b65c889a Fixes #15117: Fixed DB schema cache did not honor table prefixes 2017-11-11 23:42:41 +03:00
Sergey Makinen
4e176ca325 Fixes #15108: Fixed yii\db\Schema::getSchemaNames() for MSSQL and added tests for all DBMSes 2017-11-07 19:20:14 +03:00
Roman Ishchenko
b354b26d03 Fixes #15081: Fixed "Undefined offset: 1" in log Target 2017-11-03 21:51:49 +03:00
Alexander Makarov
3dd55954e8 Fixed tests 2017-11-03 01:27:13 +03:00
Elvira Sheina
13cd7d7ee0 Fixes #6588: Fixed changing array keys after validation of multiple files in yii\validators\FileValidator 2017-11-01 12:26:25 +03:00