Commit Graph

1727 Commits

Author SHA1 Message Date
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
Carsten Brandt
1b58afc1a2 removed extension test cases which have been moved to ext repositories 2015-03-23 19:50:09 +01:00
Carsten Brandt
fd3f35bf4a application tests have been moved to their own repo 2015-03-22 20:27:23 +01:00
Carsten Brandt
d33e75a7fd possible fix for gridview checkall name
https://github.com/yiisoft/yii/issues/3810
2015-03-20 17:55:46 +01:00
Carsten Brandt
0a6715bd0b enhanced default value for ListView Sort attribute labels
fixes #7530
close #7561
2015-03-20 14:18:52 +01:00
Klimov Paul
f65ca1649a yii\authclient\clients\GoogleOpenId restored 2015-03-18 13:22:24 +02:00
Alexander Makarov
0e567bdd9c Fixed tests 2015-03-07 00:31:22 +03:00
Alexander Makarov
b7a29e38d9 Fixes #6895: Added ignoreCategories config option for message command to ignore categories specified 2015-03-06 21:51:42 +03:00
Carsten Brandt
65a2c54974 fixed unicode in FormatConverter escaping
fixes #7603
2015-03-06 16:01:05 +01:00
pana1990
db8a6104b9 Deleted spaces [skip ci] 2015-03-06 10:45:41 +01:00
SilverFire
12fe0c7b85 Fixes #7488: Added StringHelper::explode to perform explode with trimming and skipping of empty elements 2015-03-05 19:10:38 +03:00
Carsten Brandt
0772f0ebb2 fixed postgres tests 2015-03-04 04:31:16 +01:00
Alexander Makarov
0eecb6ab1e Fixes #7529: Fixed yii\web\Response::sendContentAsFile() that was broken in 2.0.3 2015-03-04 00:41:44 +03:00
Brandon Kelly
7a37c47bb2 Fixed #7150 - support ICU single quote syntaxes
- When converting an ICU date/time format to PHP, text within single quotes will be replaced with backslashes in front of each character (the PHP date() method for escaping text), and double-single quotes will be replaced with single quotes.
- When converting an ICU date/time format to jQuery UI, text  within single quotes, and double-single quotes, will each be preserved (rather than parsed for date/time format symbols), as jQuery UI uses the same text escaping and single quote syntax as ICU.
- Add support for '' within 'escaped text' E.g. 'o''clock'

close #7151
2015-03-01 00:02:35 +01:00
Carsten Brandt
ba6bce4e2d fixed DateValidator to work with multibyte strings
fixes #6835
2015-02-28 23:45:17 +01:00
Yoyon Cahyono
8b5e16ed56 compare position at which date value parsing ended with its string length to ensure validation when using php intl extension to parse date value
- fixes #6553
- Add additional testValidateAttributeICUFormat() test case using "2012-12-12foo" for "yyyy-MM-dd" date format
- close #6835
2015-02-28 23:33:17 +01:00
Nikolay Bogolubov
2e414632be fix EmailValidator - added unit tests
close #7183
fixes #7172
2015-02-28 23:04:12 +01:00
Qiang Xue
f57a517f6d Fixes #7449: Added encode option to allow not encoding select options for Html::dropDownList() and Html::listBox() 2015-02-26 21:24:46 -05:00
Anton Ivanov
36aa65287a Enh #7449: HtmlTest improvements 2015-02-26 21:09:33 -05:00
Alexander Makarov
e30b6e1d5b Merge branch 'master' into log-db-target-timestamp 2015-02-26 04:07:34 +03:00
Alexander Makarov
187322052d Fixed converting double to PHP type 2015-02-26 02:37:47 +03:00
Alexander Makarov
384607832f Added failing test for #7384 2015-02-25 16:04:12 +03:00