Boudewijn Vahrmeijer
b4da7b570c
Better fix for #9288
9 years ago
Alexander Makarov
6b2748a0b3
Code formatting for #9288
9 years ago
Boudewijn Vahrmeijer
4d21c48bc4
Fixes #9288 : Fixed `FileHelper::createDirectory` directory creation to be concurrency friendly
9 years ago
Alexander Mohorev
39cb131984
Spelling and sc fixes
9 years ago
Alexander Mohorev
ae42a054bb
PSR-2 spaces, commas, etc
9 years ago
Alexander Mohorev
38ca276e1f
PSR-2 try-catch statement
9 years ago
Carsten Brandt
14c003acab
improved error message on createDirectory
...
ensure the directory name is included in the error message.
fixes #6442
10 years ago
Carsten Brandt
16c94efaf5
improved error messages in FileHelper
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Alexander Mohorev
64b4d6dca1
Correct order of property declaration
10 years ago
Qiang Xue
b835422479
Fixes #4897 : Added `yii\helpers\FileHelper::mimeMagicFile
10 years ago
Klimov Paul
0bf16497af
Convert 'caseless' option into 'caseSensitive' option at `yii\helpers\BaseFileHelper::findFiles()`
10 years ago
Klimov Paul
6461523aca
Added 'caseless' option to `yii\helpers\BaseFileHelper::findFiles()`
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Alexander Makarov
77e4a80edc
Removed unused code
10 years ago
Alexander Makarov
92c64994cd
Improved strtr calls
10 years ago
Carsten Brandt
74843ccbf4
make fileinfo optional requirement
10 years ago
resurtm
9bc8c3304b
https://github.com/yiisoft/yii2/pull/4091#discussion_r14296860
10 years ago
resurtm
1327d8ad2d
Fix possibility of non-removed symlinked directory.
10 years ago
resurtm
fb9df78795
Fixes #4080 , FileHelper::removeDirectory():
...
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
10 years ago
Qiang Xue
084819b84c
refactored file validator.
10 years ago
Mark
42643e3747
type validation adjusted
10 years ago
Mark
718d114828
file helper adjusted , upgrade notes added
10 years ago
Klimov Paul
f19a97e308
Fix `yii\helpers\FileHelper::copyDirectory()` pattern not working
10 years ago
Scott Tester
330f4609bf
Implemented qiangxue's solution as it is much simpler.
11 years ago
Scott Tester
39265da4f5
Code style fix & CHANGELOG typo fix for bug #3522
11 years ago
Scott Tester
be89ff97d3
fixed normalizePath to keep a '.' path when necessary.
11 years ago
Carsten Brandt
78a8694eb5
file helper did not preserve relative paths
11 years ago
Qiang Xue
ab218addda
Fixes #2563 : Theming is not working if the path map of the theme contains ".." or "." in the paths
11 years ago
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
Carsten Brandt
27659d1776
fixed FileHelper private method static call
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
AlexGx
d3171b6cfb
fix code style php5.4 syntax
11 years ago
AlexGx
045eb9f7ee
Inline control structures are not allowed
11 years ago
AlexGx
eaaa5b1bb5
fix code style
11 years ago
AlexGx
35651ea122
fix code style `Expected 1 space after FUNCTION keyword; 0 found`
11 years ago
AlexGx
0f50e038c8
fix phpDoc, added @throws annotation BaseFileHelper::copyDirectory
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Alexander Mohorev
b2f1b00bf2
code style. operator IF
11 years ago
Alexander Mohorev
6e7edfdf5b
short array syntax
11 years ago
Carsten Brandt
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/
11 years ago
Carsten Brandt
21ae27b306
updated phpdoc properties
11 years ago
John Was
26564fb9b5
fixed code style for assignments inside if conditions
11 years ago
John Was
07ce08d970
updated helpers/BaseFileHelper::findFiles description and comments in messages/config.php
11 years ago
John Was
f90e594f4f
remove _FLAG from PATTERN_FLAG constants
11 years ago
John Was
b2b10d1685
more unit tests for helpers/FileHelper::findFiles using new wildcard exceptions matching
11 years ago
Alexander Makarov
1e602adb6e
- Fixed BaseFileHelper::localize docs.
...
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
11 years ago
Alexander Makarov
8bdc437bc2
Fixes #2079 :
...
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
11 years ago