chore: Add config for etherpad plugin ep_delete_after_delay

This commit is contained in:
Gerardo Navarro 2022-08-21 23:47:22 +02:00
parent 54195d0212
commit 5796419f49
2 changed files with 39 additions and 12 deletions

View file

@ -587,5 +587,31 @@
"loglevel": "${LOGLEVEL:INFO}",
/* Override any strings found in locale directories */
"customLocaleStrings": {}
"customLocaleStrings": {},
/*
* Allow only some file formats
*/
"ep_disable_imports": {
"allow": ["etherpad", "docx", "odt", "txt", "rtf", "pdf"]
},
/*
* Delete pads after delay
*/
"ep_delete_after_delay": {
"delay": 2592000, // thirty days, in seconds
"loop": true,
"loopDelay": 3600, // one hour, in seconds
"deleteAtStart": true,
"text": "The content of this pad has been deleted since it was older than the configured delay."
},
/*
* Configure image upload
*/
"ep_image_upload": {
"fileTypes": ["jpeg", "jpg", "bmp", "gif", "png"],
"maxFileSize": 2000000
}
}