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
John Was
6a84bfffba
refactored flag names
11 years ago
John Was
86b4c4ee0a
improved comments, method visiblity and exceptions
11 years ago
John Was
49e2c49384
advanced file excluding/including ported from git
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Florian Fackler
ff7c25ea7b
Fixes #1497 (wrong file rendered if language != sourceLanguage)
11 years ago
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
11 years ago
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
11 years ago
Qiang Xue
8d68044982
Fixes #1373 : optimized FileHelper::filterPath
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
c4f4e52a5a
fixed test break.
11 years ago
Qiang Xue
efef0e52ca
Fixed beforeCopy option.
11 years ago
Alexander Makarov
40629ca49b
Added missing beforeCopy option to FileHelper::copyDirectory
...
It was mentioned in AssetManager::publish phpdoc.
11 years ago
Alexander Makarov
b873f9f242
Fixes #915 : helper classes renamed again
11 years ago
Alexander Makarov
76cab3ea64
Renamed base helper classes
11 years ago
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
11 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
11 years ago
Qiang Xue
e11ce60023
fixed the "only" option for FileHelper::findFiles()
11 years ago
Qiang Xue
227a831b8f
Improved FileHelper::filterPath()
11 years ago
Qiang Xue
d56739689c
Enhanced file options for FileHelper.
11 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
11 years ago
Qiang Xue
531ca690eb
refactored the message command.
11 years ago
Qiang Xue
05cca15459
Removed "fileTypes" option.
11 years ago
Mojtaba Salehi
d97512e774
Call static::mkdir(..)
11 years ago
Qiang Xue
a8d2eded98
Fixing test breaks.
11 years ago
Qiang Xue
040db44fbd
refactored FileHelper.
11 years ago
Qiang Xue
2a30e32912
FileHelper refactoring WIP
11 years ago
Paul Klimov
dc8c71f409
"StringHelper::basename()" has been replaced by plain "basename" at "FileHelper".
11 years ago
Klimov Paul
40a005d543
"yii\helpers\StringHelper" usage has been added to "yii\helpers\base\FileHelper".
11 years ago
Klimov Paul
7697f21592
"filter" callback option has been added to "yii\helpers\base\FileHelper::findFiles()".
11 years ago
Klimov Paul
12d94c4a35
Doc comments at "yii\helpers\base\FileHelper::findFiles()" have been recomposed using markdown format.
11 years ago
Klimov Paul
3acd77b8b9
"self" replaced by "static" at "yii\helpers\base\FileHelper::mkdir()".
11 years ago
Klimov Paul
8f7a783757
Method "yii\helpers\base\FileHelper::mkdir()" has been added.
11 years ago
Klimov Paul
dfda6663f6
Method "yii\helpers\base\FileHelper::findFiles()" has been added.
11 years ago
Klimov Paul
ef60ec56a3
Method "yii\helpers\base\FileHelper::removeDirectory()" has been added.
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Qiang Xue
fadb528f2e
script WIP
12 years ago
Qiang Xue
a3d058574e
refactored FileHelper::copyDirectory()
12 years ago
Qiang Xue
8f9cfa2c30
draft of script/asset management is done.
12 years ago
Qiang Xue
5b412b8f84
script WIP
12 years ago
Qiang Xue
9183e83753
restructured helper classes
12 years ago