Commit Graph

1260 Commits

Author SHA1 Message Date
Dane Everitt
69aa559bcf Make the installer less obtuse to understand 2019-11-24 20:40:13 -08:00
Dane Everitt
65b01e1869 oom is disabled by default 2019-11-24 20:02:53 -08:00
Dane Everitt
3ca6d5d74b Whoops, if UUID is empty that is fine 2019-11-24 20:01:38 -08:00
Dane Everitt
c96f22787a Correct logic handling a server resource update 2019-11-24 19:57:20 -08:00
Dane Everitt
35c1e467cd Logical file rename 2019-11-24 19:32:02 -08:00
Dane Everitt
9f4518fc58 Add (unchecked) code to do an in-situ replacement of build settings 2019-11-24 15:08:38 -08:00
Dane Everitt
7f4c29580a Create the container if the server is booted and it is missing 2019-11-24 13:04:24 -08:00
Dane Everitt
48a303608a Wrap errors to ensure a stacktrack is returned where possible 2019-11-16 17:05:21 -08:00
Dane Everitt
cae0090763 Correct some error handling, use package that provides useful stack traces 2019-11-16 17:01:38 -08:00
Dane Everitt
56be65888c Don't try to truncate a file that doesn't actually exist yet 2019-11-16 16:07:54 -08:00
Dane Everitt
29217bf0cc Show better errors in the logs 2019-11-16 16:07:42 -08:00
Dane Everitt
f0da1eeb48 Add basic support for creating a server on wings 2019-11-16 15:48:50 -08:00
Dane Everitt
22e6ce2f7e Add base code to convert json data into a server object
This is not great code, but wow dealing with JSON is a nightmare in go.
2019-11-16 15:10:53 -08:00
Dane Everitt
c9bfb18b1c Update to match new yaml format 2019-11-16 13:34:05 -08:00
Dane Everitt
9dcda47657 Send the correct signal to the instance 2019-09-28 13:18:09 -07:00
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
4e1b7988bf Set server to stopping when stop command is sent 2019-09-22 21:33:44 -07:00
Dane Everitt
00bc71afd1 Update stop for servers to use configuration 2019-09-22 21:22:16 -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
2a745c5da1 Fix CPU calculation 2019-09-17 23:10:02 -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
923a9fbcab Add command sending endpoint and simpliy logic for authing requests 2019-09-05 21:08:03 -07:00
Dane Everitt
9a4f1672f7 Fix logic for resource usage -- include disk and reset to 0 when stopped 2019-08-17 16:10:48 -07:00
Dane Everitt
c8e6e29abc Add support for streaming usage stats back to the calling process 2019-08-17 13:19:56 -07:00
Dane Everitt
a1987f3aef Return times in RFC3339 format since the default format is not parsable in PHP 2019-08-05 22:22:49 -07:00
Dane Everitt
7c82c6445d Correctly connect to running containers 2019-06-29 17:52:55 -07:00
Dane Everitt
aa710ec9d6 Support listening for SSL connections 2019-06-29 15:41:44 -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
93c71a6ab7 Correct handling of state and console events 2019-05-27 17:12:51 -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
c943246e33 Return the mime type with the file for easier panel integration 2019-05-25 15:58:55 -07:00
Dane Everitt
8d8ec70683 Add support for writing to a file (and creating it if not existent) 2019-05-25 15:40:15 -07:00
Dane Everitt
8acab006b6 Change API to be more logical with handling file paths 2019-05-25 15:40:02 -07:00
Dane Everitt
7182b02ce2 Order A-Z not Z-A 2019-05-14 18:43:04 -07:00
Dane Everitt
9c252a5ad7 Truncate the logs when server process is starting 2019-05-09 21:52:24 -07:00
Dane Everitt
7a52e3a9c2 For now, chown the server directory when the server starts 2019-05-09 21:48:58 -07:00
Dane Everitt
e95c22a526 Add support for deleting a file or directory from a server 2019-05-04 17:09:35 -07:00
Dane Everitt
50d16a3dcd Add support for copying a file 2019-05-04 17:02:01 -07:00
Dane Everitt
4318d9988a Add support for renaming files/directories 2019-05-04 16:04:41 -07:00
Dane Everitt
857bf45324 Add support for creating a new directory 2019-05-01 22:09:01 -07:00
Dane Everitt
c3515454f2 Fix handling of empty directories to not return null 2019-05-01 22:08:54 -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