summaryrefslogtreecommitdiffstats
path: root/apps/remoteStorage/appinfo
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <jan@unhosted.org>2011-10-04 10:07:46 +0200
committerJan-Christoph Borchardt <jan@unhosted.org>2011-10-04 10:07:46 +0200
commit79da90bb08a7bb0dd1c4d29136dd18b27501888e (patch)
tree0933df4f7234b66783b2c944b42a61966d588a89 /apps/remoteStorage/appinfo
parent77e12a15b1cffcaf3c152bf394fd15eb61d24ace (diff)
downloadnextcloud-server-79da90bb08a7bb0dd1c4d29136dd18b27501888e.tar.gz
nextcloud-server-79da90bb08a7bb0dd1c4d29136dd18b27501888e.zip
renamed unhosted to remoteStorage (needs to be updated with coming protocol version)
Diffstat (limited to 'apps/remoteStorage/appinfo')
-rw-r--r--apps/remoteStorage/appinfo/app.php5
-rw-r--r--apps/remoteStorage/appinfo/database.xml59
-rw-r--r--apps/remoteStorage/appinfo/info.xml10
3 files changed, 74 insertions, 0 deletions
diff --git a/apps/remoteStorage/appinfo/app.php b/apps/remoteStorage/appinfo/app.php
new file mode 100644
index 00000000000..ac1ecde5082
--- /dev/null
+++ b/apps/remoteStorage/appinfo/app.php
@@ -0,0 +1,5 @@
+<?php
+OC_App::register( array(
+ 'order' => 10,
+ 'id' => 'remoteStorage',
+ 'name' => 'remoteStorage compatibility' ));
diff --git a/apps/remoteStorage/appinfo/database.xml b/apps/remoteStorage/appinfo/database.xml
new file mode 100644
index 00000000000..b4e1ac7d8af
--- /dev/null
+++ b/apps/remoteStorage/appinfo/database.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<database>
+ <name>*dbname*</name>
+ <create>true</create>
+ <overwrite>false</overwrite>
+ <charset>latin1</charset>
+ <table>
+ <name>*dbprefix*authtoken</name>
+ <declaration>
+ <field>
+ <name>token</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>40</length>
+ </field>
+ <field>
+ <name>appUrl</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>128</length>
+ </field>
+ <field>
+ <name>user</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>dataScope</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>userAddress</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+ <index>
+ <name>a_app_remotestorage_user</name>
+ <unique>true</unique>
+ <field>
+ <name>user</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>token</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+ </declaration>
+ </table>
+</database>
diff --git a/apps/remoteStorage/appinfo/info.xml b/apps/remoteStorage/appinfo/info.xml
new file mode 100644
index 00000000000..a20c6ff4cd4
--- /dev/null
+++ b/apps/remoteStorage/appinfo/info.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<info>
+ <id>remoteStorage</id>
+ <name>remoteStorage compatibility</name>
+ <description>Enables your users to use ownCloud as their remote storage for unhosted applications.</description>
+ <version>0.1</version>
+ <licence>AGPL</licence>
+ <author>Michiel de Jong</author>
+ <require>2</require>
+</info>