summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-06-19 21:01:14 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-29 10:44:44 +0200
commit4aa4e4080c27356792b6eeab1f2f2b36ad485a05 (patch)
tree07197c21582d4e74cacce3704eaa5a67b5fb89bb /apps/dav/appinfo
parent3ff3141a1e4c9482ddaa68e13f545eb7e62ff9b7 (diff)
downloadnextcloud-server-4aa4e4080c27356792b6eeab1f2f2b36ad485a05.tar.gz
nextcloud-server-4aa4e4080c27356792b6eeab1f2f2b36ad485a05.zip
Include accept / decline links in CalDAV invitation emails
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/info.xml1
-rw-r--r--apps/dav/appinfo/routes.php4
2 files changed, 5 insertions, 0 deletions
diff --git a/apps/dav/appinfo/info.xml b/apps/dav/appinfo/info.xml
index d1f9a823fd7..f4b1cb5b5c2 100644
--- a/apps/dav/appinfo/info.xml
+++ b/apps/dav/appinfo/info.xml
@@ -22,6 +22,7 @@
<background-jobs>
<job>OCA\DAV\BackgroundJob\CleanupDirectLinksJob</job>
<job>OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob</job>
+ <job>OCA\DAV\BackgroundJob\CleanupInvitationTokenJob</job>
</background-jobs>
<repair-steps>
diff --git a/apps/dav/appinfo/routes.php b/apps/dav/appinfo/routes.php
index 2aaeda98964..a7d9e2ec33c 100644
--- a/apps/dav/appinfo/routes.php
+++ b/apps/dav/appinfo/routes.php
@@ -25,6 +25,10 @@ return [
'routes' => [
['name' => 'birthday_calendar#enable', 'url' => '/enableBirthdayCalendar', 'verb' => 'POST'],
['name' => 'birthday_calendar#disable', 'url' => '/disableBirthdayCalendar', 'verb' => 'POST'],
+ ['name' => 'invitation_response#accept', 'url' => '/invitation/accept/{token}', 'verb' => 'GET'],
+ ['name' => 'invitation_response#decline', 'url' => '/invitation/decline/{token}', 'verb' => 'GET'],
+ ['name' => 'invitation_response#options', 'url' => '/invitation/moreOptions/{token}', 'verb' => 'GET'],
+ ['name' => 'invitation_response#processMoreOptionsResult', 'url' => '/invitation/moreOptions/{token}', 'verb' => 'POST']
],
'ocs' => [
['name' => 'direct#getUrl', 'url' => '/api/v1/direct', 'verb' => 'POST'],