From 47bcd3b8f04148108b42d8c757a64bba7958334f Mon Sep 17 00:00:00 2001 From: fatchan Date: Thu, 15 Aug 2019 11:54:46 +0000 Subject: [PATCH] math error in earl404 and minor style changes --- db/posts.js | 2 +- gulp/res/css/style.css | 2 +- package.json | 3 +-- views/custompages/rules.pug | 7 ++----- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/db/posts.js b/db/posts.js index 53614cc0..e5d7c861 100644 --- a/db/posts.js +++ b/db/posts.js @@ -389,7 +389,7 @@ module.exports = { 'replyposts': { '$lt': 5 } - }).skip(Math.floor(board.settings.threadLimit/3)).toArray(); + }).skip(Math.ceil(board.settings.threadLimit/3)).toArray(); } return oldThreads.concat(early404Threads); diff --git a/gulp/res/css/style.css b/gulp/res/css/style.css index 4a0d0e4f..2eee8d06 100644 --- a/gulp/res/css/style.css +++ b/gulp/res/css/style.css @@ -35,7 +35,7 @@ --label-color: #282a2e; --box-border-color: #111; --transparent-darken: #00000010; ---highlighted-post-color: #1d1d21; +--highlighted-post-color: #ff000010; --highlighted-post-outline-color: #111; --report-color: #fca; --report-outline-color: #c97; diff --git a/package.json b/package.json index 1d68d476..17636857 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,7 @@ }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node server.js", - "wipe": "node wipe.js && rm -rf static/img/* && rm -rf static/banner/* && rm -rf static/html/* && gulp" + "start": "pm2-runtime start ecosystem.config.js --env production", }, "author": "", "license": "ISC" diff --git a/views/custompages/rules.pug b/views/custompages/rules.pug index a5317967..c9895be0 100644 --- a/views/custompages/rules.pug +++ b/views/custompages/rules.pug @@ -9,8 +9,5 @@ block content table.table-body tr.table-row td - ul - li Do not post or link to any content that violates laws of the United States of America - li Do not spam, flood or perform any actions to an extent that negatively impacts the usual function of the website/server - li Do not post discord or other social media links or invite codes intended to replace the site or create discussion outside the site. That's how you lose your anonymity and kill chans - li Report technical issues on #[a(href='/t/index.html') >>>/t/], and email security issues to tom-69420-me (replace - with @ .) + p Do not post or link to any content that violates laws of the United States of America + p Do not spam, flood or perform any actions to an extent that negatively impacts the usual function of the website/server