178 Commits

Author SHA1 Message Date
Mystikfluu
8446bdd4b6 fix favicon 2022-08-25 21:29:37 +02:00
Mystikfluu
9c0fae175f auto minify html 2022-08-25 20:18:35 +02:00
Mystikfluu
d9fe8f2642 fix bugs, improve loading time 2022-08-25 17:35:17 +02:00
Mystikfluu
87b81cef81 add channels & current user in template 2022-08-24 23:58:25 +02:00
Mystikfluu
1dccff66bf add css minifier 2022-08-24 23:34:09 +02:00
Mystikfluu
7650081220 use spdy instead of plain https 2022-08-24 21:53:59 +02:00
Mystikfluu
92c8b29f57 no longer log every avatar request 2022-08-24 17:57:09 +02:00
Mystikfluu
f237bc5d75 add caching header for images 2022-08-24 16:45:23 +02:00
Mystikfluu
f53e9ee510 automatically minify js files
improve loading times
2022-08-24 16:38:23 +02:00
Mystikfluu
35d91586f6 add simple templating 2022-08-24 16:00:24 +02:00
Mystikfluu
1abcc7581b fix unlinkSync not being defined 2022-08-23 00:18:42 +02:00
Mystikfluu
ad3ab133a5 move server_esm to server.js 2022-08-19 23:37:24 +02:00
Mystikfluu
7f06fa0f1b make code more consistent 2022-08-19 19:35:47 +02:00
Mystikfluu
6ed17497c5 rewrite to a module 2022-08-19 19:29:14 +02:00
Mystikfluu
c78f4cba3a remove unused data 2022-08-19 18:49:02 +02:00
Mystikfluu
5a76ba9562 fix server crash when changing username 2022-08-11 11:46:25 +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
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
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
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
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
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
Mystikfluu
01524451f6 removed unneeded verbose spammy debug output 2022-07-20 11:01:15 +02:00
Mystikfluu
a706128032 moved some functions out of server 2022-07-20 07:50:48 +02:00
Mystikfluu
59f61112a9 add channel checks to get posts endpoints 2022-07-16 10:27:17 +02:00
Mystikfluu
b3dbb36d88 add channel system for websocket connections 2022-07-16 10:16:47 +02:00
Mystikfluu
aa42afe092 add channel list to posts 2022-07-12 15:04:45 +02:00
Mystikfluu
ed25dffea3 add getChannels api endpoint 2022-07-12 14:49:28 +02:00
Mystikfluu
be159babf0 rename schema 2022-07-11 11:07:47 +02:00
Mystikfluu
61eb7a6ee2 redesigned websocket messages
sends messages in JSON now
posts are more responsive
2022-07-10 16:37:23 +02:00
Mystikfluu
83655ad6d1 add api endpoint to get posts whose ids have to be lower than a given id 2022-07-10 16:17:23 +02:00
Mystikfluu
508e3401a0 added some function documentation 2022-07-07 14:44:08 +02:00
Mystikfluu
ad0d9b1215 add x-xss-protection header 2022-07-03 11:16:55 +02:00
Mystikfluu
30b7d0e7ad getotheruser returns public key 2022-06-24 21:46:50 +02:00