Commit Graph

63 Commits

Author SHA1 Message Date
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
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
Antonis Kalipetis
fd52a544d1 Add .editorconfig file for consistent styling (#76)
This should take effect when editors with [EditorConfig](http://editorconfig.org/) support are used.

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
2017-01-03 19:47:04 +02:00
Marcos Lilljedahl
93740dc9f5 Add copy shortcuts 2016-12-24 13:52:15 -03:00
Jonathan Leibiusky @xetorthio
77905f3fd8 Query DinD instances for running containers and list the published ports
so the user can reverse proxy to the instance/port easily.
2016-12-01 17:28:55 -03:00
Marcos Lilljedahl
db03019b4e Remove unnecesarry deps 2016-11-30 18:55:31 -03:00
Alex Ellis
5eda323477 Enable use of override for session timeout in hours, fix captcha bypass bug. (#51)
* - Enable use of override for session timeout. This is more useful than having to hard-code and rebuild the code for the previous 4 hour limit. Just set environmental variable and start the app.
- Future work may involve breaking down into minutes, but this is a good minimum delivery to provide value to end-user/developer.

- Fixes bug in Captcha code by introducing new landing page. This is not a new go template, it's a separate HTML file because SRP - single reponsibility principle. Happy for this to be refacted after merging commit.

- Fix for including Docker 1.12 override has been removed for later PR.

* Merge

* Reinstate 'material' JS include'

* https for JS includes

* HTTPs for JS in bypass
2016-11-30 20:17:18 +02:00
Marcos Lilljedahl
10bdf3d5f2 Return swarm info to be displayed in the FE
This requires that PWD is working as a container in the same
network as all dinds

Add icons to swarmInfo
2016-11-29 10:52:55 -03:00
Jonathan Leibiusky @xetorthio
8b0749a9ba Show cpu and memory stats of every node 2016-11-18 13:52:47 -03:00
Antonis Kalipetis
7628864058 Fix race conditions when initially resizing terminal
Race conditions could happen if the Terminal container did not have the correct size during initialization.

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
2016-11-18 12:48:49 +02:00
Jonathan Leibiusky @xetorthio
5aa6f52292 Also update hostname of new instances 2016-11-17 17:36:59 -03:00
Jonathan Leibiusky @xetorthio
50943ce516 Show a server disconnected message when user is not able to connect to
server.
2016-11-16 09:35:43 -03:00
Jonathan Leibiusky @xetorthio
db074a5804 Add expiration clock to sessions 2016-11-15 13:20:59 -03:00
Michael Irwin
aa0e6ba30e Fixed grammar in session closing dialog 2016-11-14 16:02:09 -05:00
Marcos Lilljedahl
3e142c91e8 Revert transport preference 2016-11-14 11:56:26 -03:00
Marcos Lilljedahl
f63abdf3dd Focus terminal when changing instances 2016-11-14 02:05:50 -03:00