348 Commits

Author SHA1 Message Date
f6b4601a83 improved doc message 2015-05-09 22:50:15 +02:00
b31b9e2411 Fix conversion of ICU 'L' symbol.
L should not contain a leading zero.
Added a test for this too.

close #7761
2015-05-03 01:04:49 +02:00
8c81a15ac9 Fixed yii\helpers\Html::dropDownList() overrides label specified at 'groups' option 2015-04-28 15:45:03 +03:00
ef662b57be added missing @since annotations 2015-04-24 12:09:40 +02:00
70abb9b31c add isset check on index which might not be set
close #8158
2015-04-22 22:25:00 +02:00
f2f211f610 Fallback for object containing \Closure added to yii\helpers\VarDumper::export() 2015-04-22 18:13:40 +03:00
5dd3a14141 Fixes #7851: removed incorrect phpdoc lines 2015-04-21 00:34:34 +03:00
8caaba0168 Allow specification of the $key as an array at yii\helpers\ArrayHelper::getValue() 2015-04-20 15:52:32 +03:00
296e5816d8 typo #8113 2015-04-20 12:25:19 +02:00
a3df232655 Merge branch 'improved-mkdir-error'
Conflicts:
	framework/CHANGELOG.md
2015-04-20 13:13:03 +03:00
95d65b4958 added missing @since tag 2015-04-20 12:56:41 +03:00
427ee8dcbf Automatic encoding at BaseHtml::activeHint() removed 2015-04-20 12:42:41 +03:00
85ca8c3712 Added ability to specify hints for model attributes 2015-04-17 14:16:28 +03:00
14c003acab improved error message on createDirectory
ensure the directory name is included in the error message.

fixes #6442
2015-04-01 00:53:03 +02:00
16c94efaf5 improved error messages in FileHelper 2015-03-26 13:24:59 +01:00
65a2c54974 fixed unicode in FormatConverter escaping
fixes #7603
2015-03-06 16:01:05 +01:00
08e0143c16 created Console::wrapText() to imrove console help output on small screens 2015-03-05 21:19:42 +01:00
12fe0c7b85 Fixes #7488: Added StringHelper::explode to perform explode with trimming and skipping of empty elements 2015-03-05 19:10:38 +03:00
1945738c8d improved and fixed Html helper and ActiveField phpdoc
fixes #7560
2015-03-04 03:51:00 +01:00
2aace3714c minor adjustments 2015-03-01 01:24:28 +01:00
7a37c47bb2 Fixed #7150 - support ICU single quote syntaxes
- When converting an ICU date/time format to PHP, text within single quotes will be replaced with backslashes in front of each character (the PHP date() method for escaping text), and double-single quotes will be replaced with single quotes.
- When converting an ICU date/time format to jQuery UI, text  within single quotes, and double-single quotes, will each be preserved (rather than parsed for date/time format symbols), as jQuery UI uses the same text escaping and single quote syntax as ICU.
- Add support for '' within 'escaped text' E.g. 'o''clock'

close #7151
2015-03-01 00:02:35 +01:00
5ed412495e Added dot symbol to Html::getInputId()
close #7209
2015-02-28 23:15:34 +01:00
94564cd766 minor fix [skip ci] 2015-02-26 21:45:57 -05:00
0eb27981cd Fixes #7440: Added support to automatically set the maxlength attribute for Html::activeTextInput() 2015-02-26 21:45:02 -05:00
7f73d6a525 Use getAttributeName() 2015-02-26 21:25:33 -05:00
cdfd73a9ff Add maxlength option to activeTextInput
Issue [#7440](https://github.com/yiisoft/yii2/issues/7440)
2015-02-26 21:25:33 -05:00
f57a517f6d Fixes #7449: Added encode option to allow not encoding select options for Html::dropDownList() and Html::listBox() 2015-02-26 21:24:46 -05:00
9a52aab0f1 Enh #7449: yii\helpers\Html::dropDownList() and yii\helpers\Html::listBox() now supports Unicode characters in option text (yapi68) 2015-02-26 21:09:33 -05:00
a3ea7b774d Fixes #7350: Added yii\helpers\Html::$dataAttributes to support customizing data attributes. 2015-02-23 21:30:45 -05:00
7b5cdf041d Fixes #7255: Added support to allow widgets that use text input to specify input types 2015-02-15 22:26:33 -05:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
02d1fefa8c Removed obsolete requirement from HtmlPurifier phpdoc 2015-01-31 01:23:04 +03:00
c997e0d02e Fixes #7094: Console confirmation must be answered correctly. To return true: y or yes. To return false: n or not. Any other input the question will be asked again 2015-01-30 23:51:42 +03:00
07aca1c712 Renamed config() to configure() in BaseHtmlPurifier as suggested by @qiang 2015-01-24 17:36:42 +03:00
d862222304 Fixes #6852: Added yii\helpers\BaseHtmlPurifier::helpers() in order to be able to configure HtmlPurifier helper globally via subclassing 2015-01-24 12:08:08 +03:00
fe19243da1 Fixes #6969: yii\helpers\ArrayHelper::htmlEncode() and htmlDecode() should not remove non-string data 2015-01-22 21:09:46 -05:00
4ae7eb1819 Fixes #6697. 2015-01-13 21:28:13 -05:00
59cc605ddd Fixed version [skip ci] 2015-01-11 11:00:27 -05:00
52f4006c11 Fixed Url::current() implementation. 2015-01-11 10:43:06 -05:00
9c7e4e514d Fixes #6697: Added yii\helpers\Url::current() method that allows adding or removing parameters from current URL 2015-01-11 15:38:13 +08:00
201043244d doc fixes [skip ci] 2015-01-10 23:23:36 -05:00
cc3209cf26 Fixes #4502: Added alias support to URL route when calling Url::toRoute() and Url::to() 2014-12-29 19:26:44 -05:00
ab926df29f Update BaseArrayHelper.php 2014-12-27 08:34:23 -05:00
95586f243c Fixed docblock for htmlEncode and htmlDecode [skip ci] 2014-12-01 11:47:39 +01:00
8b79293ff2 added missing @since annotations 2014-11-27 18:11:14 +01:00
87c002d5b3 Fixes #6207: Added support for truncating HTML strings using StringHelper::truncate() and StringHelper::truncateWords() 2014-11-25 07:29:27 -05:00
562417c572 truncate and truncateWords can now preserve HTML
new private method `truncateHtml` now used by `truncate` and `truncateWords`
2014-11-25 07:19:43 -05:00
0afd13f0da Update BaseHtml.php
Some Annotation Typos

close #6029
2014-11-13 14:27:24 +01:00
cf0c8c37dd Fixes #5983: Added Inflector::sentence() 2014-11-10 15:07:36 -05:00
a61c869256 fix docs 2014-11-10 13:51:39 -05:00