This should take effect when editors with [EditorConfig](http://editorconfig.org/) support are used.
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
* Update Xterm.js CSS to the latest version
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
* Update style.css to use terminal-container
The `.terminal` class was messing around xterm.js CSS rules, resulting in the cursor never being in a focused state.
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
* Once every second the session run a list of periodic tasks on every
instance concurrently. We use these tasks to do things like:
- Collect mem and cpu stats
- Check if instance is part of a swarm cluster
- Broadcast information to connected clients
* - 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
It works by using the Host of the request. When it receives something in
the form of: `<node>.<session>.play-with-docker.com` it does a reverse
proxy http request to `node`, validating that the `node` actually belongs
to the `session`.
If the node has a prefix `ip` and continues with a valid IP address
where the dots where replaces by underscores (like `ip10_0_0_1`) then it
will remove the `ip` prefix and and replace the underscores by dots, and
assume it is an ip address.
Previously, if node2 was deleted in a node1, node2, node3 set, the next node creation would fail since it would always try to assign node3 as a name.
Now, the first available name is always assigned.
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>