42 Commits

Author SHA1 Message Date
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
5c767e5d34 Better Windows detection 2014-07-23 16:37:10 +04: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
f19a97e308 Fix yii\helpers\FileHelper::copyDirectory() pattern not working 2014-05-30 14:50:11 +03:00
390004a899 Fixed path in unit test to use the directory separator variable. 2014-05-22 09:34:10 +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
7295540c72 Code style and phpdoc fixes 2014-04-17 15:33:07 +04:00
612d3ed27d removed redundant whitespace 2014-04-04 15:18:58 +02:00
164459f90a Fixed test break and JSON MIME type. Fixes issue #2978. 2014-04-04 13:54:04 +02:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02: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
71835d977e More short syntax for arrays 2014-03-07 02:03:23 +04:00
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
6e7edfdf5b short array syntax 2014-03-03 20:21:55 +03:00
b2b10d1685 more unit tests for helpers/FileHelper::findFiles using new wildcard exceptions matching 2014-01-26 15:02:26 +01:00
ff7c25ea7b Fixes #1497 (wrong file rendered if language != sourceLanguage) 2013-12-12 22:55:10 +01:00
1c24b3e0d8 removed TestCase and WebTestCase. 2013-11-16 21:30:20 -05:00
979e8d1619 Replaced assertTrue(file_exists with assertFileExists in FileHelperTest 2013-11-17 04:19:57 +04:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
b5a6dac3ae renamed test method after implementation rename in FileHelper 2013-08-30 17:03:09 +02:00
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.
2013-08-30 16:52:33 +02:00
b968402ebd more tests for FileHelper 2013-08-26 03:39:11 +04:00
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
a6cd7b72bb refactored helper organization. 2013-07-17 20:45:36 -04:00
7ebbc46a5b Fixed wrong class uses. 2013-07-17 20:14:43 -04:00
05cca15459 Removed "fileTypes" option. 2013-06-11 14:14:36 -04:00
9d3c9db49d Fixed test breaks. 2013-06-11 11:58:31 -04:00
a8d2eded98 Fixing test breaks. 2013-06-11 11:23:33 -04:00
040db44fbd refactored FileHelper. 2013-06-11 11:07:43 -04:00
7697f21592 "filter" callback option has been added to "yii\helpers\base\FileHelper::findFiles()". 2013-06-10 23:36:22 +03:00
a5480de852 Test case "FileHelperTest::testGetMimeTypeByExtension()" has been added. 2013-06-10 22:22:44 +03:00
8f7a783757 Method "yii\helpers\base\FileHelper::mkdir()" has been added. 2013-06-10 22:15:03 +03:00
f416a36648 "FileHelperTest" has been advanced. 2013-06-10 22:07:19 +03:00
539864f435 "FileHelperTest" has been refactored. 2013-06-10 21:33:53 +03:00
dfda6663f6 Method "yii\helpers\base\FileHelper::findFiles()" has been added. 2013-06-10 20:57:17 +03:00
ef60ec56a3 Method "yii\helpers\base\FileHelper::removeDirectory()" has been added. 2013-06-10 20:28:26 +03:00
e2f7b99f16 Unit test for "yii\helpers\base\FileHelper" has been created. 2013-06-10 20:22:34 +03:00