diff --git a/files/routes/posts.py b/files/routes/posts.py index 1e3fce2bf..58f472003 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -969,7 +969,7 @@ def submit_post(v, sub=None): title_html=title_html, sub=sub, ghost=False, - filter_state='filtered' if v.admin_level == 0 else 'normal' + filter_state='filtered' if v.admin_level == 0 and app.config['SETTINGS']['FilterNewPosts'] else 'normal' ) g.db.add(post) diff --git a/files/templates/admin/admin_home.html b/files/templates/admin/admin_home.html index 9475233a7..11b8a1bd0 100644 --- a/files/templates/admin/admin_home.html +++ b/files/templates/admin/admin_home.html @@ -72,6 +72,11 @@ +
+ + +
+
diff --git a/site_settings.json b/site_settings.json index cb3998b89..37f12f133 100644 --- a/site_settings.json +++ b/site_settings.json @@ -1 +1 @@ -{"Bots": true, "Fart mode": false, "Read-only mode": false, "Signups": true} +{"Bots": true, "Fart mode": false, "Read-only mode": false, "Signups": true, "FilterNewPosts": false}