72 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 3a4f414646 [VD:Box,Dropbox2,GoogleDrive] adjust option acceptedName to match each system 2020-03-03 15:39:21 +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 d6c8860d18 [VD:Box] update Box API endpoint 2020-02-21 23:27:22 +09:00
nao-pon b02a04c04f [VD:Box] fix processing of getSharedWebContentLink() 2020-02-18 16:47:46 +09:00
nao-pon 5b1e54fc91 [VD:Box] fix problem where access token could be lost 2020-02-17 23:06:47 +09:00
nao-pon 03db1ff9ba [VD:Box] prevent multiple renewal of access token 2020-02-17 00:26:56 +09:00
nao-pon d97ffa2cda [VD:@net] adjusted display of alias name when offline 2020-01-12 20:12:49 +09:00
nao-pon 36eb650747 [VD:Box] fix problem that isNameExists() return value is wrong 2020-01-11 17:24:35 +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 2af3bdbecc [php:core,VD] fix enbug of dc614fc705
rel. #3077
2020-01-10 15:25:32 +09:00
nao-pon dc614fc705 [VD] more faster with "rapidRootStat" - rel #3077 2020-01-10 11:38:26 +09:00
nao-pon bea656f8ec [VD] fix error handling when authentication fails 2020-01-10 01:23:56 +09:00
nao-pon cb3006e4f4 [VD:Box,OneDrive] prevent duplicate creation of thumbnails of permanent mounts 2020-01-04 11:19:48 +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 8315f73436 [VD:Box,OneDrive] fix handling of token cache file 2020-01-03 18:19:08 +09:00
nao-pon 82aff964a0 [VD:Box,OneDrive] correction of handling of refrash_token 2020-01-02 23:18:49 +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 186075ac3c [VD:Box,OneDrive] fix #3082 support permanent mount with connector roots configure 2020-01-02 15:42:37 +09:00
nao-pon 4e38cffafa [VD:Box] fix notice error on _dimensions() 2020-01-01 11:52:09 +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
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 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 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 31d57bc43b [VD:Box] correction of makeing thumbnail 2017-10-29 02:04:46 +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 9c69a33eb4 [VD:Box,OneDrive] fix #2122 to be able to know the access token in debug mode 2017-08-03 17:24:41 +09:00
nao-pon da652b8eed [VD:Box] use API thumbnail.png to get thumbnail data 2017-07-13 15:28:53 +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 117f5dee38 [php] fix #2014 "Parse error" on PHP < 5.3 2017-05-21 00:18:00 +09:00
nao-pon f47a64d4c3 [VD] use tmbPath as tmp directory as fallback 2017-04-24 22:31:04 +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 b619b532f1 [VD:Box,OneDrive] enable async subdirs requests 2017-03-11 23:14:43 +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 837d292b72 [VD:OneDrive,Box] fix #1774 dose not work in PHP has open_basedir 2016-11-27 13:24:55 +09:00
nao-pon 436bf78f30 [VD:Box] optimize & simplify of curl_exec() calling 2016-11-21 16:31:38 +09:00
nao-pon ac3b41c048 [VD:OneDrive,Box] optimize function *_refreshToken() 2016-11-18 09:17:18 +09:00
nao-pon 1c109ba1e0 [VD:OneDrive,Box] fix PHP notice error 2016-11-17 18:06:09 +09:00
nao-pon 4624960d07 [VD:OneDrive,Box] fix problem that can't be continued with refresh token 2016-11-17 14:33:54 +09:00
nao-pon c6800bd13a [VD:OneDrive,Box] fix PHP notice errors 2016-11-14 16:33:47 +09:00
nao-pon 625faac16a [VD:OneDrive,Box] enbug fix fatal error 2016-11-13 18:12:25 +09:00