diff --git a/routes/info.js b/routes/info.js new file mode 100644 index 0000000..b0f1a71 --- /dev/null +++ b/routes/info.js @@ -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; \ No newline at end of file diff --git a/routes/init.js b/routes/init.js index d8cc12a..5f6674f 100644 --- a/routes/init.js +++ b/routes/init.js @@ -30,7 +30,8 @@ const routers = { '/api/file/comment': './routes/commenter.js', '/walls': './routes/walls.js', '/comment': './routes/comment.js', - '/users': './routes/user.js' + '/users': './routes/user.js', + '/info': './routes/info.js' } 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/list', icon: '/walls.svg', name: 'Explore' }, { 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' } ]; diff --git a/views/tou.ejs b/views/tou.ejs new file mode 100644 index 0000000..b3138e7 --- /dev/null +++ b/views/tou.ejs @@ -0,0 +1,32 @@ +
+

Terms of Use

+

1. Respect

+

Respect the BiglyChat community. Specifically, don't:

+
    +
  1. Repeatedly attack a person
  2. +
  3. Expose personal information
  4. +
  5. Discriminate against sexuality, race, disability, or religion
  6. +
  7. Encourage self-harm
  8. +
  9. Nag staff for content without community discourse
  10. +
+

2. Communication

+

Official communication with BiglyChat staff is on the native website, or alternatively via Discord. Report + misbehavior, suggestions, and bug fixes to these channels.

+

3. Exploits

+

Don't exploit unintended functionality in Dervland services or hijack accounts to do so.

+

This includes accounts used to manipulate statistics or follower counts.

+

4. Age

+

You must be 13 years or older to use private channels outside of reports to staff.

+

5. Blanket bans

+

Certain topics are disallowed in public spaces that frequently spiral to unhealthy discussion or impulsive behavior:

+
    +
  1. Non-historical politics
  2. +
  3. Cryptocurrency or financial services, excluding commissions for art services
  4. +
  5. Drama that is excessive, fruitless, or unrelated to Dervland
  6. +
  7. Violent radicalism
  8. +
  9. Lewd or hypersexual content
  10. +
  11. Hacking of accounts on any service
  12. +
+

Enforcement of Terms

+

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.

+
\ No newline at end of file