Commit graph

31 commits

Author SHA1 Message Date
21df5d2e55
Ensure Dockerfile is selected for build 2023-06-18 10:28:36 -04:00
fe3b667df3
Fix GitLab CI 2023-06-18 10:25:42 -04:00
b2cff6d4c0
Use 32 character session_id to match Discord's session_id length 2022-05-02 20:50:56 -04:00
Evie Viau
374a8695f7
Fix getting wrong environment env for Redis 2022-02-21 18:07:10 -05:00
Evie Viau
fa007970c3
Use log and pretty_env_logger for better logging 2022-02-20 14:53:43 -05:00
Evie Viau
eda7b087a9
Drop connection and not crash if websocket handshake fails 2022-02-20 10:07:49 -05:00
Evie Viau
1da12cab48
Remove some debugging println! macros and reorder InfoData 2022-02-19 20:33:10 -05:00
Evie Viau
12487b67b0
Start implementation of VST_CREATE 2022-02-19 20:02:42 -05:00
Evie Viau
00525cd79b
Sync info ops with documentation 2022-02-19 19:54:51 -05:00
Evie Viau
91be09e4c6
Fix incorrect info ops 2022-02-19 18:35:05 -05:00
Evie Viau
50d9252815
Use redis-rs, implement better info op handling, implement CHANNEL_REQ
This needs to be cleaned up
2022-02-19 18:10:45 -05:00
Evie Viau
d0a5454231
Ensure client sends IDENTIFY before accepting other operations 2022-02-19 04:01:36 -05:00
Evie Viau
5f71040333
Implement HMAC verification for IDENTIFY and add Redis 2022-02-18 14:58:50 -05:00
Evie Viau
c81d671771
Change project name officially 2022-02-18 12:37:30 -05:00
Evie Viau
4c24042e6d
Better handling for IDENTIFY and remove extra INFO struct 2022-02-18 12:27:59 -05:00
Evie Viau
90479f11e9
Build container and do cargo tests on GitLab 2022-02-17 23:35:37 -05:00
Evie Viau
e93f54a037
Remove deleted module from main 2022-02-17 23:09:11 -05:00
Evie Viau
0671719c1b
Explain needed environment variables and add example.env 2022-02-17 23:05:10 -05:00
Evie Viau
9531b3f138
Clean up code and add expect for get_infotype inner JSON data 2022-02-17 22:16:33 -05:00
Evie Viau
fb05f0e141
Move INFO operations into it's own module 2022-02-17 22:10:35 -05:00
Evie Viau
c7b9eb4668
Initial INFO decode 2022-02-17 21:59:29 -05:00
Evie Viau
766ddc9eff
Add README and LICENSE 2022-02-17 19:44:53 -05:00
Evie Viau
3b3c35f131
Allow a custom heartbeat interval 2022-02-17 19:41:03 -05:00
Evie Viau
1e2caf12b8
Send READY op after IDENTIFY
(we don't verify the hmac token for now)
2022-02-17 19:40:41 -05:00
Evie Viau
2322b6ae7f
Add more debugging printlns 2022-02-17 19:13:48 -05:00
Evie Viau
a482a6ac18
Implement HELLO and HEARTBEAT
also prevents server only ops being sent to the server from the client
2022-02-17 18:06:46 -05:00
Evie Viau
ffa21e41c0
Add check for opcode 2022-02-17 17:32:13 -05:00
Evie Viau
5136f2f7b9
Add .env to gitignore 2022-02-17 15:33:34 -05:00
Evie Viau
1e7108439e
Add documentation for opcodes 2022-02-17 14:53:16 -05:00
Evie Viau
308d8df7fe
LVSP opcodes and structure 2022-02-17 14:15:21 -05:00
Evie Viau
068d02cc54
the funny 2022-02-17 13:49:03 -05:00