marcos
5332f954dd
Move Oauth configs to the database
2017-12-18 12:14:21 -03:00
Jonathan Leibiusky
da6a55fb5c
New session now expects a struct with everything it needs and a context ( #228 )
...
to pass along
2017-11-28 12:14:50 -03:00
Jonathan Leibiusky
65b8364ef2
Now both index.html and landing.html can be changes for specific ( #224 )
...
playgrounds. By default they will be served from `www/default` if no
override has been specified
2017-11-22 17:32:41 -03:00
Jonathan Leibiusky
f277e3776c
Make it so the playground can decide which index file to serve. ( #223 )
...
* Make it so the playground can decide which index file to serve.
Also remove special index-nw.html and use the current playground config to
decide if to show the windows instances option or not.
* Give a better name to the struct
2017-11-22 16:47:01 -03:00
Jonathan Leibiusky
95e4aaa5f7
Allow to decide which tasks are going to be executed per playground ( #218 )
2017-11-21 11:58:31 -03:00
Jonathan Leibiusky @xetorthio
adb64091c4
Remove property not being used
2017-11-16 11:51:02 -03:00
Jonathan Leibiusky @xetorthio
4e09a76d64
Use a better uuid library
2017-11-14 16:42:02 -03:00
Jonathan Leibiusky
3f5b3882dd
Multiple playgrounds support ( #215 )
...
* Add Playground struct and basic support for creating it and retrieving
it
* Add missing functions in pwd mock
* Get playground from request domain and validate it exists. If valid set
it on the newly created session.
* Move playground specific configurations to the playground struct and use
it everytime we need that conf.
* Don't allow to specify a duration bigger that the allowed in the
playground
2017-11-14 15:50:04 -03:00
Marcos Nils
2cbde6d067
Remove session lock as it's worthless now that PWD is deployed in ( #204 )
...
multiple servers
2017-11-02 14:20:14 -03:00
Jonathan Leibiusky @xetorthio
4c034812d2
Add support for openid with github and facebook
2017-10-04 11:41:17 -03:00
Jonathan Leibiusky @xetorthio
e9e20a5e79
Allow to connect to docker daemons without certificates but using tls
2017-09-15 17:19:34 -03:00
Marcos Lilljedahl
a9474cf75e
Rename Host to PlaygroundFQDN
2017-09-12 17:58:56 -03:00
Jonathan Leibiusky @xetorthio
6a8c3df9f6
Add mongo labels to types
2017-09-04 17:17:28 -03:00
Jonathan Leibiusky @xetorthio
954c52471b
Refactor storage to support shallow types.
...
Add Client to storage.
Fix client resizing issues.
2017-09-01 20:12:19 -03:00
Jonathan Leibiusky @xetorthio
a8567d8670
Add routable IP
2017-08-25 14:55:08 -03:00
Jonathan Leibiusky @xetorthio
438fe9f6e7
Add SessionProvisioner and InstanceProvisionerFactory
...
Remove AllowedImages and IsDockerHost as it is not really being used for
anything useful
2017-08-24 15:36:59 -03:00
Marcos Lilljedahl
ed7cefcf9c
Add first version of the windows ASG provider
2017-08-04 21:54:44 -03:00
Jonathan Leibiusky @xetorthio
c2b156d02a
Add provisioners
2017-08-02 11:58:56 -03:00
Jonathan Leibiusky @xetorthio
5ee4bb2011
More fixes
2017-07-28 23:24:02 -03:00
Jonathan Leibiusky @xetorthio
0e08107738
Tests are working again
2017-07-28 20:42:05 -03:00
Jonathan Leibiusky @xetorthio
53e6078cc5
WIP
2017-07-25 16:36:10 -03:00
Jonathan Leibiusky @xetorthio
08b64dadde
Add storage API abstraction
2017-07-18 14:32:17 -03:00
Jonathan Leibiusky @xetorthio
3a13358739
Merge branch 'master' into storage_refactor
2017-06-16 10:02:20 -03:00
Jonathan Leibiusky @xetorthio
e9911abf94
Storage has now it's own package.
...
Remove global `sessions` map and use configured storage.
Add a `types` package so both `pwd` and `storage` can access without
circular dependencies.
Now the session is prepared when requested and not on load.
2017-06-15 16:09:41 -03:00