119 Commits

Author SHA1 Message Date
nao-pon 2332f257ca [cmd:netmount] fix #3138 OAuth not possible with CORS due to new ITP 2020-03-30 15:44:47 +09:00
nao-pon a9d9bc81e1 [php:core] fix #3134 close file pointer before deleting temporary file on shutdown 2020-03-28 17:33:27 +09:00
nao-pon 1cd2a94600 [VD:GooglrDrive] adjustment of commit 7c834f0b84 2020-03-05 11:10:33 +09:00
nao-pon e319b86c19 Revert "[VD:abstract,GoogleDrive] isNameExists() support filename with "/""
This reverts commit a50b9b761a.
2020-03-04 09:21:10 +09:00
nao-pon a50b9b761a [VD:abstract,GoogleDrive] isNameExists() support filename with "/" 2020-03-04 00:30:12 +09:00
nao-pon 095de9d4ce [VD:GoogleDrive] adjust option acceptedName to match GoogleDrive system 2020-03-03 15:43:52 +09:00
nao-pon 3a4f414646 [VD:Box,Dropbox2,GoogleDrive] adjust option acceptedName to match each system 2020-03-03 15:39:21 +09:00
nao-pon 7c834f0b84 [VD:GoogleDrive] to support item name with "/" in name 2020-03-01 23:27:50 +09:00
nao-pon eb27d15a12 [cmd:netmount] re-make OAuth window open / close behavior 2020-02-24 11:01:48 +09:00
nao-pon 79a838be29 [php] fix #3114 stream proxy function using the file cmd corresponds to range request 2020-02-23 18:26:37 +09:00
nao-pon d97ffa2cda [VD:@net] adjusted display of alias name when offline 2020-01-12 20:12:49 +09:00
nao-pon d4cad99597 [VD:GoogleDrive] correction for the option "rapidRootStat" rel. #3077 2020-01-11 18:26:05 +09:00
nao-pon e230aed0e9 [VD] save alias of options to session data of netmount volume 2020-01-10 23:14:00 +09:00
nao-pon dc614fc705 [VD] more faster with "rapidRootStat" - rel #3077 2020-01-10 11:38:26 +09:00
nao-pon d1eff035c9 [cmd:netmount] use only one volume when obtaining a refresh token 2020-01-04 00:49:10 +09:00
nao-pon 8df7f88cb7 [VD:Box,Dropbox2,GoogleDrive,OneDrive] show tokens only on netmount volume on debugmode 2020-01-02 17:29:15 +09:00
nao-pon 34c74cb9cd [VD] fix #3074 authentification (return) URL not useable if the connctor url has "?" 2019-12-31 22:25:30 +09:00
OSWorX dcd2e9d57a [VD:GoogleDrive] prevent error if file does not exist (#3076)
Prevent error if file does not exist
2019-12-29 16:08:09 +09:00
nao-pon 15cc46ea27 [php] change code style to PSR-2 of all of php files 2019-01-01 21:18:39 +09:00
nao-pon 896af8cb44 [php] potential bug fixes and PHPDoc fixes
fix #2810, fix #2811, fix #2812 and fix #2114
2019-01-01 20:05:30 +09:00
nao-pon 52e365ed23 [api:url] fix #2808 supports onetime url for the external service
Add an option `onetimeUrl` of the volume root option.

`'onetimeUrl' => true`

or

`'onetimeUrl' => function($file, $options, $volumeInstance) { return 'String of onetimeurl'; }``

To enable onetime URL support.
2018-12-30 00:12:22 +09:00
nao-pon 0c3079c505 [php:core] simplify result generation on duplicate
rel. #2765
2018-11-21 15:58:08 +09:00
nao-pon c26bac761e [VD] to make possible controling on network mount function by user's connector.php 2018-10-13 22:32:59 +09:00
nao-pon e4f1850e33 [API,ui:cwd] fix #2535 show the remaining time until the volume expires into cwd 2018-06-07 21:21:09 +09:00
nao-pon ebb89bffa7 [VD,cmd:search] fix #2490 support custom search method
See the wiki - https://github.com/Studio-42/elFinder/wiki/Custom-search-function

Also closes #1037 .
2018-05-02 17:49:14 +09:00
nao-pon d927a82c4c [VD:abstract] fixe #2408 have the generic archive function for remote volume 2018-03-04 00:17:17 +09:00
nao-pon 0d92f95d69 [VD:Box,GoogleDrive,OneDrive] fix Notice errors 2017-12-24 12:23:12 +09:00
nao-pon 03501d5137 [cmd:quicklook,VD:GoogleDrive] correction of GoogleDocuments preview 2017-11-24 23:03:37 +09:00
nao-pon 1cd86b3a7e [VD:abstract,GoogleDrive] fix error "WARNING: Division by zero" 2017-11-23 00:50:58 +09:00
nao-pon 97c99cfafb [VD:abstract] optimization of thumbnail related functions 2017-11-21 15:20:44 +09:00
nao-pon 1561c031d5 [VD:GoogleDrive] fix #2281 class load error with constant ELFINDER_GOOGLEDRIVE_GOOGLEAPICLIENT 2017-11-15 10:16:58 +09:00
nao-pon 1b6c78820b [api] add optional query (int)'substitute' to command dim
The connector can return the URL of the substitute image whose size will fit in that pixel as the value of the key 'url' of the result data when the 'substitute' parameter gives with `dim` command from the client.

Add the following two options on the client side config `commandsOptions.resize` to fixes #2251.

```javascript
// File size (bytes) threshold when using the `dim` command for obtain the image size necessary to start editing
getDimThreshold : 204800,
// File size (bytes) to request to get substitute image (400px) with the `dim` command
dimSubImgSize : 307200
```
2017-10-30 16:46:19 +09:00
nao-pon 84ac1c51ba [VD:abstract] make new public method tmpfile() and use it 2017-09-18 22:57:44 +09:00
nao-pon f540e4d953 [VD] use fopen($this->getTempFile(),'wb') instead tmpfile()
cf. #2205
2017-09-18 22:40:48 +09:00
nao-pon 3a48c7341c [VD:GoogleDrive] fix problem of upload with PHP memory_limit = -1 2017-07-14 15:15:28 +09:00
nao-pon c8c6a1389c [php:core,VD] make temporary content URL available on network drive etc 2017-06-07 23:40:50 +09:00
nao-pon 495ba6a9d6 [VD:GoogleDrive] potential issue correction 2017-06-06 20:31:30 +09:00
nao-pon f47a64d4c3 [VD] use tmbPath as tmp directory as fallback 2017-04-24 22:31:04 +09:00
nao-pon 034626d943 [VD:GoogleDrive] fix #1933 sometimes infinite loop if root path is other than root on GoogleDrive 2017-03-21 21:42:43 +09:00
nao-pon fc00356979 [VD:GoogleDrive] fix #1932 support to auth type "JSON service account credentials"
Add a volume option `serviceAccountConfigFile`

e.g.
```php
array(
    'alias'  => 'service@GDrive',
    'driver' => 'GoogleDrive',
    'path'   => 'root',
    'serviceAccountConfigFile' => 'PATH/TO/SERVICE_ACCOUNT_CONFIG.json',
),
```
2017-03-20 20:21:00 +09:00
nao-pon f95119ba28 [VD:GoogleDrive] add error handling in _mkdir() 2017-03-20 10:29:14 +09:00
nao-pon d41feeacb7 [cmd:netmount] fix #1925 allow selection of multi-level hierarchy 2017-03-14 22:00:17 +09:00
nao-pon 138da75e74 [VD:GoogleDrive] show refresh_token only on netmount in debug tab 2017-03-08 16:40:16 +09:00
nao-pon f9d7f5d453 [VD] CS fixes 2017-01-11 17:39:06 +09:00
nao-pon 3da5fa9175 [VD] fix #1841 published files security issues
Adding `url` to the connector roots option `disabled` does not publish items when getting file URL.
2017-01-10 20:53:27 +09:00
nao-pon 0a5cbdb407 [VD:GoogleDrive: CS fixes 2016-11-20 21:50:24 +09:00
Raja Sharma c5838ab298 gogole api include
Sir, 
this is missing when mount drive
2016-11-20 17:20:23 +05:30
nao-pon c1a8d90ea6 [VD:GoogleDrive,OneDrive,Box] CS fixes 2016-11-13 00:35:53 +09:00
nao-pon a5a83a78cb [VD,cmd:netmount] use elFinder::getStreamByUrl and refactoring, cleanup 2016-11-13 00:33:37 +09:00
nao-pon e55a427b12 [VD] normalize results of the item stat 2016-11-10 13:25:09 +09:00