Commit graph

28 commits

Author SHA1 Message Date
hippoz
6d76dec265
add initial concept of "superuser" accounts 2022-08-03 02:34:15 +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
97fa63199e
backend: add DISABLE_ACCOUNT_CREATION env 2022-04-30 17:17:17 +03:00
hippoz
129d2ea4ec
add docker support 2022-04-27 23:51:08 +03:00
hippoz
66bdd7e06f
frontend: add message edit overlay 2022-04-26 23:15:49 +03:00
hippoz
444fcb2087
backend: fix channel name length limits 2022-04-26 04:04:40 +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
d21408ac63
frontend: gateway reconnect + add frontend directory to express server 2022-04-14 16:56:01 +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