diff --git a/ecosystem.config.js b/ecosystem.config.js index c5742279..b7d8bbd1 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -7,7 +7,7 @@ module.exports = { autorestart: true, watch: false, max_memory_restart: '1G', - log_date_format: 'YYYY-MM-DD HH:mm:ss', + log_date_format: 'YYYY-MM-DD HH:mm:ss.SSS', wait_ready: true, listen_timeout: 5000, kill_timeout: 5000, @@ -24,7 +24,7 @@ module.exports = { autorestart: true, watch: false, max_memory_restart: '1G', - log_date_format: 'YYYY-MM-DD HH:mm:ss', + log_date_format: 'YYYY-MM-DD HH:mm:ss.SSS', env: { NODE_ENV: 'development' }, diff --git a/gulp/res/css/style.css b/gulp/res/css/style.css index cd95522b..5947534d 100644 --- a/gulp/res/css/style.css +++ b/gulp/res/css/style.css @@ -49,7 +49,7 @@ pre { .code { text-align: left; - border-left: 10px solid #B7C5D9; + border-left: 10px solid #00000010; display: block; padding-left: 5px; font-family: monospace; diff --git a/wipe.js b/wipe.js index d60c22a4..4790d9cb 100644 --- a/wipe.js +++ b/wipe.js @@ -32,6 +32,31 @@ const Mongo = require(__dirname+'/db/db.js') console.log('deleting bans'); await Bans.deleteAll(); console.log('adding boards') + await Boards.insertOne({ + _id: 'file', + owner: '', + moderators: [], + banners: [], + sequence_value: 1, + settings: { + name: 'file', + description: 'catching people from 2016', + captcha: false, + forceAnon: false, + ids: false, + userPostDelete: true, + userPostSpoiler: true, + userPostUnlink: true, + threadLimit: 200, + replyLimit: 500, + maxFiles: 3, + forceOPSubject: false, + forceOPMessage: true, + forceOPFile: true, + minMessageLength: 0, + defaultName: 'Anonymous', + } + }) await Boards.insertOne({ _id: 'pol', owner: '', @@ -41,14 +66,14 @@ const Mongo = require(__dirname+'/db/db.js') settings: { name: 'politics', description: 'talk about politics', - captcha: true, + captcha: false, forceAnon: true, ids: true, userPostDelete: true, userPostSpoiler: true, userPostUnlink: true, - threadLimit: 100, - replyLimit: 300, + threadLimit: 200, + replyLimit: 500, maxFiles: 3, forceOPSubject: false, forceOPMessage: true, @@ -72,8 +97,8 @@ const Mongo = require(__dirname+'/db/db.js') userPostDelete: true, userPostSpoiler: true, userPostUnlink: true, - threadLimit: 100, - replyLimit: 300, + threadLimit: 200, + replyLimit: 500, maxFiles: 3, forceOPSubject: false, forceOPMessage: true, @@ -91,14 +116,14 @@ const Mongo = require(__dirname+'/db/db.js') settings: { name: 'test', description: 'testing board', - captcha: true, + captcha: false, forceAnon: true, ids: false, userPostDelete: true, userPostSpoiler: true, userPostUnlink: true, - threadLimit: 100, - replyLimit: 300, + threadLimit: 200, + replyLimit: 500, maxFiles: 0, forceOPSubject: false, forceOPMessage: true,