Commit Graph

  • 3f9edee212 Bump for release v1.0.0-alpha.1 Dane Everitt 2019-12-22 21:45:47 -08:00
  • 82e1cbbc46 Remove this file, it isn't correct anymore Dane Everitt 2019-12-22 15:02:50 -08:00
  • 7f8e0cc66b Show stack on error better Dane Everitt 2019-12-22 14:54:36 -08:00
  • 2d0faadeb6 Always rebuild the container when a server is started Dane Everitt 2019-12-22 13:52:22 -08:00
  • fabaf21a0d Sync all server details when booting daemon or server process Dane Everitt 2019-12-22 13:21:21 -08:00
  • 834f0122e3 Update configuration struct to support defaults Dane Everitt 2019-12-22 13:20:34 -08:00
  • 0866b84d8e Implement server deletion Dane Everitt 2019-12-21 23:23:56 -08:00
  • 038436c781 Correctly include the server data folder Dane Everitt 2019-12-21 21:17:14 -08:00
  • a8e907a0fc Don't force debug to true in config file when set via flag Dane Everitt 2019-12-21 21:10:45 -08:00
  • 536038967a Better debug output Dane Everitt 2019-12-21 21:03:57 -08:00
  • 189289ad5f Correctly handle updating server data Dane Everitt 2019-12-21 21:02:02 -08:00
  • d583c1d53e Allow all websocket connections, but require authentication before sending anything down the line Dane Everitt 2019-12-21 17:31:21 -08:00
  • 06780ac28f Include access control headers Dane Everitt 2019-12-16 21:43:07 -08:00
  • 3fd5b1e92b Fix crash detection defaults Dane Everitt 2019-12-16 21:23:57 -08:00
  • dd4a920d62 Whoopsie, helps to actually do something with the error Dane Everitt 2019-12-16 20:55:56 -08:00
  • 92a7c9d231 Don't freak out if the server doesn't exist on the remote Dane Everitt 2019-12-16 20:47:35 -08:00
  • 514c16ccc8 Less obtuse error handling from API responses Dane Everitt 2019-12-16 20:34:58 -08:00
  • a1fa876734 [#3c9g25] Add endpoint for returning basic system information Dane Everitt 2019-12-09 21:05:55 -08:00
  • 89806427f9 Fix SFTP server integration Dane Everitt 2019-12-08 10:29:10 -08:00
  • 6ac328392e Get SFTP validation finalized Dane Everitt 2019-12-07 17:35:45 -08:00
  • 91d5735ba8 Add support for creating network if it is missing Dane Everitt 2019-12-07 17:31:12 -08:00
  • 21d8384848 Create the config file if it is missing for the server, then try again Dane Everitt 2019-12-07 16:48:26 -08:00
  • c9bff0fa31 Move server tracking in program into global memory state Dane Everitt 2019-12-07 16:43:00 -08:00
  • e2c04cc6f5 Change endpoint for SFTP credentials Dane Everitt 2019-12-07 15:58:22 -08:00
  • 865c1b3bad Begin implementing SFTP server code Dane Everitt 2019-12-07 15:53:07 -08:00
  • 4a68eabd1b Initial functionality to pull a docker image when booting an environment Dane Everitt 2019-12-07 14:19:51 -08:00
  • 52ca0667ca Add base support for internalizing the SFTP server Dane Everitt 2019-12-07 14:01:40 -08:00
  • e1435bfe8f [#3896bk] Better support for XML documents Dane Everitt 2019-12-01 15:40:08 -08:00
  • 35cdff904f [#3896bk] Support using configuration param inline with other values Dane Everitt 2019-12-01 15:27:53 -08:00
  • 1be21b7078 [#3896bk] Support parsing XML files Dane Everitt 2019-12-01 15:04:03 -08:00
  • 6e9606bc89 [#3896bk] Add support for ini file parsing Dane Everitt 2019-12-01 12:53:47 -08:00
  • 86b909550c [#3896bk] Migrate helper functions out of main file for readability Dane Everitt 2019-12-01 12:25:16 -08:00
  • 07785194c4 [#3896bk] Ensure the data types are maintained correctly Dane Everitt 2019-12-01 12:18:41 -08:00
  • 1a4bdc87c9 [#3896bk] Support wildcards in yaml/json configs Dane Everitt 2019-12-01 11:54:33 -08:00
  • cae0c70b0f [#3896bk] Fix handling of YAML/JSON when parsing configuration files Dane Everitt 2019-12-01 11:19:49 -08:00
  • 0e51db1c03 [#3896bk] Add plaintext and basic yaml matching support Dane Everitt 2019-11-30 22:24:44 -08:00
  • 32c32bb24e Fix improper goroutine Dane Everitt 2019-11-30 21:46:54 -08:00
  • 1003abaa63 [#3896bk] Configure base support for properties file parsing Dane Everitt 2019-11-30 18:07:05 -08:00
  • 11c6738264 [#389686] Show crash output in console Dane Everitt 2019-11-30 17:08:11 -08:00
  • 8c57583ce9 [#389686] Add crash detection logic to daemon Dane Everitt 2019-11-30 16:43:18 -08:00
  • be14811eb4 Fix issues instantiating the server struct Dane Everitt 2019-11-30 16:37:11 -08:00
  • bdf546c47a Don't log an error for suspended servers like this Dane Everitt 2019-11-30 16:36:20 -08:00
  • 4ce9c83fad [#3896cn] Fix nil pointer when passing data through patch Dane Everitt 2019-11-30 15:46:28 -08:00
  • 0ce95aa2e3 [#3896cn] Add support for suspending a server and blocking boot when suspended Dane Everitt 2019-11-30 15:19:08 -08:00
  • fa42ed92fb Ensure we count the number for the waitgroup correctly Dane Everitt 2019-11-30 14:10:32 -08:00
  • 3663a8fb31 Add debug output when dealing with a server that is being restarted Dane Everitt 2019-11-24 21:40:25 -08:00
  • b3de4705ae Persist configuration when server state is changed Dane Everitt 2019-11-24 21:36:33 -08:00
  • 85762ba4b9 Server state handling; auto start servers if they were running when the daemon stopped Dane Everitt 2019-11-24 21:31:31 -08:00
  • 47c7c872fc Don't track the process state in the yaml Dane Everitt 2019-11-24 21:18:51 -08:00
  • ca17d8ca5d Use correct permission mask to allow docker to execute against bind Dane Everitt 2019-11-24 21:18:41 -08:00
  • 151be4a458 Recreate the container if rebuild is required Dane Everitt 2019-11-24 21:12:02 -08:00
  • a8c16debfb More logical environment variable checking Dane Everitt 2019-11-24 20:59:40 -08:00
  • c684410722 Obliterate mappings/env variables if passed through, since we want to completely replace those arrays Dane Everitt 2019-11-24 20:54:03 -08:00
  • 69aa559bcf Make the installer less obtuse to understand Dane Everitt 2019-11-24 20:40:13 -08:00
  • 65b01e1869 oom is disabled by default Dane Everitt 2019-11-24 20:02:53 -08:00
  • 3ca6d5d74b Whoops, if UUID is empty that is fine Dane Everitt 2019-11-24 20:01:38 -08:00
  • c96f22787a Correct logic handling a server resource update Dane Everitt 2019-11-24 19:57:20 -08:00
  • 35c1e467cd Logical file rename Dane Everitt 2019-11-24 19:32:02 -08:00
  • 9f4518fc58 Add (unchecked) code to do an in-situ replacement of build settings Dane Everitt 2019-11-24 15:08:38 -08:00
  • 7f4c29580a Create the container if the server is booted and it is missing Dane Everitt 2019-11-24 13:04:24 -08:00
  • 48a303608a Wrap errors to ensure a stacktrack is returned where possible Dane Everitt 2019-11-16 17:05:21 -08:00
  • cae0090763 Correct some error handling, use package that provides useful stack traces Dane Everitt 2019-11-16 17:01:38 -08:00
  • 56be65888c Don't try to truncate a file that doesn't actually exist yet Dane Everitt 2019-11-16 16:07:54 -08:00
  • 29217bf0cc Show better errors in the logs Dane Everitt 2019-11-16 16:07:42 -08:00
  • f0da1eeb48 Add basic support for creating a server on wings Dane Everitt 2019-11-16 15:48:50 -08:00
  • 22e6ce2f7e Add base code to convert json data into a server object Dane Everitt 2019-11-16 15:10:53 -08:00
  • c9bfb18b1c Update to match new yaml format Dane Everitt 2019-11-16 13:34:05 -08:00
  • 9dcda47657 Send the correct signal to the instance Dane Everitt 2019-09-28 13:18:09 -07:00
  • 640f4b3a98 Send errors back over the socket to users depending on permission Dane Everitt 2019-09-28 13:01:04 -07:00
  • 71d5b0fe83 Send alerts to connected socket instance when token is expired Dane Everitt 2019-09-24 22:05:34 -07:00
  • 6930ae816d Whoops, this isn't actually true Dane Everitt 2019-09-24 21:25:35 -07:00
  • 8b8a131b7d Change websocket validation method to use JWT Dane Everitt 2019-09-24 21:21:59 -07:00
  • 4e1b7988bf Set server to stopping when stop command is sent Dane Everitt 2019-09-22 21:33:44 -07:00
  • 00bc71afd1 Update stop for servers to use configuration Dane Everitt 2019-09-22 21:22:16 -07:00
  • d7753d9c7f Add initial support for fetching egg configuration from panel for servers Dane Everitt 2019-09-22 20:47:38 -07:00
  • 2a745c5da1 Fix CPU calculation Dane Everitt 2019-09-17 23:10:02 -07:00
  • 0b4816b46f Fix websocket only responding to every-other request Dane Everitt 2019-09-08 18:03:39 -07:00
  • 437cc2bfd1 Remove debug lines Dane Everitt 2019-09-08 18:03:04 -07:00
  • 1899b1ab4b Add logic to handle authenticating a websocket with the panel Dane Everitt 2019-09-08 17:40:06 -07:00
  • 806afc6ed6 Dont send server logs if server is not running Dane Everitt 2019-09-05 23:05:47 -07:00
  • 64f477f423 Send server stat updates over the websocket Dane Everitt 2019-09-05 22:08:10 -07:00
  • 923a9fbcab Add command sending endpoint and simpliy logic for authing requests Dane Everitt 2019-09-05 21:08:03 -07:00
  • 9a4f1672f7 Fix logic for resource usage -- include disk and reset to 0 when stopped Dane Everitt 2019-08-17 16:10:48 -07:00
  • c8e6e29abc Add support for streaming usage stats back to the calling process Dane Everitt 2019-08-17 13:19:56 -07:00
  • a1987f3aef Return times in RFC3339 format since the default format is not parsable in PHP Dane Everitt 2019-08-05 22:22:49 -07:00
  • 7c82c6445d Correctly connect to running containers Dane Everitt 2019-06-29 17:52:55 -07:00
  • aa710ec9d6 Support listening for SSL connections Dane Everitt 2019-06-29 15:41:44 -07:00
  • 2db705f697 Send the server logs when the websocket is connected to initially Dane Everitt 2019-05-27 18:03:37 -07:00
  • 93c71a6ab7 Correct handling of state and console events Dane Everitt 2019-05-27 17:12:51 -07:00
  • 7b1ebd790d When connecting to the server socket send the state right away Dane Everitt 2019-05-27 16:58:05 -07:00
  • c943246e33 Return the mime type with the file for easier panel integration Dane Everitt 2019-05-25 15:58:55 -07:00
  • 8d8ec70683 Add support for writing to a file (and creating it if not existent) Dane Everitt 2019-05-25 15:40:15 -07:00
  • 8acab006b6 Change API to be more logical with handling file paths Dane Everitt 2019-05-25 15:40:02 -07:00
  • 7182b02ce2 Order A-Z not Z-A Dane Everitt 2019-05-14 18:43:04 -07:00
  • 9c252a5ad7 Truncate the logs when server process is starting Dane Everitt 2019-05-09 21:52:24 -07:00
  • 7a52e3a9c2 For now, chown the server directory when the server starts Dane Everitt 2019-05-09 21:48:58 -07:00
  • e95c22a526 Add support for deleting a file or directory from a server Dane Everitt 2019-05-04 17:09:35 -07:00
  • 50d16a3dcd Add support for copying a file Dane Everitt 2019-05-04 17:02:01 -07:00
  • 4318d9988a Add support for renaming files/directories Dane Everitt 2019-05-04 16:04:41 -07:00
  • 857bf45324 Add support for creating a new directory Dane Everitt 2019-05-01 22:09:01 -07:00