diff options
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/info.xml | 16 | ||||
-rw-r--r-- | appinfo/routes.php | 39 |
2 files changed, 30 insertions, 25 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml index cdf503a8..26b63e9f 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -11,15 +11,15 @@ * š„ **Sharing of Adressbooks!** You want to share your contacts with your friends or coworkers? No problem! * š **Weāre not reinventing the wheel!** Based on the great and open SabreDAV library. </description> - <version>2.1.6-beta</version> + <version>3.0.0-alpha1</version> <licence>AGPL</licence> - <author>Alexander Weidinger</author> - <author>Jan-Christoph Borchardt</author> - <author>Hendrik Leppelsack</author> + <author>John MolakvoƦ</author> + <author>Jessica Greene</author> + <author>Arati R</author> <documentation> - <user>https://docs.nextcloud.com/server/11/user_manual/pim/contacts.html</user> - <admin>https://docs.nextcloud.com/server/11/admin_manual/configuration_server/occ_command.html?highlight=occ%20commands#dav-label</admin> - <developer>https://github.com/nextcloud/contacts#building-the-app</developer> + <user>https://docs.nextcloud.com/server/14/user_manual/pim/contacts.html</user> + <admin>https://docs.nextcloud.com/server/14/admin_manual/configuration_server/occ_command.html?highlight=occ%20commands#dav-label</admin> + <developer>https://github.com/nextcloud/contacts#build-the-app</developer> </documentation> <category>office</category> <category>social</category> @@ -29,7 +29,7 @@ <repository type="git">https://github.com/nextcloud/contacts.git</repository> <screenshot>https://raw.githubusercontent.com/nextcloud/screenshots/master/apps/Contacts/contacts.png</screenshot> <dependencies> - <nextcloud min-version="14" max-version="14" /> + <nextcloud min-version="14" max-version="15" /> </dependencies> <contactsmenu> <provider>OCA\Contacts\ContactsMenu\Providers\DetailsProvider</provider> diff --git a/appinfo/routes.php b/appinfo/routes.php index 7baabeb0..afbdb045 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -1,25 +1,30 @@ <?php /** - * Nextcloud - contacts + * @copyright Copyright (c) 2018 John MolakvoƦ <skjnldsv@protonmail.com> * - * This file is licensed under the Affero General Public License version 3 or - * later. See the COPYING file. + * @author John MolakvoƦ <skjnldsv@protonmail.com> * - * @author Hendrik Leppelsack <hendrik@leppelsack.de> - * @copyright Hendrik Leppelsack 2015 - */ - -/** - * Create your routes in here. The name is the lowercase name of the controller - * without the controller part, the stuff after the hash is the method. - * e.g. page#index -> OCA\Contacts\Controller\PageController->index() + * @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/>. * - * The controller class has to be registered in the application.php file since - * it's instantiated in there */ + return [ - 'routes' => [ - ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], - ['name' => 'page#do_echo', 'url' => '/echo', 'verb' => 'POST'], - ] + 'routes' => [ + ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], + ['name' => 'page#indexGroup', 'url' => '/{group}', 'verb' => 'GET'], + ['name' => 'page#indexContact', 'url' => '/{group}/{contact}', 'verb' => 'GET'] + ] ]; |