157 Commits

Author SHA1 Message Date
Mystikfluu
286fe9d74b added limit to search 2022-06-11 19:48:53 +02:00
Mystikfluu
026ad8bca4 fixed crash when trying to set long bio 2022-06-11 19:37:03 +02:00
Mystikfluu
1c5b146827 now unlinks temp files 2022-06-11 15:40:59 +02:00
Mystikfluu
6c239f0e9a added user avatars 2022-06-11 15:36:50 +02:00
Mystikfluu
2a1f82b374 added changeUsername api endpoint 2022-06-11 12:08:20 +02:00
Mystikfluu
8f619fc793 allowing api calls with user+pass instead of cookie 2022-06-10 22:18:45 +02:00
Mystikfluu
0fc8eed5a7 removed unneeded comments 2022-06-10 22:08:22 +02:00
Mystikfluu
bf733806b9 added blocking self-revealing proxies
enabled by default in the config
2022-06-10 20:06:41 +02:00
Mystikfluu
07e36cd2d3 added account-based ratelimiting 2022-06-09 18:58:14 +02:00
Mystikfluu
e5614a0e01 fixed error 2022-06-09 10:34:27 +02:00
none
b41d97985d made logging level optional 2022-06-09 10:05:49 +02:00
none
98845c4454 fixed logging issue 2022-06-09 10:04:58 +02:00
Mystikfluu
3d36086134 even more input validation 2022-06-04 14:09:53 +02:00
Mystikfluu
6b86ab0223 better input validation for post endpoint 2022-06-04 13:58:30 +02:00
Mystikfluu
0e7be58c41 added search api endpoint 2022-06-04 13:19:26 +02:00
Mystikfluu
92d62685fc you know what
un-base64's your website
2022-06-04 13:17:35 +02:00
Mystikfluu
a11cc7380c fixed server error when not passing along a username or password 2022-06-03 08:47:34 +02:00
Mystikfluu
00e5ed3c21 added /api/getalluserinformation endpoint
new endpoint shows all user information that is being stored
2022-06-02 22:47:28 +02:00
Mystikfluu
89a44cf837 now using this.seed instead of seed 2022-06-01 20:49:00 +02:00
Mystikfluu
e41aefd9cc added log levels 2022-05-27 12:56:45 +02:00
Mystikfluu
03e022b3d8 added logfiles 2022-05-27 12:52:18 +02:00
Mystikfluu
3a16265fe7 fixed minor bugs 2022-05-26 15:20:43 +02:00
Mystikfluu
eee57759f9 now actually sends a correct statuscode when not being logged in 2022-05-26 14:36:05 +02:00
Mystikfluu
bc2fc5d9a1 optimized sql queries 2022-05-26 14:10:57 +02:00
Mystikfluu
bb969aa39a better ip handling
no longer stores ips as plaintext, instead hashes them
2022-05-25 17:41:04 +02:00
Mystikfluu
06e9924777 usernames now allow non-utf8 characters as well 2022-05-25 17:36:37 +02:00
Mystikfluu
531b0cab53 now trims posts 2022-05-25 17:35:59 +02:00
Mystikfluu
a6743bcb07 added non-utf8 character compatability 2022-05-25 13:38:54 +02:00
Mystikfluu
fe09679b0a added config file
x-forwarded-for request header is now ignored when getting the ip
2022-05-07 15:21:17 +02:00
Mystikfluu
5f7e6fce10 changed random string generation 2022-04-27 22:52:07 +02:00
Mystikfluu
32c404cdd0 changed mysql connections
now using a pool of up to 10 connections instead of one
2022-04-27 15:46:40 +02:00
Mystikfluu
182ff8fcad added new features
added user bio
added getotheruser endpoint
sending better responses in post api
2022-04-26 19:43:33 +02:00
Mystikfluu
62383402b3 added minimum password length
changed max username length to 25
fixed login
2022-04-24 18:59:04 +02:00
Mystikfluu
9dcf467595 commented out unused websocketserver functions 2022-04-24 16:08:45 +02:00
Mystikfluu
91aa0e5302 getPosts endpoint now returns all posts 2022-04-24 16:07:08 +02:00
Mystikfluu
886178b79d added special text 2022-04-24 11:56:14 +02:00
Mystikfluu
ca1b8fb324 moved js into seperate files inside js/ directory 2022-04-24 09:51:32 +02:00
Mystikfluu
5ad7b29c70 finally added https 2022-04-24 00:41:07 +02:00
Mystikfluu
235701b646 added sessions
increased max api calls
2022-04-23 18:15:02 +02:00
Mystikfluu
7982cb192c removed max password length 2022-04-23 17:38:14 +02:00
Mystikfluu
81358f3c28 fixed error after unsigning auth cookie
now sending error message if an invalid auth cookie is passed to the 
server
2022-04-23 09:55:26 +02:00
Mystikfluu
fbf7895487 fixed error
made constants for hashes
2022-04-22 20:14:39 +02:00
BuildTools
6c2edafd0f fixed /api/ error 2022-04-22 16:48:54 +02:00
BuildTools
dd2960b391 added posts 2022-04-22 16:45:42 +02:00
BuildTools
9690ca9153 updated hashing
now even better
2022-04-22 13:07:47 +02:00
BuildTools
5d857e7731 fixed some problems
reduced dumb code
added some debugging
2022-04-22 12:53:42 +02:00
BuildTools
2b946db885 converted all hashes to hashing function 2022-04-22 12:47:06 +02:00
BuildTools
e657a06233 fml 2022-04-22 12:43:13 +02:00
BuildTools
b65047386c fixed minor problem 2022-04-22 12:41:00 +02:00
BuildTools
0381f275e0 more secure hashing 2022-04-22 12:37:17 +02:00