From 4ad1f6f5d731c5235454265385375f242ca6649f Mon Sep 17 00:00:00 2001 From: tejas-rkd Date: Fri, 16 May 2025 16:32:42 +0530 Subject: [PATCH 1/4] Trash can versioning option for deletes only feat(#6164): add 'Archive Deleted Only' option to trashcan versioner --- users/versioning.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/users/versioning.rst b/users/versioning.rst index 706702c9c..300e131d8 100644 --- a/users/versioning.rst +++ b/users/versioning.rst @@ -37,6 +37,12 @@ days. If this is set to a positive number of days, files will be removed when they have been in the trash can that long. Setting this to zero prevents any files from being removed from the trash can automatically. +Another :opt:`configuration option ` +is available to archive only the deleted files, as opposed to normal Trash can versioning +which archives all modified, renamed and deleted file. This is a light weight +option to protect against accidental deletions, while using significantly +less disk space than full versioning. + Simple File Versioning ---------------------- @@ -310,6 +316,11 @@ example of such a section in the XML: The number of days to keep files in the versions folder. Zero means to keep forever. Older elements encountered during cleanup are removed. +.. option:: folder.versioning.params.archiveDeletedOnly + + When this option is enabled it archives only deleted files. + Modified or Renamed files are not archieved and hence, deleted permanently. + .. option:: folder.versioning.params.keep The number of old versions to keep, per file. From 17db77d89aaeccaea49a134114660f6480dc1cc9 Mon Sep 17 00:00:00 2001 From: tejas-rkd Date: Mon, 19 May 2025 16:30:35 +0530 Subject: [PATCH 2/4] Update users/versioning.rst Co-authored-by: Ross Smith II --- users/versioning.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/versioning.rst b/users/versioning.rst index 300e131d8..6e9fd2a9e 100644 --- a/users/versioning.rst +++ b/users/versioning.rst @@ -38,7 +38,7 @@ they have been in the trash can that long. Setting this to zero prevents any files from being removed from the trash can automatically. Another :opt:`configuration option ` -is available to archive only the deleted files, as opposed to normal Trash can versioning +is available to archive only the deleted files, as opposed to normal trash can versioning which archives all modified, renamed and deleted file. This is a light weight option to protect against accidental deletions, while using significantly less disk space than full versioning. From dfd87339c0e0721f6032205ec0b252119d4764b6 Mon Sep 17 00:00:00 2001 From: tejas-rkd Date: Mon, 19 May 2025 16:30:42 +0530 Subject: [PATCH 3/4] Update users/versioning.rst Co-authored-by: Ross Smith II --- users/versioning.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/versioning.rst b/users/versioning.rst index 6e9fd2a9e..aabecc862 100644 --- a/users/versioning.rst +++ b/users/versioning.rst @@ -39,7 +39,7 @@ files from being removed from the trash can automatically. Another :opt:`configuration option ` is available to archive only the deleted files, as opposed to normal trash can versioning -which archives all modified, renamed and deleted file. This is a light weight +which archives all modified, renamed and deleted files. This is a lightweight option to protect against accidental deletions, while using significantly less disk space than full versioning. From 97b928ef6d44082be967ec248d4c156e75f5d604 Mon Sep 17 00:00:00 2001 From: tejas-rkd Date: Mon, 19 May 2025 16:30:48 +0530 Subject: [PATCH 4/4] Update users/versioning.rst Co-authored-by: Ross Smith II --- users/versioning.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/versioning.rst b/users/versioning.rst index aabecc862..01cd7e3fe 100644 --- a/users/versioning.rst +++ b/users/versioning.rst @@ -319,7 +319,7 @@ example of such a section in the XML: .. option:: folder.versioning.params.archiveDeletedOnly When this option is enabled it archives only deleted files. - Modified or Renamed files are not archieved and hence, deleted permanently. + Modified or renamed files are not archived, and hence, deleted normally. .. option:: folder.versioning.params.keep