Commit Graph

295 Commits

Author SHA1 Message Date
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
Scott Tester
330f4609bf Implemented qiangxue's solution as it is much simpler. 2014-05-22 08:23:26 +10:00
Qiang Xue
0aff05850c Merge branch 'patch-4' of github.com:kartik-v/yii2 into kartik-v-patch-4
Conflicts:
	framework/CHANGELOG.md
2014-05-21 14:46:58 -04:00
Kartik Visweswaran
16f279ebe3 Fix #3472: Configurable option to encode spaces in dropdowns 2014-05-22 00:06:06 +05:30
Scott Tester
39265da4f5 Code style fix & CHANGELOG typo fix for bug #3522 2014-05-21 22:24:49 +10:00
Scott Tester
be89ff97d3 fixed normalizePath to keep a '.' path when necessary. 2014-05-21 20:55:52 +10:00
Kartik Visweswaran
1abd0ab486 Fix #3472: Configurable option to encode spaces in dropdowns 2014-05-20 23:53:37 +05:30
Kartik Visweswaran
0e40dfdd6e Fix #3472: Configurable option to encode spaces in dropdowns 2014-05-20 23:42:49 +05:30
DaSourcerer
be164e45db Handle invalid code sequences in Html::encode() 2014-05-20 15:44:23 +02:00
Qiang Xue
2b26dd3285 Improved doc [skip ci] 2014-05-20 08:34:28 -04:00
Kartik Visweswaran
0ed190e995 Fix #3472: Configurable option to encode spaces in dropdowns 2014-05-19 21:32:13 +05:30
Klimov Paul
6f3ffae7d6 Merge branch 'master' of github.com:yiisoft/yii2 into 3232-var-export 2014-05-19 18:34:07 +03:00
Klimov Paul
8d0fb916c0 VarDumper::exportAsString() removed 2014-05-19 18:33:49 +03:00