Commit Graph

23 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 eb27d15a12 [cmd:netmount] re-make OAuth window open / close behavior 2020-02-24 11:01:48 +09:00
nao-pon 387fcbdbbf [VD:FlysystemGoogleDriveNetmount] show refresh_token into debug tab with debug mode 2020-01-11 20:59:47 +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 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 4188f43909 [VD] remove the leading backslash in use operator 2018-05-01 22:16:48 +09:00
nao-pon dcf763feef {VD] allow uploading all file types to the net mount volume 2018-03-05 23:08:19 +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 ded56b8a3f [php:core] add public static function getConnectorUrl() 2016-11-03 20:56:50 +09:00
nao-pon 0fdd5581d3 [php:FlysystemGoogleDriveNetmount] set volume option separator to '/' 2016-07-19 12:59:17 +09:00
nao-pon e88048a205 [php] add PHP error handler and remove @ error-control operator 2016-05-13 17:13:31 +09:00
nao-pon 89bbcab742 [VD:FlysystemGoogleDriveNetmount] require nao-pon/elfinder-flysystem-driver-ext 2016-04-11 11:28:24 +09:00
Naoki Sawada 461615a862 Merge pull request #1314 from otoso/master
Fixed several bugs and fixed PHPDoc
2016-04-10 23:24:02 +09:00
nao-pon 44a30a7df8 [VD:FlysystemGoogleDriveNetmount] correction for latest elFinderVolumeFlysystem 2016-04-07 00:01:30 +09:00
Dominik 16641a68c1 Fix PHPDoc 2016-04-06 15:02:54 +02:00
nao-pon a1bdd04e87 [VD:FlysystemGoogleDriveNetmount] clean up 2016-03-27 16:56:46 +09:00
nao-pon 34feaad34f [VD:FlysystemGoogleDriveNetmount] remove tmb on netunmount 2016-03-25 20:19:31 +09:00
nao-pon 038c12a662 [VD:FlysystemGoogleDriveNetmount] optimize netmount dialog 2016-03-25 17:05:36 +09:00
nao-pon d8032f49c3 [VD:FlysystemGoogleDriveNetmount] optimize netmount dialog 2016-03-25 16:16:27 +09:00
nao-pon c5bf61a2d5 [VD:FlysystemGoogleDriveNetmount] err message correction 2016-03-25 01:15:10 +09:00
nao-pon 8f2a47e6e8 [VD:FlysystemGoogleDriveNetmount] Folder listing, optimize of error handling 2016-03-24 21:06:04 +09:00
nao-pon b45cfec305 [VD] add a new volume driver FlysystemGoogleDriveNetmount
Usage
-----
```
composer require barryvdh/elfinder-flysystem-driver
composer require nao-pon/flysystem-google-drive:~1.1
google/apiclient:~2.0@rc
```

```php
// Load composer autoloader
require 'vender/autoload.php';

// Enable Google Drive as Netmount driver
include_once
dirname(__FILE__).DIRECTORY_SEPARATOR.'elFinderFlysystemGoogleDriveNetmount.php';
define('ELFINDER_GOOGLEDRIVE_CLIENTID', 'YOUR CLIENT ID');
define('ELFINDER_GOOGLEDRIVE_CLIENTSECRET', 'YOUR CLIENT SECRET');
```

Add "YOUR_CONNECTOR_URL(connector.php)?cmd=netmount&protocol=googledrive&host=1"
to "Authorized redirect URIs" in "Credentials" on Google API Manager.
2016-03-23 17:34:47 +09:00