Commit Graph

77 Commits

Author SHA1 Message Date
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
Marcos Nils
3481442768 Initial k8s support in libplayground (#216)
* Initial k8s support in libplayground

* Make tasks never give up + custom event for k8s cluster status
2017-11-16 18:23:13 -03:00
Jonathan Leibiusky @xetorthio
ba8d04aeb2 Make sure instance exists before trying to do anything 2017-11-01 14:56:22 -03:00
Jonathan Leibiusky @xetorthio
8f484ad5be Make sure instance exists before trying to change it's ports 2017-11-01 14:16:57 -03:00
Jonathan Leibiusky @xetorthio
380e15527b Merge branch 'websocket_rewrite' 2017-10-31 16:58:36 -03:00
Jonathan Leibiusky @xetorthio
62e948acb4 Merge branch 'master' into next 2017-10-31 16:28:31 -03: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)
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
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
4baa3447f0 Use messaging to detect when popup is closed 2017-10-12 14:27:33 -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
86f27ee10d Connections to unsecure hosts has to go to 2375 not 2376.
Make swarm ports search by hostname and not instance name as it is what
we get from swarm.
2017-09-18 17:13:03 -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
ef9be2a5ac Add support for out of capacity error message 2017-09-07 17:05:05 -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
e079517803 Don't call resize several times on instance creation.
Fix a few race conditions for terminal resize and terminal buffer
writing.
2017-08-30 16:36:38 -03:00
Jonathan Leibiusky @xetorthio
ed3492eb38 Don't send empty terminal buffer 2017-08-30 11:16:37 -03:00
Jonathan Leibiusky @xetorthio
26724c51be Add a small buffer on terminal input so we don't send every single
keystroke as a single message on the socket, and optimize data transfer.
2017-08-28 10:36:38 -03:00
Marcos Lilljedahl
0ab60f6456 Move instance population before WS handlers
Don't disable windows containers switch
2017-08-15 16:34:49 -03:00
Jonathan Leibiusky @xetorthio
1263f36bc8 Send proxy_host in the new instance event 2017-08-11 11:39:25 -03:00
Marcos Lilljedahl
30d709760c Add support for windows containers 2017-08-11 09:59:33 -03:00
Marcos Lilljedahl
7c89054f16 Direct URL will be always http until we get wildcard tls certs 2017-08-10 14:52:52 -03:00
Marcos Lilljedahl
3f4c96286e Avoid to have unnecessary opened connections 2017-07-31 10:10:48 -03:00
Jonathan Leibiusky @xetorthio
201aed1818 More fixes 2017-07-28 23:37:09 -03:00
Jonathan Leibiusky @xetorthio
5ee4bb2011 More fixes 2017-07-28 23:24:02 -03:00
Jonathan Leibiusky @xetorthio
53e6078cc5 WIP 2017-07-25 16:36:10 -03:00
Jonathan Leibiusky @xetorthio
8424479e76 Update event names 2017-07-24 14:55:17 -03:00
Marcos Lilljedahl
a6fdfcaa7d Upload files synchronously and add more description 2017-07-13 13:54:00 -03:00
Marcos Lilljedahl
32bbe01c87 Add progress bar 2017-07-12 15:18:07 -03:00
Marcos Nils
e624ab1374 Merge pull request #29 from xetorthio/drag_and_drop_uploads
Allow to drag & drop file uploads to instances
2017-07-10 19:00:49 -03:00
Marcos Lilljedahl
b9f154c07c Unify file upload strategies 2017-07-10 18:53:33 -03:00
Marcos Lilljedahl
5bd30907b8 No need to loop anymore as terminal is created after dialog opens now 2017-07-10 17:42:04 -03:00
Marcos Lilljedahl
632adee653 Fix stack diaglog terminal render 2017-07-10 15:55:13 -03:00
Jonathan Leibiusky @xetorthio
e6b089f9be Allow to drag & drop file uploads to instances
Upload file to relative session dir from terminal
2017-07-09 23:36:58 -03:00
Jonathan Leibiusky @xetorthio
6d992b5d02 Add session templates 2017-06-06 14:48:26 -03:00
Marcos Lilljedahl
a223a08ab7 Merge https://github.com/gvilarino/play-with-docker into gvilarino_revert 2017-05-18 18:47:11 -03:00
Guido Vilariño
99ea172c30 Remove close alert when user is signed out (#143)
* Remove close browser tab alert when signed out

* Remove whitespace line
2017-05-18 18:33:33 -03:00
Marcos Lilljedahl
317ba8bc06 Format file and fix styling 2017-05-16 20:39:02 -03:00
Jonathan Leibiusky @xetorthio
1634200ef7 UI modifications for stack creation 2017-05-16 17:37:34 -03:00
Marcos Lilljedahl
2652cb268d Merge branch '128-replace-underscores-in-urls' of https://github.com/mikesir87/play-with-docker into mikesir87-128-replace-underscores-in-urls 2017-05-08 08:18:17 -03:00
Michael Irwin
9840e7ab8e Set default layout to "None" when on non-Mac device (#133)
Issue #131
2017-05-05 03:12:45 +02:00
Michael Irwin
e31dc8cfaa Replaced all uses of underscore in proxy URLs with dashes
Issue #128
2017-04-26 00:10:35 -04:00
Jonathan Leibiusky
d6c359645c Font size and fullscreen (#120)
* Allow to change terminal font size in settings.
Allow to enter fullscreen mode with alt+enter.

* Fix size issues
2017-04-16 19:47:18 -03:00
Michael Irwin
3b86c79c5b Added setting to allow specification of new instance image 2017-04-11 17:58:15 -04:00
Michael Irwin
c10dc8c984 Added settings dialog with Mac OSX keyboard shortcuts (#99)
* Added settings dialog with Mac OSX keyboard shortcuts

Issue #98

* Added default keyboard prefix detection for Macs

Issue #98
2017-02-28 11:37:04 -03:00
Jonathan Leibiusky
f816be6f69 Add DNS support for PWD instances (#94)
* Add DNS support for PWD instances

* Store IP address of PWD in all session networks and restore it with the
same IP address

* Remove unnecesary print

* Change url format to pwd<ip>-port for better DNS filtering

* Make PWD listen on 80 and 443 for DNS resolve to work
2017-02-17 11:10:01 -03:00
Marcos Nils
a5d1e5c207 Allow to override session timeout. (#86)
* Allow to override session timeout.

This comes useful as it can be overriden from the SDK now

* Fix comments
2017-01-31 13:51:57 +02:00
Marcos Nils
41d2b5f235 Add instance name to hash in URL (#77)
Fixes #7
2017-01-04 18:43:06 +02:00
Antonis Kalipetis
81280517bf Add visual state of New instance and Delete buttons (#75)
The buttons now get disabled when pressed and their text changes to the action being made.
If the action ends (either with success or failure), state is reverted to the normal one.

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
2017-01-04 18:42:49 +02:00