Commit Graph

19 Commits

Author SHA1 Message Date
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 c26bac761e [VD] to make possible controling on network mount function by user's connector.php 2018-10-13 22:32:59 +09:00
Flohw 8607349abb [VD:Dropbox2] fix options definition test (#2619)
* [VD:Dropbox2] fix options definition test

* Fix phpdoc
2018-08-17 20:30:10 +09:00
nao-pon 6aa422d013 [VD:Dropbox2] fix #2546 fatal error in getContentUrl() (typo fix) 2018-06-13 09:33:43 +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 4188f43909 [VD] remove the leading backslash in use operator 2018-05-01 22:16:48 +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 3953b92fcd [VD:Dropbox2] fix #2348 edit File not respecting filename capitalization 2018-01-06 23:32:29 +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 c8c6a1389c [php:core,VD] make temporary content URL available on network drive etc 2017-06-07 23:40:50 +09:00
nao-pon f47a64d4c3 [VD] use tmbPath as tmp directory as fallback 2017-04-24 22:31:04 +09:00
nao-pon fd04434ead [VD:Dropbox2] add public static function getTokenFromOauth1() 2017-04-01 21:28: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 0f56c59dd1 [VD:Dropbox2] support async subdirs requests 2017-03-11 02:14:54 +09:00
nao-pon 710223ee32 [VD:Dropbox2] fix #1598 add a driver of Dropbox APIv2 2017-03-08 14:24:36 +09:00