update wipe to add defaults for new setings

merge-requests/208/head
fatchan 5 years ago
parent 1992adbb8f
commit 99e5b482c1
  1. 2
      views/includes/postform.pug
  2. 9
      wipe.js

@ -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

@ -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,

Loading…
Cancel
Save