Commit Graph

3198 Commits

Author SHA1 Message Date
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
Alexander Makarov
5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 2015-02-25 16:01:37 +03:00
Carsten Brandt
db37d03e32 added more tests for russian plurals 2015-02-24 20:42:51 +01:00
Alexander Makarov
54ccd388fe Added tests for Nav and Dropdown 2015-02-24 14:17:03 +03:00
tom--
4512833fac Fixes #7215: Uses OpenSSL crypto lib instead of Mcrypt. Added testing of encrypted data compatibility, both backward and forward 2015-02-24 14:03:41 +03:00
Qiang Xue
a3ea7b774d Fixes #7350: Added yii\helpers\Html::$dataAttributes to support customizing data attributes. 2015-02-23 21:30:45 -05:00
Qiang Xue
e56bf03130 Fixed test break. 2015-02-22 19:33:23 -05:00
Alexander Makarov
00aafc82ef Fixes #7258: Response was sending HTML content type when formatter was set to JSON or XML, nulls were handled wrong 2015-02-21 02:32:09 +03:00
Alexander Makarov
106d6d5e4c Added JsonResponseFormatterTest 2015-02-21 01:57:10 +03:00
Alexander Makarov
c74ea7d54c Fixes #7326: Fixed CollapseTest to run properly on Windows 2015-02-18 12:38:49 +03:00
Qiang Xue
8c444d407b Fixed test break. 2015-02-15 22:49:21 -05:00
Qiang Xue
dd15857eda Fixed test break. 2015-02-15 22:44:42 -05:00
Jose Lorente
98759201ac Fixed bug #7271. Classes that call '*::populateRecord()' after retrieving data from ddbb call now the method on the class of the model returned by '*::instantiate()'. Tests for mysql, elasticsearch and mongodb attached. 2015-02-15 17:25:43 -05:00
Alexander Makarov
c80da0722e Fixed more tests on Windows failing because of line endings 2015-02-15 20:18:18 +03:00
Alexander Makarov
a831271d29 Moved assertEqualsWithoutLE() to \yiiunit\TestCase, fixed some test failures on Windows 2015-02-15 13:03:08 +03:00
Qiang Xue
d188dd10c0 Fixes #3168: Improved the performance of yii\rbac\DbManager::checkAccess() by caching mechanism 2015-02-12 21:29:00 -05:00
pana1990
f85e8f9901 Added group for bootstrap tests
close #7126
2015-02-01 21:13:14 +01:00
Jan Waś
1e5f159f78 override only mssql and sqlite QueryBuilder; throw an exception for composite in condition with a subquery 2015-01-31 22:20:41 -05:00
Jan Waś
f58d096920 fixes #6792, use a simpler composite in condition implementation on dbs other than pgsql 2015-01-31 22:20:41 -05:00
Alexander Makarov
51ace2861c Added test for using source language for missing translation formatting 2015-01-31 01:32:20 +03:00
Alexander Makarov
7e868555c5 Closes #7093 2015-01-31 00:58:56 +03:00
Carsten Brandt
754660ef7b added urlmanager test for default action 2015-01-30 21:58:39 +01:00
Alexander Makarov
e9c08c675c Merge pull request #7081 from pana1990/add-test-collapse
Added to test for Collapse class
2015-01-30 23:53:19 +03:00
Klimov Paul
6e50783ea4 yii\mongodb\Query::select now allows excluding fields 2015-01-30 12:34:19 +02:00
Carsten Brandt
e5e48cd484 added test for Json::encode() and JsonSerializable
close #7084
2015-01-29 19:52:53 +01:00
Klimov Paul
5bda2fe073 yii\console\controllers\AssetController now correctly handles relative image URLs if source and target CSS are under same directory 2015-01-29 15:44:05 +02:00
pana1990
bf4a35a2a4 Added to test for Collapse class 2015-01-29 12:40:12 +01:00
Qiang Xue
5ab1d1a0d1 Fixes #6992. 2015-01-24 08:57:53 -05:00
Ivan Lemeshev
5ab58ac15b Fixes #6991: Fixed exception when using {use class='yii\bootstrap\Nav' type='function'} 2015-01-24 12:34:30 +03:00
Qiang Xue
fe19243da1 Fixes #6969: yii\helpers\ArrayHelper::htmlEncode() and htmlDecode() should not remove non-string data 2015-01-22 21:09:46 -05:00