Commit graph

72 commits

Author SHA1 Message Date
hippoz
538717cfc9
backend/gateway: block comically large string payloads 2022-04-14 21:29:46 +03:00
hippoz
fec30b7ec9
backend: disallow gateway clients from authenticating if they're already authenticated 2022-04-14 21:10:05 +03:00
hippoz
9c9f764e6d
backend: add gateway ratelimit 2022-04-14 17:17:54 +03:00
hippoz
2f19cb211d
increase ping and batch intervals 2022-04-14 17:02:51 +03:00
hippoz
d21408ac63
frontend: gateway reconnect + add frontend directory to express server 2022-04-14 16:56:01 +03:00
hippoz
a9a4cdbb5c
add basic frontend modules to access the api 2022-04-14 02:12:38 +03:00
hippoz
3a81b952c4
initialize frontend 2022-04-14 00:31:03 +03:00
hippoz
5acb3ceaf0
update all messages endpoints to also return author_username for easier display 2022-04-12 22:34:54 +03:00
hippoz
94192979a8
avoid dispatching channel events to all clients 2022-04-12 00:19:29 +03:00
hippoz
6a6cc1aafd
add message resource crud and gateway events (messages + message history) 2022-04-12 00:02:43 +03:00
hippoz
ce9d331bc6
dispatch a gateway event when a channel is created, updated or removed 2022-04-10 22:14:10 +03:00
hippoz
701f6ae1ac
replace broadcast with dispatch in the gateway code 2022-04-10 21:28:36 +03:00
hippoz
dcb4983302
add gateway broadcast channels 2022-04-10 21:10:19 +03:00
hippoz
a9162c245e
add basic gatewayt 2022-04-10 01:22:07 +03:00
hippoz
3bc166bfb0
add route to get all channels 2022-04-07 13:35:36 +03:00
hippoz
2956bf10fc
move json middleware use call into server object 2022-04-06 21:27:52 +03:00
hippoz
144a46fa3c
remove unused variable 2022-04-06 21:22:55 +03:00
hippoz
aa320e1b54
add crud api for channels 2022-04-06 18:50:36 +03:00
hippoz
72dbb36dbb
define user interface and publicUser for requests 2022-04-06 12:29:11 +03:00
hippoz
c0bd6b9725
basic user system and authentication 2022-04-05 22:34:06 +03:00
hippoz
34fff7cc3f
Initialize project 2022-04-04 16:50:52 +03:00
f3b35dfce4 Initial commit 2022-04-04 15:38:09 +03:00