otetard / ownpad

Ownpad is a Nextcloud application that allows to create and open Etherpad and Ethercalc documents.
GNU Affero General Public License v3.0
57 stars 24 forks source link

Add support for configurable padname suffix #78

Open doobry-systemli opened 5 years ago

doobry-systemli commented 5 years ago

It would be great to have a configuration setting that allows to set a padname suffix.

Background is that it's common for Etherpad instances to treat pads differently depending on the suffix. We plan to run a cronjob that deletes unchanged pads after 30 days per default, but pads with suffix -keep should be kept for one year after last change.

Certainly, pads that are created and maintained from a Nextcloud account, should be left alone. In order to identify those pads on our Etherpad instance, a (configurable) name suffix (e.g. -nextcloud) would help a lot.

doobry-systemli commented 5 years ago

I created PR #84 which implements this function. I'm looking forward to your review :)