499 Commits

Author SHA1 Message Date
Mystikfluu
87b81cef81 add channels & current user in template 2022-08-24 23:58:25 +02:00
Mystikfluu
72f8d36654 load all files via a template 2022-08-24 23:34:28 +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
73dd02ecc4 remove useless test 2022-08-23 22:54:11 +02:00
Mystikfluu
e443089188 fix dm duplication when using encryption 2022-08-23 00:43:18 +02:00
Mystikfluu
0e1226c5be supress websocket connecting errors 2022-08-23 00:41:26 +02:00
Mystikfluu
c33ff903f7 enhance channel storage 2022-08-23 00:38:37 +02:00
Mystikfluu
94daecb56c simplify key storage 2022-08-23 00:36:42 +02:00
Mystikfluu
fc0c96c1a1 add further encryption support for dms 2022-08-23 00:32:22 +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
e567e04133 enhance simple e2ee 2022-08-19 19:51:08 +02:00
Mystikfluu
30ddffd83d bump unsafe_encrypt version 2022-08-19 19:47:28 +02:00
Mystikfluu
b6e0bf279c fix a fs import 2022-08-19 19:38:23 +02:00
Mystikfluu
4a98fe5586 fix ws error 2022-08-19 19:37:47 +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
b1df38a276 change from require to import 2022-08-19 18:47:00 +02:00
Mystikfluu
9806238246 add unsafe_encrypt to the dependencies 2022-08-19 18:44:20 +02:00
Mystikfluu
f8ba9fd95b lay groundwork for simple dm encryption 2022-08-19 18:36:26 +02:00
Mystikfluu
cda662f270 fix replies being shown as "undefined undefined" 2022-08-19 18:28:55 +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
829c34c220 slightly increase posting cooldown 2022-08-13 21:40:13 +02:00
Code002Lover
6a0c13b929
Merge pull request #26 from 002Hub/snyk-upgrade-130b24749a6455d7eff4dc40a634c2e9
[Snyk] Upgrade helmet from 5.1.0 to 5.1.1
2022-08-13 09:30:17 -07:00
snyk-bot
5d215fb2a1
fix: upgrade helmet from 5.1.0 to 5.1.1
Snyk has created this PR to upgrade helmet from 5.1.0 to 5.1.1.

See this package in npm:
https://www.npmjs.com/package/helmet

See this project in Snyk:
https://app.snyk.io/org/mystikfluu/project/c5b23892-809c-4121-9c2f-67962c7a4953?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-08-13 16:27:44 +00:00
Mystikfluu
1cf23a5526 add some more default ratelimits 2022-08-12 23:56:48 +02:00
Mystikfluu
656b3d4de0 add channel saving 2022-08-12 23:54:06 +02:00
Mystikfluu
a326008224 make code a little cleaner 2022-08-12 23:49:45 +02:00
Mystikfluu
8303df6533 fix text overflow in posts 2022-08-12 23:39:33 +02:00
Mystikfluu
837b07d322 add dms to the navbar 2022-08-11 18:53:59 +02:00
Mystikfluu
35148bb9c8 clear value after opening dm 2022-08-11 17:35:10 +02:00
Mystikfluu
a44ed50c89 enhance dms 2022-08-11 17:33:45 +02:00
Mystikfluu
1e4e71b0bc seperate channels and input field 2022-08-11 17:30:48 +02:00
Mystikfluu
f16f41adf9 bug fix 2022-08-11 17:29:14 +02:00
Mystikfluu
347b1fff3f dms are now in the early alpha
Co-authored-by: Alpisc <Alpisc@users.noreply.github.com>
2022-08-11 17:26:58 +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
9a5b2c9385 remove duplicate dms 2022-08-11 12:01:53 +02:00
Mystikfluu
399933a803 fix infinite loading screen 2022-08-11 11:57:47 +02:00
Mystikfluu
61fdacc42b add simple prototype dms page 2022-08-11 11:53:32 +02:00
Mystikfluu
5a76ba9562 fix server crash when changing username 2022-08-11 11:46:25 +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