Commit Graph

39 Commits

Author SHA1 Message Date
Dane Everitt
ab54d2c416 Avoid triggering crash detection on container destroy 2020-01-19 14:00:59 -08:00
Dane Everitt
59299d3cda Add code to notify panel when install is completed 2020-01-19 13:30:54 -08:00
Dane Everitt
7533e38543 Add support for running installation process when creating a server 2020-01-19 13:05:49 -08:00
Dane Everitt
5350a2d5a5 Don't block the HTTP request while waiting on the installation 2019-12-28 15:12:12 -08:00
Dane Everitt
6ef2773c01 Very, very basic server installation process 2019-12-28 14:57:19 -08:00
Dane Everitt
fabaf21a0d Sync all server details when booting daemon or server process 2019-12-22 13:21:21 -08:00
Dane Everitt
0866b84d8e Implement server deletion 2019-12-21 23:23:56 -08:00
Dane Everitt
536038967a Better debug output 2019-12-21 21:03:57 -08:00
Dane Everitt
06780ac28f Include access control headers 2019-12-16 21:43:07 -08:00
Dane Everitt
a1fa876734 [#3c9g25] Add endpoint for returning basic system information 2019-12-09 21:05:55 -08:00
Dane Everitt
c9bff0fa31 Move server tracking in program into global memory state 2019-12-07 16:43:00 -08:00
Dane Everitt
0ce95aa2e3 [#3896cn] Add support for suspending a server and blocking boot when suspended 2019-11-30 15:19:08 -08:00
Dane Everitt
69aa559bcf Make the installer less obtuse to understand 2019-11-24 20:40:13 -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
cae0090763 Correct some error handling, use package that provides useful stack traces 2019-11-16 17:01:38 -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
8b8a131b7d Change websocket validation method to use JWT 2019-09-24 21:21:59 -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
923a9fbcab Add command sending endpoint and simpliy logic for authing requests 2019-09-05 21:08:03 -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
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
49ca2e2404 Cleanup server stuff since that was getting unweildy 2019-04-20 16:26:55 -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
Dane Everitt
0ace25c117 Add support for listing a directory's contents 2019-04-07 14:45:23 -07:00
Dane Everitt
aef9521190 Add support for reading a file's content or downloading it 2019-04-06 17:32:35 -07:00
Dane Everitt
7d67be8382 Add support for getting a server's log file via the API 2019-04-06 12:27:44 -07:00
Dane Everitt
b6bc9adf29 Implement very basic authorization for routes 2019-04-06 10:49:31 -07:00
Dane Everitt
a2df979e66 Ignore both EOF possibilities 2019-04-05 22:57:39 -07:00
Dane Everitt
7f50ff1f92 Add support for starting/stopping/killing a server via the API 2019-04-05 22:55:48 -07:00
Dane Everitt
134debd529 Add basic API endpoints to get server data 2019-04-05 22:34:53 -07:00
Dane Everitt
cedbee5080 Add initial API support for listing configured servers 2019-04-05 22:20:26 -07:00