summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-04-03 16:57:26 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-04-03 16:57:26 +0200
commitc0ebc1dfb1108b7cbe0fa134def00aa6ce0066b3 (patch)
tree570d5ef1dd01c0a8ae4e4d9c48cc13c2a01e09c8 /apps
parent730bca98b48384816792423e97c53de112ac8aeb (diff)
downloadnextcloud-server-c0ebc1dfb1108b7cbe0fa134def00aa6ce0066b3.tar.gz
nextcloud-server-c0ebc1dfb1108b7cbe0fa134def00aa6ce0066b3.zip
Update backends and their configurations
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/appinfo/app.php91
1 files changed, 72 insertions, 19 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php
index f49d2973234..0017b22caad 100644
--- a/apps/files_external/appinfo/app.php
+++ b/apps/files_external/appinfo/app.php
@@ -44,12 +44,25 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\AmazonS3', array(
'bucket' => 'Bucket'),
'has_dependencies' => true));
+OC_Mount_Config::registerBackend('\OC\Files\Storage\AmazonS3', array(
+ 'backend' => 'Amazon S3 and compliant',
+ 'configuration' => array(
+ 'key' => 'Access Key',
+ 'secret' => '*Secret Key',
+ 'bucket' => 'Bucket',
+ 'hostname' => '&Hostname (optional)',
+ 'port' => '&Port (optional)',
+ 'region' => '&Region (optional)',
+ 'use_ssl' => '!Enable SSL',
+ 'use_path_style' => '!Enable Path Style'),
+ 'has_dependencies' => true));
+
OC_Mount_Config::registerBackend('\OC\Files\Storage\Dropbox', array(
'backend' => 'Dropbox',
'configuration' => array(
'configured' => '#configured',
'app_key' => 'App key',
- 'app_secret' => 'App secret',
+ 'app_secret' => '*App secret',
'token' => '#token',
'token_secret' => '#token_secret'),
'custom' => 'dropbox',
@@ -69,40 +82,69 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\Google', array(
'backend' => 'Google Drive',
'configuration' => array(
'configured' => '#configured',
- 'token' => '#token',
- 'token_secret' => '#token secret'),
+ 'client_id' => 'Client ID',
+ 'client_secret' => '*Client secret',
+ 'token' => '#token'),
'custom' => 'google',
'has_dependencies' => true));
-OC_Mount_Config::registerBackend('\OC\Files\Storage\SWIFT', array(
- 'backend' => 'OpenStack Swift',
+
+OC_Mount_Config::registerBackend('\OC\Files\Storage\Swift', array(
+ 'backend' => 'OpenStack Object Storage',
'configuration' => array(
- 'host' => 'URL',
- 'user' => 'Username',
- 'token' => '*Token',
- 'root' => '&Root',
- 'secure' => '!Secure ftps://'),
+ 'user' => 'Username (required)',
+ 'bucket' => 'Bucket (required)',
+ 'region' => '&Region (optional for OpenStack Object Storage)',
+ 'key' => '*API Key (required for Rackspace Cloud Files)',
+ 'tenant' => '&Tenantname (required for OpenStack Object Storage)',
+ 'password' => '*Password (required for OpenStack Object Storage)',
+ 'service_name' => '&Service Name (required for OpenStack Object Storage)',
+ 'url' => '&URL of identity endpoint (required for OpenStack Object Storage)',
+ 'timeout' => '&Timeout of HTTP requests in seconds (optional)',
+ ),
'has_dependencies' => true));
-OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB', array(
- 'backend' => 'SMB / CIFS',
+
+if (!OC_Util::runningOnWindows()) {
+ OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB', array(
+ 'backend' => 'SMB / CIFS',
+ 'configuration' => array(
+ 'host' => 'URL',
+ 'user' => 'Username',
+ 'password' => '*Password',
+ 'share' => 'Share',
+ 'root' => '&Root'),
+ 'has_dependencies' => true));
+
+ OC_Mount_Config::registerBackend('\OC\Files\Storage\SMB_OC', array(
+ 'backend' => 'SMB / CIFS using OC login',
+ 'configuration' => array(
+ 'host' => 'URL',
+ 'username_as_share' => '!Username as share',
+ 'share' => '&Share',
+ 'root' => '&Root'),
+ 'has_dependencies' => true));
+}
+
+OC_Mount_Config::registerBackend('\OC\Files\Storage\DAV', array(
+ 'backend' => 'WebDAV',
'configuration' => array(
'host' => 'URL',
'user' => 'Username',
'password' => '*Password',
- 'share' => 'Share',
- 'root' => '&Root'),
+ 'root' => '&Root',
+ 'secure' => '!Secure https://'),
'has_dependencies' => true));
-OC_Mount_Config::registerBackend('\OC\Files\Storage\DAV', array(
- 'backend' => 'ownCloud / WebDAV',
+OC_Mount_Config::registerBackend('\OC\Files\Storage\OwnCloud', array(
+ 'backend' => 'ownCloud',
'configuration' => array(
'host' => 'URL',
'user' => 'Username',
'password' => '*Password',
- 'root' => '&Root',
- 'secure' => '!Secure https://'),
- 'has_dependencies' => true));
+ 'root' => '&Remote subfolder',
+ 'secure' => '!Secure https://')));
+
OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP', array(
'backend' => 'SFTP',
@@ -111,3 +153,14 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP', array(
'user' => 'Username',
'password' => '*Password',
'root' => '&Root')));
+
+OC_Mount_Config::registerBackend('\OC\Files\Storage\iRODS', array(
+ 'backend' => 'iRODS',
+ 'configuration' => array(
+ 'host' => 'Host',
+ 'port' => 'Port',
+ 'use_logon_credentials' => '!Use ownCloud login',
+ 'user' => 'Username',
+ 'password' => '*Password',
+ 'auth_mode' => 'Authentication Mode',
+ 'zone' => 'Zone')));