45 Commits

Author SHA1 Message Date
7592dcc7f1 Added test for #5361 2014-10-05 20:49:29 +04:00
d06f849a85 Another test attempt for #5356 2014-10-05 20:42:22 +04:00
1bea489f98 Added test for #5356 2014-10-05 14:11:09 +04:00
00e4d63e57 Fixed test break. 2014-09-09 22:51:26 -04:00
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00
61284ed405 Fixes #3910: Removed the container option from Html::checkbox() and Html::radio() 2014-09-04 14:36:30 -04:00
3786440288 Fixes #4762: Reverted automatic ID fix. 2014-08-25 17:05:14 -04:00
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
4de6e8c6b2 fix #3501 replace . when generating input ids 2014-05-25 18:51:06 +02:00
96feeb894c Fixed test break of Html. 2014-05-22 09:51:49 -04:00
1a848453a1 tried to fix tests for #3472 2014-05-22 13:09:42 +02:00
be164e45db Handle invalid code sequences in Html::encode() 2014-05-20 15:44:23 +02:00
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
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
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
5d309c2075 added unit tests for boolean attributes
fixes #1022
2014-03-13 02:50:09 +01:00
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
04bf51b01a Fixes #2392: Added addCssStyle(), removeCssStyle(), cssStyleFromArray() and cssStyleToArray() to Html 2014-02-23 19:12:33 -05:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
463ff43b4f test break fix. 2013-09-20 16:39:22 -04:00
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
65352e500f refactored ActiveField. 2013-08-14 21:17:13 -04:00
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
24a66b383d test break fix. 2013-08-09 09:50:19 -04:00
6d66a98acb test break fix. 2013-08-09 09:32:28 -04:00
7aeb2fcf4f Fixed test breaks. 2013-08-09 09:21:41 -04:00
915a3cd779 Fixes #653: use boolean type to indicate boolean attributes. 2013-07-23 20:45:14 -04:00
c3df0beecd changed parameter ordering. 2013-07-07 09:46:14 -04:00
71a156ebdf Added itemOptions for Html::ol 2013-06-25 16:16:36 -04:00
d87afeb496 encode checkbox and radio list by default. 2013-06-25 16:12:18 -04:00
d5bd9853ea Added Html::ol() and Html::ul() 2013-06-25 13:53:20 -04:00
9bb0ce4b1c Html helper pure HTML 5 mode without support old standarts 2013-06-19 20:14:40 +04:00
11c14a20e9 Simplified button signature. 2013-06-19 08:54:09 -04:00
f18d6df625 Revert "Merge pull request #548 from cebe/action-response"
This reverts commit 9d7597d61a51ae7030b667f740c2a97471cf7f6e, reversing
changes made to 6b6390f72b6a6010cfbe614aab236a90d10b1a00.
2013-06-16 19:45:58 -04:00
71782b344e Changed existing code to match the changes regarding response 2013-06-16 18:52:56 +02:00
2369019d22 Fixed test break. 2013-06-15 15:56:37 -04:00
17b1e5d2fc Fixes issue #234: Added Html::addCssClass() and removeCssClass(). 2013-06-11 16:35:14 -04:00
cb8f5d702f cleanup tests 2013-05-11 12:51:24 +02:00
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
d4b30e26c2 allow unit tests to requireApp() on setUp() 2013-05-09 20:41:57 +02:00
a4b7d493b0 Removed the $value parameter from radio and checkbox. 2013-04-27 22:03:14 -04:00
399a53cfc4 activeform wip 2013-04-27 16:51:05 -04:00
08be696434 fixed Html test under Windows (line endings) 2013-04-23 14:32:54 +04:00
122bd231b4 modified Application constructor signature. 2013-04-09 22:43:04 -04:00
9da81894be moved helper test from util namespace to helpers namespace, added tests for StringHelper 2013-03-29 18:23:50 +04:00