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

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-11-04 20:54:03 +0300
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-11-04 20:54:03 +0300
commit9c94a3e10fb3345ed57df27f44d51dde2f7ff733 (patch)
tree40557b1f1bc2ccf128638d825019f3e40a5acac7 /appinfo
This is photos
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/info.xml28
-rw-r--r--appinfo/routes.php29
2 files changed, 57 insertions, 0 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml
new file mode 100644
index 00000000..ef7b67f6
--- /dev/null
+++ b/appinfo/info.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
+ <id>photos</id>
+ <name>Photos</name>
+ <summary>Your memories under your control</summary>
+ <description>Your memories under your control</description>
+ <version>19.0.0</version>
+ <licence>agpl</licence>
+ <author mail="skjnldsv@protonmail.com">John Molakvoæ</author>
+ <namespace>Photos</namespace>
+ <category>multimedia</category>
+
+ <website>https://github.com/nextcloud/photos</website>
+ <bugs>https://github.com/nextcloud/photos/issues</bugs>
+ <repository>https://github.com/nextcloud/photos.git</repository>
+ <default_enable />
+ <dependencies>
+ <nextcloud min-version="18" max-version="18"/>
+ </dependencies>
+ <navigations>
+ <navigation>
+ <name>Photos</name>
+ <route>photos.page.index</route>
+ <order>1</order>
+ </navigation>
+ </navigations>
+</info>
diff --git a/appinfo/routes.php b/appinfo/routes.php
new file mode 100644
index 00000000..a3b607f6
--- /dev/null
+++ b/appinfo/routes.php
@@ -0,0 +1,29 @@
+<?php
+/**
+ * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
+ *
+ * @author John Molakvoæ <skjnldsv@protonmail.com>
+ *
+ * @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/>.
+ *
+ */
+
+return [
+ 'routes' => [
+ ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
+ ['name' => 'page#index', 'url' => '/{path}', 'verb' => 'GET', 'postfix' => 'folder', 'requirements' => ['path' => '.+']],
+ ]
+];