604 Commits

Author SHA1 Message Date
22d9997281 Implemented support of traversable objects in RangeValidator::ranges, added ArrayHelper::in() and ArrayHelper::subset() 2015-11-18 16:41:56 +02:00
ac36016c7f Expanded strcasecmp() condition for clarity 2015-11-18 11:32:06 +01:00
f632f4d41f Fix docs as per @SilverFire suggestions [ci skip] 2015-11-18 10:51:55 +01:00
0b2bbb2e99 Merge 2015-11-18 10:24:33 +01:00
cca500083e Implement #10078: Allow disabling csrf hidden input generation on a form 2015-11-18 10:22:31 +01:00
a6e1ba2cf6 Fixed mb_ functions calls to use UTF-8 or app charset 2015-11-17 09:02:22 +02:00
c3bfa5c77e fixed Html::activeFileInput() to set correct name for hidden input field
fixes #9689
2015-11-15 13:39:07 +01:00
a7f102fa94 Enh #10061: yii\helpers\BaseInflector::transliterate() is now public 2015-11-05 16:07:33 +02:00
7bea7b65fd Fixes #9282: Improved JSON error handling to support PHP 5.5 error codes 2015-11-04 12:59:37 +03:00
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
ccd20793d4 Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0 2015-10-14 00:15:22 +03:00
8cbcbdded7 Default Cache.SerializerPermissions configuration option for HTMLPurifier is set to 0775 2015-10-13 13:19:49 +03:00
8d2af0d2d9 Added last resort measure for FileHelper::removeDirectory() fail to unlink symlinks under Windows 2015-10-11 02:05:15 +03:00
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
4ecafe653c More compact number operations 2015-10-10 00:41:54 +03:00
b65bfad44d Simplified regular expressions 2015-10-10 00:40:25 +03:00
ffa3a59591 Compare with empty string instead of comparing length with 0 2015-10-10 00:37:46 +03:00
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
0407407b76 fix coding style to follow PSR-2 2015-10-05 13:58:47 +06:00
f007fc1e60 avoid recursion on the root of the file system
fixes #9791
2015-09-29 15:37:05 +02:00
59208e5fc6 Fixes #9681: Json::encode() was erroring under CYGWIN 2015-09-27 15:58:32 +03:00
b4da7b570c Better fix for #9288 2015-09-08 15:25:56 +03:00
6b2748a0b3 Code formatting for #9288 2015-09-05 01:41:52 +03:00
4d21c48bc4 Fixes #9288: Fixed FileHelper::createDirectory directory creation to be concurrency friendly 2015-09-05 01:39:27 +03:00
3f2f7111df BaseVarDumper::export() object to string fallback fixed 2015-08-09 20:51:38 +03:00
d9eb660df3 BaseVarDumper::export() object to string fallback fixed 2015-08-09 19:30:36 +03:00
16e1e8fe28 Fallback for objects at yii\helpers\VarDumper::export() advanced 2015-08-09 15:02:48 +03:00
e1ea227e6d improved console helper progressbar ETA
update only once per second to avoid flapping
2015-08-05 13:56:11 +02:00
728dc0c584 added docs about form element naming
close #8993
2015-08-03 12:51:17 +02:00
6e3da6b329 various phpdoc fixes 2015-08-02 22:53:08 +02:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
f4dfb0f17f Reverted part of #9239 2015-08-02 12:13:40 +03:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
afbc515407 Fixes #9239: BaseJson phpdoc corrections, minor improvements, added changelog 2015-08-01 00:48:58 +03:00
079778a355 #9239: Handle json_encode errors 2015-08-01 00:48:58 +03:00
2aba8df2ef Fixes #9228 2015-07-27 18:57:10 +03:00
b16d734c29 Fixes #8671: Extracted yii\helpers\Html::escapeJsRegularExpression() method from yii\validators\RegularExpressionValidator 2015-07-27 17:40:38 +03:00
da73a0fa47 Set cache to runtime folder for HTMLPurifier_Lexer 2015-07-22 12:53:45 +03:00
68c30c1034 Replace aliases of functions 2015-06-29 22:59:22 +03:00
3ce02dd17c toArray can be string
update docs to reflect the available type
2015-06-24 14:21:18 +09:30
39cb131984 Spelling and sc fixes 2015-06-16 23:53:12 +03:00
afe21a986a PSR-2 anonymous functions 2015-06-09 00:14:44 +03:00
d34d890a32 PSR-2 if-else statement 2015-06-09 00:10:09 +03:00
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
38ca276e1f PSR-2 try-catch statement 2015-06-08 23:32:08 +03:00
fa428a130c PSR-2 while statement 2015-06-08 23:22:41 +03:00
0c5e4b7105 PSR-2 foreach statement 2015-06-08 23:21:21 +03:00
874ecfaa37 code formatting [skip ci] 2015-06-07 09:30:49 -04:00
c339ed2949 Fixes #7764: \yii\helpers\ArrayHelper::toArray() wasn't passing $recursive to Arrayable::toArray 2015-05-31 13:09:16 +03:00
0874ffac38 Fixed yii\helpers\Html::activeTextarea() does not allow value overriding via options 2015-05-29 12:31:52 +03:00