diff options
author | Maxence Lange <maxence@pontapreta.net> | 2017-02-10 19:44:09 +0300 |
---|---|---|
committer | Maxence Lange <maxence@pontapreta.net> | 2017-02-10 19:44:09 +0300 |
commit | 920a2150415bb82c88180596aefb6c99b413bd22 (patch) | |
tree | 3dc5a7c3ba627feb2511f8169b2846abd1a2cec5 /appinfo | |
parent | c6638a16e43456f5305f3e04f7909e1d23d77494 (diff) |
copyright header
Diffstat (limited to 'appinfo')
-rwxr-xr-x | appinfo/app.php | 6 | ||||
-rw-r--r-- | appinfo/database.xml | 59 | ||||
-rw-r--r-- | appinfo/routes.php | 9 |
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 [ ] - - - ] ]; |