Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/zenodo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@pontapreta.net>2017-02-10 19:44:09 +0300
committerMaxence Lange <maxence@pontapreta.net>2017-02-10 19:44:09 +0300
commit920a2150415bb82c88180596aefb6c99b413bd22 (patch)
tree3dc5a7c3ba627feb2511f8169b2846abd1a2cec5 /appinfo
parentc6638a16e43456f5305f3e04f7909e1d23d77494 (diff)
copyright header
Diffstat (limited to 'appinfo')
-rwxr-xr-xappinfo/app.php6
-rw-r--r--appinfo/database.xml59
-rw-r--r--appinfo/routes.php9
3 files changed, 63 insertions, 11 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index fc2b335..6bab64a 100755
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -1,12 +1,10 @@
<?php
-
/**
- * Zenodo - based on files_zenodo from Lars Naesbye Christensen
+ * Zenodo - Publish your work to Zenodo.org
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
- * @author Lars Naesbye Christensen, DeIC
* @author Maxence Lange <maxence@pontapreta.net>
* @copyright 2017
* @license GNU AGPL version 3 or any later version
@@ -23,8 +21,8 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
+
$app = new \OCA\Zenodo\AppInfo\Application();
$app->registerInFiles();
diff --git a/appinfo/database.xml b/appinfo/database.xml
new file mode 100644
index 0000000..61830e6
--- /dev/null
+++ b/appinfo/database.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!--
+ ~ Zenodo - Publish your work to Zenodo.org
+ ~
+ ~ This file is licensed under the Affero General Public License version 3 or
+ ~ later. See the COPYING file.
+ ~
+ ~ @author Maxence Lange <maxence@pontapreta.net>
+ ~ @copyright 2017
+ ~ @license GNU AGPL version 3 or any later version
+ ~
+ ~ This program is free software: you can redistribute it and/or modify
+ ~ it under the terms of the GNU Affero General Public License as
+ ~ published by the Free Software Foundation, either version 3 of the
+ ~ License, or (at your option) any later version.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ ~ GNU Affero General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Affero General Public License
+ ~ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ -->
+
+<database>
+ <name>*dbname*</name>
+ <create>true</create>
+ <overwrite>false</overwrite>
+ <charset>utf8</charset>
+
+ <table>
+ <name>*dbprefix*zenodo_depositions</name>
+ <declaration>
+ <field>
+ <name>id</name>
+ <type>integer</type>
+ <notnull>true</notnull>
+ <autoincrement>true</autoincrement>
+ <unsigned>true</unsigned>
+ <primary>true</primary>
+ <length>9</length>
+ </field>
+ <field>
+ <name>fileId</name>
+ <type>integer</type>
+ <notnull>true</notnull>
+ <length>9</length>
+ </field>
+ <field>
+ <name>zenId</name>
+ <type>integer</type>
+ <notnull>true</notnull>
+ <length>11</length>
+ </field>
+ </declaration>
+ </table>
+
+</database> \ No newline at end of file
diff --git a/appinfo/routes.php b/appinfo/routes.php
index ff41c6b..7200969 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -1,12 +1,10 @@
<?php
-
/**
- * Orcid - based on user_orcid from Lars Naesbye Christensen
+ * Zenodo - Publish your work to Zenodo.org
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
- * @author Lars Naesbye Christensen, DeIC
* @author Maxence Lange <maxence@pontapreta.net>
* @copyright 2017
* @license GNU AGPL version 3 or any later version
@@ -23,8 +21,8 @@
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
*/
+
return [
'routes' => [
[
@@ -49,9 +47,6 @@ return [
]
-
-
-
]
];