270 Commits

Author SHA1 Message Date
ed251d8993 Html::button() type is button by default 2014-09-09 23:32:00 +04:00
fadfdf690a Refactored help system. [skip ci] 2014-09-04 19:47:52 -04:00
61284ed405 Fixes #3910: Removed the container option from Html::checkbox() and Html::radio() 2014-09-04 14:36:30 -04:00
3786440288 Fixes #4762: Reverted automatic ID fix. 2014-08-25 17:05:14 -04:00
0bf16497af Convert 'caseless' option into 'caseSensitive' option at yii\helpers\BaseFileHelper::findFiles() 2014-08-19 17:33:11 +03:00
6461523aca Added 'caseless' option to yii\helpers\BaseFileHelper::findFiles() 2014-08-19 14:52:56 +03:00
9b6f84ca58 BaseHtmlPurifier config can now be a closure
`$config` can now be a closure that will have the `$configInstance` passed as the first param.

updated docs.

close #4656
2014-08-12 00:33:29 +02:00
7728274ce6 Fixes #4122: Html::error() and Html::errorSummary() are now accepting encode option. If set to false it prevents encoding of error messages 2014-08-12 02:13:34 +04:00
1c3e61ec26 Fixes #4591: yii\helpers\Url::to() will no longer prefix relative URLs with the base URL 2014-08-05 11:06:54 -04:00
91e0a3c8ee fix typo in define $flavors['gfm-comment']
fix typo Markdown->GithubMarkdown in $flavors['gfm-comment']
2014-08-03 21:42:38 +04:00
7af92173b1 length arg of byteSubstr is now optional 2014-07-30 13:29:01 +02:00
cde71f4318 Added encoding to StringHelper::byteSubst() fallback 2014-07-30 15:11:20 +04:00
94dc27a30e Fixes #4497: Bad Request, Unable to verify your data submission 2014-07-30 09:37:03 +02:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 2014-07-30 02:15:08 +04:00
77e4a80edc Removed unused code 2014-07-25 17:34:16 +04:00
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
92c64994cd Improved strtr calls 2014-07-23 16:19:28 +04:00
e17e99d332 Fixes #3887 2014-07-22 19:35:44 +04:00
6a6caf717b dropDownList encodeSpaces for subgroups
fixes #4105, close #4376
2014-07-20 22:11:15 +02:00
e5a87af234 Fixes #4331: yii\helpers\Url now uses UrlManager to determine base URL when generating URLs 2014-07-17 21:51:37 -04:00
61b627a6fc Fixes #4318: yii\helpers\Html::ul() and ol() will return an empty list tag if an empty item array is given 2014-07-16 21:49:35 -04:00
502c5891a1 Fixes #4205 [skip ci] 2014-07-04 22:07:16 -04:00
b96be063da Merge branch 'feature/issue-1160' 2014-07-03 15:35:36 +02:00
8666504a4f fixed typo [skip ci] 2014-07-03 15:34:34 +02:00
a799eeb9ce code style 2014-07-03 01:57:22 +02:00
7c04ff048f moved functionality to behavior, added tests 2014-07-03 00:05:48 +02:00
3fc4d5ebc9 fixes #1160 2014-07-01 23:20:35 +02:00
74843ccbf4 make fileinfo optional requirement 2014-06-30 11:31:15 +02:00
648b9b70f5 Merge pull request #4089 from klimov-paul/87-security-component-3
Fix #87: security helper converted into component and improved
2014-06-29 00:04:03 +03:00
9bc8c3304b https://github.com/yiisoft/yii2/pull/4091#discussion_r14296860 2014-06-27 21:07:12 +06:00
1327d8ad2d Fix possibility of non-removed symlinked directory. 2014-06-27 20:38:05 +06:00
e6f7d9b625 Security helper files removed 2014-06-27 14:34:11 +03:00
fb9df78795 Fixes #4080, FileHelper::removeDirectory():
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
2014-06-27 13:47:43 +06:00
6578cfbdab updated phpdoc and classmap 2014-06-25 18:24:23 +02:00
284ec069ad implemented ANSI strlen helper
issue #746
2014-06-25 18:24:23 +02:00
10dc407a3c implemented markdown parsing for console command description
issue #746
2014-06-25 18:05:29 +02:00
f46cffb4e4 Implement console color ansi2html
issue #746
2014-06-25 16:39:45 +02:00
02e3746013 Fixed Inflector::slug to work properly with numbers 2014-06-22 02:03:55 +04:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
c3de3450a7 Fixes #3939: \yii\Inflector::slug() improvements:
- Added protected `\yii\Inflector::transliterate()` that could be replaced with custom translit implementation.
- Added proper tests for both intl-based slug and PHP fallback.
- Removed character maps for non-latin languages.
- Improved overall slug results.
- Added note about the fact that intl is required for non-latin languages to requirements checker.
2014-06-19 20:33:52 +04:00
24257e76c8 Fixes #3909: Html::to() should not prefix base URL to URLs that already contain scheme 2014-06-17 15:41:01 -04:00
084819b84c refactored file validator. 2014-06-14 16:21:59 -04:00
42643e3747 type validation adjusted 2014-06-14 12:42:12 +04:00
6b799d392d Fixes #3358: Removed automatic CSRF meta tag generation by View. Added Html::csrfMetaTags() and its call to main layout files 2014-06-13 10:04:48 -04:00
718d114828 file helper adjusted , upgrade notes added 2014-06-11 21:43:51 +04:00
efbd23b52e refactored logger to support array values out of the box.
fixes #3245, #3244
2014-06-09 14:58:36 +02:00
36e4930dcd Fixes #3669: added note about using ArrayHelper::getValue with objects 2014-06-09 01:34:11 +04:00
09e6a13e8f Fixed tests 2014-06-08 12:14:42 +04:00