From 389af203001411a9c544e8a09733b87b97313322 Mon Sep 17 00:00:00 2001 From: chandi Date: Wed, 24 Feb 2021 21:52:47 +0100 Subject: [PATCH] etherpad: switch from broken `ep_delete_after_delay_lite` to `ep_pad_ttl` closes #67 --- mod/etherpad/Dockerfile | 4 ++-- mod/etherpad/settings.json | 11 ++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/mod/etherpad/Dockerfile b/mod/etherpad/Dockerfile index f5e69bd..5e0cb89 100644 --- a/mod/etherpad/Dockerfile +++ b/mod/etherpad/Dockerfile @@ -1,4 +1,4 @@ -FROM etherpad/etherpad:1.8.7 +FROM etherpad/etherpad:1.8.9 USER root @@ -9,7 +9,7 @@ USER etherpad RUN npm install \ ep_delete_after_delay_lite \ - git+https://git@github.com/pedrobmarin/ep_redis_publisher.git + git+https://git@github.com/pedrobmarin/ep_pad_ttl.git # add skin from git submodule COPY --chown=etherpad:0 ./bbb-etherpad-skin /opt/etherpad-lite/src/static/skins/bigbluebutton diff --git a/mod/etherpad/settings.json b/mod/etherpad/settings.json index 768e67f..1d2a31b 100644 --- a/mod/etherpad/settings.json +++ b/mod/etherpad/settings.json @@ -433,14 +433,11 @@ /* * Delete pads plugin configuration. - * npm i ep_delete_after_delay_lite */ - - "ep_delete_after_delay_lite": { - "delay": 86400, // one day, in seconds - "loop": true, - "loopDelay": 3600, // one hour, in seconds - "deleteAtStart": true + "ep_pad_ttl": { + "ttl": 86400, // 24 hours + "timeout": 5, + "interval": 3600, // 1 hour }, /*