From 6f4b7269c5b8ec843645ceab0156ec225553fdb1 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 16 Aug 2019 22:39:57 -0400 Subject: Moved the community rules --- CONTRIBUTE.md | 2 + models/blogPosts.js | 15 +++++ package.json | 4 +- routes/community-rules.js | 2 +- views/community-rules.ejs | 152 ---------------------------------------------- views/community/rules.ejs | 152 ++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 172 insertions(+), 155 deletions(-) create mode 100644 CONTRIBUTE.md create mode 100644 models/blogPosts.js delete mode 100644 views/community-rules.ejs create mode 100644 views/community/rules.ejs diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md new file mode 100644 index 0000000..be7fc2f --- /dev/null +++ b/CONTRIBUTE.md @@ -0,0 +1,2 @@ +# Editing CSS +If you want to edit the CSS do **not** edit the style.css file, please edit the style.scss file instead. \ No newline at end of file diff --git a/models/blogPosts.js b/models/blogPosts.js new file mode 100644 index 0000000..6e8a0bf --- /dev/null +++ b/models/blogPosts.js @@ -0,0 +1,15 @@ +const mongoose = require('mongoose'); +const Schema = mongoose.Schema; + +const blogPostSchema = new Schema({ + postID: String, + postTitle: String, + postText: String, + postAuthor: String, + postCreationDate: Date, + postLatestEditDate: Date, + postTags: Array +}); + +const BlogPost = mongoose.model("BlogPost", blogPostSchema); +module.exports = BlogPost; \ No newline at end of file diff --git a/package.json b/package.json index 1dfcc29..ec3d5fb 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "A rewrite of the old aleecorp.github.io website", "main": "app.js", "scripts": { - "start": "concurrently \"node-sass public/css/style.scss -o public/css -w\", \"node app\"", - "dev": "concurrently \"node-sass public/css/style.scss -o public/css -w\", \"nodemon app\"" + "start": "concurrently \"node-sass --omit-source-map-url public/css/style.scss public/css/style.css \", \"node-sass public/css/style.scss -o public/css -w\", \"node app\"", + "dev": "concurrently \"node-sass --omit-source-map-url public/css/style.scss public/css/style.css \", \"node-sass public/css/style.scss -o public/css -w\", \"nodemon app\"" }, "repository": { "type": "git", diff --git a/routes/community-rules.js b/routes/community-rules.js index 318089c..d723a5b 100644 --- a/routes/community-rules.js +++ b/routes/community-rules.js @@ -21,7 +21,7 @@ const express = require("express"); const router = express.Router(); router.get('/', (req, res) => { - res.render('community-rules', {title: 'Community Rules | Alee Productions'}); + res.render('community/rules', {title: 'Community Rules | Alee Productions'}); }); module.exports = router; \ No newline at end of file diff --git a/views/community-rules.ejs b/views/community-rules.ejs deleted file mode 100644 index 0907b9f..0000000 --- a/views/community-rules.ejs +++ /dev/null @@ -1,152 +0,0 @@ - - - - - - <% include ./includes/header %> - - - - -
-<% include ./includes/navbar %> -
-

Alee Productions Community Rules

-

Rules have been set in stone so we make sure that you can have a great time here.

-

If you think that reading rules are hard it’s actually not just take some time.

-
-
-

Tiers

-
    -
  • Normal Tier - It means it is not too severe and it there’s nothing to worry about.
  • -
  • Excessive Tier - It means that if a rule is broken that’s severe it will be taken action immediately and will be stored in the punishment log.
  • -
-
-
-

Normal Tier

-

If these are broken, then an unofficial warning will occur. If these actions continue, an official warning will occur then excessive punishment will happen if continued once more.

-
    -
  • Use common sense. (This isn’t an against rule but you must use your common knowledge.)
  • -
  • No spamming (Mention and @everyone spams in discord will result in an official warning.)
  • -
  • No any advertisements/giveaways at any channels. Unless for a specific purpose.
  • -
  • Respect others.
  • -
  • No backseat moderating (enforcing the rules to other users)
  • -
  • Refrain asking for staff, because this just lowers your chance to 0.
  • -
-
-
-

Excessive Tier

-

This can result in an official warning, jail/mute or possible ban/kick it depends on how severe it is.

-
    -
  • No excessive swearing (Swearing is allowed but cursing that contains racial slur and etc will result in immediate severe punishment.)
  • -
  • Any accusations will never be tolerated here there will be an investigation from the staff team if it occurs and false accusation may lead a 24 hour jail time or possibly getting banned.
  • -
  • Do not argue or threaten the staff.
  • -
  • Blackmailing members is also not tolerated here.
  • -
  • No NSFW content.
  • -
  • Raids will not be tolerated in this community. (Doing this wastes our time and yours too)
  • -
  • No alts are to be on this community.
  • -
  • Threatening anyone will also not be tolerated. (i.e. DDoS, trying to find you and etc)
  • -
  • Any malicious content will not be tolerated. (i.e. Viruses, Malware, Adware and etc)
  • -
  • Selfbots is not allowed. (Discord prohibits selfbots in their ToS)
  • -
-
-
-

Alee Productions Discord Policies

-
-

Nickname Policy

-

We enforce this nickname policy to keep a clean, friendly community.

-

Our nickname system is different, using the command am:nick [your nickname] so our staff team can approve it first. This system is set in place so that the community is a nice place to be for everyone. - To have your nickname accepted, it must comply with the following:

-
    -
  • No offensive words
  • -
  • No symbols
  • -
  • Not attention-grabbing (i.e. getting to the top of the list by using a symbol)
  • -
-

Any display name that does not follow the guidelines above will have the following done to it:

-
    -
  • Censoring your nickname/username
  • -
  • Ignoring the nickname change from AstralMod
  • -
-
-
-

Ageing Policy

-

You must be at least 13 years old to be in this server due to the COPPA regulations…

-

If you don’t accept this, you may leave the server and discord.

-

An investigation or/and ban may happen if found guilty.

-
-
-

Logging/Privacy/Tracking Policy

-

Our bots (AstralMod, Auttaja, and Manager) log the following things, and store them in their databases:

-
    -
  • Deleted Messages
  • -
  • Edited Messages
  • -
  • Your ID
  • -
  • You joining and leaving
  • -
  • You sending messages (Manager Bot Only)
  • -
-

If you don’t agree with the policies and wanting to opt out, you may leave the server.

-
-
-

We also highly recommend you to read Discord’s ToS and Community Guidelines.

- -
-

Frequent Asked Questions

-

These are the frequently asked questions that you might ask the staffs.

-
    -
  • Q: Can I be staff?
  • -
  • A: No, you can't ask for staff but you want to know how to get it, then here are the instructions.
  • -
  • Q: I was banned for no reason! I hate the staff…
  • -
  • A: Well… if you were banned for no reason you can ask our staff team and they will tell you why you were banned.
  • -
-
-
-

If a rule is broken, no need to panic, it's just a heads up on what’s coming if you were to break another rule and if you got mistakenly warned please contact one of the staff immediately.

-

If there's staff abusing their powers please report them to Alee immediately.

-

Thanks for reading the rules!

-

From the Alee Productions Community Team :)

-
- Back to top -
-<% include ./includes/scripts %> -<% include ./includes/footer %> -
- - - \ No newline at end of file diff --git a/views/community/rules.ejs b/views/community/rules.ejs new file mode 100644 index 0000000..302632a --- /dev/null +++ b/views/community/rules.ejs @@ -0,0 +1,152 @@ + + + + + + <% include ../includes/header %> + + + + +
+<% include ../includes/navbar %> +
+

Alee Productions Community Rules

+

Rules have been set in stone so we make sure that you can have a great time here.

+

If you think that reading rules are hard it’s actually not just take some time.

+
+
+

Tiers

+
    +
  • Normal Tier - It means it is not too severe and it there’s nothing to worry about.
  • +
  • Excessive Tier - It means that if a rule is broken that’s severe it will be taken action immediately and will be stored in the punishment log.
  • +
+
+
+

Normal Tier

+

If these are broken, then an unofficial warning will occur. If these actions continue, an official warning will occur then excessive punishment will happen if continued once more.

+
    +
  • Use common sense. (This isn’t an against rule but you must use your common knowledge.)
  • +
  • No spamming (Mention and @everyone spams in discord will result in an official warning.)
  • +
  • No any advertisements/giveaways at any channels. Unless for a specific purpose.
  • +
  • Respect others.
  • +
  • No backseat moderating (enforcing the rules to other users)
  • +
  • Refrain asking for staff, because this just lowers your chance to 0.
  • +
+
+
+

Excessive Tier

+

This can result in an official warning, jail/mute or possible ban/kick it depends on how severe it is.

+
    +
  • No excessive swearing (Swearing is allowed but cursing that contains racial slur and etc will result in immediate severe punishment.)
  • +
  • Any accusations will never be tolerated here there will be an investigation from the staff team if it occurs and false accusation may lead a 24 hour jail time or possibly getting banned.
  • +
  • Do not argue or threaten the staff.
  • +
  • Blackmailing members is also not tolerated here.
  • +
  • No NSFW content.
  • +
  • Raids will not be tolerated in this community. (Doing this wastes our time and yours too)
  • +
  • No alts are to be on this community.
  • +
  • Threatening anyone will also not be tolerated. (i.e. DDoS, trying to find you and etc)
  • +
  • Any malicious content will not be tolerated. (i.e. Viruses, Malware, Adware and etc)
  • +
  • Selfbots is not allowed. (Discord prohibits selfbots in their ToS)
  • +
+
+
+

Alee Productions Discord Policies

+
+

Nickname Policy

+

We enforce this nickname policy to keep a clean, friendly community.

+

Our nickname system is different, using the command am:nick [your nickname] so our staff team can approve it first. This system is set in place so that the community is a nice place to be for everyone. + To have your nickname accepted, it must comply with the following:

+
    +
  • No offensive words
  • +
  • No symbols
  • +
  • Not attention-grabbing (i.e. getting to the top of the list by using a symbol)
  • +
+

Any display name that does not follow the guidelines above will have the following done to it:

+
    +
  • Censoring your nickname/username
  • +
  • Ignoring the nickname change from AstralMod
  • +
+
+
+

Ageing Policy

+

You must be at least 13 years old to be in this server due to the COPPA regulations…

+

If you don’t accept this, you may leave the server and discord.

+

An investigation or/and ban may happen if found guilty.

+
+
+

Logging/Privacy/Tracking Policy

+

Our bots (AstralMod, Auttaja, and Manager) log the following things, and store them in their databases:

+
    +
  • Deleted Messages
  • +
  • Edited Messages
  • +
  • Your ID
  • +
  • You joining and leaving
  • +
  • You sending messages (Manager Bot Only)
  • +
+

If you don’t agree with the policies and wanting to opt out, you may leave the server.

+
+
+

We also highly recommend you to read Discord’s ToS and Community Guidelines.

+ +
+

Frequent Asked Questions

+

These are the frequently asked questions that you might ask the staffs.

+
    +
  • Q: Can I be staff?
  • +
  • A: No, you can't ask for staff but you want to know how to get it, then here are the instructions.
  • +
  • Q: I was banned for no reason! I hate the staff…
  • +
  • A: Well… if you were banned for no reason you can ask our staff team and they will tell you why you were banned.
  • +
+
+
+

If a rule is broken, no need to panic, it's just a heads up on what’s coming if you were to break another rule and if you got mistakenly warned please contact one of the staff immediately.

+

If there's staff abusing their powers please report them to Alee immediately.

+

Thanks for reading the rules!

+

From the Alee Productions Community Team :)

+
+ Back to top +
+<% include ../includes/scripts %> +<% include ../includes/footer %> +
+ + + \ No newline at end of file -- cgit v1.2.3