526 Commits

Author SHA1 Message Date
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
eddbb6bedb dropped locale option 2014-11-10 13:51:38 -05:00
a87c55ff97 fix camelCase syntax 2014-11-10 13:51:37 -05:00
05263692e5 Fixes #5938: add sentence method in Arrayhelper for convert the array to a comma-separated sentence 2014-11-10 13:51:37 -05:00
ba68986df0 Update BaseArrayHelper.php
Recursive method call must have the same parameters as the first call.
2014-11-05 10:59:26 -05:00
bcd2392673 ArrayHelper::toArray() now uses $properties parameter in recursive calls for descending objects 2014-11-03 23:12:04 +03:00
e923a13ccd Readme on "uncheck" parameter in activeCheckbox
Just a readme update.
"If you do not want any hidden input, you should explicitly set this option as null."

close #5823
2014-10-30 15:54:35 +01:00
f9fba181d6 Fixes #5806: Allow Html::encode() to be used when the application is not started 2014-10-29 10:50:00 -04:00
899b778994 Correct type declarations 2014-10-25 16:35:50 +03:00
64b4d6dca1 Correct order of property declaration 2014-10-25 16:28:36 +03:00
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
49961c4896 change Console::confirm() output to use stdout 2014-10-22 23:21:39 +02:00
b560c9bc90 Fixes #4457: Added support for using noscript for css files registered through asset bundles and Html helper 2014-10-19 19:30:38 +04:00
48ec791e4a Fixes #5587: json_encode is now used with JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE where it makes sense, also it is now default for Json::encode() 2014-10-19 18:50:46 +04:00
be2828d593 Fixes #5484: Fixed potential string suffix detection failure on 5.5.11 2014-10-11 09:35:55 -04:00
3e3948d8ea fix breaking changes in markdown for console and API
API is not finished.

issue #5082
2014-10-10 19:40:53 +02:00
03b88dd618 Fixes #5424: Html::addCssStyle() wasn't correctly setting style passed in array 2014-10-08 14:39:13 +04:00
ef127f6855 Fixes #5316: Added startsWith() and endsWith() to yii\helpers\StringHelper. Methods are binary-safe, multibyte-safe and optionally case-insensitive 2014-10-05 13:58:56 +04:00
bf97adbf64 Expand abnormally used ternary operator to if 2014-10-01 12:25:08 +02:00
2eda2725d0 Fixes #5164: Added Inlfector::$transliterator that can be used to customize intl transliteration 2014-09-24 23:55:55 +04:00
93496bf8fd Fixes #5058: yii\helpers\Html::activeCheckbox() and activeRadio() will generate labels by default using the corresponding attribute labels 2014-09-18 12:15:54 -04:00
ef2f6a0887 Merge pull request #5027 from yiisoft/date-format-convert
[WIP] extracted date format converting to a helper class
2014-09-17 18:42:35 +02:00
074c1f6c53 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00