Commit Graph

3198 Commits

Author SHA1 Message Date
Paul Klimov
a2af3868ad Test for yii\helpers\VarDumper unified 2015-04-22 18:57:47 +03:00
Klimov Paul
f2f211f610 Fallback for object containing \Closure added to yii\helpers\VarDumper::export() 2015-04-22 18:13:40 +03:00
Carsten Brandt
91777ae7cc added test for explicit primary Key on auto increment column
relates to #8071
https://github.com/yiisoft/yii2/pull/8071/files#r28787581
2015-04-21 17:20:32 +02:00
Klimov Paul
6d96d3cbee Fixed yii\db\BaseActiveRecord::updateCounters() fails for new record saved with counter attribute not set 2015-04-21 16:23:00 +03:00
Jan Was
5f099b3f8d Merge branch 'master' into 7374-inserting-ar-without-values 2015-04-21 09:49:46 +02:00
Paul Klimov
30234292ac Merge pull request #8071 from klimov-paul/5042-insert-returning
Insert into returning alternative
2015-04-21 10:33:01 +03:00
Qiang Xue
631d0ffb66 Merge pull request #8055 from Agrumas/patch-2
[REST] extraPatterns should take precedence over patterns
2015-04-20 21:44:20 -04:00
Alexander Makarov
28dce6c9b6 Fixes #7656: Fixed yii\rbac\DbManager::getRolesByUser() and yii\rbac\PhpManager::getRolesByUser() to return roles only 2015-04-21 00:29:04 +03:00
Klimov Paul
8caaba0168 Allow specification of the $key as an array at yii\helpers\ArrayHelper::getValue() 2015-04-20 15:52:32 +03:00
Klimov Paul
1641919643 Fix for tests directory recomposition 2015-04-20 11:28:35 +03:00
Klimov Paul
aa9399c6c0 Merge branch 'master' of github.com:yiisoft/yii2 into 5042-insert-returning 2015-04-20 11:23:38 +03:00
Agrumas
ef912f4e43 [REST] specifying a higher priority rule via extraPatterns 2015-04-19 15:19:33 +03:00
Klimov Paul
85ca8c3712 Added ability to specify hints for model attributes 2015-04-17 14:16:28 +03:00
Alexander Makarov
f21b8511c9 Fixed test 2015-04-17 11:52:57 +03:00
Alexander Makarov
a733ecd40c yii\widgets\LinkPager::$firstPageLabel and yii\widgets\LinkPager::$lastPageLabel now could be set to true in order to use page number as label 2015-04-17 11:51:48 +03:00
Klimov Paul
5ac889cc19 indentation fix 2015-04-16 16:55:25 +03:00
Klimov Paul
c92b1a3758 permissions for Travis scripts fixed 2015-04-16 16:38:49 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00
Kirsa Denis
cafd135022 Fixes #8064: Added ability to remove containing menu tag by setting yii\widgets\Menu::$options['tag'] to false 2015-04-15 13:21:14 +03:00
Klimov Paul
bb4bed4833 Fixed yii\data\ArrayDataProvider::getKeys() return wrong when yii\data\ArrayDataProvider::$allModels contain integer key 2015-04-14 17:07:16 +03:00
Klimov Paul
a8f4e8bee4 yiiunit\framework\db\QueryTest::testCount() fixed to be more generic 2015-04-14 16:58:46 +03:00
Klimov Paul
6bbdb36fac Unit test for yii\data\ArrayDataProvider added 2015-04-14 16:51:46 +03:00
Klimov Paul
2ebe355e8d yiiunit\framework\db\QueryTest fixed to be run for 'mysql' only 2015-04-14 16:28:13 +03:00
Klimov Paul
b8081b59b3 Fixed yii\db\Query::count() fails for query containing 'having' without 'group by' 2015-04-14 16:11:07 +03:00
Carsten Brandt
bfb38c9938 added test group 2015-04-14 00:01:08 +02:00
Carsten Brandt
17011e48b4 added unit test for #8066 2015-04-13 18:21:19 +02:00
Paul Klimov
4e8ee7b001 Use RETURNING for inserts for pgsql and oci to support PKs with a custom default value expression 2015-04-13 17:11:00 +03:00
Alexander Makarov
b806fc7108 Corrected fix for #8032 2015-04-12 12:17:35 +03:00
Carsten Brandt
5306cac4b9 added support for subqueries to simple conditions
fixes #8027
2015-04-12 01:45:21 +02:00
Paul Klimov
3a90be06d6 Merge branch '3376-each-validator'
Conflicts:
	framework/CHANGELOG.md
2015-04-11 14:13:55 +03:00
Jan Waś
9e6b7dea24 add an unit test, which fails for postgresql and oracle 2015-04-11 01:31:20 +02:00
Alexander Makarov
183c4c9496 Silenced migrate command non-error output in DbManagerTestCase 2015-04-11 01:30:54 +03:00
ChristopheBrun
82033125c4 Fixes #8032: yii\rbac\PhpManager::updateItem() was unable to rename item updated 2015-04-11 01:24:32 +03:00
Klimov Paul
35eb833a2b Added yii\validators\EachValidator 2015-04-09 16:48:15 +03:00
Qiang Xue
aead65f2d2 Fixes #7515: Added support to use indexBy() together with column() in query builder 2015-04-08 22:54:30 -04:00
Ezekiel Fernandez
ee4cdfe87c unit test for issue yiisoft/yii2#/7409 testing for CompositeAuth when an action is forwarding to another action in the same controller 2015-04-05 18:17:15 -04:00
Paul Klimov
378937f8d5 yii\console\controllers\AssetController provides dependency trace in case bundle circular dependency detected 2015-04-03 19:22:42 +03:00
John Was
901d640b55 Fixes #7973: Added Schema::getSchemaNames method 2015-04-03 01:03:49 +03:00
John Was
664958548f fix oci\Schema::findConstraints() and pgsql\Schema::findTableNames(); added missing view to oci tests 2015-03-30 23:51:53 +02:00
John Was
29304a185a Fixes #7833: Support (materialized) views and foreign tables along normal tables when fetching table schema 2015-03-30 19:01:12 +03:00
John Was
4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
2015-03-29 21:57:13 +02:00
Carsten Brandt
6f70115642 more verbose error reporting for cubrid 2015-03-29 16:22:02 +02:00
Carsten Brandt
fd99fe1efa made cubrid setup more tolerant to failures
this should now not stop the whole test suite but only fail for cubrid
2015-03-29 15:29:33 +02:00
Qiang Xue
72c34cda1e Fixes #6871: Fixed the bug that using defaults and hostnames in URL rules may cause an out-of-range index issue 2015-03-27 22:52:01 -04:00
Carsten Brandt
7ba05a7fa1 enable travis caching for cubrid again 2015-03-25 18:40:14 +01:00
Carsten Brandt
800391f67a fixed test braek 2015-03-25 18:34:20 +01:00
Carsten Brandt
40ff302f04 fixed travis cubrid db build
issue #7291
2015-03-25 17:23:15 +01:00
DaSourcerer
bdb4a999d3 Testcases for RFC7232, sec 3.2 2015-03-25 00:27:16 +03:00
DaSourcerer
b7ec4e491b Removed scripts from README that are no longer present [skip ci] 2015-03-24 19:48:29 +01:00
Klimov Paul
8f4b4bf6bf Extensions unit tests removed 2015-03-24 13:01:10 +02:00