Commit Graph

  • c3515454f2 Fix handling of empty directories to not return null Dane Everitt 2019-05-01 22:08:54 -07:00
  • 3de40ddf98 Fix handling of kill in daemon Dane Everitt 2019-04-21 12:27:53 -07:00
  • 8795e7d739 Emit server status events Dane Everitt 2019-04-21 12:02:28 -07:00
  • bed30d9229 Get working console websocket implementation and fix race condition Dane Everitt 2019-04-20 17:38:12 -07:00
  • 49ca2e2404 Cleanup server stuff since that was getting unweildy Dane Everitt 2019-04-20 16:26:55 -07:00
  • 870adffc14 Significant improvements to attaching/console handling Dane Everitt 2019-04-20 16:20:08 -07:00
  • ebe98aa860 Correctly handle closing of websocket, whoopsie Dane Everitt 2019-04-20 15:45:48 -07:00
  • b20bfac36b Get server logs sending over the socket. wowee Dane Everitt 2019-04-20 14:57:37 -07:00
  • 342c44abfb Cleanup websocket implementation Dane Everitt 2019-04-20 11:59:28 -07:00
  • 1dfcebc746 Add basic working websocket support Dane Everitt 2019-04-19 23:29:52 -07:00
  • 91ffc96c15 Update README.md Dane Everitt 2019-04-08 12:29:12 -07:00
  • ef918a4ffa idk, kinda websockety, really difficult to test atm Dane Everitt 2019-04-07 16:58:56 -07:00
  • afe2941983 Ugly first attempt at enabling socketio Dane Everitt 2019-04-07 16:28:01 -07:00
  • 7c0acf3f60 Very basic state management for servers Dane Everitt 2019-04-07 15:20:21 -07:00
  • 729a84b4bf Output as expected json keys Dane Everitt 2019-04-07 15:11:56 -07:00
  • 0ace25c117 Add support for listing a directory's contents Dane Everitt 2019-04-07 14:45:23 -07:00
  • 91afa4d38e Add basic file stat & mimetype Dane Everitt 2019-04-07 13:47:14 -07:00
  • aef9521190 Add support for reading a file's content or downloading it Dane Everitt 2019-04-06 17:32:35 -07:00
  • 314a5ad546 Add FS logic for determining folder size as well as safe path resolution Dane Everitt 2019-04-06 16:53:22 -07:00
  • 94223bafec Fix docker user and write configuration to disk when setting user Dane Everitt 2019-04-06 16:03:02 -07:00
  • 6e2a442846 Ensure that permissions are set properly on daemon boot Dane Everitt 2019-04-06 15:39:57 -07:00
  • 23df075253 Add support for checking/creating the Pterodactyl system user Dane Everitt 2019-04-06 15:24:25 -07:00
  • d534b23606 Move configuration to own directory, modify docker environment setup to be easier to manage Dane Everitt 2019-04-06 13:33:54 -07:00
  • fe30c2969d Add the default environment variables for servers Dane Everitt 2019-04-06 12:36:05 -07:00
  • 7d67be8382 Add support for getting a server's log file via the API Dane Everitt 2019-04-06 12:27:44 -07:00
  • b6bc9adf29 Implement very basic authorization for routes Dane Everitt 2019-04-06 10:49:31 -07:00
  • a2df979e66 Ignore both EOF possibilities Dane Everitt 2019-04-05 22:57:39 -07:00
  • 7f50ff1f92 Add support for starting/stopping/killing a server via the API Dane Everitt 2019-04-05 22:55:48 -07:00
  • 134debd529 Add basic API endpoints to get server data Dane Everitt 2019-04-05 22:34:53 -07:00
  • cedbee5080 Add initial API support for listing configured servers Dane Everitt 2019-04-05 22:20:26 -07:00
  • ec2407481b Fix pointer error Dane Everitt 2019-04-05 22:20:10 -07:00
  • 3b4555344c Build out the docker environment a bit more Dane Everitt 2019-04-05 21:59:27 -07:00
  • 447dafc76d Update deprecated API call Dane Everitt 2019-04-03 23:58:45 -07:00
  • 4c6f2cf948 Whoops, casting strings like this is incorrect. Dane Everitt 2019-04-03 23:54:38 -07:00
  • b69da4f43a Correctly map to int not string here Dane Everitt 2019-04-03 23:45:15 -07:00
  • e0f26e9693 Fix dependency hell because of old docker version Dane Everitt 2019-04-03 23:34:24 -07:00
  • 25053cb2db Remove initial iterations of code for now, will ref it later Dane Everitt 2019-04-03 23:15:47 -07:00
  • b84ed20c24 Update docker environment to handle port mapping Dane Everitt 2019-04-03 23:09:15 -07:00
  • c683809efc Get more of the container creation fleshed out Dane Everitt 2019-04-03 22:49:15 -07:00
  • 3e4fcd527d Pass through startup as argument Dane Everitt 2019-04-03 22:20:39 -07:00
  • 08af485c40 Get basic environment creation beginning to work Dane Everitt 2019-04-03 22:01:11 -07:00
  • 639d9edef5 Better configuration loading process for servers Dane Everitt 2019-03-24 18:39:01 -07:00
  • 29de97c857 That editorconfig file really butchered the formatting for go Dane Everitt 2019-03-24 18:00:21 -07:00
  • 4bdf373ab8 Cleanup to better match the revised server data format Dane Everitt 2019-03-24 17:39:13 -07:00
  • a3d5bf7982 Migrate very basic environment capabilities Dane Everitt 2019-03-24 17:27:14 -07:00
  • 80b4da9284 Move configuration into root space Dane Everitt 2019-03-24 15:59:37 -07:00
  • 75de4a412a Add zap logger, migrate some constants up a level Dane Everitt 2019-03-24 14:37:05 -07:00
  • 79818f5c65 Unused Dane Everitt 2019-03-24 14:19:00 -07:00
  • d634c5dc38 Migrate to modules to remove the need for a gopath Dane Everitt 2019-03-24 14:06:12 -07:00
  • e1fbb03caf remove api/routes.go Jakob Schrettenbrunner 2018-05-17 21:24:23 +02:00
  • 4ef7bef4fb Merge pull request #5 from pterodactyl/feature/docker-environment Jakob 2018-05-17 21:22:26 +02:00
  • 53a3fbc464 remove trailing slashes from api use correct handler to provide server logs remove Baerer from Authorization header to compare it with known tokens fix wings-api.paw routes #5 Jakob Schrettenbrunner 2018-05-17 21:18:02 +02:00
  • 09da18f42e Merge branch 'develop' into feature/docker-environment Jakob Schrettenbrunner 2018-05-16 10:00:07 +02:00
  • 1ce617c9a4 spell persistence correctly Jakob Schrettenbrunner 2018-04-01 23:52:23 +02:00
  • 27b397c712 fix environment_docker_test data path Jakob Schrettenbrunner 2018-04-01 23:41:45 +02:00
  • 5bba1c0d90 readd docker environment tests implement Exec() Jakob Schrettenbrunner 2018-03-14 13:59:57 +01:00
  • 8b43e3a43d rename docker_environment to environment_docker Jakob Schrettenbrunner 2018-03-14 10:35:49 +01:00
  • 4b182e9fa6 add ctop to vagrant provision for fancy monitoring of containers Jakob Schrettenbrunner 2018-03-14 10:34:28 +01:00
  • 53704fb0d7 refactor websockets implementation Jakob Schrettenbrunner 2018-03-14 10:34:06 +01:00
  • b8b0702f84 switch to moby/moby in the docker_environment Jakob Schrettenbrunner 2018-03-14 10:33:23 +01:00
  • d2aa896a1c use go dep with travis Jakob Schrettenbrunner 2018-02-20 23:43:33 +01:00
  • 5836c320ff fixes for vagrant and new go dep lockfile Jakob Schrettenbrunner 2018-02-20 23:38:47 +01:00
  • 501409827e some reorganisation etc. in control package some minor stuff just pushing so I can try to replace fsouza/go-dockerclient with moby/moby/client Jakob Schrettenbrunner 2018-02-20 23:38:29 +01:00
  • 184d7e0afe lots of api changes use jsonapi to format responses add somewhat working websockets Jakob Schrettenbrunner 2018-02-20 23:36:17 +01:00
  • bbc6d26b35 Break more of everything Dane Everitt 2018-02-20 15:20:57 -06:00
  • 31f4b465c1 replace glide with go dep Jakob Schrettenbrunner 2018-02-20 21:36:07 +01:00
  • e4e060a82f rename to new lowercase github namespace Jakob Schrettenbrunner 2018-02-20 21:25:31 +01:00
  • 0b3fb72a97 update Vagrant to use bento/ubuntu and lowercase github namespace Jakob Schrettenbrunner 2018-02-20 21:16:50 +01:00
  • 4359d152b7 Butcher the app in an attempt to make it boot past step 1 Dane Everitt 2018-02-20 14:00:09 -06:00
  • bacdfae768 Probably breaks everything, lowercase pterodactyl Dane Everitt 2018-02-20 13:33:32 -06:00
  • 3f07cdb4c0 Change example config to better match existing configurations and settings Dane Everitt 2018-02-20 13:11:34 -06:00
  • ea7cdbe044 Switch to dep from glide. Dane Everitt 2018-02-20 13:01:46 -06:00
  • 72ac95267b fix some merge fails Jakob Schrettenbrunner 2017-10-09 21:01:24 +02:00
  • 659dbcb8c3 add github.com/gorilla/websocket Jakob Schrettenbrunner 2017-10-09 21:00:55 +02:00
  • eb9102d329 Revert "add gorilla websocket" Jakob Schrettenbrunner 2017-10-09 20:53:05 +02:00
  • 830700d587 add gorilla websocket Jakob Schrettenbrunner 2017-10-09 20:52:53 +02:00
  • 44f42eec8c Merge branch 'develop' of github.com:Pterodactyl/wings into develop Jakob Schrettenbrunner 2017-10-01 20:59:32 +02:00
  • c979285eb9 current state of api & docker env implementation Jakob Schrettenbrunner 2017-10-01 20:42:17 +02:00
  • d1fdc713f5 improve vagrant provision script Jakob Schrettenbrunner 2017-10-01 20:39:59 +02:00
  • e17d96d094 update gitignore Jakob Schrettenbrunner 2017-10-01 20:39:48 +02:00
  • 90fd485edf Lets not, please. Dane Everitt 2017-09-30 19:25:45 -05:00
  • edc189001f Remove ignored files Dane Everitt 2017-09-30 18:43:01 -05:00
  • 39a79add7c Untrack Dane Everitt 2017-09-30 18:42:33 -05:00
  • 339d2d286d Forgotten routes into v1 namespace Dane Everitt 2017-09-30 18:37:08 -05:00
  • 1bfc016e1b Clean up route handling Dane Everitt 2017-09-30 18:35:44 -05:00
  • 256c566dfe Change to using yml for configuration files Dane Everitt 2017-09-30 17:25:04 -05:00
  • c1054c482f rename tools package to utils Jakob Schrettenbrunner 2017-09-24 19:47:40 +02:00
  • 8ebc74b3a3 utils: ensure loggin path is used correctly Jakob Schrettenbrunner 2017-09-16 14:00:11 +02:00
  • e92e3e4e66 tools: ensure logging path exists Jakob Schrettenbrunner 2017-09-16 13:56:20 +02:00
  • 5ed3bb2a0c control: change container name prefix to ptdl- as underscores are not valid as hostnames Jakob Schrettenbrunner 2017-09-04 00:20:45 +02:00
  • 23200339ce travis: disable email notification Jakob Schrettenbrunner 2017-09-01 02:34:28 +02:00
  • 9268c1e9a8 add webhook notification to travis ci Jakob Schrettenbrunner 2017-09-01 01:32:10 +02:00
  • 6c58fec7d3 config: fix tests using old config struct Jakob Schrettenbrunner 2017-09-01 00:05:36 +02:00
  • 4a1682cc96 control: rename server to ServerStruct as it's needed in the api control: add getServers() function to get a slice of all servers Jakob Schrettenbrunner 2017-09-01 00:01:32 +02:00
  • a3fcd7c3e0 config: remove old config struct Jakob Schrettenbrunner 2017-09-01 00:00:08 +02:00
  • 4800c21be4 wings cmd: add config flag Jakob Schrettenbrunner 2017-08-31 23:59:35 +02:00
  • 09d2d6ec4a gitignore: ignore built wings executable Jakob Schrettenbrunner 2017-08-31 23:59:06 +02:00
  • 7b9c67d508 api: improve routes Jakob Schrettenbrunner 2017-08-31 23:57:33 +02:00
  • ef28b61136 config: use constants with config keys instead of struct as its easier to handle Jakob Schrettenbrunner 2017-08-31 20:13:01 +02:00
  • 5f0804ea53 travis: switch to go 1.9 Jakob Schrettenbrunner 2017-08-31 20:04:53 +02:00