Dane Everitt
640f4b3a98
Send errors back over the socket to users depending on permission
2019-09-28 13:01:04 -07:00
Dane Everitt
71d5b0fe83
Send alerts to connected socket instance when token is expired
2019-09-24 22:05:34 -07:00
Dane Everitt
6930ae816d
Whoops, this isn't actually true
2019-09-24 21:25:35 -07:00
Dane Everitt
8b8a131b7d
Change websocket validation method to use JWT
2019-09-24 21:21:59 -07:00
Dane Everitt
d7753d9c7f
Add initial support for fetching egg configuration from panel for servers
2019-09-22 20:47:38 -07:00
Dane Everitt
0b4816b46f
Fix websocket only responding to every-other request
2019-09-08 18:03:39 -07:00
Dane Everitt
437cc2bfd1
Remove debug lines
2019-09-08 18:03:04 -07:00
Dane Everitt
1899b1ab4b
Add logic to handle authenticating a websocket with the panel
2019-09-08 17:40:06 -07:00
Dane Everitt
806afc6ed6
Dont send server logs if server is not running
2019-09-05 23:05:47 -07:00
Dane Everitt
64f477f423
Send server stat updates over the websocket
2019-09-05 22:08:10 -07:00
Dane Everitt
7c82c6445d
Correctly connect to running containers
2019-06-29 17:52:55 -07:00
Dane Everitt
2db705f697
Send the server logs when the websocket is connected to initially
2019-05-27 18:03:37 -07:00
Dane Everitt
7b1ebd790d
When connecting to the server socket send the state right away
2019-05-27 16:58:05 -07:00
Dane Everitt
3de40ddf98
Fix handling of kill in daemon
2019-04-21 12:27:53 -07:00
Dane Everitt
8795e7d739
Emit server status events
2019-04-21 12:02:28 -07:00
Dane Everitt
bed30d9229
Get working console websocket implementation and fix race condition
2019-04-20 17:38:12 -07:00
Dane Everitt
49ca2e2404
Cleanup server stuff since that was getting unweildy
2019-04-20 16:26:55 -07:00
Dane Everitt
870adffc14
Significant improvements to attaching/console handling
2019-04-20 16:20:08 -07:00
Dane Everitt
ebe98aa860
Correctly handle closing of websocket, whoopsie
2019-04-20 15:45:48 -07:00
Dane Everitt
b20bfac36b
Get server logs sending over the socket. wowee
2019-04-20 14:57:37 -07:00
Dane Everitt
342c44abfb
Cleanup websocket implementation
2019-04-20 11:59:28 -07:00
Dane Everitt
1dfcebc746
Add basic working websocket support
...
Specifically moving away from Socketio because the websockets can handle everything we need, and theres no updated go socketio libraries, so its a nightmare.
2019-04-19 23:29:52 -07:00
Dane Everitt
ef918a4ffa
idk, kinda websockety, really difficult to test atm
2019-04-07 16:58:56 -07:00
Dane Everitt
afe2941983
Ugly first attempt at enabling socketio
2019-04-07 16:28:01 -07:00