Commit graph

38 commits

Author SHA1 Message Date
hippoz
3900cf39c4
fix stdin pipe? 2022-03-12 15:26:35 +02:00
hippoz
30db5003fb
hopefully pipe parent process stdin to child process 2022-03-12 14:09:04 +02:00
hippoz
b24a2dbae9
make the minecraft script fully manage the minecraft servert process on-demand 2022-03-06 01:37:59 +02:00
hippoz
d59f1be9e7
add CORS and improve config 2022-03-01 21:32:08 +02:00
hippoz
7f59b666a2
hopefully fix discord client going into a constant loop of disconnecting due to no ack and then reconnecting in certain situations 2022-02-25 20:00:17 +02:00
hippoz
fb721481e7
lock minecraft account linking behind a flag 2022-02-25 19:57:39 +02:00
hippoz
e18b6ee11d
refactor code and add token handoff 2022-02-25 19:56:10 +02:00
hippoz
00a90e9d5a
frontend: change token_handoff to token_redeem 2022-02-16 14:06:29 +02:00
hippoz
86b83e400e
DiscordClient: remove debug code 2022-02-16 14:03:46 +02:00
hippoz
7329570cb7
DiscordClient: add logging for lack of heartbeat ACK 2022-02-16 14:03:03 +02:00
hippoz
b9c25ec3e6
add attachments and reply support to minecraft bridge 2022-02-16 14:02:37 +02:00
hippoz
13ff55efe0
improve regex 2022-02-15 17:07:03 +02:00
hippoz
d6a302ecee
minecraft: reconnect to bridge gateway on error as well 2022-02-15 14:25:26 +02:00
hippoz
ee2e192204
improve login system on the server 2022-02-15 14:24:46 +02:00
hippoz
d24929da0c
add join and leave messages to minecraft script 2022-02-15 13:41:30 +02:00
hippoz
5ce0b81864
hopefully improve discordclient reconnecting 2022-02-14 22:18:33 +02:00
hippoz
742a46c708
add running example 2022-02-11 15:22:10 +02:00
hippoz
2ab4277696
fix super tokens and add minecraft server bridge 2022-02-11 15:20:59 +02:00
hippoz
5ad5d0ceba
add experimental "supertokens" that can send messages with any username or avatarurl 2022-02-10 01:15:39 +02:00
hippoz
52df7bb4af
fix gateway server listener memory leak and add token importing to the frontend 2022-02-07 19:59:26 +02:00
hippoz
b95af521a3
improve client config and fix reconnect token bug 2022-02-07 16:14:43 +02:00
hippoz
d82f79c095
improve defaults 2022-02-07 00:17:13 +02:00
hippoz
a76f42137e
fix api error and add license 2022-02-06 23:33:57 +02:00
hippoz
aae5ce66ca
add alive check for gateway and fix webhook message event bug 2022-02-06 22:58:38 +02:00
hippoz
e33f6f7cfd
Add GatewayServer and GatewayClient(frontend)
This commit adds a websocket server that clients
can connect and authenticate to. Once they're
authenticated, they will start to receive
relevant events. One issue is that the server
does not ping for dead connections yet
and the fact that new listeners for the guild
are added for each connection. There is also
the bug in WatchedGuild that prevents other
bridge users from seeing eachother's
messages.
2022-02-06 03:48:28 +02:00
hippoz
d92248543a
set resuming to false once we try to connect] 2022-02-03 20:44:07 +02:00
hippoz
0950241d3b
hopefully make the DiscordClient connection more robust 2022-02-03 20:41:23 +02:00
hippoz
fe04b99c35
add error messages for not being able to fetch initial information 2022-02-03 02:58:08 +02:00
hippoz
641db09c7f
switch layer naming to view to make it less confusing 2022-02-03 02:44:40 +02:00
hippoz
c85657f8be
add filter-based navigation between guilds and channels 2022-02-03 02:43:11 +02:00
hippoz
9ad3b04da5
frontend: separate app component from chat view 2022-02-03 00:15:27 +02:00
hippoz
ea18f74503
add endpoint to poll all guilds the user has access to 2022-02-02 23:48:18 +02:00
hippoz
6850b0828b
improve message display 2022-02-02 21:43:58 +02:00
hippoz
a164beb3a1
increase event polling time 2022-02-02 20:25:09 +02:00
hippoz
d133803fa1
fix polling and add web app 2022-02-02 20:24:14 +02:00
hippoz
0697dd0a82
add custom discord client and add polling endpoint 2022-02-02 11:46:42 +02:00
hippoz
3dd2e6ada1
add basic token creation and message sending 2022-02-01 03:49:12 +02:00
hippoz
b39f22deb5
Initial commit. 2022-02-01 00:01:11 +02:00