Commit Graph
100 Commits
Author SHA1 Message Date
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
Mystikfluu ab2834010e remove @everyone, @here, check for replies 2022-06-24 22:24:57 +02:00
Mystikfluu 825ca879dd only remove old posts when new ones finished loading 2022-06-24 22:21:04 +02:00
Mystikfluu 7c9499ae31 add try catch for invalid replies 2022-06-24 22:16:56 +02:00
Mystikfluu 59f40b2983 remove old reply highlighting 2022-06-24 22:15:11 +02:00
Mystikfluu acad8694c6 add reply showcase to posts 2022-06-24 22:13:09 +02:00
Mystikfluu f256b471be update api documentation 2022-06-24 21:57:57 +02:00
Mystikfluu 30b7d0e7ad getotheruser returns public key 2022-06-24 21:46:50 +02:00
Mystikfluu 4c1aecf78e change reply text to a multiline string 2022-06-24 21:42:04 +02:00
Mystikfluu 4b22c554f3 setting the reply id when replying 2022-06-23 23:21:34 +02:00
Mystikfluu 3d81cab301 add reconstructing the original message in reply 2022-06-23 21:55:08 +02:00
Mystikfluu ad30ba5ba8 escaping even more to finally get rid of this stupid error 2022-06-23 21:52:49 +02:00
Mystikfluu 8272eb1230 harsher escaping in order to fix xss 2022-06-23 21:48:14 +02:00
Mystikfluu f37b9a5bd0 add escaping of ' 2022-06-23 21:28:21 +02:00
Mystikfluu 91a61f2e69 add filter to the reply button text argument 2022-06-23 21:25:34 +02:00
Mystikfluu 7e14d7da8d add length check to post endpoint 2022-06-23 21:11:24 +02:00
Mystikfluu 2666b0b075 add cache to getPost 2022-06-22 20:25:45 +02:00
Mystikfluu f36b98f0d6 return the single post object on getPost
insstead of an array with the one post object in it
2022-06-22 20:24:10 +02:00
Mystikfluu a2e0b69791 only send websocket update if the posted message is for everyone 2022-06-22 20:20:25 +02:00
Mystikfluu dcd1013e38 add getPost api endpoint
for getting a post by its id
2022-06-22 20:16:33 +02:00
Mystikfluu 297d7c6eb0 add auto redirect to https 2022-06-22 09:30:00 +02:00
Mystikfluu 7c38022e0b fix bug when getting avatar 2022-06-22 09:25:48 +02:00
Mystikfluu 29dbd58831 add caching header to avatars 2022-06-22 09:23:12 +02:00
Mystikfluu 35df3913da make getotheruser browser accessible (CORS) 2022-06-21 23:32:26 +02:00
Mystikfluu 285c31d58b add a config for an api endpoint
to decide if `getotheruser` should be allowed to be called without a 
cookie
2022-06-21 23:21:58 +02:00
Mystikfluu 3cf533cc0a add individual url ratelimiting 2022-06-18 18:28:29 +02:00
Mystikfluu 2db1f8ec64 add check for completely invalid reply ids 2022-06-18 12:27:38 +02:00
Mystikfluu 32ba1a24a0 fix bug where not replying would crash the server 2022-06-18 12:25:24 +02:00
Mystikfluu eda956b94c add a bit spacing and a newline to reply 2022-06-17 23:21:25 +02:00
Mystikfluu 20da099a4d removed markers 2022-06-17 23:19:05 +02:00
Mystikfluu c8bc625541 Merge branch 'master' of https://github.com/Mystikfluu/authwebsite 2022-06-17 23:18:29 +02:00
Mystikfluu 225179b0dc add id-based replies 2022-06-17 23:18:01 +02:00
Mystikfluu 631eff5d1d add id-based replies 2022-06-17 23:16:03 +02:00
Mystikfluu 4a4a8416c5 fix bug where it wouldn't reload the posts 2022-06-17 22:58:04 +02:00
Mystikfluu 983cd54c2d added limit to getPosts 2022-06-17 22:53:58 +02:00
Mystikfluu dc1149675b add wss_server value to reduce duplicated code 2022-06-17 22:13:50 +02:00
Mystikfluu 579ea0dd54 add ports to server config 2022-06-17 20:08:03 +02:00
Mystikfluu 03a5803786 add ssl privatekey/certificate to config 2022-06-17 20:00:50 +02:00
Mystikfluu 1e64231556 fix bug where it would log messages multiple times 2022-06-16 18:13:13 +02:00
Mystikfluu 1b0a8fddfc add warning message to not paste in dev console 2022-06-16 16:15:46 +02:00
Mystikfluu 58734901b1 remove unneeded debug log 2022-06-16 16:15:08 +02:00
Mystikfluu b41d420ce1 add logout button to user page 2022-06-16 16:03:26 +02:00