Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
f15aec0
Better project structure
cyyynthia Oct 6, 2018
f782728
nearly perfect
cyyynthia Oct 6, 2018
87a9a3c
Setup unit testing
cyyynthia Oct 7, 2018
650ae62
Database migrations
cyyynthia Oct 7, 2018
6296f3f
Don't spam console
cyyynthia Oct 7, 2018
e877eb7
More tests, beginning of API v2
cyyynthia Oct 7, 2018
253b5e3
User create endpoint
cyyynthia Oct 7, 2018
d3337cd
Reflect sources on the main repo
cyyynthia Oct 7, 2018
0166c28
Port users and servers to APIv2
cyyynthia Oct 8, 2018
3a070cf
Implement invites
cyyynthia Oct 9, 2018
486b0f0
Finish APIv1 port to v2
cyyynthia Oct 13, 2018
35b53c6
Merge branch 'pr/1'
cyyynthia Oct 13, 2018
929ba5f
Add reCAPTCHA support (closes #8)
cyyynthia Oct 13, 2018
397e30c
Add developer routes (Not implemented yet)
cyyynthia Oct 13, 2018
7cf377d
Implement user settings (hi #9)
cyyynthia Oct 13, 2018
2bcafb0
Implement server settings (closes #9)
cyyynthia Oct 13, 2018
0020e7b
Finally remove support for API v1
cyyynthia Oct 15, 2018
aa67e78
Move websocket in a subfolder
cyyynthia Oct 15, 2018
e113de4
Start some docs (hi #12)
cyyynthia Oct 15, 2018
aeecc6b
I guess this is how to use Jekyll
cyyynthia Oct 20, 2018
b6c2526
Socket docs
cyyynthia Oct 20, 2018
3352877
Fix package.json
cyyynthia Oct 20, 2018
22645d5
Start API docs
cyyynthia Oct 21, 2018
f8d0d32
Prepare the theme feature
cyyynthia Oct 21, 2018
5b8ce96
Finish docs (closes #12) and fix some stuff
cyyynthia Oct 23, 2018
ff2c7f7
New socket tests (not written yet)
cyyynthia Oct 23, 2018
92d6e1b
Socket core
cyyynthia Oct 25, 2018
ed7ddee
Remove not core socket tests
cyyynthia Oct 25, 2018
7068c88
Renaming memes
cyyynthia Oct 25, 2018
5b56e52
Fully implement new socket
cyyynthia Oct 25, 2018
295601a
Message edit & deletion
cyyynthia Oct 25, 2018
1894e9f
Update Modesta, typo and add auth requirements
cyyynthia Oct 25, 2018
f60b889
set NODE_ENV in setup, valid JSON in docs
cyyynthia Oct 26, 2018
9007956
Use the latest Modesta
cyyynthia Oct 26, 2018
1837e1a
target='_blank'
cyyynthia Oct 26, 2018
c5eae8a
Fix installer
cyyynthia Oct 26, 2018
1ac4a8a
console.log memes
cyyynthia Oct 26, 2018
d614bbe
Fix SERVER_CREATE event
cyyynthia Oct 26, 2018
614bcfc
eslint changes
cyyynthia Oct 28, 2018
ecee1cb
Grammar fixes
cyyynthia Oct 28, 2018
e63d959
Remove unused eslint dependencies
cyyynthia Oct 28, 2018
1abef0d
Removed s_core and implemented rate limiting
cyyynthia Oct 29, 2018
e6fe5ec
Let's be nice and unban people
cyyynthia Oct 30, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties"
]
}
96 changes: 96 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 9
},
"rules": {
"curly": [
"error",
"all"
],
"object-curly-spacing": [
"error",
"always"
],
"space-before-function-paren": [
"error",
"always"
],
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"prefer-template": [
"error"
],
"quotes": [
"error",
"single"
],
"brace-style": [
"error",
"1tbs"
],
"eqeqeq": [
"error",
"always"
],
"yoda": [
"error",
"always"
],
"no-var": [
"error"
],
"no-obj-calls": [
"error"
],
"no-cond-assign": [
"error"
],
"no-regex-spaces": [
"error"
],
"no-sparse-arrays": [
"error"
],
"no-template-curly-in-string": [
"error"
],
"no-unreachable": [
"error"
],
"dot-notation": [
"error"
],
"no-global-assign": [
"error"
],
"semi": [
"error",
"always"
],
"no-extra-parens": [
"error"
],
"no-whitespace-before-property": [
"error"
],
"space-before-blocks": [
"error",
"always"
],
"prefer-arrow-callback": [
"error"
],
"prefer-const": [
"error"
],
"no-trailing-spaces": [
"error"
]
}
}
55 changes: 19 additions & 36 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,44 +1,27 @@
# Jetbrains
.idea

# The petabyte
node_modules

# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Built app
build
dist
/index.html
migrations/_migration

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history
# Jekyll stuff
docs/_site
docs/.sass-cache
docs/.jekyll-metadata

# Config & certs
Configuration.json
.vs/

*.pem

# Debug environment
views/
# My stuff
_work
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs/modesta"]
path = docs/modesta
url = https://github.com/AlexFlipnote/ModestaCSS
Loading