612 Commits

Author SHA1 Message Date
af3b8b2f23 Fixes #11960: Fixed checked option ignore in yii\helpers\BaseHtml::checkbox() 2018-10-07 16:29:08 +03:00
4d26c915dc Additional fix for #14230 2018-09-25 17:41:45 +03:00
a8bfe8bbe6 Fixes #14230: Fixed itemsOptions ignored in checkBoxList 2018-09-19 17:39:21 +03:00
3eba4ea69a Fixes #16680: Fixed ActiveField 'text' input with maxlength 2018-09-13 12:18:18 +03:00
27a5b1e642 UnsetArrayValue, ReplaceArrayValue can now be restored after serialization using var_export() 2018-08-31 13:58:25 +03:00
c286f00060 Fixes #16666: Fixed yii\helpers\ArrayHelper::merge 2018-08-28 12:31:43 +03:00
bf5476f253 Fixes #15889: Fixed override yii\helpers\Html::setActivePlaceholder 2018-07-29 00:07:09 +08:00
959cb985e3 Fixed PHPDoc blocks in FileHelper (#16402) [skip ci] 2018-06-14 20:23:10 +03:00
a32cfcc8ef Fixes #16266: Fixed yii\helpers\BaseStringHelper where explode would not allow 0 as trim string 2018-05-13 01:14:39 +03:00
3d96a45f6b Fixed BC breaking change in Inflector
Fixes #16239
2018-05-08 16:39:55 +03:00
02d3f8a2e9 PHPDocs updated [skip ci] 2018-05-05 08:32:43 +03:00
629a33fd0e Made Inclector unicode-safe 2018-05-01 12:32:16 +03:00
5a87dd2bfa Added explicit encoding 2018-04-29 13:35:39 +03:00
b9aa0001b6 Fixed yii\helpers\Inflector::camel2words() to work with UTF-8 2018-04-29 13:13:56 +03:00
14984328e5 SCA with Php Inspections (EA Ultimate) (#16105) 2018-04-16 13:22:54 +03:00
1a74b3d4f8 [minor] SCA with Php Inspections (EA Ultimate) (#15871)
* Php Inspections (EA Ultimate): use type casting where applicable

* Php Inspections (EA Ultimate): use constants where applicable

* Php Inspections (EA Ultimate): CS

* Php Inspections (EA Ultimate): address some of one-time used variables

* Php Inspections (EA Ultimate): address some of performance-related findings

* Php Inspections (EA Ultimate): address some of performance-related findings

* Php Inspections (EA Ultimate): revert a constant usage

* Php Inspections (EA Ultimate): revert sequential assignments

* Php Inspections (EA Ultimate): build is green again

* Php Inspections (EA Ultimate): revert array_merge tweaks

* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak

* Update description [skip ci]

* Php Inspections (EA Ultimate): CS
2018-03-12 01:37:19 +03:00
8be4563341 Merge pull request #15859 from FabrizioCaldarelli/15858-broken-basehtml-collecterrors-with-showallerrors-true
15858 broken basehtml collecterrors with showallerrors true
2018-03-10 18:44:10 +02:00
b3f54d1065 Simplified code, enhanced PHPDocs 2018-03-10 10:19:07 +02:00
52263077c0 Bug #15858: Fixed array undefined offset error calling Html::errorSummary with same error messages from different model attributes. (FabrizioCaldarelli) 2018-03-08 23:24:41 +01:00
f10cb6aeee SCA with Php Inspections (EA Ultimate) 2018-02-27 19:13:22 +01:00
f9b03dfd42 SCA with Php Inspections (EA Ultimate) 2018-02-27 19:06:27 +01:00
1c473325ac Fixes #15742: Updated setActivePlaceholder to be consistent with activeLabel 2018-02-23 12:33:41 +03:00
22832b7c49 release version 2.0.14 2018-02-19 00:27:09 +02:00
9f7d09cfae Removed unneeded quotes 2018-02-19 00:52:44 +03:00
d9fdf0f235 Added missing escaping to Windows fallback of FileHelper::unlink() 2018-02-19 00:50:51 +03:00
7febeb8ad4 Renamed yii\helpers\FileHelper findDirectory() method to findDirectories() to be consistend with findFiles() 2018-02-16 22:41:28 +03:00
d39d3ed0a6 Fixes #15644: Avoid wrong default selection on a dropdown, checkbox list, and radio list, when a option has a key equals to zero 2018-02-15 18:23:12 +03:00
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()`
2018-02-11 01:48:29 +03:00
16e63f6de2 Fixes #13465: Added yii\helpers\FileHelper::findDirectory() method 2018-02-03 23:00:59 +07:00
06ebd3faa7 Fixes #13034: Fixed normalizePath for windows network shares that start with two backslashes 2018-01-30 17:57:13 +07:00
9aac304220 Add some @see references near HTML class attribute handling [ci skip] (#15558) 2018-01-25 15:08:40 +03:00
4f7b410230 Fixes #9771: Assign hidden input with its own set of HTML options via $hiddenOptions in activeFileInput $options 2018-01-24 17:02:03 +03:00
38f66e9c6d IsIndexed() @return wrong description fixed (#15538) [skip ci] 2018-01-22 15:44:54 +03:00
8b0702d386 Fixed #14840: improved Console::select() phpdoc [skip ci] 2018-01-21 22:41:22 +03:00
b44bbd6a13 Fix code issues (#15435)
* Fix some scrunitizer warnings

* Remove obsolete require

* Fix codestyle
2018-01-01 16:21:37 +03:00
c4e1ea28f4 Updated PHPDocs, reordered CHANGELOG 2017-12-24 15:50:02 +02:00
03ab53e1fb Rename method 2017-12-24 09:52:12 +05:00
e99c574a7c Enh #15226: Auto generate placeholder from fields 2017-12-24 08:38:53 +05:00
78d76c3f2c Enh #15226: Auto generate placeholder from fields 2017-12-24 08:07:18 +05:00
9e0f19ace7 Renamed Html::error() option errorMethod to errorSource 2017-12-22 11:02:08 +02:00
1b8da6d951 Add StringHelper::matchWildcard() (#15389)
`StringHelper::matchWildcard()` added
2017-12-20 16:16:25 +02:00
f9cdcf438d Fixes #3087: Added yii\helpers\BaseHtml::error() "errorMethod" option to be able to customize errors display 2017-12-19 23:16:00 +03:00
6ab93bd4ef a => A (fixes #15380) 2017-12-18 05:45:05 -08:00
717d0e80d3 Fixes #15358: Refactored BaseConsole::updateProgress() 2017-12-18 10:43:03 +03:00
f11f818b18 Fixes #7988: Added \yii\helpers\Console::errorSummary() and \yii\helpers\Json::errorSummary() 2017-12-14 10:59:53 +03:00
efac23dde7 Fixes #15335: Added FileHelper::unlink() that works well under all OSes 2017-12-11 22:29:31 +03:00
1e00a050d7 Fixes #15322: Fixed PHP 7.2 compatibility of FileHelper::getExtensionsByMimeType() 2017-12-10 16:31:42 +03:00
d604d80823 Fixes #14043: Added yii\helpers\IpHelper 2017-12-10 01:15:39 +03:00
d2423cd6ca Fixes #15301: Fixed ArrayHelper::filter() to work properly with 0 in values 2017-12-08 16:34:29 +03:00
01ff1f6593 Fixes #15142: Fixed array params replacing in yii\helpers\BaseUrl::current() 2017-12-02 08:26:55 +03:00