Commit Graph

950 Commits

Author SHA1 Message Date
Ragazzo
a5245ad048 added array fixture class 2014-09-07 18:29:16 -04:00
Qiang Xue
a5b06b3468 Mark tests with problematic DBMS as skipped. 2014-09-06 20:22:28 -04:00
Qiang Xue
1cd42222fd Fixed test break. 2014-09-05 23:34:23 -04:00
Qiang Xue
61284ed405 Fixes #3910: Removed the container option from Html::checkbox() and Html::radio() 2014-09-04 14:36:30 -04:00
Alexander Makarov
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
Qiang Xue
f34b138aab Fixes #4225: Added ActiveForm::validateOnBlur and ActiveField::validateOnBlur 2014-09-03 16:14:54 -04:00
Mark
2410766f9f tests added for faker fixture controller 2014-09-01 17:33:15 +04:00
Mark
ff80968387 cache controller adjustments and improvements
related to #4792, close #4874
2014-09-01 13:07:56 +02:00
Carsten Brandt
92b958cd33 fixed return value of yii\web\Request::getPrefferedLanguage
ensure it is one of the input values

fixes #4880
2014-09-01 12:46:38 +02:00
Qiang Xue
fa0418f8a1 Fixes #4424: Added inline and mimeType options to all file downloading methods provided in yii\web\Response 2014-08-30 22:13:42 -04:00
Carsten Brandt
78b5c7db66 fixed boolean handling for PostgreSQL
- do not allow boolean values for integer columns
- use native boolean type with boolean values
- removed workaround that turned out to be wrong when schema and values
  are used correctly. Workaround resulted from wrong usage of boolean
  values before.

fixes #4672
2014-08-28 11:20:17 +02:00
Qiang Xue
3786440288 Fixes #4762: Reverted automatic ID fix. 2014-08-25 17:05:14 -04:00
Mark
033d66deac changed format of applying command to all 2014-08-20 20:48:58 -04:00
Mark
c7887b666c Added missed case in tests about append option 2014-08-20 20:48:58 -04:00
Mark
461576dc85 added other syntax for and tests for fixture controller 2014-08-20 20:48:58 -04:00
Klimov Paul
0bf16497af Convert 'caseless' option into 'caseSensitive' option at yii\helpers\BaseFileHelper::findFiles() 2014-08-19 17:33:11 +03:00
Klimov Paul
6461523aca Added 'caseless' option to yii\helpers\BaseFileHelper::findFiles() 2014-08-19 14:52:56 +03:00
Qiang Xue
9a68678ded Additional fix to #4728. 2014-08-16 22:30:28 -04:00
Qiang Xue
45dbbc39f6 Additional fix to #4728. 2014-08-16 22:25:55 -04:00
Alexander Makarov
4a9cc31828 Merge pull request #4728 from DaSourcerer/4372-httpcache-rfc7232-compliance
RFC 7232 Compliance for yii\filters\HttpCache
2014-08-17 01:21:21 +04:00
DaSourcerer
528e12f499 Fix for @covers annotations 2014-08-16 22:09:09 +02:00
DaSourcerer
83872ff853 CacheFilter test coverage 2014-08-16 21:50:28 +02:00
Carsten Brandt
cc1247f399 fixed HHVM test break 2014-08-15 16:22:59 +02:00
Carsten Brandt
f4a9646a22 more on HHVM compatibility 2014-08-15 16:04:02 +02:00
Carsten Brandt
62e7c3e9a6 fixed some inconsistnecies in HHVM tests
exclude parts that have different default values
2014-08-15 15:30:32 +02:00
Carsten Brandt
10512ff00d do not export mailer in BaseMailerTest message
fixes test break in HHVM due to export of a closure
2014-08-15 14:52:38 +02:00
Qiang Xue
88d38b7820 Fixes #4501: Renamed the constant YII_PATH to YII2_PATH 2014-08-14 22:17:05 -04:00
Carsten Brandt
3a4b32c4c1 fixed cubrid tests 2014-08-13 13:19:28 +02:00
Carsten Brandt
c4dc9470be created a test case to verify #4682 2014-08-13 12:45:20 +02:00
Paul Klimov
0f4d8ac4ba Merge pull request #4675 from klimov-paul/4630-sluggable
Fix #4630: automatic generating of unique slug value to `yii\behaviors\Sluggable`
2014-08-12 15:20:09 +03:00
Carsten Brandt
9d4e3612e0 fixed test break 2014-08-12 12:51:24 +02:00
Carsten Brandt
3b665fe3c4 improved unit test SKIP detection
issue #4687
2014-08-12 12:10:19 +02:00
Carsten Brandt
47b42ca808 Merge pull request #4680 from yiisoft/array-cache
Created ArrayCache class
2014-08-12 11:40:31 +02:00
Klimov Paul
823bfc977d merge with upstream 2014-08-12 12:14:16 +03:00
Klimov Paul
101d771ecf yii\behaviors\Sluggable::validateSlug() fixed to respect updating record 2014-08-12 12:01:23 +03:00
Klimov Paul
f27254b9aa yii\behaviors\Sluggable simplified 2014-08-12 11:43:15 +03:00
Klimov Paul
d362af6ede yii\behaviors\Sluggable optimized 2014-08-12 11:36:50 +03:00
Carsten Brandt
c6274acf6c ensure postgres boolean values are handled correctly
also fixed an issue with default value loading of bool columns.

fixes #3489, fixes #4085, fixes #3920
related to #4672
2014-08-12 02:19:53 +02:00
Carsten Brandt
92d65ab78b fix issue with postgreSQL and batch inserting boolean values
fixes #4654
2014-08-12 01:43:49 +02:00
Nikitin Vitaly
f1dd83e2a9 Added test that are making sure batchInsert boolean values in PostgreSQL isn't failing with errors
close #4655
2014-08-12 00:51:11 +02:00
Carsten Brandt
a2e8083beb Created ArrayCache class
- can be used to enable caching in a request without the need for any storage
- useful for example in complex console tasks that should still be independed
2014-08-11 23:49:55 +02:00
Klimov Paul
b062a6601d Default event for yii\behaviors\Sluggable with unique enabled changed to 'insert'. 2014-08-11 18:04:18 +03:00
Klimov Paul
327914e452 Added automatic generating of unique slug value to yii\behaviors\Sluggable 2014-08-11 17:43:00 +03:00
Carsten Brandt
689fc137da added some tests for Url helper 2014-08-06 22:27:45 +02:00
Qiang Xue
cd2eeced76 Fixed test break. 2014-08-05 12:54:28 -04:00
Qiang Xue
5046e687e1 fixed random rbac testing failure. 2014-08-05 11:21:17 -04:00
Qiang Xue
1c3e61ec26 Fixes #4591: yii\helpers\Url::to() will no longer prefix relative URLs with the base URL 2014-08-05 11:06:54 -04:00
Alexander Makarov
b656137541 Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension 2014-08-01 21:11:24 +04:00
Carsten Brandt
0ed6355ee1 test and docs to be clear about #4558 2014-08-01 15:35:23 +02:00
Alexander Makarov
c1cf48cf5b Fixes #2315: Any operator now could be used with yii\db\Query::->where() operand format 2014-08-01 11:37:05 +04:00