Commit graph

18 commits

Author SHA1 Message Date
hippoz
34f945b7f4
add optimistic_id field for messages, allowing us to show our own messages from other clients 2022-08-20 00:12:27 +03:00
hippoz
e31d8c5973
add presence and user list 2022-08-08 05:12:31 +03:00
hippoz
579ff19921
add typing indicators 2022-08-07 03:00:14 +03:00
hippoz
9540bc6178
add hacky database error handling to prevent the server from crashing due to trivial errors 2022-08-05 05:18:55 +03:00
hippoz
261e041792
backend: disconnect gateway clients if they send a ping packet before authenticaticating 2022-05-08 21:56:25 +03:00
hippoz
541464cdd9
frontend+backend: fix gateway-updated channel order 2022-04-17 17:56:03 +03:00
hippoz
e329c64eb7
backend/gateway: add session count limit per user id 2022-04-14 21:52:42 +03:00
hippoz
bf5e4f554e
backend/gateway: enforce d field to be a single numeric 0 for ping payloads 2022-04-14 21:32:52 +03:00
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
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