Andrew Nester
6acab778da
10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629
2016-01-21 10:55:52 +03:00
Andrew Nester
ed23b97baf
#10574 - Fix for BaseArrayHelper to work with invalid characters in proper way
2016-01-16 09:37:36 +03:00
Carsten Brandt
f6dcb290ed
reverted c00b97a/#9915, this is expected behavior
...
When accessing non-existing properties it is expected behavior to throw an error.
This is the case in all other places.
It is also not reliably possible to determine whether a property exists beforehand.
it is not sufficient to call `property_exists()` as it may be available via `__get()`.
Instead of `property_exists()` or `isset()` it should call `$object->canGetProperty()` but this is not
guaranteed to be implemented and therefor doing such a check will not work in 2.0.x.
calling isset() may break code that works through __get() but has not implemented __isset() properly.
We may discuss this for 2.1 again but I am in favor of keeping it as is.
2016-01-15 16:19:24 +01:00
Carsten Brandt
8897723c2a
added test to verify #10486
2016-01-01 17:33:53 +01:00
SilverFire - Dmitry Naumenko
469206d8d0
HtmlTest - added tests to checkboxList and listBox
2015-12-23 23:38:47 +02:00
cohen
85c6a903dc
Enh #10390 : Added ability to disable outer tag for \yii\helpers\BaseHtml::radiolist(), ::checkboxList
2015-12-21 18:04:49 +02:00
Carsten Brandt
5ffcd7b577
added nested array test to vardumper
...
issue #10376
2015-12-12 03:24:39 +01:00
Klimov Paul
170c376648
yii\helpers\VarDumper::dump() now respects PHP magic method __debugInfo()
2015-12-05 11:21:49 +02:00
LAV45
a2bf2598ce
Release fix from SilverFire
2015-11-29 01:24:43 +03:00
LAV45
1028152aac
Unexpected behavior for \SimpleXMLElement and Json::encode() #10278
2015-11-29 00:58:32 +03:00
Carsten Brandt
d1812d2081
fixed arrayhelper test, renamed test methods according to FW change
2015-11-22 17:07:48 +01:00
Sam Mousa
22d9997281
Implemented support of traversable objects in RangeValidator::ranges, added ArrayHelper::in() and ArrayHelper::subset()
2015-11-18 16:41:56 +02:00
Mehdi Achour
cca500083e
Implement #10078 : Allow disabling csrf hidden input generation on a form
2015-11-18 10:22:31 +01:00
SilverFire - Dima Naumenko
a7f102fa94
Enh #10061 : yii\helpers\BaseInflector::transliterate() is now public
2015-11-05 16:07:33 +02:00
freezy
7bea7b65fd
Fixes #9282 : Improved JSON error handling to support PHP 5.5 error codes
2015-11-04 12:59:37 +03:00
Vadim
c00b97a12c
Fixes #9915 : yii\helpers\ArrayHelper::getValue() was erroring instead of returning null for non-existing object properties
2015-10-14 12:56:59 +03:00
SilverFire - Dima Naumenko
c128d008d3
Added more tests for StringHelper::explode
2015-10-14 12:50:14 +03:00
SilverFire - Dima Naumenko
a46ae82f6a
Fixes #9906 , #9907 FormatConverterTest updated to pass on different ICU data versions
2015-10-14 00:54:43 +03:00
SilverFire - Dima Naumenko
ccd20793d4
Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0
2015-10-14 00:15:22 +03:00
Alexander Makarov
00f432ab65
Fixes #9747 : added tests for Url::isRelative()
2015-09-23 15:47:51 +03:00
Klimov Paul
f48f63ecf5
VarDumperTest fixed
2015-08-09 17:53:24 +03:00
Klimov Paul
16e1e8fe28
Fallback for objects at yii\helpers\VarDumper::export() advanced
2015-08-09 15:02:48 +03:00
Klimov Paul
0874ffac38
Fixed yii\helpers\Html::activeTextarea() does not allow value overriding via options
2015-05-29 12:31:52 +03:00
Klimov Paul
d4d972b535
Merge branch '6043-html-arrays'
...
Conflicts:
framework/CHANGELOG.md
2015-05-27 11:56:58 +03:00
Klimov Paul
0f04af1af9
Added support to automatically set the maxlength attribute for Html::activeTextArea() and Html::activePassword()
2015-05-20 12:05:53 +03:00
Klimov Paul
0a7191dbfe
Preserving of the named key classes at yii\helpers\Html::addCssClass() provided
2015-05-18 12:48:51 +03:00
Klimov Paul
41f6a6e558
Specification for 'class' and 'style' in array format added to yii\helpers\Html
2015-05-18 12:14:57 +03:00
Klimov Paul
3a39f8ab72
yii\helpers\Html allows correct rendering of conditional comments containing !IE
2015-05-14 16:22:26 +03:00
Qiang Xue
78d3a856d3
Added Json::htmlEncode() to support safer JSON data encoding in HTML code
2015-05-09 23:38:17 -04:00
Nikola Kovacs
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
Paul Klimov
a2af3868ad
Test for yii\helpers\VarDumper unified
2015-04-22 18:57:47 +03:00
Klimov Paul
f2f211f610
Fallback for object containing \Closure added to yii\helpers\VarDumper::export()
2015-04-22 18:13:40 +03:00
Klimov Paul
8caaba0168
Allow specification of the $key as an array at yii\helpers\ArrayHelper::getValue()
2015-04-20 15:52:32 +03:00
Alexander Makarov
6949992246
Simplified tests directory structure a bit
2015-04-16 12:10:01 +03:00