diff options
author | Georg Ehrke <developer@georgehrke.com> | 2018-06-19 22:01:14 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-29 11:44:44 +0300 |
commit | 4aa4e4080c27356792b6eeab1f2f2b36ad485a05 (patch) | |
tree | 07197c21582d4e74cacce3704eaa5a67b5fb89bb /apps/dav/appinfo | |
parent | 3ff3141a1e4c9482ddaa68e13f545eb7e62ff9b7 (diff) |
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.xml | 1 | ||||
-rw-r--r-- | apps/dav/appinfo/routes.php | 4 |
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'], |