Marcos Lilljedahl
da24d3ad6b
Fix InstanceMax typo
2018-02-24 12:39:32 -03:00
Marcos Lilljedahl
b390cfa4e5
Move max instnace check to playground config
2018-02-24 12:31:30 -03:00
Marcos Lilljedahl
0414f4933c
Fix CORS origin
2018-02-19 01:04:23 -03:00
Marcos Lilljedahl
04b25875ac
Added play with moby to CORS allowed headers
2018-02-19 00:49:35 -03:00
Marcos Lilljedahl
d7b2dc69ff
Fix Origins set in CORS headers
2018-02-19 00:42:29 -03:00
Marcos Lilljedahl
54b961a950
Update Gorilla handlers and add CORS option
2018-02-19 00:21:19 -03:00
Marcos Lilljedahl
9b4a781f71
Change CORS allowed headers to PWD
2018-02-18 23:06:24 -03:00
Marcos Lilljedahl
6bfa8b0d21
Add ee-beta site
2018-01-24 00:58:11 -03:00
Marcos Lilljedahl
e8583f7e3e
Add wildcard to cors
2018-01-24 00:49:14 -03:00
Marcos Lilljedahl
e66ed55a9b
Add trainngs and pwm origin headers
2018-01-23 11:51:57 -03:00
marcos
386bd87385
Add support for file editor
2018-01-05 13:13:07 -03:00
marcos
533440dac5
Fix issue when validating providers for playground when creating a new
...
session
2017-12-18 14:11:13 -03:00
marcos
5332f954dd
Move Oauth configs to the database
2017-12-18 12:14:21 -03:00
marcos
6a1e91b1e9
Make validateToken public
2017-12-15 17:16:37 -03:00
marcos
dd6a332889
Add error to GetSession return values
...
- Add button to copy instance SSH access
2017-12-14 17:37:38 -03:00
marcos
efaa37e0ad
Add segment integration
2017-12-01 17:37:20 -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
0ad73acbb9
Add list playgrounds and create/update playground endpoints. ( #221 )
...
User is expected to send a predefined token as basic auth password.
2017-11-21 12:55:34 -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 Lilljedahl
3dee0d3f0b
Revert "Remove sensitive information from LoggedUser endpoint"
...
This reverts commit e91a1f3e6f .
2017-11-12 21:28:38 -03:00
Marcos Lilljedahl
0541165b70
Remove incorrect host replacement
2017-11-12 21:22:14 -03:00
Marcos Lilljedahl
e91a1f3e6f
Remove sensitive information from LoggedUser endpoint
2017-11-09 19:21:31 -03:00
Marcos Lilljedahl
3db75cd297
Make ping not use docker/docker and update Dockerfiles
2017-11-09 15:28:31 -03:00
Jonathan Leibiusky @xetorthio
0c1320da00
Add ping and metrics endpoint to redirect server
2017-11-09 10:28:48 -03:00
Marcos Nils
c5f0f5fab9
Make me endpoint accessible through CORS. ( #207 )
...
Because the standard router was triggering before the cors one,
a regex not to match `/me` is needed
2017-11-06 13:43:41 -03:00
Jonathan Leibiusky @xetorthio
41f036416c
Error message if client was not created
2017-11-01 15:00:04 -03:00
Marcos Lilljedahl
d8bc3c597d
Add check to avoid panic when receiving msg
2017-11-01 14:09:58 -03:00
Jonathan Leibiusky @xetorthio
eeed9ed71a
Remove old disconnect
2017-10-31 17:05:48 -03:00
Jonathan Leibiusky @xetorthio
380e15527b
Merge branch 'websocket_rewrite'
2017-10-31 16:58:36 -03:00
Marcos Lilljedahl
5f8edd12cb
Add CheckOrigin function to allow any connections
2017-10-31 16:57:36 -03:00
Jonathan Leibiusky @xetorthio
62e948acb4
Merge branch 'master' into next
2017-10-31 16:28:31 -03:00
Jonathan Leibiusky (@xetorthio)
2fd1b628a8
Remove unused import
2017-10-20 15:30:58 +02:00
Jonathan Leibiusky (@xetorthio)
fbce7ce63a
Retry client connection when websocket is disconnected.
...
Close websocket server reference when client has disconnected.
2017-10-20 15:26:34 +02:00
Jonathan Leibiusky (@xetorthio)
b1406f4ea8
First try on using standard websocket and removing socket.io from the
...
middle
2017-10-19 13:49:14 +02:00
Jonathan Leibiusky (@xetorthio)
82b95ee112
Return an avatar for docker id integrations
2017-10-17 14:04:14 +02:00
Jonathan Leibiusky (@xetorthio)
71464cffee
Handle user not found error and only return user's public info
2017-10-17 12:02:35 +02:00
Jonathan Leibiusky (@xetorthio)
b99c047a0c
Revert "Add session keep alive. If client doesn't send a keep alive, after a"
...
This reverts commit 1b0d363ffe .
2017-10-17 01:42:59 +02:00
Marcos Lilljedahl
4850a7b496
Add endpoint to retrieve user by userId
2017-10-16 19:43:56 -03:00
Jonathan Leibiusky (@xetorthio)
1b0d363ffe
Add session keep alive. If client doesn't send a keep alive, after a
...
specified amount of time the scheduler closes the session
2017-10-16 18:11:15 +02:00
Marcos Lilljedahl
8769aa344a
Add methods in CORS requests
2017-10-14 12:50:11 -03:00
Marcos Lilljedahl
426acf1db3
Postmessage to parent window to notify callback login
2017-10-12 13:28:02 -03:00
Jonathan Leibiusky @xetorthio
e9dd97e4e4
Add Docker ID integration
2017-10-10 15:27:53 -03:00
Jonathan Leibiusky @xetorthio
97958f2e30
Get request info differently
2017-10-04 16:57:46 -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
f9809028da
Allow to disable windows instances
2017-10-02 17:19:24 -03:00
Marcos Lilljedahl
1a7a776a27
Add close session endpoint
2017-09-26 09:38:08 -03:00
Jonathan Leibiusky @xetorthio
98735a5a93
Add a way to extend the handlers and add custom stuff
2017-09-22 10:00:44 -03:00