diff --git a/daemon.py b/daemon.py
index d6d220f47..714dc5e12 100644
--- a/daemon.py
+++ b/daemon.py
@@ -6808,6 +6808,29 @@ class PubServer(BaseHTTPRequestHandler):
'closed')
self.server.registration = False
+ # change public replies unlisted
+ pub_replies_unlisted = False
+ if self.server.public_replies_unlisted or \
+ get_config_param(base_dir,
+ "publicRepliesUnlisted") is True:
+ pub_replies_unlisted = True
+ if fields.get('publicRepliesUnlisted'):
+ if fields['publicRepliesUnlisted'] != \
+ pub_replies_unlisted:
+ pub_replies_unlisted = \
+ fields['publicRepliesUnlisted']
+ set_config_param(base_dir,
+ 'publicRepliesUnlisted',
+ True)
+ self.server.public_replies_unlisted = \
+ pub_replies_unlisted
+ else:
+ if pub_replies_unlisted:
+ set_config_param(base_dir,
+ 'publicRepliesUnlisted',
+ False)
+ self.server.public_replies_unlisted = False
+
# change registrations remaining
reg_str = "registrationsRemaining"
remaining = get_config_param(base_dir, reg_str)
diff --git a/translations/ar.json b/translations/ar.json
index 7274f8218..655160ce1 100644
--- a/translations/ar.json
+++ b/translations/ar.json
@@ -639,5 +639,6 @@
"Memorials": "النصب التذكارية",
"places": "أماكن",
"offline": "غير متصل على الانترنت",
- "Mutuals": "التعاضد"
+ "Mutuals": "التعاضد",
+ "Public replies default to unlisted scope": "الردود العامة افتراضية للنطاق غير المدرج"
}
diff --git a/translations/bn.json b/translations/bn.json
index 45d425441..fb758ea6d 100644
--- a/translations/bn.json
+++ b/translations/bn.json
@@ -639,5 +639,6 @@
"Memorials": "স্মারক",
"places": "জায়গা",
"offline": "অফলাইন",
- "Mutuals": "পারস্পরিক"
+ "Mutuals": "পারস্পরিক",
+ "Public replies default to unlisted scope": "অতালিকাভুক্ত সুযোগে সর্বজনীন উত্তর ডিফল্ট"
}
diff --git a/translations/ca.json b/translations/ca.json
index a3cf38a98..4b89841d8 100644
--- a/translations/ca.json
+++ b/translations/ca.json
@@ -639,5 +639,6 @@
"Memorials": "Memorials",
"places": "llocs",
"offline": "fora de línia",
- "Mutuals": "Mútues"
+ "Mutuals": "Mútues",
+ "Public replies default to unlisted scope": "Les respostes públiques són per defecte a l'abast no llistat"
}
diff --git a/translations/cy.json b/translations/cy.json
index 285f1c636..4d1a2ac07 100644
--- a/translations/cy.json
+++ b/translations/cy.json
@@ -639,5 +639,6 @@
"Memorials": "Cofebau",
"places": "lleoedd",
"offline": "all-lein",
- "Mutuals": "Cydfuddiol"
+ "Mutuals": "Cydfuddiol",
+ "Public replies default to unlisted scope": "Ymatebion cyhoeddus rhagosodedig i gwmpas heb ei restru"
}
diff --git a/translations/de.json b/translations/de.json
index 240b3a820..3f86e08f0 100644
--- a/translations/de.json
+++ b/translations/de.json
@@ -639,5 +639,6 @@
"Memorials": "Denkmäler",
"places": "setzt",
"offline": "offline",
- "Mutuals": "Gegenseitigkeitsgesellschaften"
+ "Mutuals": "Gegenseitigkeitsgesellschaften",
+ "Public replies default to unlisted scope": "Öffentliche Antworten werden standardmäßig auf den nicht aufgeführten Bereich übertragen"
}
diff --git a/translations/el.json b/translations/el.json
index 318b8d277..dcea1bbc2 100644
--- a/translations/el.json
+++ b/translations/el.json
@@ -639,5 +639,6 @@
"Memorials": "Μνημείων",
"places": "μέρη",
"offline": "εκτός σύνδεσης",
- "Mutuals": "Αμοιβαία"
+ "Mutuals": "Αμοιβαία",
+ "Public replies default to unlisted scope": "Οι δημόσιες απαντήσεις από προεπιλογή στο μη καταχωρισμένο εύρος"
}
diff --git a/translations/en.json b/translations/en.json
index 7d12dd94c..6892c1a66 100644
--- a/translations/en.json
+++ b/translations/en.json
@@ -639,5 +639,6 @@
"Memorials": "Memorials",
"places": "places",
"offline": "offline",
- "Mutuals": "Mutuals"
+ "Mutuals": "Mutuals",
+ "Public replies default to unlisted scope": "Public replies default to unlisted scope"
}
diff --git a/translations/es.json b/translations/es.json
index 4633d1dbe..5ae73e308 100644
--- a/translations/es.json
+++ b/translations/es.json
@@ -639,5 +639,6 @@
"Memorials": "Memoriales",
"places": "lugares",
"offline": "desconectada",
- "Mutuals": "Mutuales"
+ "Mutuals": "Mutuales",
+ "Public replies default to unlisted scope": "Las respuestas públicas tienen por defecto un alcance no listado"
}
diff --git a/translations/fa.json b/translations/fa.json
index 4f39a6cf3..fcd1a5397 100644
--- a/translations/fa.json
+++ b/translations/fa.json
@@ -639,5 +639,6 @@
"Memorials": "یادبودها",
"places": "مکان ها",
"offline": "آفلاین",
- "Mutuals": "متقابل"
+ "Mutuals": "متقابل",
+ "Public replies default to unlisted scope": "پاسخهای عمومی بهطور پیشفرض به محدوده فهرست نشده است"
}
diff --git a/translations/fr.json b/translations/fr.json
index 2198979af..09372615a 100644
--- a/translations/fr.json
+++ b/translations/fr.json
@@ -639,5 +639,6 @@
"Memorials": "Mémoriaux",
"places": "lieux",
"offline": "hors ligne",
- "Mutuals": "Mutuelles"
+ "Mutuals": "Mutuelles",
+ "Public replies default to unlisted scope": "Les réponses publiques ont par défaut une portée non répertoriée"
}
diff --git a/translations/ga.json b/translations/ga.json
index 1aad73c34..cd7ccf40f 100644
--- a/translations/ga.json
+++ b/translations/ga.json
@@ -639,5 +639,6 @@
"Memorials": "Cuimhneacháin",
"places": "áiteanna",
"offline": "as líne",
- "Mutuals": "Comhpháirteacha"
+ "Mutuals": "Comhpháirteacha",
+ "Public replies default to unlisted scope": "Freagraí poiblí réamhshocraithe ar scóip neamhliostaithe"
}
diff --git a/translations/he.json b/translations/he.json
index 7ade6c801..74a168d3c 100644
--- a/translations/he.json
+++ b/translations/he.json
@@ -639,5 +639,6 @@
"Memorials": "אנדרטאות",
"places": "מקומות",
"offline": "במצב לא מקוון",
- "Mutuals": "הדדיות"
+ "Mutuals": "הדדיות",
+ "Public replies default to unlisted scope": "תשובות ציבוריות כברירת מחדל להיקף לא רשום"
}
diff --git a/translations/hi.json b/translations/hi.json
index a266bd69d..11d8105d8 100644
--- a/translations/hi.json
+++ b/translations/hi.json
@@ -639,5 +639,6 @@
"Memorials": "इतिवृत्त",
"places": "स्थानों",
"offline": "ऑफलाइन",
- "Mutuals": "पारस्परिक"
+ "Mutuals": "पारस्परिक",
+ "Public replies default to unlisted scope": "सार्वजनिक उत्तर डिफ़ॉल्ट रूप से असूचीबद्ध दायरे में आते हैं"
}
diff --git a/translations/it.json b/translations/it.json
index 5df4c82f8..5019baf47 100644
--- a/translations/it.json
+++ b/translations/it.json
@@ -639,5 +639,6 @@
"Memorials": "Memoriali",
"places": "luoghi",
"offline": "disconnessa",
- "Mutuals": "Mutui"
+ "Mutuals": "Mutui",
+ "Public replies default to unlisted scope": "Per impostazione predefinita, le risposte pubbliche hanno un ambito non elencato"
}
diff --git a/translations/ja.json b/translations/ja.json
index 86e9e78ec..00c801b31 100644
--- a/translations/ja.json
+++ b/translations/ja.json
@@ -639,5 +639,6 @@
"Memorials": "記念碑",
"places": "場所",
"offline": "オフライン",
- "Mutuals": "相互作用"
+ "Mutuals": "相互作用",
+ "Public replies default to unlisted scope": "パブリック返信はデフォルトで非公開スコープになります"
}
diff --git a/translations/ko.json b/translations/ko.json
index 03ba041cd..550987b15 100644
--- a/translations/ko.json
+++ b/translations/ko.json
@@ -639,5 +639,6 @@
"Memorials": "기록",
"places": "장소",
"offline": "오프라인",
- "Mutuals": "상호"
+ "Mutuals": "상호",
+ "Public replies default to unlisted scope": "공개 답글은 기본적으로 비공개 범위로 설정됩니다."
}
diff --git a/translations/ku.json b/translations/ku.json
index c53a7660e..322e32c19 100644
--- a/translations/ku.json
+++ b/translations/ku.json
@@ -639,5 +639,6 @@
"Memorials": "Memorials",
"places": "cihên",
"offline": "offline",
- "Mutuals": "Mutuals"
+ "Mutuals": "Mutuals",
+ "Public replies default to unlisted scope": "Bersivên gelemperî ji bo çarçoveyek nelîstekirî xwerû dide"
}
diff --git a/translations/nl.json b/translations/nl.json
index c2dcd2f23..9021c5a4c 100644
--- a/translations/nl.json
+++ b/translations/nl.json
@@ -639,5 +639,6 @@
"Memorials": "Gedenktekens",
"places": "plaatsen",
"offline": "offline",
- "Mutuals": "Mutualiteiten"
+ "Mutuals": "Mutualiteiten",
+ "Public replies default to unlisted scope": "Openbare antwoorden hebben standaard een niet-vermeld bereik"
}
diff --git a/translations/oc.json b/translations/oc.json
index eb36f3028..53f2ba28b 100644
--- a/translations/oc.json
+++ b/translations/oc.json
@@ -635,5 +635,6 @@
"Memorials": "Memorials",
"places": "places",
"offline": "offline",
- "Mutuals": "Mutuals"
+ "Mutuals": "Mutuals",
+ "Public replies default to unlisted scope": "Public replies default to unlisted scope"
}
diff --git a/translations/pl.json b/translations/pl.json
index 12f061882..d39ac6d92 100644
--- a/translations/pl.json
+++ b/translations/pl.json
@@ -639,5 +639,6 @@
"Memorials": "Pamiętnik",
"places": "miejsca",
"offline": "nieaktywny",
- "Mutuals": "Wzajemne relacje"
+ "Mutuals": "Wzajemne relacje",
+ "Public replies default to unlisted scope": "Odpowiedzi publiczne domyślnie mają zakres niepubliczny"
}
diff --git a/translations/pt.json b/translations/pt.json
index 58058235b..230256935 100644
--- a/translations/pt.json
+++ b/translations/pt.json
@@ -639,5 +639,6 @@
"Memorials": "Memoriais",
"places": "lugares",
"offline": "desligada",
- "Mutuals": "Mútuas"
+ "Mutuals": "Mútuas",
+ "Public replies default to unlisted scope": "As respostas públicas são padronizadas para escopo não listado"
}
diff --git a/translations/ru.json b/translations/ru.json
index 899c4cbc4..3192b5763 100644
--- a/translations/ru.json
+++ b/translations/ru.json
@@ -639,5 +639,6 @@
"Memorials": "Мемориалы",
"places": "места",
"offline": "не в сети",
- "Mutuals": "Взаимные отношения"
+ "Mutuals": "Взаимные отношения",
+ "Public replies default to unlisted scope": "Публичные ответы по умолчанию имеют скрытую область действия."
}
diff --git a/translations/sw.json b/translations/sw.json
index f797fab3a..1bbffde41 100644
--- a/translations/sw.json
+++ b/translations/sw.json
@@ -639,5 +639,6 @@
"Memorials": "Makumbusho",
"places": "maeneo",
"offline": "nje ya mtandao",
- "Mutuals": "Kuheshimiana"
+ "Mutuals": "Kuheshimiana",
+ "Public replies default to unlisted scope": "Majibu ya umma kwa chaguomsingi kwa upeo ambao haujaorodheshwa"
}
diff --git a/translations/tr.json b/translations/tr.json
index b867012e5..9baa1009f 100644
--- a/translations/tr.json
+++ b/translations/tr.json
@@ -639,5 +639,6 @@
"Memorials": "Anıtlar",
"places": "yer",
"offline": "çevrimdışı",
- "Mutuals": "Karşılıklar"
+ "Mutuals": "Karşılıklar",
+ "Public replies default to unlisted scope": "Genel yanıtlar varsayılan olarak liste dışı kapsama alınır"
}
diff --git a/translations/uk.json b/translations/uk.json
index 9b1c5f3b2..f43c3f18d 100644
--- a/translations/uk.json
+++ b/translations/uk.json
@@ -639,5 +639,6 @@
"Memorials": "Меморіали",
"places": "місць",
"offline": "офлайн",
- "Mutuals": "Мутуали"
+ "Mutuals": "Мутуали",
+ "Public replies default to unlisted scope": "Загальнодоступні відповіді за умовчанням мають приватний обсяг"
}
diff --git a/translations/yi.json b/translations/yi.json
index 624cb8230..942a67bba 100644
--- a/translations/yi.json
+++ b/translations/yi.json
@@ -639,5 +639,6 @@
"Memorials": "מעמאָריאַלן",
"places": "ערטער",
"offline": "אָפפלינע",
- "Mutuals": "קעגנצייַטיק"
+ "Mutuals": "קעגנצייַטיק",
+ "Public replies default to unlisted scope": "ציבור ענטפֿערס פעליקייַט צו אַנליסטעד פאַרנעם"
}
diff --git a/translations/zh.json b/translations/zh.json
index faab8080e..ee427b1a5 100644
--- a/translations/zh.json
+++ b/translations/zh.json
@@ -639,5 +639,6 @@
"Memorials": "纪念馆",
"places": "地方",
"offline": "离线",
- "Mutuals": "互助基金"
+ "Mutuals": "互助基金",
+ "Public replies default to unlisted scope": "公开回复默认为不公开范围"
}
diff --git a/webapp_profile.py b/webapp_profile.py
index b8531c87d..c5b62f38e 100644
--- a/webapp_profile.py
+++ b/webapp_profile.py
@@ -1839,6 +1839,12 @@ def _html_edit_profile_instance(base_dir: str, translate: {},
translate['Instance Logo'] + '' + \
'
\n
\n'
+ public_replies_unlisted = False
+ if get_config_param(base_dir, "publicRepliesUnlisted") is True:
+ public_replies_unlisted = True
+ instance_str += \
+ edit_check_box(translate['Public replies default to unlisted scope'],
+ 'publicRepliesUnlisted', public_replies_unlisted)
registrations_open = False
if get_config_param(base_dir, "registration") == 'open':
registrations_open = True