2613 Commits

Author SHA1 Message Date
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
0948109a19 Fixes #15221: Console improvements 2017-11-26 14:43:05 +08:00
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
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
d50822dfa5 test case for #15172 2017-11-17 22:35:35 +01:00
821b007698 Updated base-image for dockerized tests, examples, GitLab config (#15181) 2017-11-17 22:35:05 +03:00
bce830a8b0 Fixed tests for PHP 7.2 #15154 (#15171) 2017-11-17 10:31:03 +03:00
75dbdb0083 Fixes #14568: Refactored migration templates to use safeUp() and safeDown() methods 2017-11-15 00:49:40 +03:00
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
48bf8ce048 Fixes #14662: Added support for custom Content-Type specification to yii\web\JsonResponseFormatter 2017-11-15 00:39:32 +03:00
10e7b1b541 Fixes #14276: Fixed I18N format with dotted parameters 2017-11-15 00:26:10 +03:00
988440caae Add test for Yii::createObject(); (#15129) 2017-11-15 00:24:05 +03:00
85b65c889a Fixes #15117: Fixed DB schema cache did not honor table prefixes 2017-11-11 23:42:41 +03:00
4e176ca325 Fixes #15108: Fixed yii\db\Schema::getSchemaNames() for MSSQL and added tests for all DBMSes 2017-11-07 19:20:14 +03:00
b354b26d03 Fixes #15081: Fixed "Undefined offset: 1" in log Target 2017-11-03 21:51:49 +03:00
3dd55954e8 Fixed tests 2017-11-03 01:27:13 +03:00
13cd7d7ee0 Fixes #6588: Fixed changing array keys after validation of multiple files in yii\validators\FileValidator 2017-11-01 12:26:25 +03:00
5c6ba33e55 Disabled only PgSQL tests of DbSession in HHVM 2017-11-01 08:05:02 +02:00
0dede3922d Disabled DbSession tests for HHVM 2017-11-01 07:39:41 +02:00
fb23b0d0ea Code style fixes 2017-11-01 02:43:02 +03:00
4831263716 Fixed tests for HHVM and PHP 5.4 2017-10-31 23:23:51 +02:00
993eb5dcf8 Fixed RBAC tests
Before the fix, in case when RBAC tests for PgSQL and MySQL are runed
in same process sequentially, the second one reused old DB connection
creating mess in DBMS. Ha, see the rhyme: Creating mess in DBMS. :D
2017-10-31 22:00:36 +02:00
2faf771118 Fixes #13436: Fixed migration for MSSQL DbSession 2017-10-31 12:50:37 +03:00