From cd2a3c94c77b5b8138e01d0d9c92fd544bace459 Mon Sep 17 00:00:00 2001
From: Quentin Duchemin <quentinduchemin@tuta.io>
Date: Tue, 26 May 2020 21:38:49 +0200
Subject: [PATCH] [Etherpad] Make main instance writable again

---
 pica-etherpad/docker-compose.yml           |  1 -
 pica-etherpad/landing-page/index.full.html | 15 ++++-----------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/pica-etherpad/docker-compose.yml b/pica-etherpad/docker-compose.yml
index ad596a9e..ac1fd15b 100755
--- a/pica-etherpad/docker-compose.yml
+++ b/pica-etherpad/docker-compose.yml
@@ -31,7 +31,6 @@ services:
       traefik.port: 8080
     environment:
       DB_HOST: "etherpad-db"
-      EDIT_ONLY: "true"
       LOGLEVEL: "INFO"
       MINIFY: "true"
       PORT: 8080
diff --git a/pica-etherpad/landing-page/index.full.html b/pica-etherpad/landing-page/index.full.html
index b7a55ca2..ee6e0df8 100644
--- a/pica-etherpad/landing-page/index.full.html
+++ b/pica-etherpad/landing-page/index.full.html
@@ -36,18 +36,11 @@
 
             <div class="row py-3" style="background-color: #33333333; border-radius: .3rem">
               <div class="col-12">
-                <b>COVID-19:</b> En raison d'une forte augmentation de la charge sur pad.picasoft.net,
-                nous avons déployé une deuxième instance sur <a href="https://week.pad.picasoft.net/" >week.pad.picasoft.net</a>.
+                En raison d'une forte augmentation de la charge sur pad.picasoft.net,
+                nous avons déployé une deuxième instance sur week.pad.picasoft.net</a>.
                 Les pads sur cette nouvelle instance sont supprimés après 14 jours d'inactivité.
                 Si vos pads ont vocation à être temporaires, nous vous remercions de privilégier
                 cette nouvelle instance :)
-
-                <br>
-                <br>
-
-                <b>UPDATE (30/03/2020):</b> La charge sur cette instance continue à augmenter très fortement.
-                Nous avons donc décidé d'interdire la création de nouveaux pads (vous pouvez toujours utiliser
-                <a href="https://week.pad.picasoft.net/" >week.pad.picasoft.net</a> !).
               </div>
             </div>
             </br>
@@ -68,10 +61,10 @@
 
                   <div class="row">
                     <div class="col-1">
-                      <input type="radio" id="radio_normal" name="instance" value="normal" disabled>
+                      <input type="radio" id="radio_normal" name="instance" value="normal">
                     </div>
                     <div class="col-11">
-                      <label for="week" style="text-decoration: line-through;">Créer un pad sur pad.picasoft.net !</label><br>
+                      <label for="week">Créer un pad sur pad.picasoft.net !</label><br>
                     </div>
                   </div>
 
-- 
GitLab