Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit number of versions of a pad or delete them in Pad Settings #6194

Open
FredMa01 opened this issue Feb 27, 2024 · 5 comments
Open

Limit number of versions of a pad or delete them in Pad Settings #6194

FredMa01 opened this issue Feb 27, 2024 · 5 comments

Comments

@FredMa01
Copy link

I don't see the possibility of limiting the number of versions of a pad or cleaning up old versions.
The database grows without limit over time and exporting pads becomes long and heavy with numerous revisions .
Would it be possible to have this revision deletion option in Pad Settings?

Fred

@peter-rs
Copy link

To add on to this, it should be possible to disable the revisions feature entirely (at least for read only pads), either via a plugin or through etherpad settings.
For documents that have been published using a read-only link, anyone can go back and view the author's writing process which results in: Best case (a few embarrassing spelling mistakes) or Worst Case (personally identifying information, sensitive content)

@q2apro
Copy link

q2apro commented Mar 8, 2024

I absolutely need this feature too ... or at least "delete revisions older than 30 days" or alike.

I used Etherpad (via Docker) for two months now. About hundred users.

The postgresql database is zipped 400 MB now (!) This is insane.

  1. We require an option to clean old revisions older than 30 days.
  2. Optional an option to keep the last x revisions.
  3. Definitely an option to disable revisioning.

Point 3 is actually the most helpful to save storage.


Usage of my Etherpad: Statistics: Pads Text Size: 611.475 - Total Pads: 971

611 MB / 971 pads = 0.63 MB per pad

At least half of them are empty, so it's probably 1 - 2 MB per pad in average.

And those pads contain only 100 lines of text.


BTW, Size: 611.475 ... I guess it means KB.

@q2apro
Copy link

q2apro commented Mar 8, 2024

In each revision there is an option:

image

Does this disable the revisions for this pad?

If so, this option we would need globally. Disable all revisions for all pads.

@SamTV12345
Copy link
Member

The next version of Etherpad will feature a built in way to manage pads and also delete them. You can also sort by revision number and can then delete pads with a lot of revision numbers.

image

@q2apro
Copy link

q2apro commented Mar 10, 2024

That is nice to see, however, admins do not want to manually spend 20 - 30 min a day to go through all pads... also considering data privacy/protection, this would not even be allowed.

Again, we need:

  1. option so revisions older than 30 days are removed
  2. option to keep the last x revisions
  3. option to disable revisioning

Disabling revisioning is the most important one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants