b39a0a1e5a
Fixes #11774 : Fixed incorrect recusuive symlinks check in FileHelper
2016-06-18 17:34:25 +03:00
4f4fa6fdf0
Fixes #10710 : yii\helpers\FileHelper::copyDirectory()
is now throwing exception when trying to copy a directory to itself or a subdirectory
2016-04-23 01:58:33 +03:00
77599dc179
fixes #11040 : make copyDirectory method work correctly with parameter 'recursive'
2016-03-08 00:45:52 +06:00
a6e1ba2cf6
Fixed mb_ functions calls to use UTF-8 or app charset
2015-11-17 09:02:22 +02: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
f007fc1e60
avoid recursion on the root of the file system
...
fixes #9791
2015-09-29 15:37:05 +02: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
39cb131984
Spelling and sc fixes
2015-06-16 23:53:12 +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
14c003acab
improved error message on createDirectory
...
ensure the directory name is included in the error message.
fixes #6442
2015-04-01 00:53:03 +02:00
16c94efaf5
improved error messages in FileHelper
2015-03-26 13:24:59 +01:00
6481d13494
Optimized checks order in conditions
2015-02-08 17:56:36 +03:00
64b4d6dca1
Correct order of property declaration
2014-10-25 16:28:36 +03:00
b835422479
Fixes #4897 : Added `yii\helpers\FileHelper::mimeMagicFile
2014-09-10 14:17:16 -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
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
77e4a80edc
Removed unused code
2014-07-25 17:34:16 +04:00
92c64994cd
Improved strtr calls
2014-07-23 16:19:28 +04:00
74843ccbf4
make fileinfo optional requirement
2014-06-30 11:31:15 +02: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
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
084819b84c
refactored file validator.
2014-06-14 16:21:59 -04:00
42643e3747
type validation adjusted
2014-06-14 12:42:12 +04:00
718d114828
file helper adjusted , upgrade notes added
2014-06-11 21:43:51 +04:00
f19a97e308
Fix yii\helpers\FileHelper::copyDirectory()
pattern not working
2014-05-30 14:50:11 +03:00
330f4609bf
Implemented qiangxue's solution as it is much simpler.
2014-05-22 08:23:26 +10:00
39265da4f5
Code style fix & CHANGELOG typo fix for bug #3522
2014-05-21 22:24:49 +10:00
be89ff97d3
fixed normalizePath to keep a '.' path when necessary.
2014-05-21 20:55:52 +10:00
78a8694eb5
file helper did not preserve relative paths
2014-04-25 04:06:07 +02:00
ab218addda
Fixes #2563 : Theming is not working if the path map of the theme contains ".." or "." in the paths
2014-04-18 15:13:50 -04:00
3c400dbca8
fixed file PHPdoc
...
issue #3026
2014-04-10 22:10:59 +02:00
27659d1776
fixed FileHelper private method static call
2014-03-26 17:51:52 +01:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
1b7e1cd027
Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
...
* 'feature' of https://github.com/mongosoft/yii2 :
returned back formatting language files
code style. WHILE
code style. FOR
code style. FOREACH
code style. operator IF
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
short echo tags
short array syntax
Conflicts:
extensions/apidoc/commands/RenderController.php
extensions/apidoc/models/BaseDoc.php
extensions/apidoc/models/Context.php
extensions/apidoc/templates/bootstrap/Renderer.php
extensions/apidoc/templates/bootstrap/layouts/guide.php
extensions/apidoc/templates/bootstrap/layouts/main.php
extensions/apidoc/templates/bootstrap/views/index.php
extensions/apidoc/templates/html/Renderer.php
extensions/apidoc/templates/offline/views/index.php
extensions/apidoc/templates/offline/views/offline.php
extensions/apidoc/templates/online/views/index.php
extensions/elasticsearch/Connection.php
extensions/redis/ActiveQuery.php
framework/base/ErrorException.php
framework/helpers/BaseFileHelper.php
tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
d3171b6cfb
fix code style php5.4 syntax
2014-03-04 06:37:49 +02:00
045eb9f7ee
Inline control structures are not allowed
2014-03-04 06:32:37 +02:00
eaaa5b1bb5
fix code style
2014-03-04 06:12:30 +02:00
35651ea122
fix code style Expected 1 space after FUNCTION keyword; 0 found
2014-03-04 05:53:06 +02:00
0f50e038c8
fix phpDoc, added @throws annotation BaseFileHelper::copyDirectory
2014-03-04 05:05:11 +02:00
95ea1c20bb
code style. FOREACH
2014-03-03 21:47:47 +03:00
b2f1b00bf2
code style. operator IF
2014-03-03 21:32:34 +03:00
6e7edfdf5b
short array syntax
2014-03-03 20:21:55 +03:00
f9dee9c951
Fixed an issue with Filehelper and not accessable directories
...
which resulted in endless loop
http://www.yiiframework.com/forum/index.php/topic/50982-cfilehelper-bug-security-flaw/
2014-01-28 11:09:41 +01:00