mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-12 02:01:31 -04:00
chore: Add config for etherpad plugin ep_delete_after_delay
This commit is contained in:
parent
54195d0212
commit
5796419f49
2 changed files with 39 additions and 12 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue