Commit Graph
100 Commits
Author SHA1 Message Date
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
Mystikfluu 80f85a7326 improved styling 2022-07-24 10:28:10 +02:00
Mystikfluu 68de7b7fe2 add global body margin (fix #21 ) 2022-07-24 10:25:56 +02:00
Mystikfluu 0961c1da45 move font family to global.css 2022-07-24 10:18:39 +02:00
Mystikfluu 83d0512fbd implement #20 to some extent 2022-07-23 01:17:07 +02:00
Mystikfluu 1a3891c68c Merge branch 'master' of https://github.com/Mystikfluu/authwebsite 2022-07-23 01:10:30 +02:00
Mystikfluu 386a99378b change contact email 2022-07-23 01:10:22 +02:00
Mystikfluu 9f6e0779aa fix #18 2022-07-21 20:26:48 +02:00
Mystikfluu 01524451f6 removed unneeded verbose spammy debug output 2022-07-20 11:01:15 +02:00
Mystikfluu 42c5c38249 add password length check to register page 2022-07-20 10:58:46 +02:00
Mystikfluu a706128032 moved some functions out of server 2022-07-20 07:50:48 +02:00
Mystikfluu 9f1e257e22 add receiver/channel when posting 2022-07-16 10:30:40 +02:00
Mystikfluu 59f61112a9 add channel checks to get posts endpoints 2022-07-16 10:27:17 +02:00
Mystikfluu 5b49db3487 add Channel handling to posts 2022-07-16 10:22:18 +02:00
Mystikfluu b3dbb36d88 add channel system for websocket connections 2022-07-16 10:16:47 +02:00
Mystikfluu 49a732ccee further improve channel list style 2022-07-12 15:10:47 +02:00
Mystikfluu 2dd4e7c447 enhancements of channel list 2022-07-12 15:07:45 +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 e373e9a39a change PrivateKey to type text 2022-07-11 11:01:25 +02:00
Mystikfluu bd528b44be add add_on_top argument to createPost 2022-07-10 18:50:37 +02:00
Mystikfluu 87f9f91535 implemented highest_id 2022-07-10 16:40:07 +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 084992bb18 further enhance reply filtering 2022-07-10 14:09:48 +02:00
Mystikfluu 3377f45140 extended no link style to also match normal links 2022-07-10 13:59:57 +02:00
Mystikfluu a2bf4e475b add smooth link scrolling 2022-07-10 13:58:17 +02:00
Mystikfluu 0aa2cb2f57 further improved link styling 2022-07-10 13:55:05 +02:00
Mystikfluu 7b3d4eb2e8 add no link coloring to replies 2022-07-10 13:45:39 +02:00
Mystikfluu 844164d95d enhanced reply style 2022-07-10 13:40:05 +02:00
Mystikfluu 6f3ad7a617 refined check for unnecessary setBio calls 2022-07-09 18:26:11 +02:00
Mystikfluu bbe614b2ca add check for unnecessary setBio endpoint call 2022-07-09 18:23:31 +02:00
Mystikfluu 5a5e74fd16 removed unneeded linebreak 2022-07-09 18:19:42 +02:00
Mystikfluu f40638b68a reorganize settings 2022-07-09 18:18:27 +02:00
Mystikfluu 0ab5f5312c add proper individual ratelimits for some endpoints 2022-07-09 18:17:19 +02:00
Mystikfluu 83f2f69457 remove lightgreen color from form pages 2022-07-09 18:12:48 +02:00
Mystikfluu 880e6ebbee space footer from main content 2022-07-09 18:08:55 +02:00
Mystikfluu 39389ebebb add padding to foreground div 2022-07-09 18:06:35 +02:00
Mystikfluu f813f21b19 set background to global background 2022-07-09 18:05:14 +02:00
Mystikfluu a207420a77 polished settings page style 2022-07-09 18:03:33 +02:00
Mystikfluu 1eab0c0a8b changed settings page style 2022-07-09 18:01:41 +02:00
Mystikfluu e95c30e687 move changing password/username to settings page 2022-07-09 17:53:39 +02:00
Mystikfluu a00eb59fa3 changed settings icon to fit website style more 2022-07-09 16:17:20 +02:00
Mystikfluu bba3f2adc5 fix bio not showing up 2022-07-09 16:13:47 +02:00
Mystikfluu 3fa8db2971 remove align items from main 2022-07-09 16:12:47 +02:00
Mystikfluu 4a80481d62 better aligning for totib css class 2022-07-09 16:10:53 +02:00
Mystikfluu 22fa2d4759 change user page design 2022-07-09 16:09:27 +02:00
Mystikfluu f0110724dd change padding and size of settings icon 2022-07-09 15:57:58 +02:00
Mystikfluu 65ca2838ee add bio back to user page 2022-07-09 15:54:22 +02:00
Mystikfluu 6e1bd58c87 change settings icon size to match text size 2022-07-09 15:52:42 +02:00
Mystikfluu 6eae26ef39 optimize images 2022-07-09 15:51:25 +02:00
Mystikfluu 8b2c3acb36 align settings icon right 2022-07-09 15:44:18 +02:00
Mystikfluu 57d094f74e add settings
remove settings buttons from user page
2022-07-09 15:37:34 +02:00
Mystikfluu 508e3401a0 added some function documentation 2022-07-07 14:44:08 +02:00
Mystikfluu 9fe43ae497 removed 2 arguments for reply function
this will add stronger protection against xss attacks
2022-07-05 14:27:04 +02:00
Mystikfluu 7b288d964d add call to changePW function 2022-07-04 00:47:36 +02:00
Mystikfluu 1f5fed8c98 add favicon 2022-07-04 00:15:40 +02:00
Mystikfluu ac0a2545ac add comments to root variables 2022-07-03 23:46:23 +02:00
Mystikfluu ff43510f2f change regex once again 2022-07-03 23:26:08 +02:00
Mystikfluu 9f5b3d1aca change escape pattern to regex 2022-07-03 21:49:29 +02:00
Mystikfluu 7e9849c671 remove overlapping characters in unescape charsets 2022-07-03 21:46:27 +02:00
Mystikfluu 7e309850ef add another escaping function for another characterset 2022-07-03 21:34:22 +02:00
Mystikfluu 0f49d4f023 more filtering 2022-07-03 12:16:03 +02:00
Mystikfluu c55bf8fb8c update escape regex 2022-07-03 12:12:30 +02:00
Mystikfluu ad0d9b1215 add x-xss-protection header 2022-07-03 11:16:55 +02:00
Mystikfluu f29ab9c96f add escaping for ` and \ 2022-07-03 11:13:16 +02:00
Mystikfluu c107a1a1f0 add security information 2022-07-03 11:09:45 +02:00
Mystikfluu 5f150cf118 fix typo 2022-06-24 22:25:26 +02:00