Commit Graph

268 Commits

Author SHA1 Message Date
Jakob Schrettenbrunner
4800c21be4 wings cmd: add config flag 2017-08-31 23:59:35 +02:00
Jakob Schrettenbrunner
09d2d6ec4a gitignore: ignore built wings executable 2017-08-31 23:59:06 +02:00
Jakob Schrettenbrunner
7b9c67d508 api: improve routes 2017-08-31 23:57:33 +02:00
Jakob Schrettenbrunner
ef28b61136 config: use constants with config keys instead of struct as its easier to handle 2017-08-31 20:13:01 +02:00
Jakob Schrettenbrunner
5f0804ea53 travis: switch to go 1.9 2017-08-31 20:04:53 +02:00
Jakob Schrettenbrunner
fbf7115fd7 travis: only compile against current stable go version 2017-08-03 00:11:00 +02:00
Jakob Schrettenbrunner
40836a5ec4 api: rewrite auth to handle new routes
api: add functions to retrieve auth handler and server from a gin.Context
2017-08-02 23:47:09 +02:00
Jakob Schrettenbrunner
3d789c0541 api: better routes 2017-08-02 23:23:41 +02:00
Jakob Schrettenbrunner
38875bcfac travis: limit builds to supported os/arch list 2017-08-02 23:23:13 +02:00
Jakob Schrettenbrunner
1bbad7d24e travis: only create $GOPATH/bin if it doesn't exist 2017-08-02 22:58:26 +02:00
Jakob Schrettenbrunner
91ff924933 api: add first status implementation on / 2017-08-02 22:49:59 +02:00
Jakob Schrettenbrunner
0a2eab96bb travis: add docker service 2017-08-02 22:44:45 +02:00
Jakob Schrettenbrunner
059ea8a047 add all old routes and handlers
add html index page when not authenticated
fixed auth's handling of empty permissions
2017-08-02 22:02:34 +02:00
Jakob Schrettenbrunner
3a65f409d1 rewrite auth
don't disclose auth denial reasons in response
2017-08-02 21:35:15 +02:00
Jakob Schrettenbrunner
6e18e4a1ce fix missing server interface method HasPermission 2017-07-30 20:25:42 +02:00
Jakob Schrettenbrunner
636e75ae1f first implementation of docker environment 2017-07-30 20:05:06 +02:00
Jakob Schrettenbrunner
d9f57ce7ed fix assert.Equal order 2017-07-29 13:09:17 +02:00
Jakob Schrettenbrunner
addafe0137 travis: try different way to install glide 2017-07-06 21:35:55 +02:00
Jakob Schrettenbrunner
f7e371f380 travis: set execute permission on glide command 2017-07-06 21:28:04 +02:00
Jakob Schrettenbrunner
095de7e53d travis: extract correct file on glide install (derp) 2017-07-06 21:24:16 +02:00
Jakob Schrettenbrunner
9fd02667d8 travis: install glide properly 2017-07-06 21:00:56 +02:00
Jakob Schrettenbrunner
9c364970f0 basic api server initialization 2017-07-06 20:55:26 +02:00
Jakob Schrettenbrunner
e356ee5fa8 better logging initialization 2017-07-06 20:52:08 +02:00
Jakob Schrettenbrunner
55ec4af875 add constants package for constants 2017-07-06 20:51:27 +02:00
Jakob Schrettenbrunner
ec937603fd add first Server struct
implement loading of server configs
implement hasPermission on server struct
2017-07-06 20:51:09 +02:00
Jakob Schrettenbrunner
5c8eb31ba0 update dependencies 2017-07-06 20:50:05 +02:00
Jakob Schrettenbrunner
d856081483 add test files for auth middleware 2017-07-06 20:49:50 +02:00
Jakob Schrettenbrunner
0bceb409e5 implement auth middleware 2017-07-06 20:49:36 +02:00
Jakob Schrettenbrunner
260c9d70ab add official wings ascii logo 2017-07-06 19:01:08 +02:00
Jakob Schrettenbrunner
4421349bfd rename main.go to wings.go 2017-07-06 19:00:21 +02:00
Jakob Schrettenbrunner
ae41a0e76e move git repo to github.com/Pterodactyl/wings 2017-07-01 19:26:05 +02:00
Jakob Schrettenbrunner
a2d741c13a add control package, reorganize some files and packages 2017-06-29 12:24:18 +02:00
Jakob Schrettenbrunner
50e27db1c4 add cobra to implement cli interface for different commands 2017-06-29 12:21:59 +02:00
Jakob Schrettenbrunner
f183654996 manually create $GOPATH/bin so glide can install 2017-06-27 12:48:18 +02:00
Jakob Schrettenbrunner
1a206872ff replace dep in makefile with glide 2017-06-27 12:44:42 +02:00
Jakob Schrettenbrunner
a2af38f03e replace dep with glide 2017-06-27 12:43:55 +02:00
Jakob Schrettenbrunner
e928b337e7 Add makefile to simplify some tasks 2017-06-27 12:42:56 +02:00
Jakob Schrettenbrunner
02492cb64d use logging settings in logger 2017-06-27 12:05:50 +02:00
Jakob Schrettenbrunner
fbfeed4ee7 add debug flag to config 2017-06-27 10:42:19 +02:00
Jakob Schrettenbrunner
2322a9721a add gin-gonic dependency 2017-06-27 10:42:09 +02:00
Jakob Schrettenbrunner
474cba37f4 update license 2017-06-27 10:25:17 +02:00
Jakob Schrettenbrunner
7024e7b286 update Readme 2017-06-27 10:09:07 +02:00
Jakob Schrettenbrunner
ceeabd6cbc add cross platform build to travis
auto deploy on releases with travis
2017-06-27 10:03:17 +02:00
Jakob Schrettenbrunner
b9d5506267 update mount path in Vagrant image 2017-06-27 09:39:53 +02:00
Jakob Schrettenbrunner
90e81d89eb add config_test.go 2017-06-26 21:04:11 +02:00
Jakob Schrettenbrunner
7055f0c9b2 update import paths
update Readme with shields
2017-06-26 20:44:37 +02:00
Jakob Schrettenbrunner
271e4fb5ef use goverage for testing with coverage reports
update dependencies
2017-06-26 20:28:25 +02:00
Jakob Schrettenbrunner
f20a9b81f8 correct go test folder for travis 2017-06-26 17:20:13 +02:00
Jakob Schrettenbrunner
7e8a3e7e65 report coverage to codacy using travis and godacov 2017-06-26 16:59:02 +02:00
Jakob Schrettenbrunner
ccc1c8e19a travis change go 1.9 to beta version 2017-06-26 13:45:23 +02:00