5742e03454
Disable recaptcha to use PWD locally
Marcos Lilljedahl
2016-11-30 15:22:51 -03:00
5eda323477
Enable use of override for session timeout in hours, fix captcha bypass bug. (#51)
Alex Ellis
2016-11-30 18:17:18 +00:00
d3e20724e9
Add fancy bash prompt from orchestration workshop (#28)
Vincent De Smet
2016-11-30 11:12:34 +08:00
6371ee665e
Remove the necessity to have sudo to build
Marcos Lilljedahl
2016-11-29 11:37:12 -03:00
cbdc22d8a0
Remove unnecessary log line and change default dind image
Marcos Lilljedahl
2016-11-29 11:06:43 -03:00
5f51e2bcbd
Merge pull request #59 from franela/swarm_info
Marcos Nils
2016-11-29 15:53:40 +02:00
10bdf3d5f2
Return swarm info to be displayed in the FE
Marcos Lilljedahl
2016-11-23 13:50:21 -03:00
0f4aea4de3
Merge pull request #43 from franela/reverse_proxy
Marcos Nils
2016-11-23 19:09:00 +02:00
6af6f42721
Make regex more restrictive to allow the proxy to be more deterministic. Make it to not depend on a specific TLD.
Jonathan Leibiusky @xetorthio
2016-11-23 11:49:07 -03:00
b4ce06fa20
Reuse the same proxy handler
Jonathan Leibiusky @xetorthio
2016-11-18 09:58:12 -03:00
122118b9df
Allow to specify port, and remove session id. So now the way to address a node is in the form of: ip10_0_1_9-9200.play-with-docker.com
Jonathan Leibiusky @xetorthio
2016-11-18 09:54:12 -03:00
ec9d34ffda
Add reverse proxy endpoint. 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.
Jonathan Leibiusky @xetorthio
2016-11-17 17:37:40 -03:00
a85bb4a1d7
Merge pull request #57 from alexellis/port_cli
Jonathan Leibiusky
2016-11-23 11:06:06 -03:00
11f2f48ebe
Introduce flag for TCP port
Alex Ellis
2016-11-23 08:58:08 +00:00
dde46f897e
Merge pull request #41 from franela/devenv
Jonathan Leibiusky
2016-11-21 20:53:22 -03:00
903489c395
Remove unncesary make target and add instructions on how to use the makefile
Jonathan Leibiusky @xetorthio
2016-11-21 20:48:29 -03:00
47d4ceab84
Give a good name for the nat rule
Jonathan Leibiusky @xetorthio
2016-11-18 10:02:32 -03:00
c2ec79584f
Add a name to the container
Jonathan Leibiusky @xetorthio
2016-11-17 17:35:33 -03:00
60395a269a
Adds a Makefile to make the virtual box creation, start and app run reproducible. This allows to develop PWD on a container, which is nice and also necessary once "reverse proxy" feature is introduced.
Jonathan Leibiusky @xetorthio
2016-11-17 12:29:08 -03:00
69f9edc695
Change dind graph folder so it doesn't share the host
Marcos Lilljedahl
2016-11-21 14:13:48 -03:00
8b3892a34f
Specify DIND image types.
Marcos Nils
2016-11-21 10:34:05 -03:00
7e368aaf1f
Fix welcome image width
Chris
2016-11-21 12:02:52 +02:00
4dc98cc252
Merge pull request #39 from jpetazzo/master
Marcos Nils
2016-11-21 03:38:18 +02:00
4d16285fac
Merge pull request #45 from franela/stats
Marcos Nils
2016-11-21 02:45:56 +02:00
6d4c1e7e15
Remove unsed lib
Jonathan Leibiusky @xetorthio
2016-11-16 18:17:26 -03:00
316ff39821
Revert ngrok instance
Marcos Nils
2016-11-16 16:37:50 -03:00
c12c506953
Merge pull request #40 from franela/recaptcha_disable
Marcos Nils
2016-11-16 20:45:35 +02:00
e45700c904
Merge pull request #38 from franela/server-disconnected-alert
Jonathan Leibiusky
2016-11-16 09:36:45 -03:00
50943ce516
Show a server disconnected message when user is not able to connect to server.
Jonathan Leibiusky @xetorthio
2016-11-15 17:48:21 -03:00
a10f247812
Allow to disable recaptcha explicitly by env variable
Marcos Lilljedahl
2016-11-16 01:23:50 -03:00
7f9cf57f8f
Merge pull request #37 from franela/google-recaptcha
Jonathan Leibiusky
2016-11-15 22:08:42 -03:00
a97a7c793e
Restart sh if user exits session accidentally
Marcos Lilljedahl
2016-11-15 18:54:51 -03:00
2afff63f4c
Remove typo introduced my @marcosnils! ahem :P
Jonathan Leibiusky @xetorthio
2016-11-15 17:03:26 -03:00
af9986c0f8
Validates that user is a human. Add google recaptcha as an initial page before creating any session. To configure recaptcha there are 2 environment variables that are needed GOOGLE_RECAPTCHA_SITE_KEY and GOOGLE_RECAPTCHA_SITE_SECRET. The code contains development defaults that should be set in production to real values. **NOTICE: Development defaults assume that the domain is localhost**
Jonathan Leibiusky @xetorthio
2016-11-15 16:53:44 -03:00
e574a95baf
Change index hour count.
Marcos Nils
2016-11-15 16:46:18 -03:00
770945ab86
Merge pull request #36 from franela/robots
Marcos Nils
2016-11-15 20:02:02 +02:00
e27ccefc2b
Merge pull request #35 from franela/expire-sessions-onload
Jonathan Leibiusky
2016-11-15 15:00:39 -03:00
70c4d33e6b
Add robots file
Jonathan Leibiusky @xetorthio
2016-11-15 14:58:11 -03:00
802375bbf7
After loading saved sessions schedule them to expire
Jonathan Leibiusky @xetorthio
2016-11-15 14:24:02 -03:00
a552e19ec6
Merge pull request #34 from franela/session-expiration-clock
Jonathan Leibiusky
2016-11-15 13:37:29 -03:00
db074a5804
Add expiration clock to sessions
Jonathan Leibiusky @xetorthio
2016-11-15 13:20:59 -03:00
e49245dfe9
Increase session TTL to 4 hours
Jonathan Leibiusky (@xetorthio)
2016-11-11 09:17:01 -03:00
6d967441ac
If instance doesn't exist don't try to connect to its terminal
Jonathan Leibiusky (@xetorthio)
2016-11-11 09:16:01 -03:00
b5e016e6f5
When there are no more clients, don't try to measure best viewport size
Jonathan Leibiusky (@xetorthio)
2016-11-10 16:23:54 -03:00
39f3da3a82
Add docker files
Jonathan Leibiusky (@xetorthio)
2016-11-10 15:30:40 -03:00
8e4981d24f
Huge refactor to have everything working with socket.io It fixes lots of bugs, can fallback to long polling, resize viewport of terminals and share clients state of the session, so they all see the same thing.
Jonathan Leibiusky (@xetorthio)
2016-11-10 10:42:08 -03:00
9b6991f130
Try to encode to UTF-8 or just discard characters
Marcos Lilljedahl
2016-10-19 00:38:05 -03:00