35 Commits

Author SHA1 Message Date
Naoki Sawada 2a860167b8 fix: improve PHP 8 compatibility in session, cURL, and callback handling (#3780)
- replace curl_close() handling for PHP 8 CurlHandle compatibility
- refine session cookie params and read-only session behavior
- change session get() default fallback from '' to null
- improve OAuth callback window close/message fallback
- add type-safe adjustments in watermark processing
2026-04-20 10:28:31 +09:00
nao-pon 6c62ab8e0b Fix #3637 FILTER_SANITIZE_STRING is deprecated (PHP 8.1) 2024-09-26 17:54:37 +09:00
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 d97ffa2cda [VD:@net] adjusted display of alias name when offline 2020-01-12 20:12:49 +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 9a403cb151 [VD:Dropbox] adjusted procedure for receiving authentication data 2020-01-05 14:36:18 +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 9b67762efa [VD:Dropbox2] fix notice error in _dimensions() 2020-01-01 12:08:26 +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 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