2698 Commits

Author SHA1 Message Date
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
c0d8b0a817 Fixed sqlite tests
Prevent marking some tests as risky
2017-10-30 22:13:17 +02:00
06d7a1f0c6 Improved ConnectionTest performance
Methods testMastersShuffled and testMastersSequential executed about 30 seconds each.
This commit reduces execution time to 2-5 seconds each.
2017-10-30 20:34:35 +02:00
dbe7f7cac0 Disabled slow test on Travis 2017-10-30 19:50:03 +02:00
e311001ef5 #14543: Adjusted implementation of migration name length limit 2017-10-27 00:20:37 +03:00
336404e0b9 PHP7.2RC5: enabled INTL tests, continue disabling some cases in FileValidator 2017-10-26 12:29:48 +03:00
376006a2d5 Data filter enhancements and docs
- Added docs.
- Moved to "data" namespace.
- Moved messages to "yii" category.
- Added Russian messages translation.
2017-10-26 11:32:52 +03:00
614fb52c45 Fixes #14543: Throw exception when trying to create migration longer than 255 symbols 2017-10-23 23:21:44 +03:00
7e7faeebd1 Fixed excess escaping in Command::batchInsert() (#13236) 2017-10-23 22:43:39 +03:00
64d8af61a6 Fixes for PHP 7.2 compatibility (#14959) 2017-10-19 01:54:40 +03:00
d49ec7b8be Fixes #14633: Add miliseconds to log time in \yii\log\Target 2017-10-18 17:53:10 +03:00
560d5b53e7 unit test fix 2017-10-10 12:42:06 +03:00
744b87fabc Fixes #4479: Implemented REST filters 2017-10-09 00:01:58 +02:00
c9de616b4c Fixes #13403: Added 'permissions' additionally to 'roles' in yii\filters\AccessRule in order to be able to specify these separately 2017-10-08 23:50:59 +02:00
ea2c475ea7 Moved HTTP_AUTHORIZATION header check to \yii\web\Request, added docs
Closes #13564
2017-10-08 23:22:11 +03:00
c78201899b Fixes #13720: Improve yii\helpers\FormatConverter::convertDatePhpToIcu() to handle escaped chars correctly 2017-10-08 18:07:26 +02:00