401 Commits

Author SHA1 Message Date
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
a7a8f1e0cf Fix links in documentation 2015-09-30 12:09:53 +02:00
50cd3e1123 Fixes #6200 2015-09-29 00:04:23 +03:00
511a32e8ca Merge branch '8613-fragmentcache-empty-content' of https://github.com/kidol/yii2 into kidol-8613-fragmentcache-empty-content
# Conflicts:
#	framework/CHANGELOG.md
2015-09-27 19:54:00 +03:00
760a164238 Fixes #9711: Added yii\widgets\LinkPager::$pageCssClass that allows to set default page class 2015-09-25 02:06:03 +03:00
43918f2ef6 Fixes #9411: DetailView now automatically sets container tag ID in case it's not specified 2015-08-14 01:53:57 +03:00
14fe0c3f80 Fixes #9382 2015-08-12 08:30:18 +03:00
13fca3bc54 alternative solution for issue #7627
should cover more cases then #8912. Have not tested it yet.

see #7627
2015-08-03 12:29:43 +02:00
6e3da6b329 various phpdoc fixes 2015-08-02 22:53:08 +02:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
2577a5915b Fixes #7259: Added errorAttributes parameter to ActiveForm afterValidate event. Made scrolling to first error optional 2015-08-02 12:58:35 +03:00
49e5c59a75 Fix phpdoc 2015-07-23 13:57:59 +02:00
b46fad439c Fixes #9011: Allow yii\widgets\MaskedInput to produce an input tag of a custom type 2015-07-07 22:37:05 +03:00
b548c8f710 Fixed determine active menu item with url-alias in route
close #8900
2015-06-25 23:53:48 +02:00
e9494d15c3 Remove unused variable 2015-06-08 04:53:32 +03:00
9b3a6989f5 Fixes #8613: FragmentCache storing empty content causes problem with PageCache 2015-05-31 16:47:01 +02:00
67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 2015-05-31 13:39:30 +03:00
563deea02c yii\widgets\ActiveField now uses corresponding methods for default parts rendering 2015-05-20 12:35:42 +03:00
968d59cd48 Add property $linkOptions into LinkSorter widget
close #8444
2015-05-17 00:39:24 +02:00
78d3a856d3 Added Json::htmlEncode() to support safer JSON data encoding in HTML code 2015-05-09 23:38:17 -04:00
6d14f6e74d phpdoc typo 2015-05-06 15:47:26 +02:00
048c89f15d Fix FragmentCache when enabled is false.
Fixes #8273
close #8274
2015-05-05 23:12:10 +02:00
94d6843f8b added FragmentCache test for issue #8273 2015-05-05 23:12:10 +02:00
4496e2c405 preserve configuration of gridview even when called multiple times
fixes #8231
2015-04-30 10:54:45 +02:00
2c94bb0899 Fixes #7808: Adjusted Masked input to correctly generate the hash variable to store the plugin options 2015-04-27 22:10:16 -04:00
91a6e4bc8e Fixed incorrect URL config processing at yii\web\Application::handleRequest() and yii\widgets\Menu::items if route element is not a first one 2015-04-22 17:43:15 +03:00
85ca8c3712 Added ability to specify hints for model attributes 2015-04-17 14:16:28 +03:00
59a9f47f8e Fixed last page label 2015-04-17 11:52:32 +03:00
a733ecd40c yii\widgets\LinkPager::$firstPageLabel and yii\widgets\LinkPager::$lastPageLabel now could be set to true in order to use page number as label 2015-04-17 11:51:48 +03:00
cafd135022 Fixes #8064: Added ability to remove containing menu tag by setting yii\widgets\Menu::$options['tag'] to false 2015-04-15 13:21:14 +03:00
36a0e8384a Fixes #7918: yii\widgets\Pjax got ability to avoid registering link/form handler via setting false to $linkSelector/$formSelector 2015-04-09 23:16:38 +03:00
92b1ba77db improved phpdoc of ActiveForm 2015-03-27 00:36:05 +01:00
cd0093f7bd rework grid/list/detail view guide and docs 2015-03-06 07:43:00 +01:00
1945738c8d improved and fixed Html helper and ActiveField phpdoc
fixes #7560
2015-03-04 03:51:00 +01:00
81bcd116a8 Added "submenuTemplate" property for "items" config in Menu widget
fixes #5681
close #5897
2015-03-01 00:33:00 +01:00
0eb27981cd Fixes #7440: Added support to automatically set the maxlength attribute for Html::activeTextInput() 2015-02-26 21:45:02 -05:00
30e45a4aea improve documentation about uncheck and unselect in activefield
fixes #7465
2015-02-26 19:06:51 +01:00
f2523cb5d7 Update ActiveField.php
Update radio() to set $options['label'] to null rather than using unset. Fixes issue #7425.
2015-02-24 21:35:19 -05:00
a5b9aec6cd Fixed phpdoc typo 2015-02-24 03:05:43 +03:00
02f8f7ef9d Fixes #7332: Added ability to remove yii\widgets\Menu container tag by setting options['tag'] to false 2015-02-24 02:06:42 +03:00
e385f323eb Update Menu.php
The feature:
http://getbootstrap.com/components/#list-group-linked

Currently, Menu isnt capable of creating a bootstraps list-group-linked because:
- Menu forces a item container around the link

Menu does allow:
- defining the tag of the menu container
- defining the tag of the item container
- defining the template of the link

This means, that it is a small step to enable a menu like the list-group-linked in which:
- menu container is a DIV
- there are no item containers
- there are only links which should get the correct status by the (link)template

I provided a patch in which you can set the item-tag on false. When this is done,
the item tag is ignored and no LI is created, which is necessary for the list-group-linked.
2015-02-24 01:52:00 +03:00
57c298a523 Fixes #7361: The trim validator now works on the client side too 2015-02-22 19:25:06 -05:00
ba7ccf2a0b fixed example with wrong namespace at 'yii2/framework/widgets/MaskedInput.php' documentation 2015-02-12 15:12:09 -02:00
40c232df92 enhanced widget documentation 2015-02-08 18:02:31 +01:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
e7f9b30456 fixed version information in Breadcrumb widget 2015-01-11 17:09:06 +01:00
e4cf948c0b Better code for #6106 2015-01-11 15:16:05 +08:00
440eeea8cc Fixes #6106: Added ability to specify encode for each item of yii\widgets\Breadcrumbs 2015-01-11 15:13:34 +08:00
d341bf02b4 Fixes #6398: Added support for specifying dependent component in terms of a configuration array for classes such as DbCache 2015-01-04 19:28:05 -05:00