add rules

This commit is contained in:
biglyderv 2025-03-02 02:45:13 -05:00
parent 711a799482
commit 8c00723e16
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
3 changed files with 44 additions and 1 deletions

9
routes/info.js Normal file
View file

@ -0,0 +1,9 @@
import { Router } from "express";
const router = Router();
router.get('/tou', (req, res, next) => {
res.ctx.mainPage = 'tou'
res.ctx.mainCtx = {};
next();
})
export default router;

View file

@ -30,7 +30,8 @@ const routers = {
'/api/file/comment': './routes/commenter.js', '/api/file/comment': './routes/commenter.js',
'/walls': './routes/walls.js', '/walls': './routes/walls.js',
'/comment': './routes/comment.js', '/comment': './routes/comment.js',
'/users': './routes/user.js' '/users': './routes/user.js',
'/info': './routes/info.js'
} }
function doAliases(app) { function doAliases(app) {
@ -79,6 +80,7 @@ function initr(req, res, next) {
{ link: '/walls/get/hub/main/0', icon: '/icon.svg', name: 'DervNet' }, { link: '/walls/get/hub/main/0', icon: '/icon.svg', name: 'DervNet' },
{ link: '/walls/list', icon: '/walls.svg', name: 'Explore' }, { link: '/walls/list', icon: '/walls.svg', name: 'Explore' },
{ link: '/users/' + (res.auth ? res.auth.username : ''), icon: '/login.svg', name: 'You' }, { link: '/users/' + (res.auth ? res.auth.username : ''), icon: '/login.svg', name: 'You' },
{ link: '/info/tou', icon: '/icon.svg', name: 'Rules' },
{ link: '/you/logout', icon: '/logout.svg', name: 'Leave' } { link: '/you/logout', icon: '/logout.svg', name: 'Leave' }
]; ];

32
views/tou.ejs Normal file
View file

@ -0,0 +1,32 @@
<div class="main">
<h1 class="header-big">Terms of Use</h1>
<h2>1. Respect</h2>
<p>Respect the BiglyChat community. Specifically, don't:</p>
<ol>
<li>Repeatedly attack a person</li>
<li>Expose personal information</li>
<li>Discriminate against sexuality, race, disability, or religion</li>
<li>Encourage self-harm</li>
<li>Nag staff for content without community discourse</li>
</ol>
<h2>2. Communication</h2>
<p>Official communication with BiglyChat staff is on the native website, or alternatively via Discord. Report
misbehavior, suggestions, and bug fixes to these channels.</p>
<h2>3. Exploits</h2>
<p>Don't exploit unintended functionality in Dervland services or hijack accounts to do so.</p>
<p>This includes accounts used to manipulate statistics or follower counts.</p>
<h2>4. Age</h2>
<p>You must be 13 years or older to use private channels outside of reports to staff.</p>
<h2>5. Blanket bans</h2>
<p>Certain topics are disallowed in public spaces that frequently spiral to unhealthy discussion or impulsive behavior:</p>
<ol>
<li>Non-historical politics</li>
<li>Cryptocurrency or financial services, excluding commissions for art services</li>
<li>Drama that is excessive, fruitless, or unrelated to Dervland</li>
<li>Violent radicalism</li>
<li>Lewd or hypersexual content</li>
<li>Hacking of accounts on any service</li>
</ol>
<h1 class="header">Enforcement of Terms</h1>
<p>When a rule is broken, BiglyChat staff will temporarily or permanently ban the actor. The primary motive is to keep the community safe, and prevent additional escalation.</p>
</div>