Commit Graph

790 Commits

Author SHA1 Message Date
Dane Everitt
e2c04cc6f5
Change endpoint for SFTP credentials 2019-12-07 15:58:22 -08:00
Dane Everitt
865c1b3bad
Begin implementing SFTP server code 2019-12-07 15:53:07 -08:00
Dane Everitt
4a68eabd1b
Initial functionality to pull a docker image when booting an environment 2019-12-07 14:19:51 -08:00
Dane Everitt
52ca0667ca
Add base support for internalizing the SFTP server 2019-12-07 14:01:40 -08:00
Dane Everitt
e1435bfe8f
[#3896bk] Better support for XML documents 2019-12-01 15:40:08 -08:00
Dane Everitt
35cdff904f
[#3896bk] Support using configuration param inline with other values 2019-12-01 15:27:53 -08:00
Dane Everitt
1be21b7078
[#3896bk] Support parsing XML files 2019-12-01 15:04:03 -08:00
Dane Everitt
6e9606bc89
[#3896bk] Add support for ini file parsing 2019-12-01 12:53:47 -08:00
Dane Everitt
86b909550c
[#3896bk] Migrate helper functions out of main file for readability 2019-12-01 12:25:16 -08:00
Dane Everitt
07785194c4
[#3896bk] Ensure the data types are maintained correctly 2019-12-01 12:18:41 -08:00
Dane Everitt
1a4bdc87c9
[#3896bk] Support wildcards in yaml/json configs 2019-12-01 11:54:33 -08:00
Dane Everitt
cae0c70b0f
[#3896bk] Fix handling of YAML/JSON when parsing configuration files 2019-12-01 11:19:49 -08:00
Dane Everitt
0e51db1c03
[#3896bk] Add plaintext and basic yaml matching support 2019-11-30 22:24:44 -08:00
Dane Everitt
32c32bb24e
Fix improper goroutine 2019-11-30 21:46:54 -08:00
Dane Everitt
1003abaa63
[#3896bk] Configure base support for properties file parsing 2019-11-30 18:07:05 -08:00
Dane Everitt
11c6738264
[#389686] Show crash output in console 2019-11-30 17:08:11 -08:00
Dane Everitt
8c57583ce9
[#389686] Add crash detection logic to daemon 2019-11-30 16:43:18 -08:00
Dane Everitt
be14811eb4
Fix issues instantiating the server struct 2019-11-30 16:37:11 -08:00
Dane Everitt
bdf546c47a
Don't log an error for suspended servers like this 2019-11-30 16:36:20 -08:00
Dane Everitt
4ce9c83fad
[#3896cn] Fix nil pointer when passing data through patch 2019-11-30 15:46:28 -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
fa42ed92fb
Ensure we count the number for the waitgroup correctly 2019-11-30 14:10:32 -08:00
Dane Everitt
3663a8fb31
Add debug output when dealing with a server that is being restarted 2019-11-24 21:40:25 -08:00
Dane Everitt
b3de4705ae
Persist configuration when server state is changed 2019-11-24 21:36:33 -08:00
Dane Everitt
85762ba4b9
Server state handling; auto start servers if they were running when the daemon stopped 2019-11-24 21:31:31 -08:00
Dane Everitt
47c7c872fc
Don't track the process state in the yaml 2019-11-24 21:18:51 -08:00
Dane Everitt
ca17d8ca5d
Use correct permission mask to allow docker to execute against bind 2019-11-24 21:18:41 -08:00
Dane Everitt
151be4a458
Recreate the container if rebuild is required 2019-11-24 21:12:02 -08:00
Dane Everitt
a8c16debfb
More logical environment variable checking 2019-11-24 20:59:40 -08:00
Dane Everitt
c684410722
Obliterate mappings/env variables if passed through, since we want to completely replace those arrays 2019-11-24 20:54:03 -08:00
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