Commit Graph

833 Commits

Author SHA1 Message Date
Dane Everitt
ec2407481b
Fix pointer error 2019-04-05 22:20:10 -07:00
Dane Everitt
3b4555344c
Build out the docker environment a bit more 2019-04-05 21:59:27 -07:00
Dane Everitt
447dafc76d
Update deprecated API call 2019-04-03 23:58:45 -07:00
Dane Everitt
4c6f2cf948
Whoops, casting strings like this is incorrect.
For example, 25565 is a rune for 揝 when doing string(port).
2019-04-03 23:54:38 -07:00
Dane Everitt
b69da4f43a
Correctly map to int not string here 2019-04-03 23:45:15 -07:00
Dane Everitt
e0f26e9693
Fix dependency hell because of old docker version 2019-04-03 23:34:24 -07:00
Dane Everitt
25053cb2db
Remove initial iterations of code for now, will ref it later 2019-04-03 23:15:47 -07:00
Dane Everitt
b84ed20c24
Update docker environment to handle port mapping 2019-04-03 23:09:15 -07:00
Dane Everitt
c683809efc
Get more of the container creation fleshed out 2019-04-03 22:49:15 -07:00
Dane Everitt
3e4fcd527d
Pass through startup as argument 2019-04-03 22:20:39 -07:00
Dane Everitt
08af485c40
Get basic environment creation beginning to work 2019-04-03 22:01:11 -07:00
Dane Everitt
639d9edef5
Better configuration loading process for servers
Loads up to 10 configurations at once in parallel
2019-03-24 18:39:01 -07:00
Dane Everitt
29de97c857
That editorconfig file really butchered the formatting for go 2019-03-24 18:00:21 -07:00
Dane Everitt
4bdf373ab8
Cleanup to better match the revised server data format 2019-03-24 17:39:13 -07:00
Dane Everitt
a3d5bf7982
Migrate very basic environment capabilities 2019-03-24 17:27:14 -07:00
Dane Everitt
80b4da9284
Move configuration into root space 2019-03-24 15:59:37 -07:00
Dane Everitt
75de4a412a
Add zap logger, migrate some constants up a level 2019-03-24 14:37:05 -07:00
Dane Everitt
79818f5c65
Unused 2019-03-24 14:19:00 -07:00
Dane Everitt
d634c5dc38
Migrate to modules to remove the need for a gopath 2019-03-24 14:06:12 -07:00
Jakob Schrettenbrunner
e1fbb03caf remove api/routes.go 2018-05-17 21:24:23 +02:00
Jakob
4ef7bef4fb
Merge pull request #5 from pterodactyl/feature/docker-environment
Feature/docker environment
2018-05-17 21:22:26 +02:00
Jakob Schrettenbrunner
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
2018-05-17 21:18:02 +02:00
Jakob Schrettenbrunner
09da18f42e Merge branch 'develop' into feature/docker-environment
# Conflicts:
#	.dev/vagrant/provision.sh
#	Gopkg.lock
#	Gopkg.toml
#	Vagrantfile
#	api/api.go
#	api/auth.go
#	api/handlers.go
#	api/handlers_server.go
#	api/routes.go
#	api/utils.go
#	command/root.go
#	control/docker_environment.go
#	control/server.go
#	glide.lock
#	glide.yaml
#	utils/logger.go
#	wings.go
2018-05-16 10:00:07 +02:00
Jakob Schrettenbrunner
1ce617c9a4 spell persistence correctly 2018-04-01 23:52:23 +02:00
Jakob Schrettenbrunner
27b397c712 fix environment_docker_test data path 2018-04-01 23:41:45 +02:00
Jakob Schrettenbrunner
5bba1c0d90 readd docker environment tests
implement Exec()
2018-03-14 13:59:57 +01:00
Jakob Schrettenbrunner
8b43e3a43d rename docker_environment to environment_docker 2018-03-14 10:35:49 +01:00
Jakob Schrettenbrunner
4b182e9fa6 add ctop to vagrant provision for fancy monitoring of containers 2018-03-14 10:34:28 +01:00
Jakob Schrettenbrunner
53704fb0d7 refactor websockets implementation 2018-03-14 10:34:06 +01:00
Jakob Schrettenbrunner
b8b0702f84 switch to moby/moby in the docker_environment 2018-03-14 10:33:23 +01:00
Jakob Schrettenbrunner
d2aa896a1c use go dep with travis 2018-02-20 23:43:33 +01:00
Jakob Schrettenbrunner
5836c320ff fixes for vagrant and new go dep lockfile 2018-02-20 23:38:47 +01:00
Jakob Schrettenbrunner
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
2018-02-20 23:38:29 +01:00
Jakob Schrettenbrunner
184d7e0afe lots of api changes
use jsonapi to format responses
add somewhat working websockets
2018-02-20 23:36:17 +01:00
Dane Everitt
bbc6d26b35
Break more of everything 2018-02-20 15:20:57 -06:00
Jakob Schrettenbrunner
31f4b465c1 replace glide with go dep 2018-02-20 21:36:07 +01:00
Jakob Schrettenbrunner
e4e060a82f rename to new lowercase github namespace 2018-02-20 21:25:31 +01:00
Jakob Schrettenbrunner
0b3fb72a97 update Vagrant to use bento/ubuntu and lowercase github namespace 2018-02-20 21:16:50 +01:00
Dane Everitt
4359d152b7
Butcher the app in an attempt to make it boot past step 1 2018-02-20 14:00:09 -06:00
Dane Everitt
bacdfae768
Probably breaks everything, lowercase pterodactyl 2018-02-20 13:33:32 -06:00
Dane Everitt
3f07cdb4c0
Change example config to better match existing configurations and settings 2018-02-20 13:11:34 -06:00
Dane Everitt
ea7cdbe044
Switch to dep from glide.
I maybe know what I'm doing, but probably not.
2018-02-20 13:01:46 -06:00
Jakob Schrettenbrunner
72ac95267b fix some merge fails 2017-10-09 21:01:24 +02:00
Jakob Schrettenbrunner
659dbcb8c3 add github.com/gorilla/websocket 2017-10-09 21:00:55 +02:00
Jakob Schrettenbrunner
eb9102d329 Revert "add gorilla websocket"
This reverts commit 830700d587.
2017-10-09 20:53:05 +02:00
Jakob Schrettenbrunner
830700d587 add gorilla websocket 2017-10-09 20:52:53 +02:00
Jakob Schrettenbrunner
44f42eec8c Merge branch 'develop' of github.com:Pterodactyl/wings into develop
# Conflicts:
#	api/api.go
#	api/core_routes.go
#	api/handlers_server.go
#	api/routes_server.go
#	config.example.json
#	utils/logging.go
2017-10-01 20:59:32 +02:00
Jakob Schrettenbrunner
c979285eb9 current state of api & docker env implementation 2017-10-01 20:42:17 +02:00
Jakob Schrettenbrunner
d1fdc713f5 improve vagrant provision script 2017-10-01 20:39:59 +02:00
Jakob Schrettenbrunner
e17d96d094 update gitignore 2017-10-01 20:39:48 +02:00