Commit Graph

  • fd9487ea4d switch to go 1.13 and add go mod download again Jakob 2020-04-13 23:54:56 +02:00
  • 7d1ca0a695 Merge pull request #25 from pterodactyl/fix/alpine Dane Everitt 2020-04-13 14:50:10 -07:00
  • 12c97c41b0 fixes distro matching #25 Michael Parker 2020-04-13 13:12:49 -04:00
  • c125882d25 Deploy wings@1.0.0-beta.1 v1.0.0-beta.1 Dane Everitt 2020-04-12 19:14:24 -07:00
  • 2bf293823f Fix state handing logic Dane Everitt 2020-04-12 17:43:16 -07:00
  • b73f78a832 Fix configuration parsing Dane Everitt 2020-04-12 17:39:19 -07:00
  • 5c4064f87a Only allow insecure if configured Dane Everitt 2020-04-12 17:05:13 -07:00
  • 70a647097e Merge branch 'develop' of https://github.com/pterodactyl/wings into develop Dane Everitt 2020-04-12 17:04:34 -07:00
  • 89bda64e47 Use API key to get node deployment information Dane Everitt 2020-04-12 17:04:32 -07:00
  • 621c5b3406 Merge pull request #22 from pterodactyl/fix/alpine Dane Everitt 2020-04-12 16:00:21 -07:00
  • 137b6cddae Better parsing of regex replacements Dane Everitt 2020-04-12 15:57:07 -07:00
  • fd28db4a68 alpine specific changes #22 Michael Parker 2020-04-12 17:07:41 -04:00
  • 9de094f078 Fix support for configuration files with more complex cases Dane Everitt 2020-04-12 12:22:37 -07:00
  • a4c9562e42 Dump the actual type, not the numeric equivalent Dane Everitt 2020-04-11 18:35:20 -07:00
  • 7d7766e4cb Correctly handle validation errors vs. errors from the panel during installation Dane Everitt 2020-04-11 17:55:00 -07:00
  • 13fc464508 No need for this debug check Dane Everitt 2020-04-11 17:48:57 -07:00
  • 89e5b63c32 Don't try to remove a non-existent file Dane Everitt 2020-04-11 17:46:36 -07:00
  • 3bd48bbac1 Update the JWT signing algo when the signing key is changed in the config Dane Everitt 2020-04-11 17:26:17 -07:00
  • d3a3d4dbf5 Fix configuration to read JSON correctly Dane Everitt 2020-04-11 16:32:46 -07:00
  • 083bea5504 Add support for modifying daemon configuration on-the-fly Dane Everitt 2020-04-11 16:17:46 -07:00
  • 03045c94be Better race condition prevention Dane Everitt 2020-04-10 18:22:18 -07:00
  • 17d204a631 Little bit of code refactoring Dane Everitt 2020-04-10 18:07:57 -07:00
  • af241f3de4 Code cleanup Dane Everitt 2020-04-10 18:03:35 -07:00
  • c57708d1e0 Merge pull request #20 from matthewpi/issues/1899 Dane Everitt 2020-04-10 17:37:45 -07:00
  • 814914ca19 Fix json#Unmarshal when there are no servers #20 Matthew Penner 2020-04-10 18:23:45 -06:00
  • 28214ef0ea Use a RWMutex so we don't block simultaneous reads Dane Everitt 2020-04-10 17:21:55 -07:00
  • e91dd84279 Fix race condition warnings when attempting to work with JWT data in the websocket Dane Everitt 2020-04-10 17:06:59 -07:00
  • 1f4aca8210 Fix issue with config file saving, fix issue with state file saving, fix issue when merging a uuid into a server without one Matthew Penner 2020-04-10 17:55:36 -06:00
  • 2220eb049c Avoid race condition when listing a directory Dane Everitt 2020-04-10 16:43:05 -07:00
  • 4ea1b90560 Merge branch 'develop' into issues/1899 Matthew Penner 2020-04-10 17:27:39 -06:00
  • 12648b43fa Disable config saving temporarily Matthew Penner 2020-04-10 17:19:35 -06:00
  • d3cbf96c57 Avoid race condition while calculating directory size of server Dane Everitt 2020-04-10 16:14:04 -07:00
  • acf425b705 Add a lock to the states file Matthew Penner 2020-04-10 16:37:10 -06:00
  • 1e12b7b37c Remove server configurations files and add shared state file Matthew Penner 2020-04-10 16:33:30 -06:00
  • ac9ab4c0b0 Update to match new configuration structure Dane Everitt 2020-04-10 15:22:15 -07:00
  • 28c8f3f400 Add the ability to fetch all servers, fix cpu usage leak again.. Matthew Penner 2020-04-10 15:39:07 -06:00
  • e719c67e0b Removes SyncServersOnBoot configuration option and requires that servers are synced when the daemon boots Matthew Penner 2020-04-10 12:15:46 -06:00
  • 2278347b4c Fix typo Matthew Penner 2020-04-10 12:11:37 -06:00
  • 9e30d63818 Add debug logs when a non-500 error occurs, force sync the configuration during installation of a new server Matthew Penner 2020-04-10 12:00:04 -06:00
  • 62ed90e621 Merge pull request #19 from pterodactyl/feature/auto-deploy Dane Everitt 2020-04-10 09:55:14 -07:00
  • 1c5f30f5be add configure command #19 vagrant 2020-04-10 15:22:57 +00:00
  • 59b11eb80c use cobra for cli vagrant 2020-04-10 13:12:18 +00:00
  • 1c235025b7 Add support for deleting a backup Dane Everitt 2020-04-09 22:07:48 -07:00
  • 33875105b6 Fix topic handling for websocket with namespace Dane Everitt 2020-04-06 21:22:43 -07:00
  • 222091b68c Fire an event to the websocket when a backup is completed Dane Everitt 2020-04-06 21:03:50 -07:00
  • 45d441ac32 Check permissions when performing websocket actions Dane Everitt 2020-04-06 21:03:39 -07:00
  • 3edcd5f9c3 Add support for direct downloads of server files Dane Everitt 2020-04-06 20:27:57 -07:00
  • cc54b99b55 Merge pull request #18 from matthewpi/gin-fixes Dane Everitt 2020-04-06 16:42:16 -07:00
  • 3c49d6e947 Fix a major typo #18 Matthew Penner 2020-04-06 17:09:55 -06:00
  • f5a804210f Remove more unused files, fix issue with CORS on /api/system, fix issue with GET /api/servers/:server/archive Matthew Penner 2020-04-06 14:39:33 -06:00
  • 0a13cfe236 Merge pull request #17 from matthewpi/gin Dane Everitt 2020-04-06 12:57:47 -07:00
  • 718b126baf Dane caused this monstrosity to occur.. Port over remaining transfer/archive code to gin, delete http.go #17 Matthew Penner 2020-04-06 13:49:49 -06:00
  • 03311ecf03 Move over backup and create transfer logic Dane Everitt 2020-04-05 19:07:16 -07:00
  • 5bb6dff277 Remove unused file Dane Everitt 2020-04-05 18:57:53 -07:00
  • c4474e22f6 Add support for downloading a backup Dane Everitt 2020-04-05 18:56:54 -07:00
  • ccbb119948 Better core logic for JWT; supports a more generic structure Dane Everitt 2020-04-05 18:44:16 -07:00
  • cf2ef1a173 Port most of the HTTP code over to gin Dane Everitt 2020-04-05 18:00:33 -07:00
  • 223b9e05a1 Merge pull request #16 from matthewpi/feature/server-transfers Dane Everitt 2020-04-05 11:06:34 -07:00
  • 4ad57af990 Support one-time downloads of server backups Dane Everitt 2020-04-04 19:55:23 -07:00
  • 0ca9c8a114 Delete the server's archive when the server is deleted #16 Matthew Penner 2020-04-04 18:31:18 -06:00
  • 8da9d45c9d Delete archive when transfering new server if it already exists Matthew Penner 2020-04-04 18:27:31 -06:00
  • d1127569f8 go mod tidy && go mod verify Matthew Penner 2020-04-04 17:26:11 -06:00
  • e53de71946 Fix merge Matthew Penner 2020-04-04 17:23:54 -06:00
  • 5693d0431e Merge branch 'develop' into feature/server-transfers Matthew Penner 2020-04-04 17:17:09 -06:00
  • 4ce2b73490 Add first implementation of local backups for a server Dane Everitt 2020-04-04 16:07:25 -07:00
  • 6af3cb2c9b Get transfers 'fully' working, need to add fail request though Matthew Penner 2020-04-04 16:15:49 -06:00
  • 8bd7708631 Get server transfers to download the archive from the old daemon Matthew Penner 2020-04-04 14:08:10 -06:00
  • ef0ad45b71 Add authentication for another node to access GET /api/servers/:server/archive, add POST /api/transfer route Matthew Penner 2020-04-04 00:51:35 -06:00
  • c096d8802f Add configurable ArchiveDirectory Matthew Penner 2020-04-04 00:17:32 -06:00
  • 3dba11ac6f Add ability to create archives of servers, add GET and POST /api/servers/:server/archive routes to get and request an archive of a server Matthew Penner 2020-04-03 23:17:26 -06:00
  • 5fd138e188 Add support for restarting a server instance Dane Everitt 2020-04-03 14:52:24 -07:00
  • 019d028011 Add support for reinstalling a server Dane Everitt 2020-04-03 13:43:13 -07:00
  • ddca34f9e8 Add support for defining specific threads for containers Dane Everitt 2020-03-29 12:31:17 -07:00
  • f0e37f1e98 Merge pull request #15 from matthewpi/travis-fix Dane Everitt 2020-02-08 13:30:08 -08:00
  • 679e21a6dd Merge pull request #14 from matthewpi/chown-fix Dane Everitt 2020-02-08 13:29:55 -08:00
  • d0dabb927b Remove "go mod download" and replace 1.9.x with 1.11.x due to missing go modules support #15 Matthew Penner 2020-02-07 17:08:20 -07:00
  • c8d953380e Remove dep and use go modules in .travis.yml Matthew Penner 2020-02-06 16:50:30 -07:00
  • 8107532080 Revert style changes due to gofmt #14 Matthew Penner 2020-02-02 14:43:13 -07:00
  • 07b1876954 Chown directories, not just files Matthew Penner 2020-02-02 14:41:15 -07:00
  • 3f6b0ce44c Merge pull request #13 from Sir3lit/patch-2 Dane Everitt 2020-01-28 10:49:36 -08:00
  • 5bde25d5b5 Fixes stuck Go-routine #13 AreYouScared 2020-01-28 12:35:56 -05:00
  • b37a4a4926 Create CHANGELOG.md Dane Everitt 2020-01-19 15:25:03 -08:00
  • 90cdea83d4 Bump for release v1.0.0-alpha.2 Dane Everitt 2020-01-19 15:18:00 -08:00
  • ab54d2c416 Avoid triggering crash detection on container destroy Dane Everitt 2020-01-19 14:00:59 -08:00
  • 59299d3cda Add code to notify panel when install is completed Dane Everitt 2020-01-19 13:30:54 -08:00
  • 7533e38543 Add support for running installation process when creating a server Dane Everitt 2020-01-19 13:05:49 -08:00
  • 99a11f81c3 Improve event emitter/subscription abilities Dane Everitt 2020-01-18 14:04:26 -08:00
  • c6fcd8cabb Send installation data over socket when running Dane Everitt 2020-01-18 13:05:44 -08:00
  • 5c3823de9a Only dump pull status in debug Dane Everitt 2019-12-28 15:14:56 -08:00
  • 5350a2d5a5 Don't block the HTTP request while waiting on the installation Dane Everitt 2019-12-28 15:12:12 -08:00
  • 6ef2773c01 Very, very basic server installation process Dane Everitt 2019-12-28 14:57:19 -08:00
  • 853d215b1d Less problematic handling for time drift in the socket Dane Everitt 2019-12-28 12:27:21 -08:00
  • 3bbb8a3769 Relicense Dane Everitt 2019-12-25 14:33:02 -08:00
  • a51cb79d3b Create server data directory when installing Dane Everitt 2019-12-24 17:13:03 -08:00
  • beec5723e6 Update SFTP server dependency Dane Everitt 2019-12-24 17:11:54 -08:00
  • d7bd10fcee Better approach to timezone handling by using a TZ environment variable Dane Everitt 2019-12-24 16:57:22 -08:00
  • 06f495682c When mounting timezone data, check for the path first to avoid a fatal error Dane Everitt 2019-12-24 16:49:08 -08:00
  • 32e389db21 General code cleanup Dane Everitt 2019-12-24 16:40:51 -08:00
  • d9ceb9601d Do not set the default values in the struct we're unmarshaling into Dane Everitt 2019-12-24 16:35:43 -08:00
  • ea867d16a5 None of these constants are actually used Dane Everitt 2019-12-24 15:30:25 -08:00