69 Commits

Author SHA1 Message Date
Mystikfluu
0ea07f9ec8 update api documentation
add authentication
2023-04-21 00:17:05 +02:00
Mystikfluu
ea24ea70ed fix logout
remove DID_I_FINALLY_ADD_HTTPS
2023-03-03 20:54:39 +01:00
Mystikfluu
580f909667 fix auth token length 2023-02-15 20:08:17 +01:00
Mystikfluu
1519e541b8 add userid to getuser endpoint 2023-02-15 20:08:05 +01:00
Mystikfluu
3254d01581 fix some anti pattern stuff 2023-02-10 19:24:05 +01:00
Mystikfluu
83941add4d add simple app authorization page 2023-02-10 16:05:58 +01:00
Mystikfluu
4f39af2749 change from mysql to mysql2 2023-02-06 13:27:02 +01:00
Mystikfluu
cbfd1404f8 rewrite post statements to transaction 2023-02-06 13:09:33 +01:00
Mystikfluu
387a592872 remove unused empty function 2023-02-06 12:58:36 +01:00
Mystikfluu
a55e60c0cf allow replies in posts again 2023-02-06 12:57:24 +01:00
Mystikfluu
bf98a92686 fix problem in validatePID 2023-02-06 12:54:35 +01:00
Mystikfluu
c865a4df3f better error handling in post 2023-02-06 12:52:55 +01:00
Mystikfluu
3942a6e2df hopefully deepsource is pleased this time 2023-02-06 11:03:50 +01:00
Mystikfluu
87cd9c590f allow auth tokens in get requests 2023-02-05 18:04:03 +01:00
Mystikfluu
86f747d76a better edge-case handling 2023-02-04 13:34:48 +01:00
Mystikfluu
4302684c57 add test support for authentication tokens 2023-02-04 12:36:08 +01:00
Mystikfluu
365991c061 disable some debug logging 2022-11-30 15:09:45 +01:00
Mystikfluu
18377af198 "small" code refactor 2022-11-30 10:54:34 +01:00
Mystikfluu
9b579a2361 allow higher y-pixel count in uploads 2022-11-19 20:46:19 +01:00
Mystikfluu
a949ae3707 add upload preview
change to webp format
2022-11-19 19:06:51 +01:00
Mystikfluu
4643c55270 small quality control 2022-11-19 17:38:12 +01:00
Mystikfluu
d84410496e simplify isNotNull function 2022-11-19 17:31:26 +01:00
Mystikfluu
d55de3bf79 use named exports
for SHA256 & unsign
2022-11-19 17:11:08 +01:00
Mystikfluu
4fabb9c7a3 move ws client logging to debug 2022-09-23 17:44:23 +02:00
Mystikfluu
61b1534b8a add debug logging for websockets 2022-09-21 16:08:59 +02:00
Mystikfluu
887001acbd use isNotNull for file checking 2022-09-20 22:01:41 +02:00
Mystikfluu
fa646473f3 add isNotNull function 2022-09-20 13:45:51 +02:00
Mystikfluu
826b3529ac idk man 2022-09-20 13:44:04 +02:00
Mystikfluu
2a17720ff6 add extra check for files 2022-09-20 13:38:19 +02:00
Mystikfluu
8564ba4022 add beta file uploads 2022-09-18 13:28:26 +02:00
Mystikfluu
a763bde1f8 add clearer error status codes 2022-09-10 17:32:43 +02:00
deepsource-autofix[bot]
c478f83f70
Remove unnecessary 'async' keyword 2022-09-05 17:25:36 +00:00
deepsource-autofix[bot]
29e4d677f3
Replace ==/!= with ===/!== 2022-09-05 16:40:08 +00:00
Mystikfluu
90c69ef126 add prototype emoji system 2022-08-27 18:22:00 +02:00
Mystikfluu
1a142c581b fix bug when not logged in 2022-08-26 14:15:15 +02:00
Mystikfluu
d9fe8f2642 fix bugs, improve loading time 2022-08-25 17:35:17 +02:00
Mystikfluu
988d90b46f fix a bug when user wasn't logged in 2022-08-25 12:14:09 +02:00
Mystikfluu
87b81cef81 add channels & current user in template 2022-08-24 23:58:25 +02:00
Mystikfluu
35d91586f6 add simple templating 2022-08-24 16:00:24 +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
b1df38a276 change from require to import 2022-08-19 18:47:00 +02:00
Mystikfluu
f8ba9fd95b lay groundwork for simple dm encryption 2022-08-19 18:36:26 +02:00
Mystikfluu
da6497bfed fix typo 2022-08-14 00:26:42 +02:00
Mystikfluu
18a080f349 add getDM endpoint 2022-08-14 00:22:12 +02:00
Mystikfluu
a326008224 make code a little cleaner 2022-08-12 23:49:45 +02:00
Mystikfluu
6cfbe1418f increase max special characters 2022-08-11 14:16:52 +02:00
Mystikfluu
c6db7b86e7 fix message length crash 2022-08-11 14:11:04 +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