Commit Graph

42 Commits

Author SHA1 Message Date
Qiang Xue
00e4d63e57 Fixed test break. 2014-09-09 22:51:26 -04:00
Qiang Xue
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -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
Qiang Xue
3786440288 Fixes #4762: Reverted automatic ID fix. 2014-08-25 17:05:14 -04:00
Qiang Xue
61b627a6fc Fixes #4318: yii\helpers\Html::ul() and ol() will return an empty list tag if an empty item array is given 2014-07-16 21:49:35 -04:00
Carsten Brandt
4de6e8c6b2 fix #3501 replace . when generating input ids 2014-05-25 18:51:06 +02:00
Qiang Xue
96feeb894c Fixed test break of Html. 2014-05-22 09:51:49 -04:00
Carsten Brandt
1a848453a1 tried to fix tests for #3472 2014-05-22 13:09:42 +02:00
DaSourcerer
be164e45db Handle invalid code sequences in Html::encode() 2014-05-20 15:44:23 +02:00
Alexander Makarov
a4c644d3a3 Fixes #3325: fixed generated markup for conditional comments
No changelog line since feature was introduced after beta
2014-05-02 15:29:26 +04:00
Qiang Xue
4fcd5003de Fixes #2906: Added support for using conditional comments for js and css files registered through asset bundles and Html helper 2014-04-26 20:25:48 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
5d309c2075 added unit tests for boolean attributes
fixes #1022
2014-03-13 02:50:09 +01:00
AlexGx
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
Qiang Xue
04bf51b01a Fixes #2392: Added addCssStyle(), removeCssStyle(), cssStyleFromArray() and cssStyleToArray() to Html 2014-02-23 19:12:33 -05:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Qiang Xue
463ff43b4f test break fix. 2013-09-20 16:39:22 -04:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Qiang Xue
65352e500f refactored ActiveField. 2013-08-14 21:17:13 -04:00
Alexander Makarov
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
Qiang Xue
24a66b383d test break fix. 2013-08-09 09:50:19 -04:00
Qiang Xue
6d66a98acb test break fix. 2013-08-09 09:32:28 -04:00
Qiang Xue
7aeb2fcf4f Fixed test breaks. 2013-08-09 09:21:41 -04:00
Qiang Xue
915a3cd779 Fixes #653: use boolean type to indicate boolean attributes. 2013-07-23 20:45:14 -04:00
Qiang Xue
c3df0beecd changed parameter ordering. 2013-07-07 09:46:14 -04:00
Qiang Xue
71a156ebdf Added itemOptions for Html::ol 2013-06-25 16:16:36 -04:00
Qiang Xue
d87afeb496 encode checkbox and radio list by default. 2013-06-25 16:12:18 -04:00
Qiang Xue
d5bd9853ea Added Html::ol() and Html::ul() 2013-06-25 13:53:20 -04:00
Alexander Kochetov
9bb0ce4b1c Html helper pure HTML 5 mode without support old standarts 2013-06-19 20:14:40 +04:00
Qiang Xue
11c14a20e9 Simplified button signature. 2013-06-19 08:54:09 -04:00
Qiang Xue
f18d6df625 Revert "Merge pull request #548 from cebe/action-response"
This reverts commit 9d7597d61a, reversing
changes made to 6b6390f72b.
2013-06-16 19:45:58 -04:00
Carsten Brandt
71782b344e Changed existing code to match the changes regarding response 2013-06-16 18:52:56 +02:00
Qiang Xue
2369019d22 Fixed test break. 2013-06-15 15:56:37 -04:00
Qiang Xue
17b1e5d2fc Fixes issue #234: Added Html::addCssClass() and removeCssClass(). 2013-06-11 16:35:14 -04:00
Carsten Brandt
cb8f5d702f cleanup tests 2013-05-11 12:51:24 +02:00
Benjamin Wöster
f23a677bdf mod: incorporate suggestions
- rename requireApp() to mockApplication()
- always destroy app on tearDown()
  - eliminates need for constant YII_DESTROY_APP_ON_TEARDOWN
  - mockApplication() becomes a lot easier. Destroying app on each tearDown
    means creating it on every call is fine. No more checking if it already
    exists and if it has been created from the same config.
- \yii::$app should have been \Yii::$app
2013-05-10 02:01:08 +02:00
Benjamin Wöster
d4b30e26c2 allow unit tests to requireApp() on setUp() 2013-05-09 20:41:57 +02:00
Qiang Xue
a4b7d493b0 Removed the $value parameter from radio and checkbox. 2013-04-27 22:03:14 -04:00
Qiang Xue
399a53cfc4 activeform wip 2013-04-27 16:51:05 -04:00
Alexander Makarov
08be696434 fixed Html test under Windows (line endings) 2013-04-23 14:32:54 +04:00
Qiang Xue
122bd231b4 modified Application constructor signature. 2013-04-09 22:43:04 -04:00
Alexander Makarov
9da81894be moved helper test from util namespace to helpers namespace, added tests for StringHelper 2013-03-29 18:23:50 +04:00