From 29e350f9bdc19de89a59dc7fdeb4fb749703dd1d Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 2 Dec 2021 10:13:03 +0100 Subject: [PATCH] Add admin settings for the Calendar Trash bin Closes #7696 Signed-off-by: Thomas Citharel --- admin_manual/groupware/calendar.rst | 13 +++++++++++++ user_manual/groupware/calendar.rst | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/admin_manual/groupware/calendar.rst b/admin_manual/groupware/calendar.rst index fb279db69..30b0fcf20 100644 --- a/admin_manual/groupware/calendar.rst +++ b/admin_manual/groupware/calendar.rst @@ -76,6 +76,19 @@ If you need to allow this, change the following parameter to:: php occ config:app:set dav webcalAllowLocalAccess --value yes +Trash bin +--------- + +Nextcloud supports a calendar, events and tasks trash bin. + +The default delay before objects are purged from the trash bin is 30 days. A background job runs every 6 hours to clean up expired objects. + +To set up a different retention period, change the ``calendarRetentionObligation`` option:: + + php occ config:app:set dav calendarRetentionObligation --value=2592000 + +Where the value is the number of seconds for the period. Setting the value to ``0`` disables the trash bin. + Resources and rooms ------------------- diff --git a/user_manual/groupware/calendar.rst b/user_manual/groupware/calendar.rst index 0298e0d72..d3d6e0edd 100644 --- a/user_manual/groupware/calendar.rst +++ b/user_manual/groupware/calendar.rst @@ -223,7 +223,7 @@ You can also tell when the recurrence ends. Trash bin ~~~~~~~~~ -If you delete events, tasks or a calendar in Calendar, your data won't be gone yet. Instead, those items will be collected in a *trash bin*. This offers you to undo a deletion. After a period of 30 days those items will be deleted permanently. You can also permanently delete earlier if you wish. +If you delete events, tasks or a calendar in Calendar, your data is not gone yet. Instead, those items will be collected in a *trash bin*. This offers you to undo a deletion. After a period which defaults to 30 days (your administration may have changed this setting), those items will be deleted permanently. You can also permanently delete items earlier if you wish. .. figure:: images/calendar_trash_bin.png