diff options
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/info.xml | 17 | ||||
-rw-r--r-- | apps/files_sharing/appinfo/routes.php | 40 |
2 files changed, 22 insertions, 35 deletions
diff --git a/apps/files_sharing/appinfo/info.xml b/apps/files_sharing/appinfo/info.xml index 44f3e3a45cd..03078b54040 100644 --- a/apps/files_sharing/appinfo/info.xml +++ b/apps/files_sharing/appinfo/info.xml @@ -1,20 +1,24 @@ <?xml version="1.0"?> +<!-- + - SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + - SPDX-FileCopyrightText: 2011-2016 owncloud, Inc. + - SPDX-License-Identifier: AGPL-3.0-only +--> <info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd"> <id>files_sharing</id> <name>File sharing</name> <summary>File sharing</summary> <description> - This application enables users to share files within Nextcloud. If enabled, the admin can choose which groups can share files. The applicable users can then share files and folders with other users and groups within Nextcloud. In addition, if the admin enables the share link feature, an external link can be used to share files with other users outside of Nextcloud. Admins can also enforce passwords, expirations dates, and enable server to server sharing via share links, as well as sharing from mobile devices. + This application enables people to share files within Nextcloud. If enabled, the admin can choose which groups can share files. The applicable people can then share files and folders with other accounts and groups within Nextcloud. In addition, if the admin enables the share link feature, an external link can be used to share files with other people outside of Nextcloud. Admins can also enforce passwords, expirations dates, and enable server to server sharing via share links, as well as sharing from mobile devices. Turning the feature off removes shared files and folders on the server for all share recipients, and also on the sync clients and mobile apps. More information is available in the Nextcloud Documentation. </description> - <version>1.17.0</version> + <version>1.24.0</version> <licence>agpl</licence> <author>Michael Gapczynski</author> <author>Bjoern Schiessle</author> <namespace>Files_Sharing</namespace> - <default_enable/> <types> <filesystem/> </types> @@ -23,12 +27,13 @@ Turning the feature off removes shared files and folders on the server for all s <category>social</category> <bugs>https://github.com/nextcloud/server/issues</bugs> <dependencies> - <nextcloud min-version="25" max-version="25"/> + <nextcloud min-version="32" max-version="32"/> </dependencies> <background-jobs> <job>OCA\Files_Sharing\DeleteOrphanedSharesJob</job> <job>OCA\Files_Sharing\ExpireSharesJob</job> + <job>OCA\Files_Sharing\SharesReminderJob</job> <job>OCA\Files_Sharing\BackgroundJob\FederatedSharesDiscoverJob</job> </background-jobs> @@ -43,6 +48,9 @@ Turning the feature off removes shared files and folders on the server for all s <commands> <command>OCA\Files_Sharing\Command\CleanupRemoteStorages</command> <command>OCA\Files_Sharing\Command\ExiprationNotification</command> + <command>OCA\Files_Sharing\Command\DeleteOrphanShares</command> + <command>OCA\Files_Sharing\Command\FixShareOwners</command> + <command>OCA\Files_Sharing\Command\ListShares</command> </commands> <settings> @@ -54,6 +62,7 @@ Turning the feature off removes shared files and folders on the server for all s <setting>OCA\Files_Sharing\Activity\Settings\Shared</setting> <setting>OCA\Files_Sharing\Activity\Settings\RemoteShare</setting> <setting>OCA\Files_Sharing\Activity\Settings\PublicLinks</setting> + <setting>OCA\Files_Sharing\Activity\Settings\PublicLinksUpload</setting> </settings> <filters> diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index 7b6334b480b..f9e10ebb106 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -1,30 +1,9 @@ <?php + /** - * @copyright Copyright (c) 2016, ownCloud, Inc. - * - * @author Björn Schießle <bjoern@schiessle.org> - * @author Christoph Wurst <christoph@winzerhof-wurst.at> - * @author Joas Schilling <coding@schilljs.com> - * @author John Molakvoæ <skjnldsv@protonmail.com> - * @author Lukas Reschke <lukas@statuscode.ch> - * @author Maxence Lange <maxence@artificial-owl.com> - * @author Roeland Jago Douma <roeland@famdouma.nl> - * @author Hinrich Mahler <nextcloud@mahlerhome.de> - * - * @license AGPL-3.0 - * - * This code is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License, version 3, - * as published by the Free Software Foundation. - * - * 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, version 3, - * along with this program. If not, see <http://www.gnu.org/licenses/> - * + * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors + * SPDX-FileCopyrightText: 2016 ownCloud, Inc. + * SPDX-License-Identifier: AGPL-3.0-only */ return [ 'resources' => [ @@ -62,12 +41,6 @@ return [ 'verb' => 'GET', 'root' => '', ], - - [ - 'name' => 'externalShares#testRemote', - 'url' => '/testremote', - 'verb' => 'GET' - ], [ 'name' => 'PublicPreview#getPreview', 'url' => '/publicpreview/{token}', @@ -139,6 +112,11 @@ return [ 'verb' => 'DELETE', ], [ + 'name' => 'ShareAPI#sendShareEmail', + 'url' => '/api/v1/shares/{id}/send-email', + 'verb' => 'POST', + ], + [ 'name' => 'ShareAPI#acceptShare', 'url' => '/api/v1/shares/pending/{id}', 'verb' => 'POST', |