Commit Graph

94 Commits

Author SHA1 Message Date
nao-pon bf3aac1214 [VD:Dropbox] fix #1596 correction of basename, dirname on the windows server 2016-08-17 01:48:44 +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 e88048a205 [php] add PHP error handler and remove @ error-control operator 2016-05-13 17:13:31 +09:00
Dominik 17fe7fed40 fix unreachable code 2016-04-06 15:33:08 +02:00
Dominik 561cac21ad Fix wrong return types 2016-04-06 15:21:43 +02:00
Dominik 16641a68c1 Fix PHPDoc 2016-04-06 15:02:54 +02:00
nao-pon 84da42d77e [VD:Dropbox] fix debugging code 2016-04-02 10:47:41 +09:00
nao-pon 3f0db3798d [VD:Dropbox] correction for composer loader
ref. #1277, #1294
2016-03-29 20:54:23 +09:00
nao-pon 97f98de218 [VD:Dropbox] fix #1277 correction to composer autoloader 2016-03-22 10:22:02 +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 78452f3429 [php] session handling wrapper replaceable 2016-02-28 14:15:36 +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 8b8c8288e5 [VD:config] add a volume root option searchTimeout (default 30s)
```php
// Search timeout (sec)
'searchTimeout'   => 30,
```
2016-01-12 22:31:07 +09:00
nao-pon 2d7f738444 [VD:Dropbox] fix problem of search results
:Fixes:
- search result does not include path information
- does not work search that specifies the directory
2016-01-12 17:19:05 +09:00
nao-pon 13308d4e72 [VD:Dropbox] typo fix 2016-01-11 22:00:07 +09:00
nao-pon 79471e1cad [VD:Dropbox] fix nao-pon/elFinder-nightly#27 missing unmount menu 2016-01-11 21:44:58 +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 66a5278c28 [VD:Dropbox] fix #1163 problem on windows server
(fixes nao-pon/elFinder-nightly-src#2)
2015-12-13 20:45:37 +09:00
nao-pon aa58030bf7 [php] fix #1162 to set false to second param of class_exists() 2015-12-11 21:57:14 +09:00
nao-pon 2c30db08f9 [VD:Dropbox] fix enbug missing custom data in callback url 2015-12-02 09:49:13 +09:00
nao-pon 0476faa0b6 [VD:dropbox] use $this->ARGS 2015-11-23 01:34:31 +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 63da6a68aa [VD:Dropbox] SQLite DB index nameidx to UNIQUE 2015-10-08 16:28:40 +09:00
nao-pon 4c6d736a05 [VD:Dropbox] fix problem of createTmb() 2015-07-22 17:14:38 +09:00
nao-pon 2f0d30c149 [js:core] change send arg init=1 to reload=1 on reload 2015-06-23 13:39:17 +09:00
nao-pon f1f3b97cee correction of chmod function 2015-06-19 23:08:35 +09:00
nao-pon 5464168cf6 [VD:abstract,Dropbox,MySql] fix dir include always in mime search result 2015-05-22 21:28:23 +09:00
nao-pon 70a47b0a3d [VD:abstract,Dropbox,MySQL] fix mime type search logic 2015-05-22 10:49:41 +09:00
nao-pon a14c7faeda [search] target from cwd, volume or all, and MIME type can be chosen 2015-05-21 23:51:42 +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 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 f1cd7364e9 [volume:dropbox] fix wrong shares URL in getContentUrl() 2015-01-23 12:09:01 +09:00
nao-pon ccf3eee4a0 [php:VolumeDropbox] includes items only under root path in search result 2014-12-08 11:31:40 +09:00
nao-pon c80f772694 [driver:dropbox] support curl PUT method & fix multiple upload (folder)
Note: Need extended dropbox-php liblary for curl PUT support. You can
find it from https://github.com/nao-pon/dropbox-php/tree/put_support .

And, You must be set `define('ELFINDER_DROPBOX_USE_CURL_PUT', true);`
into connector.php .

(The PullRequest is https://github.com/Dropbox-PHP/dropbox-php/pull/21)
2014-04-14 15:32:54 +09:00
nao-pon cc4451b376 [connector:Dropbox] add check, class_exists('PDO') 2014-03-23 13:45:25 +09:00
nao-pon b9c3ee35d1 [driver:dropbox] use inner DB on doSearch() 2014-03-12 02:01:06 +09:00
nao-pon ce6342d091 [volume:dropbox] fix cache GC problem on netunmount 2014-03-12 02:01:06 +09:00
nao-pon 22efc49c4f support multi volume of own dropbox 2014-03-12 02:01:06 +09:00
nao-pon 6e3fa2dd1d [dropbox] use elfinder::callback 2014-03-12 02:01:06 +09:00
nao-pon 81e74c0613 add commandsOptions.netmout.*.done (function object) & use in dropbox 2014-03-12 02:01:06 +09:00
nao-pon a421d760c7 [connector:dropbox] add validation & ui effect 2014-03-12 02:01:06 +09:00
nao-pon 1e061beca8 const 'ELFINDER_DROPBOX_META_CACHE_PATH' for options['metaCachePath'] 2014-03-12 02:01:06 +09:00
nao-pon 67936fb54a [driver:dropbox] change tmbname prefix 2014-03-12 02:01:06 +09:00
nao-pon c71c12d908 [driver:dropbox] support netunmount() method
Drop table `dropbox` & rm thumbs on netunmount
2014-03-12 02:01:06 +09:00
nao-pon 48d89d390f [driver:dropbox] use PDO::exec() if possible 2014-03-12 02:01:06 +09:00
nao-pon b5870c4e26 [driver:dropbox] remove "?token_hash=..." from contentURL 2014-03-12 02:01:06 +09:00
nao-pon bc122b2eb5 [driver:dropbox] add options PDO_User, PDO_Pass, PDO_Options 2014-03-12 02:01:06 +09:00
nao-pon 39025815b9 [driver:dropbox] error handling on checkDB() 2014-03-12 02:01:06 +09:00
nao-pon dda8027cf0 [driver:dropbox] configurable PDO-DSN & DB table name 2014-03-12 02:01:05 +09:00