Commit Graph

426 Commits

Author SHA1 Message Date
Rupert-RR
82d23f8c3b Transferred data for unit tests from the test functions into data
providers.
2013-03-21 21:25:34 +04:00
Rupert-RR
be4ff11ee1 Undo accidental permissions change on bootstrap.php 2013-03-21 20:29:36 +04:00
Rupert-RR
f088486bde Merge branch 'master' of git://github.com/yiisoft/yii into 2131-add-accept-header-parsing
Merge from upstream.
2013-03-21 20:21:47 +04:00
Rupert-RR
2ae1700233 Added unit test file for CHttpRequest for the methods
parseAcceptHeader() and compareAcceptTypes().
Modified the regexp in parseAcceptHeader() to accept wildcards in the
path.
Modified the description of compareAcceptTypes() to better reflect the
comparison result (higher preference returns lower value, so that most
preferred is first in the array).
2013-03-21 20:19:56 +04:00
Paul Klimov
783a2ea6f6 "CActiveRecordTest::testCountWithHavingRelational()" has been updated exposing issue #2201 2013-03-21 13:17:53 +02:00
Paul Klimov
71388e1b69 Test method "CActiveRecordTest::testFindBySinglePkBySingleSizeArrayWithMixedKeys()" converted to "CActiveRecordTest::testFindBySinglePkByArrayWithMixedKeys()", checking both single and multy size pk arrays. 2013-03-20 13:20:05 +02:00
Paul Klimov
d8037f7b6d Test method "CActiveRecordTest::testFindBySinglePkBySingleSizeArrayWithMixedKeys()" has been added to expose issue #2216. 2013-03-20 13:09:10 +02:00
resurtm
28a3c79185 Fixes #2121: CMssqlSchema::resetSequence() incorrectly resets sequence. 2013-03-17 11:00:19 +06:00
resurtm
c7cdc812a3 Fixes #2087: CLocale: getLocaleDisplayName() was only returning the language display name, not the full locale display name. 2013-03-15 22:28:25 +06:00
CeBe
c70936afd2 Merge pull request #2160 branch '2159-fix-delete-with-join' of https://github.com/serebrov/yii into serebrov-2159-fix-delete-with-join
* '2159-fix-delete-with-join' of https://github.com/serebrov/yii:
  Fixes #2159 - problem with command builder for delete with joins.

Conflicts:
	CHANGELOG
2013-03-12 16:53:54 +01:00
DaSourcerer
78c0e2963e Oh /&$/§%!&"%!!1 2013-03-11 16:37:37 +01:00
DaSourcerer
7544da0a3a New go at registering the memcache extension the currently recommended way 2013-03-11 16:32:17 +01:00
DaSourcerer
a349500187 Revert to 9a216ae3bb 2013-03-11 16:29:01 +01:00
DaSourcerer
a48881dc11 s/memcache/memcached/ 2013-03-11 16:11:34 +01:00
DaSourcerer
5b3370e266 Register memcache.so via php-env 2013-03-11 16:00:50 +01:00
Alexander Makarov
1e3a178d76 Merge pull request #2186 from resurtm/fixes-1955
Fixes #1955: Some validators used to cause warnings or errors in case non-scalar array typed values being checked.
2013-03-10 05:42:20 -07:00
resurtm
f635a4c8a4 Error messages related to array value case changed. 2013-03-10 18:20:54 +06:00
resurtm
c6a0623bbf Indentation consistency fixes. 2013-03-09 22:16:34 +06:00
resurtm
ed635aa9e2 Some validators used to cause warnings or errors in case non-scalar array typed values being checked. 2013-03-09 22:12:18 +06:00
Paul Klimov
acaac347a1 Merge branch 'master' of git://github.com/yiisoft/yii into 1724-Allow-script-html-options 2013-03-06 13:41:48 +02:00
Paul Klimov
4299c0d309 "CClientScript" has been updated allowing to register scripts with HTML options. 2013-03-06 13:25:31 +02:00
Paul Klimov
aa7fffe1b1 Unit test for "CClientScript" rendering scripts has been added. 2013-03-06 12:50:49 +02:00
Paul Klimov
a046e44e95 "CClientScriptTest" has been updated allowing to register script files with html options. 2013-03-06 12:41:20 +02:00
Paul Klimov
3c916f285c Unit tests for "CClientScriptTest::registerScript()" and "CClientScriptTest::registerScriptFile()" have been added. 2013-03-06 12:05:58 +02:00
Paul Klimov
d1ebfa41ab Code intending at "CHtmlTest" has been changed from spaces to tabs. 2013-03-06 11:35:16 +02:00
Paul Klimov
1210dcbe42 "CHtml::script()" and "CHtml::scriptFile()" have been updated allowing to compose HTML options. 2013-03-06 11:32:13 +02:00
Paul Klimov
4a17cf0e4a "CActiveFinder::count()" has been updated allowing correct records count with having. 2013-03-04 15:45:59 +02:00
Paul Klimov
a2fead97a7 Test for count with having have been added to "CActiveRecordTest" test case. 2013-03-04 14:35:06 +02:00
Boris Serebrov
4fdf2d0044 Fixes #2159 - problem with command builder for delete with joins. 2013-03-01 22:19:46 +02:00
Kamil Dziedzic
9a216ae3bb Silence memcache install also for php 5.5 builds
https://github.com/yiisoft/yii/pull/927
https://github.com/yiisoft/yii/pull/931
2013-02-18 23:16:49 +01:00
Kamil Dziedzic
367c6dce7a bashizm: http://mywiki.wooledge.org/Bashism 2013-02-18 23:11:37 +01:00
Kamil Dziedzic
3c339515d5 bugfix: memcache extension wasn't loaded 2013-02-18 23:10:12 +01:00
resurtm
e77143105d CFormatter::formatNtext() method can replace newlines with <p></p> not just with <br /> as it was before. 2013-01-25 13:47:48 +06:00
antoncpu
09bbf001fd fixed init in case of disabled pagination 2013-01-02 22:03:35 +02:00
DaSourcerer
e5084099b4 typo 2012-12-26 11:51:53 +01:00
DaSourcerer
26786ccbd6 memcache for PHP v5.5 2012-12-26 11:41:40 +01:00
resurtm
3f3f520917 Added NULL check into CHtml::value(), $attribute. 2012-12-23 14:12:49 +06:00
resurtm
694dcb885c Second parameter of the CHtml::value() doesn't support functions created by "create_function" anymore. 2012-12-21 21:19:26 +06:00
resurtm
fd5672978e Fixes CHtml::value() bug. 2012-12-21 17:04:09 +06:00
resurtm
80ba017193 Additional unit test for dot syntax access. 2012-12-19 20:57:47 +06:00
resurtm
a6d98dc7ed #1861: PHP 5.2 testing issues and forgot about create_function. 2012-12-19 20:12:42 +06:00
resurtm
321e812e24 Fixes #1861. CHtml::value() didn't worked properly with array-typed $model parameter and integer-typed $attribute parameter. 2012-12-19 19:37:39 +06:00
Carsten Brandt
c5907fc413 Created unit test for CWebUser
issue #1792
2012-12-12 17:38:48 +01:00
Carsten Brandt
23e32a79c6 added test for #1191
can not reproduce the issue
2012-12-12 16:39:18 +01:00
Alexander Makarov
97ae6b6bbd Merge branch 'innsand-CFileHelper_recursive_copy_fix' 2012-12-01 15:38:30 +04:00
Alexander Makarov
4545516540 fixed formatting, added missing docs 2012-12-01 15:27:32 +04:00
Alexander Makarov
e6892c6920 fix for Windows tests 2012-12-01 15:16:21 +04:00
Alexander Makarov
b2f152cb69 backwards compatibility 2012-12-01 14:47:19 +04:00
Alexander Makarov
f088b758a2 Merge branch 'ctypevalidator' of git://github.com/antonCPU/yii into antonCPU-ctypevalidator 2012-12-01 14:34:01 +04:00
Carsten Brandt
24d433a39d Fix for memcache on travis worked
removed commented code.
2012-11-30 18:19:33 +01:00