Commit Graph

128 Commits

Author SHA1 Message Date
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
Marcos Lilljedahl
a9474cf75e Rename Host to PlaygroundFQDN 2017-09-12 17:58:56 -03:00
Marcos Lilljedahl
4d643d04c0 Add SESSION_ID to instance and remove unnecessary stuff 2017-09-12 17:02:27 -03:00
Jonathan Leibiusky @xetorthio
86044788b9 Don't change session host! 2017-09-08 18:22:31 -03:00
Marcos Lilljedahl
19283a3c86 Add rediretion when using https 2017-09-08 16:14:01 -03:00
Jonathan Leibiusky @xetorthio
3db24bf6a6 Show a message when connection to terminal has been lost 2017-09-08 15:32:20 -03:00
Jonathan Leibiusky @xetorthio
f5c337e03d Few fixes to terms 2017-09-08 12:20:29 -03:00
Jonathan Leibiusky @xetorthio
45137438db Make sure instance does not exist before reconnecting 2017-09-08 11:22:23 -03:00
Jonathan Leibiusky @xetorthio
560a3ae05a Add OOC check and error on new session creation 2017-09-07 17:30:04 -03:00
Jonathan Leibiusky @xetorthio
ef9be2a5ac Add support for out of capacity error message 2017-09-07 17:05:05 -03:00
Jonathan Leibiusky @xetorthio
d29a02bb22 Make sure channel and connection exists before closing 2017-09-07 16:41:37 -03:00
Jonathan Leibiusky @xetorthio
150b089602 Reimplement terminal connections 2017-09-07 15:27:25 -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
4b00a9c0eb If session doesn't exist, don't panic! 2017-08-30 18:55:13 -03:00
Jonathan Leibiusky @xetorthio
fc3dfa6844 Add let's encrypt support 2017-08-30 10:31:26 -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
fcc2e7d249 Remove unnecessary redirect and use relative paths 2017-08-10 12:49:37 -03:00
Marcos Lilljedahl
b8876006df Use relative path to keep browser scheme 2017-08-10 12:36:24 -03:00
Jonathan Leibiusky @xetorthio
7495f27f64 Change wiring 2017-08-10 12:13:18 -03:00
Marcos Lilljedahl
801bbefc19 Keep scheme when redirecting 2017-08-10 11:47:36 -03:00
Marcos Lilljedahl
cbe5ede847 Refactor bootstrap so it's decoupled from main function 2017-08-08 10:38:01 -03:00
Jonathan Leibiusky @xetorthio
24a87d4416 Merge branch 'next' of github.com:xetorthio/play-with-docker into next 2017-08-08 10:11:24 -03:00
Jonathan Leibiusky @xetorthio
0e9716d5b0 Set session host
Add ping to L2 router
2017-08-08 10:10:52 -03:00
Marcos Lilljedahl
8afb922f6d Move handler initialization into the handlers package so it can be
reused
2017-08-07 17:44:25 -03:00
Jonathan Leibiusky @xetorthio
e2e458b681 Untrack stopped terminals 2017-08-02 14:47:14 -03:00
Jonathan Leibiusky @xetorthio
c2b156d02a Add provisioners 2017-08-02 11:58:56 -03:00
Marcos Lilljedahl
7a49c557e0 Return 404 for WS handler when session doesnt exist 2017-07-31 18:20:27 -03:00
Marcos Lilljedahl
fa3b56ecfe Check docker daemon is alive in ping endpoint 2017-07-31 12:00:49 -03:00
Marcos Lilljedahl
3f4c96286e Avoid to have unnecessary opened connections 2017-07-31 10:10:48 -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