Alexander Makarov
f2d32fab77
Fix #18046 : Add test for current ArrayHelper::merge() behavior ( #18054 )
4 years ago
Mikk Tendermann
35fb9c6248
Fix #18026 : Fix `ArrayHelper::getValue()` did not work with `ArrayAccess` objects
4 years ago
Alexander Makarov
4de66f8205
Fix #16145 : Fix `Html` helper `checkboxList()`, `radioList()`, `renderSelectOptions()`, `dropDownList()`, `listBox()` methods to work properly with traversable selection
5 years ago
Alexander Makarov
1d6d0d76c5
Fix HtmlTest to work well with line endings
5 years ago
alex-code
5939813a8e
Fix #17797 : Fix for `activeListInput` options
...
* Tests
Test for `activeListInput` options.
Also fixed test names for `checkbox` and `radio`.
* activeListInput options
Fix for `activeListInput` options.
* Update BaseHtml.php
* Update HtmlTest.php
* Update CHANGELOG.md
* Update BaseHtml.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
5 years ago
Viktor Pikaev
c901608af7
Fix #17863 : `\yii\helpers\BaseInflector::slug()` doesn't work with an empty string as a replacement argument
5 years ago
rhertogh
b794d76056
Fix #17829 : `yii\helpers\ArrayHelper::filter` now correctly filters data when passing a filter with more than 2 levels
5 years ago
Brandon Kelly
beca7b45d3
Fix #17793 : Fix inconsistent handling of null `data` attribute values in `yii\helpers\BaseHtml::renderTagAttributes()`
5 years ago
Brandon Kelly
7e471e3010
Fix #17792 : Added support for `aria` attributes to `yii\helpers\BaseHtml::renderTagAttributes()`
5 years ago
Alexander Makarov
0ba9c619c7
Fix #17760 : Fix `JSON::encode()` for `\DateTimeInterface` under PHP 7.4
5 years ago
Evgeny
62acca9f3d
Fix #17740 : `yii\helpers\BaseInflector::slug()` doesn't replace multiple replacement string occurrences to single one
5 years ago
Brandon Kelly
d7f69b6676
Fix #17625 : Fix boolean `data` attributes from subkeys rendering in `Html::renderTagAttributes()`
5 years ago
Somogyi Márton
f5776a968c
#17508 fix
5 years ago
Alexander Kartavenko
c5397f8784
Closes #16411 . Fix windows tests ( #17380 )
...
* Fix `\yiiunit\framework\helpers\ConsoleTest::testErrorSummary`
* Fix `\yiiunit\framework\console\controllers\PHPMessageControllerTest::testRemoveUnusedBehavior`
5 years ago
Razvan Grigore
9c37016dac
Fixes #17235 : `yii\helpers\FileHelper::normalizePath()` now accepts stream wrappers
6 years ago
Pavel Dovlatov
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
6 years ago
Brandon Kelly
1cc83f02f5
Fixes #17150 : Fixed `yii\helpers\BaseInflector::camel2words()` splitting `ALLCAPS` words on each letter
6 years ago
Bizley
de5b903806
Fixed regression in #16817 ( #17056 )
6 years ago
Dzhuneyt
a790685e66
Fixes #16974 : Regular Expression Validator to include support for 'u' (UTF-8) modifier
6 years ago
Nikolay Oleynikov
06227c7075
Fixes #16648 : Html::strtolower() was corrupting UTF-8 strings
6 years ago
cuileon
489dd119a5
merge from yiisoft/yii2
6 years ago
Bizley
1342eb718b
Fixes #15204 : `yii\helpers\BaseInflector::slug()` is not removing substrings matching provided replacement from given string anymore
6 years ago
Bizley
f3438c450c
Fixes #10843 : Additional hidden input rendered by `yii\helpers\BaseHtml` methods inherits `disabled` HTML option if provided and set to `true`
6 years ago
Alexandr Ivanov
af3b8b2f23
Fixes #11960 : Fixed `checked` option ignore in `yii\helpers\BaseHtml::checkbox()`
6 years ago
Alexandr Ivanov
0ad5afd387
Fixes #14759 : Fixed `yii\web\JsonResponseFormatter` output for `null` data
6 years ago
Evgeniy Moiseenko
4d26c915dc
Additional fix for #14230
6 years ago
Evgeniy Moiseenko
a8bfe8bbe6
Fixes #14230 : Fixed `itemsOptions` ignored in `checkBoxList`
6 years ago
Evgeniy Moiseenko
3eba4ea69a
Fixes #16680 : Fixed ActiveField 'text' input with maxlength
6 years ago
Alexey
bf5476f253
Fixes #15889 : Fixed override `yii\helpers\Html::setActivePlaceholder`
6 years ago
Thoulah
a32cfcc8ef
Fixes #16266 : Fixed `yii\helpers\BaseStringHelper` where explode would not allow 0 as trim string
6 years ago
SilverFire - Dmitry Naumenko
3d96a45f6b
Fixed BC breaking change in Inflector
...
Fixes #16239
6 years ago
SilverFire - Dmitry Naumenko
629a33fd0e
Made Inclector unicode-safe
6 years ago
SilverFire - Dmitry Naumenko
b9aa0001b6
Fixed `yii\helpers\Inflector::camel2words()` to work with UTF-8
6 years ago
Carsten Brandt
314b66827b
added test to verify #15298
7 years ago
Pavel Ivanov
4e940a2772
Fix travis builds for 'nightly' php ( #15992 )
...
1) Fixed unexpected exceptions (PHP nightly): https://travis-ci.org/yiisoft/yii2/jobs/358866164#L789
2) Fixed session issues (PHP hhvm): https://travis-ci.org/yiisoft/yii2/jobs/358866162#L841
3) Excluded unicode characters check from 'nightly' PHP version
4) Also deprecated InvalidParamException replaced with InvalidArgumentException
7 years ago
SilverFire - Dmitry Naumenko
b3f54d1065
Simplified code, enhanced PHPDocs
7 years ago
Fabrizio
52263077c0
Bug #15858 : Fixed array undefined offset error calling Html::errorSummary with same error messages from different model attributes. (FabrizioCaldarelli)
7 years ago
SilverFire - Dmitry Naumenko
fcea028cf1
Disabled UrlTest for HHVM in Travis
...
Probably, this change will fix random exception during HHVM build
on travis:
ps_files_cleanup_dir: opendir(/var/lib/hhvm/sessions) failed: Permission denied (13)
7 years ago
Alexander Makarov
0ed15c6496
Added test for FileHelper::findDirectories except option
7 years ago
edwards-sj
1c473325ac
Fixes #15742 : Updated setActivePlaceholder to be consistent with activeLabel
7 years ago
Alexander Makarov
7febeb8ad4
Renamed yii\helpers\FileHelper findDirectory() method to findDirectories() to be consistend with findFiles()
7 years ago
André Sousa
d39d3ed0a6
Fixes #15644 : Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Arsen
16e63f6de2
Fixes #13465 : Added `yii\helpers\FileHelper::findDirectory()` method
7 years ago
Elvira Sheina
06ebd3faa7
Fixes #13034 : Fixed `normalizePath` for windows network shares that start with two backslashes
7 years ago
Hanafi Ahmat
4f7b410230
Fixes #9771 : Assign hidden input with its own set of HTML options via `$hiddenOptions` in activeFileInput `$options`
7 years ago
Klimov Paul
71c541773f
PHPDoc fix
7 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago
Alexander Makarov
6c0540aa2d
Fixes #15496 : CSRF token is now regenerated on changing identity
7 years ago
vladis
78d76c3f2c
Enh #15226 : Auto generate placeholder from fields
7 years ago