etherpad-lite icon indicating copy to clipboard operation
etherpad-lite copied to clipboard

Add code for revision cleanup

Open Gared opened this issue 8 months ago • 0 comments

This will add two methods for revision cleanup:

  • deleteAllRevisions (copies only the latest version and removes the old database entries)
  • deleteRevisions (deletes all revisions, but keeps the last x revisions of a pad and rewrites the first revision)

Relates to #6194

There are still some TODOs:

  • [x] Remove duplicated code
  • [ ] Add config to change behaviour of cleanup (and enable/disable)
  • [ ] Test with a lot of revisions (mainly the key revisions)

Gared avatar Jun 09 '24 10:06 Gared