Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
Alexander Makarov
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
2014-07-30 02:15:08 +04:00
Alexander Makarov
77e4a80edc
Removed unused code
2014-07-25 17:34:16 +04:00
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
2014-07-25 17:26:35 +04:00
Alexander Makarov
07f01bcf2b
Used substr_compare instead of substr when we don't care about result
2014-07-23 16:37:49 +04:00
Alexander Makarov
92c64994cd
Improved strtr calls
2014-07-23 16:19:28 +04:00
Alexander Makarov
e17e99d332
Fixes #3887
2014-07-22 19:35:44 +04:00
Misbahul D Munir
6a6caf717b
dropDownList encodeSpaces for subgroups
...
fixes #4105 , close #4376
2014-07-20 22:11:15 +02:00
Qiang Xue
e5a87af234
Fixes #4331 : yii\helpers\Url now uses UrlManager to determine base URL when generating URLs
2014-07-17 21:51:37 -04:00
Qiang Xue
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
Qiang Xue
502c5891a1
Fixes #4205 [skip ci]
2014-07-04 22:07:16 -04:00
Tobias Munk
b96be063da
Merge branch 'feature/issue-1160'
2014-07-03 15:35:36 +02:00
Tobias Munk
8666504a4f
fixed typo [skip ci]
2014-07-03 15:34:34 +02:00
Tobias Munk
a799eeb9ce
code style
2014-07-03 01:57:22 +02:00
Tobias Munk
7c04ff048f
moved functionality to behavior, added tests
2014-07-03 00:05:48 +02:00
Tobias Munk
3fc4d5ebc9
fixes #1160
2014-07-01 23:20:35 +02:00
Carsten Brandt
74843ccbf4
make fileinfo optional requirement
2014-06-30 11:31:15 +02:00
Paul Klimov
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
resurtm
9bc8c3304b
https://github.com/yiisoft/yii2/pull/4091#discussion_r14296860
2014-06-27 21:07:12 +06:00
resurtm
1327d8ad2d
Fix possibility of non-removed symlinked directory.
2014-06-27 20:38:05 +06:00
Klimov Paul
e6f7d9b625
Security helper files removed
2014-06-27 14:34:11 +03:00
resurtm
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
Carsten Brandt
6578cfbdab
updated phpdoc and classmap
2014-06-25 18:24:23 +02:00
Carsten Brandt
284ec069ad
implemented ANSI strlen helper
...
issue #746
2014-06-25 18:24:23 +02:00
Carsten Brandt
10dc407a3c
implemented markdown parsing for console command description
...
issue #746
2014-06-25 18:05:29 +02:00
Carsten Brandt
f46cffb4e4
Implement console color ansi2html
...
issue #746
2014-06-25 16:39:45 +02:00
Alexander Makarov
02e3746013
Fixed Inflector::slug to work properly with numbers
2014-06-22 02:03:55 +04:00
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
Alexander Makarov
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
Qiang Xue
24257e76c8
Fixes #3909 : Html::to() should not prefix base URL to URLs that already contain scheme
2014-06-17 15:41:01 -04:00
Qiang Xue
084819b84c
refactored file validator.
2014-06-14 16:21:59 -04:00
Mark
42643e3747
type validation adjusted
2014-06-14 12:42:12 +04:00
Qiang Xue
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
Mark
718d114828
file helper adjusted , upgrade notes added
2014-06-11 21:43:51 +04:00
Carsten Brandt
efbd23b52e
refactored logger to support array values out of the box.
...
fixes #3245 , #3244
2014-06-09 14:58:36 +02:00
Alexander Makarov
36e4930dcd
Fixes #3669 : added note about using ArrayHelper::getValue with objects
2014-06-09 01:34:11 +04:00
Alexander Makarov
09e6a13e8f
Fixed tests
2014-06-08 12:14:42 +04:00
Alexander Makarov
f8e05fbf4f
Improved yii\helpers\Inflector::slug to support more cases for Russian, Hebrew and special characters
2014-06-08 05:44:31 +04:00
Paul Klimov
44476d985e
Merge pull request #3479 from lynicidn/patch-4
...
fix #3478
2014-06-06 10:57:18 +03:00
Alexander Makarov
44273f0790
Revert "Merge pull request #3445 from Alex-Code/getValue"
...
This reverts commit a5846fa269 , reversing
changes made to 2a6e064aca .
2014-06-01 00:14:44 +04:00
Alexander Makarov
a5846fa269
Merge pull request #3445 from Alex-Code/getValue
...
Check if property is set
2014-05-31 13:07:59 +04:00
Carsten Brandt
0b248dff81
Merge PR #3643 branch 'mime-types-from-apache' of github.com:yiisoft/yii2
...
* 'mime-types-from-apache' of github.com:yiisoft/yii2:
changelog
generated mimeType detection file from apache http mime.types file
Conflicts:
framework/CHANGELOG.md
2014-05-30 16:58:07 +02:00
Carsten Brandt
e5713c8e12
generated mimeType detection file from apache http mime.types file
...
MimeTypeController generates a map of file extensions to MIME types
It uses `mime.types` file from apache http located under
http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup
This file has been placed in the public domain for unlimited
redistribution,
so we can use it and ship it with Yii.
see also yiisoft/yii#2851 and yiisoft/yii#2857
2014-05-30 15:54:51 +02:00
Klimov Paul
f19a97e308
Fix yii\helpers\FileHelper::copyDirectory() pattern not working
2014-05-30 14:50:11 +03:00
Alexander Makarov
d7a251bbec
Removed unused imports, added missing phpdoc
2014-05-30 11:55:17 +06:00
armab
c792e0d07f
Hotfix for #3597
2014-05-27 02:34:32 +03:00
armab
3048fdf66f
Improve array support for "data" attribute in renderTagAttributes()
2014-05-26 23:14:42 +03:00
Carsten Brandt
4de6e8c6b2
fix #3501 replace . when generating input ids
2014-05-25 18:51:06 +02:00
Qiang Xue
305e8cbdba
refactored Html.
2014-05-22 14:01:52 -04:00
Qiang Xue
5771dfc48e
Merge pull request #3529 from skotos/3522-normalizepath-current-path
...
#3522 normalizepath to allow current path
2014-05-21 19:43:41 -04:00