683 Commits

Author SHA1 Message Date
851e846688 Do not count each iteration 2019-09-04 00:37:15 +03:00
f5776a968c #17508 fix 2019-08-18 08:33:31 +02:00
efe8d48f15 Fix #15779: If directory path is passed to FileHelper::unlink() and directory has files it will not delete files in this directory on Windows now 2019-08-06 16:34:47 +03:00
2b9374558b Fix #17395: Fixed issues with actions that contain underscores in their names 2019-07-08 13:46:43 +03:00
8fb5b35cc5 Closes #17372. Fix documentation for the ArrayHelper::multisort() (#17375) 2019-06-18 14:17:16 +03:00
c8564241d3 Remove extra spaces from Html::csrfMetaTags (#17370) 2019-06-14 15:02:47 +03:00
2ca8da062c Fixes #17328: Added mime aliases for BMP and SVG files 2019-06-03 16:17:08 +02:00
30e10837ba Fixes #16509: Fixed console command help text wordwrap for multi-byte strings 2019-05-22 14:42:12 +03:00
aa0f09b3e2 Fixes #17306: Added ".mjs" extensions to mimetypes meta 2019-05-14 23:11:25 +03:00
9c37016dac Fixes #17235: yii\helpers\FileHelper::normalizePath() now accepts stream wrappers 2019-03-29 18:26:31 +03:00
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?
2019-02-28 13:09:27 +03:00
1cc83f02f5 Fixes #17150: Fixed yii\helpers\BaseInflector::camel2words() splitting ALLCAPS words on each letter 2019-02-22 23:41:14 +03:00
768d590eef added missing @since annotations 2019-01-31 00:45:25 +01:00
de5b903806 Fixed regression in #16817 (#17056) 2019-01-21 15:20:43 +03:00
a790685e66 Fixes #16974: Regular Expression Validator to include support for 'u' (UTF-8) modifier 2019-01-03 15:12:42 -05:00
06227c7075 Fixes #16648: Html::strtolower() was corrupting UTF-8 strings 2018-11-20 01:09:03 +03:00
383953d9b7 Update BaseArrayHelper.php (#1) (#16894) 2018-11-18 10:16:52 +02:00
ba0a3c00ca Fixes #16183: Fixed when yii\helpers\BaseFileHelper sometimes returned wrong value 2018-10-27 02:07:17 +03:00
1342eb718b Fixes #15204: yii\helpers\BaseInflector::slug() is not removing substrings matching provided replacement from given string anymore 2018-10-23 22:33:18 +03:00
f3438c450c Fixes #10843: Additional hidden input rendered by yii\helpers\BaseHtml methods inherits disabled HTML option if provided and set to true 2018-10-23 21:29:46 +03:00
b070b5f733 Improve annotations for yii\helpers\BaseArrayHelper::getColumn()(#16795) (#16802) [skip ci] 2018-10-20 00:10:48 +03:00
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