Commit Graph

95 Commits

Author SHA1 Message Date
Alexander Makarov
7fc9bc0b4d Better fix for <script async="false" 2014-04-05 15:02:58 +04:00
Alexander Makarov
e031b44847 Adjusted tests 2014-02-23 23:17:59 +04:00
Paul Klimov
c5fca58f78 Merge branch '2540-CJSON-JsonSerializable' of https://github.com/SamMousa/yii into SamMousa-2540-CJSON-JsonSerializable 2013-10-01 16:25:33 +03:00
Sam Mousa
517e43f93e Added unit test. 2013-09-03 19:54:43 +02:00
Paul Klimov
cba9c4d81e Merge branch 'master' of github.com:yiisoft/yii into 2770-client-script-render-script-batch 2013-08-29 13:25:38 +03:00
John Was
769417c255 updated CHANGELOG and added test 2013-08-14 23:31:05 +02:00
Klimov Paul
540a1d27a0 CClientScript::renderScriptBatch() has been fixed to group scripts with different HTML options correctly. 2013-08-14 20:28:55 +03:00
Klimov Paul
7111b38399 CClientScriptTest has been advanced to expose issue #2770 2013-08-14 20:27:29 +03:00
Paul Klimov
e9e929aa09 "CHtml::activeLabel()" has been fixed to resolve attribute label for tabular input in case custom "for" has been specified. 2013-05-29 12:40:46 +03:00
Alexander Makarov
072a1745ab Merge branch 'master' of github.com:lubosdz/yii into lubosdz-master
Conflicts:
	CHANGELOG
2013-05-27 21:32:41 +04:00
Alexander Makarov
c9d72adff3 Merge branch '159-upload-file-get-instance-by-name' of github.com:klimov-paul/yii into klimov-paul-159-upload-file-get-instance-by-name 2013-05-27 13:20:13 +04:00
lubosdz
9a6267ef27 Merge branch 'master' of https://github.com/lubosdz/yii
Fixed code styling and few typos in documentation.
2013-05-09 13:06:47 +02:00
resurtm
7ad3a3ac8c Fixes #2449: CSqlDataProvider causes an error when CDbCommand with enabled PDO::FETCH_OBJ mode used as SQL source. 2013-05-06 21:19:39 +06:00
resurtm
f76c1bbaf4 Remove superfluous and erroneous imports. 2013-05-06 21:01:10 +06:00
Paul Klimov
9532a46280 Unit test "CHtmlTest" has been updated exposing issue #2423 2013-04-29 16:07:51 +03:00
resurtm
853a6a4d51 Fixes #1796: separate count criteria in CActiveDataProvider. 2013-04-23 23:29:59 +06:00
Paul Klimov
9d881fd9c5 "CUploadedFile::getInstancesByName()" has been fixed, allowing correct fetching names, which are part of other names. 2013-04-10 17:06:01 +03:00
Paul Klimov
50a86ee891 Test case "CUploadedFileTest::testGetInstancesByNamePartOfOtherName()" has been fixed to expose issue #159. 2013-04-10 16:57:24 +03:00
Paul Klimov
fe21199bda Test case "CUploadedFileTest::testGetInstanceByNamePartOfOtherName()" has been added to expose issue #159. 2013-04-10 16:49:52 +03:00
Paul Klimov
11c4933269 Unit test "CUploadedFileTest" has been created. 2013-04-10 16:43:08 +03:00
Carsten Brandt
d27c9412ce Merge pull request #2132 branch '2131-add-accept-header-parsing' of https://github.com/Rupert-RR/yii into Rupert-RR-2131-add-accept-header-parsing
* '2131-add-accept-header-parsing' of https://github.com/Rupert-RR/yii:
  Yii code style correction
  Removed unnecessary spaces.
  Transferred data for unit tests from the test functions into data providers.
  Undo accidental permissions change on bootstrap.php
  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).
  parseAcceptHeader() function description tidy up.
  Typo corrections and code tidy up.
  Altered parseAcceptHeader() to use only one regexp. Thanks to Ka on StackExchange for this expression.
  Typo corrections
  Separated out parse and compare functions. Reduced regular expression count to 2 from 3. Modified MIME type array map structure.
  Added #135 back in changelog, which got lost somehow..
  Moved position of line to follow numerical order.
  Enh #2131: Added Accept header parsing to CHttpRequest to give an array of accepted types in order of preference

Conflicts:
	CHANGELOG
2013-03-27 23:24:19 +01:00
Maurizio Domba (mdwork)
43998cdb19 Adjusted tests for CHtml::refresh() regarding to fix for issue #2239 2013-03-25 10:52:31 +01:00
Rupert-RR
006a893936 Yii code style correction 2013-03-21 22:22:28 +04:00
Rupert-RR
f980699339 Removed unnecessary spaces. 2013-03-21 21:28:33 +04:00
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
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
lubosdz
78ff0c235f Merge branch 'master' of https://github.com/yiisoft/yii
Fixed conflict with text/xml header.
Changed signature of CWsdlGenerator::buildHtmlDocs($return=false) to callable from other script. Also needed for unit test.
2013-03-07 17:40:14 +01: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
lubosdz
da7799d939 Issue #1966 - CWsdlGenerator now supports soap indicators (sequence, choice), injecting of custom WSDL string block and generation of human-friendly documentation for complex types. Added unit test. 2013-02-01 16:35:54 +01:00
antoncpu
09bbf001fd fixed init in case of disabled pagination 2013-01-02 22:03:35 +02: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
1cdaa63218 Merge pull request #546 branch 'phpnode-add-cdataprovideriterator'
* phpnode-add-cdataprovideriterator:
  Refactoring of CDataProviderIterator
  #545 more tiny code style changes
  #545 reformat code according to Yii style
  #545 dont use getters or setters if we can avoid it
  #545 dont use getters or setters if we can avoid it
  #545 make protected members private
  #545 update changelog
  #545 fix whitespace
  Update changelog for #545
  Add CDataProviderIterator to allow iterating over large data sets
2012-11-14 20:06:05 +01:00
Carsten Brandt
7150d84ac1 Refactoring of CDataProviderIterator 2012-11-14 20:04:37 +01:00
Maurizio Domba (mdlap)
57227293e8 Fixing tests for PR #1502 (issue #1492) 2012-11-14 19:18:04 +01:00
Carsten Brandt
93e0d8f24c Merge branch 'add-cdataprovideriterator' of https://github.com/phpnode/yii into phpnode-add-cdataprovideriterator
* 'add-cdataprovideriterator' of https://github.com/phpnode/yii:
  #545 more tiny code style changes
  #545 reformat code according to Yii style
  #545 dont use getters or setters if we can avoid it
  #545 dont use getters or setters if we can avoid it
  #545 make protected members private
  #545 update changelog
  #545 fix whitespace
  Update changelog for #545
  Add CDataProviderIterator to allow iterating over large data sets

Conflicts:
	CHANGELOG
2012-11-14 19:11:13 +01:00
lubosdz
9bb07e6448 Merge branch 'master' of https://github.com/lubosdz/yii
Added more assertions into unit test.
2012-10-24 13:34:24 +02:00
lubosdz
45d286d01f Merge branch 'master' of https://github.com/lubosdz/yii 2012-10-23 17:41:12 +02:00
resurtm
60f7122e9d CHttpSessionTest used non portable temporary directory path. 2012-09-16 12:57:47 +06:00
Alexander Makarov
10ea135c0f Bug #1351: CClientScript::registerMetaTag() now allows to register multiple meta tags with the same set of attributes 2012-09-12 02:34:02 +04:00