Commit Graph

88 Commits

Author SHA1 Message Date
nao-pon a5fff4bf8a [VD:FTP] fix #1571 cause infinite loop during auto-sync of the volume root 2016-08-05 11:14:34 +09:00
nao-pon 1f4fcf165d [VD:abstract] define public $netMountKey 2016-07-27 20:57:44 +09:00
nao-pon f92f1be85c [php] fix CS ^ {4} to \t 2016-07-15 09:35:54 +09:00
nao-pon e62c3356b2 [VD:FTP] exclude owner from stat when statOwner is false 2016-06-13 21:21:45 +09:00
nao-pon e88048a205 [php] add PHP error handler and remove @ error-control operator 2016-05-13 17:13:31 +09:00
nao-pon 1a09f030d1 [VD:abstract,FTP] fix #1363 FTP connect from windows localhost to remote server 2016-05-02 23:38:52 +09:00
nao-pon 2b9f7ba41f [VD:FTP] fix #1272 wrong detection of timestamp 2016-04-21 21:34:42 +09:00
Dominik 8a1b37bf9e Revert 9959047 2016-04-08 09:02:02 +02:00
Dominik 9959047901 Fix archive size having leading 0 2016-04-06 15:40:33 +02:00
Dominik 16641a68c1 Fix PHPDoc 2016-04-06 15:02:54 +02:00
nao-pon c3b49aac0f [VD:FTP] fix incomplete cache problem with startPath option 2016-03-09 22:16:54 +09:00
nao-pon adbba7e2dd [php] use opendir() instead to scandir()
Reson is PHP function scandir() is not work well in specific
environment. I dont know why.

Maybe fixes #1241, fixes #1247, fixes #1248
2016-03-09 15:15:46 +09:00
nao-pon 336bb26d50 [VD:FTP] use ftp:// on passive mode only 2016-03-07 17:58:44 +09:00
nao-pon 7fe7e0c943 [VD:FTP] fix problem of root stat on data reload turn 2016-01-27 09:47:53 +09:00
nao-pon 8e742ac31c fix #353 it can download files/folders as an archve file 2016-01-23 22:00:02 +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 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 db0ebff2c7 [VD:FTP] trying stream wrapper use in _fopen() 2015-12-22 00:01:17 +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 50b7da4057 [VD:FTP] support anonymous connect as network volume 2015-10-17 15:04:15 +09:00
nao-pon e3f162cf0f [VD:FTP] support IIS (LIST type of Windows MS-DOS) 2015-10-16 20:28:47 +09:00
nao-pon 67300ed456 [VD:FTP] use elFinderVolumeDriver::rmdirRecursive() 2015-10-16 02:04:58 +09:00
nao-pon 42ab13e281 [VD:FTP] fix "Notice: Undefined index: maxArcFilesSize" 2015-10-15 23:39:41 +09:00
nao-pon 000553cdb1 [VD:FTP] commands archive, extract are supported 2015-10-15 22:20:25 +09:00
nao-pon b189cca08d [VD:FTP] fix error "Notice: Undefined variable" 2015-10-14 17:06:46 +09:00
nao-pon 0d7f034589 [VD:FTP] fix detect has subdir in _subdirs() 2015-10-14 16:42:10 +09:00
nao-pon ce66db7db7 [VD:FTP] fix detect symlinks with infinite loops 2015-10-14 16:13:08 +09:00
nao-pon a36c8721f8 fix #1099 support view of symlink dirctory 2015-10-02 00:50:11 +09:00
nao-pon 1b1584968f [VD:FTP] fix judgement of perm read of file owner 2015-06-21 13:55:43 +09:00
nao-pon 8aaa850832 [VD:FTP] statOwner, allowChmodReadOnly set to true on netmount 2015-06-20 17:35:09 +09:00
nao-pon f2dbc162a6 [VD:FTP] support volume option statOwner 2015-06-20 02:25:08 +09:00
nao-pon 9b5e2bfb85 [VD:FTP] support group of file stat 2015-06-20 01:46:54 +09:00
nao-pon f1f3b97cee correction of chmod function 2015-06-19 23:08:35 +09:00
David Bartle 6d93c7ac64 chmod command 2015-06-19 22:01:54 +09:00
nao-pon 9801416cf1 [VD:FTP] include isowner in stat results 2015-06-19 21:33:53 +09:00
nao-pon 167390118d [VD:FTP] fix #595 support server that not support MLST command 2015-06-12 17:29:53 +09:00
nao-pon d020a0f68d [volume:abstract] getImageSize() has 2nd param $mime 2015-02-09 23:43:57 +09:00
nao-pon a776d1c1c8 [volume:FTP] include user as owner into stat, parse perm with user 2015-02-01 18:00:32 +09:00
nao-pon 6d65f8da5c add function elFinderVolumeDriver::getTempFile($path = '')
/**
 * Get temporary filename. Tempfile will be removed when after script execution finishes or exit() is called.
 * When needing the unique file to a path, give $path to parameter.
 * 
 * @param  string       $path for get unique file to a path
 * @return string|false
 * @author Naoki Sawada
 */
2015-01-25 11:18:15 +09:00
nao-pon f1886f328d [volume:abstract] new function getImageSize() for inheritance class 2015-01-24 00:17:24 +09:00
nao-pon 0ca256fb66 [volume:FTP,S3] support function _dimensions() 2015-01-23 21:29:23 +09:00
nao-pon 3e66ab725c Merge branch '2.x' into 2.1 2015-01-23 18:05:19 +09:00
nao-pon fca08559a3 [volume:ftp] fix enbug of 2494ffdb25 2015-01-23 18:04:16 +09:00
nao-pon 4459bb5947 [volume] super class function resize support remote volume
ref.
https://github.com/Studio-42/elFinder/pull/928#issuecomment-70731922
2015-01-23 17:38:19 +09:00
nao-pon 1b4b8a3abf Merge branch '2.x' into 2.1 2015-01-23 17:25:30 +09:00
nao-pon 2494ffdb25 [volume:ftp] use ftp_fget() in _fopen() for stream processing 2015-01-23 17:24:20 +09:00
nao-pon e34b5447c3 [volume:ftp] fix MLST on _stat()
revert:
af774caccb
eca6a8eaa9 (a part)
2015-01-23 12:01:54 +09:00
nao-pon 2aebc0baa0 [connector:php:ftp] fix check $_REQUEST['encoding'] in netmoutPrepare() 2014-12-19 22:55:14 +09:00
nao-pon c453fd712a [ui:cmd:netmount] add textbox Encoding, Locale into netmount form 2014-12-19 22:24:20 +09:00
nao-pon af774caccb [connector:php:ftp] use addslashes for FTP cmd MLST 2014-12-18 15:40:02 +09:00