503 Commits

Author SHA1 Message Date
Mystikfluu
61fdacc42b add simple prototype dms page 2022-08-11 11:53:32 +02:00
Mystikfluu
5a76ba9562 fix server crash when changing username 2022-08-11 11:46:25 +02:00
Mystikfluu
ecacb7568d conversations now returns all conversations
doesn't just check if you had a conversation with a certain person
2022-08-11 00:06:52 +02:00
Mystikfluu
2c871e3053 enhance conversation check 2022-08-11 00:00:56 +02:00
Mystikfluu
2eb7ed0ccf add new api endpoint 2022-08-10 23:57:26 +02:00
Mystikfluu
3147af35ec fix bug 2022-08-10 23:48:55 +02:00
Mystikfluu
f8c2d508e4 change is_private to is_encrypted 2022-08-10 23:47:25 +02:00
Mystikfluu
d37c883d89 change channel to receiver 2022-08-10 23:45:57 +02:00
Mystikfluu
781d6cf467 fix replyid bug 2022-08-10 23:05:10 +02:00
Mystikfluu
91e7afb9c6 Merge branch 'master' of https://github.com/Mystikfluu/authwebsite 2022-08-10 22:28:54 +02:00
Mystikfluu
21ed1fc476 add simple tests 2022-08-10 22:26:57 +02:00
Mystikfluu
a4b6d24651 move PersonalMessages to its own file 2022-08-10 21:47:59 +02:00
Mystikfluu
d1a7228694 change names 2022-08-10 21:40:24 +02:00
Mystikfluu
7ebe1e2050 add dms table 2022-08-10 20:56:14 +02:00
Code002Lover
813ae18133
add nodejs testing 2022-08-07 12:55:14 -07:00
Code002Lover
22e0fe8c36
Merge pull request #25 from 002Hub/snyk-upgrade-62a1fc52c8a83c39f177135b9124fe99
[Snyk] Upgrade ws from 8.8.0 to 8.8.1
2022-08-07 11:29:58 -07:00
snyk-bot
277a02aa49
fix: upgrade ws from 8.8.0 to 8.8.1
Snyk has created this PR to upgrade ws from 8.8.0 to 8.8.1.

See this package in npm:
https://www.npmjs.com/package/ws

See this project in Snyk:
https://app.snyk.io/org/mystikfluu/project/c5b23892-809c-4121-9c2f-67962c7a4953?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-08-06 16:26:54 +00:00
Mystikfluu
3c8fe6097c encode channel name when needed 2022-07-31 12:58:27 +02:00
Mystikfluu
5414a92561 decode channel names on the server 2022-07-31 12:55:51 +02:00
Mystikfluu
38f3284307 decode channel names 2022-07-31 12:51:11 +02:00
Mystikfluu
af5725a310 add config to getip 2022-07-31 11:52:11 +02:00
Mystikfluu
59d126937b change require path 2022-07-31 11:50:55 +02:00
Mystikfluu
76f1522bf6 move getIP function to its own module 2022-07-31 11:49:11 +02:00
Mystikfluu
47654513ba add preferred ip header option 2022-07-31 11:39:25 +02:00
Mystikfluu
a1f5b91630 enhanced setavatar image check 2022-07-28 04:15:06 +02:00
Mystikfluu
cd52906b8a add simple image check when uploading an avatar 2022-07-28 04:02:31 +02:00
Mystikfluu
3e7bc7f721 add default settings when registering 2022-07-28 03:56:46 +02:00
Mystikfluu
14a9bf058b add post.js to loaded routes 2022-07-27 19:21:48 +02:00
Mystikfluu
8dd177da25 update wss in commonfunctions automatically 2022-07-27 19:20:20 +02:00
Mystikfluu
0c9499a624 move post api endpoint to its own file 2022-07-27 19:18:48 +02:00
Mystikfluu
a31a39cf9c add type check to reply id 2022-07-27 17:53:08 +02:00
Mystikfluu
85b8754b85 move reply click handling to a seperate function 2022-07-26 15:56:30 +02:00
Mystikfluu
10dd1f0794 enhanced reply handling 2022-07-26 11:43:46 +02:00
Mystikfluu
c9a24b0d1a fixed storing settings in a wrong format 2022-07-26 01:28:56 +02:00
Mystikfluu
7a1e659c42 selects the correct db now 2022-07-26 01:18:14 +02:00
Mystikfluu
a49946fca5 made type checking easier to read 2022-07-26 01:17:04 +02:00
Mystikfluu
e6b68bb121 more detailed warn logs 2022-07-26 01:13:33 +02:00
Mystikfluu
285c371f27 add debug logging for newer features 2022-07-26 01:10:41 +02:00
Mystikfluu
232a2ece09 make channel switching async 2022-07-26 01:02:29 +02:00
Mystikfluu
927dc41014 made some slight adjustments 2022-07-26 00:58:11 +02:00
Mystikfluu
e788d84194 add cross channel reply setting 2022-07-26 00:53:11 +02:00
Mystikfluu
b942dd73cd initialize settings as empty object
instead of "null"
2022-07-25 19:07:13 +02:00
Mystikfluu
2b42c2f1a7 add basic startup logging 2022-07-25 19:03:42 +02:00
Mystikfluu
9fad64a9ef add basic settings endpoints 2022-07-25 18:59:42 +02:00
Mystikfluu
406b55a21b add pid ratelimit 2022-07-24 19:56:25 +02:00
Mystikfluu
f7725497eb add logs for when the server is ready 2022-07-24 19:18:32 +02:00
Mystikfluu
9557dd89b1 move all api options to their own file 2022-07-24 19:17:03 +02:00
Mystikfluu
4d3e22ebfa add debug info on the client side 2022-07-24 11:30:09 +02:00
Mystikfluu
3183ee7eab add debug level output for pid collision 2022-07-24 11:28:21 +02:00
Mystikfluu
2fff81f5b2 add a short cooldown to posting
add a posting_id
2022-07-24 11:25:13 +02:00