Commit graph

37 commits

Author SHA1 Message Date
da7e57fe82 frontend: add experimental message loading and display support 2022-04-19 21:21:55 +03:00
hippoz
efae331f99
frontend: move value assignment into Store constructor 2022-04-19 02:22:32 +03:00
hippoz
ce4592c6c0
frontend: fix array index checks in channels store 2022-04-19 02:19:24 +03:00
hippoz
abdaa80d1a
frontend: simplify store code
This commit simplifies the store code by removing the _init method, and instead initializing
everything on instantiation. This leads to not missing events and less complexity.
2022-04-19 02:17:24 +03:00
hippoz
59145c3dc2
frontend/design: move border from channelview to sidebar 2022-04-17 21:32:11 +03:00
hippoz
fea7d24166
frontend: allow users to select channels 2022-04-17 20:50:04 +03:00
hippoz
304cef3c11
frontend: add loading screen for initially loading the js and connecting to the gateway 2022-04-17 20:23:20 +03:00
hippoz
541464cdd9
frontend+backend: fix gateway-updated channel order 2022-04-17 17:56:03 +03:00
hippoz
381f1ae454
frontend: link up channel sidebar with gateway and fix channel button layout issue 2022-04-17 04:08:40 +03:00
hippoz
01649150a4
frontend/design: lay out basic design and layout 2022-04-16 04:17:48 +03:00
hippoz
2466b91f52
frontend: very basic layout prototype 2022-04-15 02:39:13 +03:00
hippoz
1885653815
frontend: add basic gateway debug messages 2022-04-14 22:08:08 +03:00
hippoz
fdbf6c9839
frontend: fix reconnect timeout 2022-04-14 22:04:41 +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
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