From 99e5b482c1e0cb017678c1d02c0d9718cdd234a7 Mon Sep 17 00:00:00 2001 From: fatchan Date: Wed, 12 Jun 2019 08:18:01 +0000 Subject: [PATCH] update wipe to add defaults for new setings --- views/includes/postform.pug | 2 +- wipe.js | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/views/includes/postform.pug b/views/includes/postform.pug index 56fda5c9..1a98b250 100644 --- a/views/includes/postform.pug +++ b/views/includes/postform.pug @@ -38,7 +38,7 @@ section.form-wrapper.flex-center if board.settings.userPostSpoiler || board.settings.userPostDelete || board.settings.userPostUnlink section.postform-row .postform-label Password - input#password(type='password', name='password', autocomplete='off' placeholder='post deletion password' maxlength='50') + input#password(type='password', name='password', autocomplete='off' placeholder='password to delete/spoiler/unlink later' maxlength='50') if board.settings.captcha section.postform-row .postform-label Captcha diff --git a/wipe.js b/wipe.js index 2037bdb2..e1491361 100644 --- a/wipe.js +++ b/wipe.js @@ -45,6 +45,9 @@ const Mongo = require(__dirname+'/db/db.js') captcha: true, forceAnon: true, ids: true, + userPostDelete: true, + userPostSpoiler: true, + userPostUnlink: true, threadLimit: 100, replyLimit: 300, maxFiles: 3, @@ -66,6 +69,9 @@ const Mongo = require(__dirname+'/db/db.js') captcha: false, forceAnon: false, ids: false, + userPostDelete: true, + userPostSpoiler: true, + userPostUnlink: true, threadLimit: 100, replyLimit: 300, maxFiles: 3, @@ -87,6 +93,9 @@ const Mongo = require(__dirname+'/db/db.js') captcha: true, forceAnon: true, ids: false, + userPostDelete: true, + userPostSpoiler: true, + userPostUnlink: true, threadLimit: 100, replyLimit: 300, maxFiles: 0,