Commit Graph

  • afa47c0bfc Periodic tasks refactor (#62) Jonathan Leibiusky 2016-12-01 15:57:30 -03:00
  • 07fee4c1bf Fix module error. Marcos Nils 2016-12-01 02:48:42 -03:00
  • 17b21e6fc8 Update installation instructions Marcos Nils 2016-12-01 02:30:31 -03:00
  • db03019b4e Remove unnecesarry deps Marcos Lilljedahl 2016-11-30 18:55:31 -03:00
  • 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
  • fc9e4962d3 Create folder structure Marcos Lilljedahl 2016-11-22 15:23:58 -03:00
  • 370bab5e27 Merge pull request #56 from akalipetis/hotfix-instance-name-rotation Marcos Nils 2016-11-22 15:19:25 +02:00
  • 73d1ae94d8 Merge pull request #55 from akalipetis/hotfix-https Marcos Nils 2016-11-22 15:17:22 +02:00
  • ccb44f91b6 Merge pull request #54 from akalipetis/hotfix-dockerfile-run Marcos Nils 2016-11-22 15:14:29 +02:00
  • dd8f63363e Fix issue where instance name rotation was faulty Antonis Kalipetis 2016-11-22 10:42:19 +02:00
  • a2754057dd Make all CSS/JS links HTTPS Antonis Kalipetis 2016-11-22 09:54:29 +02:00
  • d9291cc52c Create the /app/pwd directory, otherwise it crashes without a volume Antonis Kalipetis 2016-11-22 09:48:13 +02:00
  • 861355d4e3 Fix undetected bugs in instance renaming Marcos Lilljedahl 2016-11-22 00:07:41 -03:00
  • 3ec374ed95 Merge pull request #53 from franela/node_names Marcos Nils 2016-11-22 04:37:57 +02:00
  • 8f5f9f2c90 Add container names to make attachable names work Marcos Lilljedahl 2016-11-21 22:01:00 -03:00
  • a7d76f2720 Enumerate nodes to improve cluster configuration Marcos Lilljedahl 2016-11-21 21:49:23 -03: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
  • 130f9c8403 Update Dockerfile.dind Jérôme Petazzoni 2016-11-15 19:26:30 -08:00
  • 8b0749a9ba Show cpu and memory stats of every node Jonathan Leibiusky @xetorthio 2016-11-18 13:52:47 -03:00
  • bc7dbead33 Merge pull request #44 from akalipetis/hotfix-xterm Jonathan Leibiusky 2016-11-18 09:20:46 -03:00
  • 7628864058 Fix race conditions when initially resizing terminal Antonis Kalipetis 2016-11-18 12:48:49 +02:00
  • 5aa6f52292 Also update hostname of new instances Jonathan Leibiusky @xetorthio 2016-11-17 17:36:59 -03:00
  • 0f3c3c254a Add supergrok instructions Marcos Lilljedahl 2016-11-17 12:34:48 -03: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
  • 939c045198 Change default dind image and prevent session panic Marcos Lilljedahl 2016-11-15 01:46:29 -03:00
  • cab8eef9da Add ignore pwd folder Marcos Lilljedahl 2016-11-14 22:12:59 -03:00
  • e8d69d6a21 Fix session config for docker image Marcos Lilljedahl 2016-11-14 22:08:53 -03:00
  • 6a0e07aeec Merge pull request #32 from franela/session_persist Marcos Nils 2016-11-15 02:33:31 +02:00
  • 23bb4eaf69 Add session persistence and use attach instead of exec Marcos Lilljedahl 2016-11-13 20:13:39 -03:00
  • dec3861c2c Merge branch 'master' of github.com:franela/play-with-docker Marcos Lilljedahl 2016-11-14 18:23:40 -03:00
  • 6148dd8d86 Ctrl-m is enter :S Marcos Lilljedahl 2016-11-14 18:23:24 -03:00
  • 9904813fff Fixed grammar in session closing dialog (#31) Marcos Nils 2016-11-14 23:03:50 +02:00
  • aa0e6ba30e Fixed grammar in session closing dialog Michael Irwin 2016-11-14 16:02:09 -05:00
  • 227af2338d Change default dind detach keys to standard PQ can be used in PWD Marcos Lilljedahl 2016-11-14 17:49:34 -03:00
  • 46f95ce6a5 Increase limits and change ngrok instance Marcos Lilljedahl 2016-11-14 16:38:57 -03:00
  • 8958b240bf fix typo Marcos Nils 2016-11-14 13:59:08 -03:00
  • 5dc6687239 Add ngrok instructions. Marcos Nils 2016-11-14 13:58:40 -03:00
  • 3631f2fa2e Add ngrok instructions. Marcos Nils 2016-11-14 13:58:32 -03:00
  • 9cc0b68305 Add Dockerfile for pwd dind image Marcos Lilljedahl 2016-11-14 12:26:56 -03:00
  • 3e142c91e8 Revert transport preference Marcos Lilljedahl 2016-11-14 11:56:26 -03:00
  • f63abdf3dd Focus terminal when changing instances Marcos Lilljedahl 2016-11-14 02:05:50 -03:00
  • 46a186f28b Add hostname to instance name Marcos Lilljedahl 2016-11-14 01:29:36 -03:00
  • bea093e67a Use 1.12.3 dind image Marcos Lilljedahl 2016-11-14 00:55:02 -03:00
  • 2450d53eeb Avoid app crash if WS handler panics Marcos Lilljedahl 2016-11-13 21:56:19 -03:00
  • 27dd5d6f7b Add Swarm and IPVS instructions Marcos Lilljedahl 2016-11-13 16:45:03 -03:00
  • a0e43f1328 Use latest golang 1.7 version Marcos Lilljedahl 2016-11-13 13:50:27 -03:00
  • 6d445c6205 Fix after initializing the terminal (#25) Marcos Nils 2016-11-13 17:10:04 +02:00
  • cdf1027e94 Memory limit (#26) Marcos Nils 2016-11-13 17:09:44 +02:00
  • f49f0d8ce0 Merge pull request #22 from franela/transport_preference Jonathan Leibiusky 2016-11-13 06:36:14 +02:00
  • 54378862b3 Use docker 1.13 to allow overlay networks Marcos Lilljedahl 2016-11-13 01:09:29 -03:00
  • b37f2469c8 Change connection preferrence so it tries with WS first and fallsback to polling Marcos Lilljedahl 2016-11-12 11:54:33 -03:00
  • e8b38fe717 Add session close button Jonathan Leibiusky (@xetorthio) 2016-11-12 18:58:30 -03:00
  • 81f02e4a3a Add node_modules to gitignore Marcos Lilljedahl 2016-11-12 11:29:11 -03:00
  • 869842e10e rollback transports Jonathan Leibiusky (@xetorthio) 2016-11-11 20:19:21 -03:00
  • 1be40005e8 Increase session time Jonathan Leibiusky (@xetorthio) 2016-11-11 20:18:47 -03:00
  • d05fe56fea Better session lock management Jonathan Leibiusky (@xetorthio) 2016-11-11 20:10:19 -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