Commit Graph

105 Commits

Author SHA1 Message Date
nao-pon 8e742ac31c fix #353 it can download files/folders as an archve file 2016-01-23 22:00:02 +09:00
nao-pon ff737052d1 [VD:LocalFileSystem,S3] fix some notice errors 2016-01-20 17:21:08 +09:00
nao-pon 516147caf6 [VD] main option commonTempPath to use
and fixes some notice errors
2016-01-20 17:09:57 +09:00
nao-pon 16ecb358b7 [php] call sesseion_write_close() if session restarted 2016-01-14 23:04:07 +09:00
nao-pon 62336390f4 [VD:LocalFileSystem] inotifywait target event create to close_write 2016-01-14 22:49:59 +09:00
nao-pon d4db0bcb20 [VD] fix problem of session cache writting 2016-01-13 21:26:07 +09:00
nao-pon aa26de63ec [php] fix to hide error report of session_start() 2016-01-13 20:51:34 +09:00
nao-pon 0b9c4cb08e [VD:LocalFileSystem] check dir attr in _subdirs() 2016-01-13 18:03:11 +09:00
nao-pon a1afb12c1e [VD:abstract] correction of session handling 2016-01-11 21:42:10 +09:00
nao-pon a2016b7c33 [VD:LocalFileSystem] perfomance tune _subdir() with ParentIterator 2016-01-09 16:29:08 +09:00
nao-pon 68042aa9dd [VD:LocalFileSystem] fix enbug serach problem
of @aac6bf37e0bd49617d87526a020a73e4d1f7416f include un-readble items in
serach results.
2016-01-09 13:43:40 +09:00
nao-pon aac6bf37e0 [VD:LocalFileSystem] fix #1181 case insensitive search
and, perfomance tuning by RecursiveDirectoryIterator.
2016-01-09 01:35:03 +09:00
nao-pon 05c5ea9baa [php] fix fatal error & typo of @e23f80ab38b3c65aab3317a33a5d771ba2fb1819 2016-01-08 17:43:42 +09:00
nao-pon e23f80ab38 [core] fix #1176 sync check with HTTP long polling
Set client configuration option `sync` to enable auto sync.

Example
```javascript
var options = {
    url  : 'php/connector.php',
    sync : 10000  // Checks every 10sec
}
$('#elfinder').elfinder(options);
```

And added new volume driver root options this time.

```php
// Is support parent directory time stamp update on add|remove|rename item
// Default `null` is auto detection that is LocalFileSystem, FTP or
// Dropbox are `true`
'syncChkAsTs'  => null,

// Long pooling sync checker function for syncChkAsTs is true
// Calls with args (TARGET DIRCTORY PATH, STAND-BY(sec), OLD TIMESTAMP, VOLUME DRIVER INSTANCE, ELFINDER INSTANCE)
// This function must return the following values. Changed: New Timestamp or Same: Old Timestamp or Error: false
// Default `null` is try use
// elFinderVolumeLocalFileSystem::localFileSystemInotify() on LocalFileSystem driver
// another driver use elFinder stat() checker
'syncCheckFunc'=> null,

// Long polling sync stand-by time (sec)
'plStandby'    => 30,

// Sleep time (sec) for elFinder stat() checker (syncChkAsTs is true)
'tsPlSleep'    => 10,

// Sleep time (sec) for elFinder ls() checker (syncChkAsTs is false)
'lsPlSleep'    => 30,

// Client side sync interval minimum (ms)
// Default `null` is auto set to ('tsPlSleep' or 'lsPlSleep') * 1000
'syncMinMs'    => null,
```
2016-01-08 16:15:25 +09:00
nao-pon a8630d5864 [VD:LocalFileSystem] set $this->tmp by options['tmpPath'] 2016-01-04 00:42:55 +09:00
nao-pon d701d8891c [VD:LocalFileSystem] fix notice error
ref. https://github.com/Studio-42/elFinder/issues/1173#issuecomment-168434704
2016-01-03 11:41:18 +09:00
nao-pon c8a66f0ef2 [php:core,VD] fix #1074 startPath for multi volumes 2015-12-28 21:21:42 +09:00
nao-pon d0a4ee8c35 [VD:LocalFileSystem] fix nao-pon/elFinder#15 doSearch of non UTF-8 2015-12-16 20:36:30 +09:00
nao-pon 80fc60b519 [VD:LocalFileSystem] bugfix, problem of move by fromCopy 2015-11-23 11:07:43 +09:00
nao-pon 568637c8cd [VD:LocalFileSystem] bugfix, problem of lost source file at fromCopy method 2015-11-23 01:31:50 +09:00
nao-pon fc5151aa0e [VD:LocalFileSystem] fix sym-link file stats mtime, size 2015-11-14 11:35:56 +09:00
nao-pon efccca9754 [VD:LocalFileSystem] fix #1127 autodetection of systemRoot
Volume driver option `path` supported Windows absolute path.
2015-11-13 22:18:26 +09:00
nao-pon 7e29eead7d [VD:LocalFileSystem] fix merge miss of last commit 61dbd00 2015-11-12 09:53:20 +09:00
nao-pon 61dbd00b72 Merge branch '2.0' into 2.x
Conflicts:
	php/elFinderVolumeLocalFileSystem.class.php
2015-11-12 09:48:00 +09:00
nao-pon 65e193f8e5 [VD:LocalFileSystem] check fimename based MIME type on extract 2015-11-12 09:45:37 +09:00
nao-pon 651260caf6 [VD, css] fix #1115, new VD option rootCssClass
New VolumeDriver(connector) option `rootCssClass` that CSS Class of
volume root in tree.

Fix `​` problem of title attr of cwd icon view
2015-11-05 17:38:41 +09:00
nao-pon 418cc22fc8 [VD:abstract,LocalFileSystem] fix #1087 support PHP ZipArchive class 2015-10-15 22:16:07 +09:00
nao-pon a8d0815ffc [VD:abstract] performance tune - caching "has subdirs"
revert 7a623bf726 ( [VD:LocalFileSystem]
performance tune - caching "has subdirs" )
2015-10-14 14:37:47 +09:00
nao-pon 7a623bf726 [VD:LocalFileSystem] performance tune - caching "has subdirs" 2015-10-13 18:26:55 +09:00
nao-pon a9cefb3f6a [VD] fix argument of elFinderVolumeDriver::path() that must give "hash" 2015-10-04 00:10:19 +09:00
nao-pon e07c8222db correction about showing of the symbolic link (ref #1099) 2015-10-03 18:53:18 +09:00
nao-pon a36c8721f8 fix #1099 support view of symlink dirctory 2015-10-02 00:50:11 +09:00
nao-pon a3da55cdb3 [VD:LocalFileSystem] fix notice error (enbug@6429ff5796f0d9daf8ebcdcc8543e3e4b5f13232) 2015-09-13 20:22:08 +09:00
nao-pon 6429ff5796 [VD:LocalFileSystem] use rename or copy at _save() if possible 2015-09-06 20:01:22 +09:00
nao-pon 5c55fb0f25 [VD:LoacalFileSystem] fix Fatal error: Uncaught exception
Fatal error: Uncaught exception 'UnexpectedValueException' at
DirectoryIterator::__construct()
2015-07-09 15:26:42 +09:00
nao-pon 6d777b042a [VD:LocalFileSystem] make cache in _scandir() with DirectoryIterator 2015-07-04 21:04:27 +09:00
nao-pon 0518eaa06e [VD:LocalFileSystem] do clearstatcache() when touch file/dirctory
ref.
- nao-pon/elFinder-nightly#13
- https://github.com/Studio-42/elFinder/issues/1042#issuecomment-113844429
2015-06-21 14:35:23 +09:00
nao-pon 4cc7b94195 [VD:LocalFileSystem] fix file.perm stat on chmod 2015-06-21 13:37:51 +09:00
nao-pon 81ff772e4b [VD:LocalFileSystem] support group, perm of file stat for cmd chmod 2015-06-20 01:48:39 +09:00
nao-pon f1f3b97cee correction of chmod function 2015-06-19 23:08:35 +09:00
David Bartle 77403c68a0 chmod key in conflict with FTP driver 2015-06-19 22:02:40 +09:00
David Bartle 6d93c7ac64 chmod command 2015-06-19 22:01:54 +09:00
nao-pon 785542d076 [VD:LocalFileSystem] add volume option statOwner
`statOwner`
:Include file owner name or id into stat results. This option only uses
the LocalFileSystem volume driver.
:Data type -  bool
:Default value - false
2015-06-18 17:55:49 +09:00
nao-pon 8a207ce7c2 [VD:LocalFileSystem] doSearch() exec quickly with glob() 2015-06-13 23:04:55 +09:00
nao-pon 8b970c10cf [VD:LocalFileSystem] _subdirs() exec quickly with glob() 2015-06-13 21:01:33 +09:00
nao-pon ebe70baac2 named archiving, extract to new folder or cwd
see #1029 Archive name on creation & Extract in other directory
2015-06-12 20:49:10 +09:00
nao-pon 047a9513a8 Merge branch '2.x' into 2.1 2015-05-20 00:36:21 +09:00
nao-pon 5099017c76 [VD:LocalFileSystem] use _joinPath() for $dir.'/'.$name 2015-05-20 00:33:52 +09:00
nao-pon dc7826e0fd [VD:LocalFileSystem] fix #1022 Symbolic links are not visible 2015-05-19 22:23:09 +09:00
nao-pon 9ba35d0b3e [VD:LocalFileSystem] fix #1022 Symbolic links are not visible 2015-05-19 22:19:14 +09:00