From 65848bc0c0e039e75707b57a6ce748ff84f9b208 Mon Sep 17 00:00:00 2001 From: Olivier Navas Date: Sat, 15 Jul 2023 17:04:18 +0200 Subject: [PATCH] Libretic v1.9.1 --- README.libretic-build | 18 ++++++++++++++++++ settings.json.docker | 10 +++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 README.libretic-build diff --git a/README.libretic-build b/README.libretic-build new file mode 100644 index 00000000..006c9861 --- /dev/null +++ b/README.libretic-build @@ -0,0 +1,18 @@ + +# notes de build pour la version etherpad hébergée chez libretic + +# tag dans la branche develop +VERSION=v1.9.1 + + +git switch develop +git pull origin develop +git push libretic +git switch libretic-build +git merge $VERSION +git push libretic + +docker build --build-arg ETHERPAD_PLUGINS="ep_comments_page ep_delete_after_delay ep_prometheus" --tag git.libretic.fr/libretic/etherpad:$VERSION . +docker login git.libretic.fr +docker push git.libretic.fr/libretic/etherpad:$VERSION + diff --git a/settings.json.docker b/settings.json.docker index 725af9f3..78826f8d 100644 --- a/settings.json.docker +++ b/settings.json.docker @@ -634,5 +634,13 @@ "customLocaleStrings": {}, /* Disable Admin UI tests */ - "enableAdminUITests": false + "enableAdminUITests": false, + + "ep_delete_after_delay": { + "delay": "${DELETE_AFTER_DELAY:86400}", // defaults to one day, in seconds + "loop": "${DELETE_LOOP:true}", + "loopDelay": "${DELETE_LOOP_DELAY:3600}", // one hour, in seconds + "deleteAtStart": "${DELETE_AT_START:true}", + "text": "${DELETE_TEXT:The content of this pad has been deleted since it was older than the configured delay.}" + } }