Commit Graph

208 Commits

Author SHA1 Message Date
Marcos Lilljedahl
a9474cf75e Rename Host to PlaygroundFQDN 2017-09-12 17:58:56 -03:00
Marcos Lilljedahl
4d643d04c0 Add SESSION_ID to instance and remove unnecessary stuff 2017-09-12 17:02:27 -03:00
Jonathan Leibiusky @xetorthio
86044788b9 Don't change session host! 2017-09-08 18:22:31 -03:00
Marcos Lilljedahl
19283a3c86 Add rediretion when using https 2017-09-08 16:14:01 -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
f5c337e03d Few fixes to terms 2017-09-08 12:20:29 -03:00
Jonathan Leibiusky @xetorthio
45137438db Make sure instance does not exist before reconnecting 2017-09-08 11:22:23 -03:00
Jonathan Leibiusky @xetorthio
560a3ae05a Add OOC check and error on new session creation 2017-09-07 17:30:04 -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
d29a02bb22 Make sure channel and connection exists before closing 2017-09-07 16:41:37 -03:00
Jonathan Leibiusky @xetorthio
150b089602 Reimplement terminal connections 2017-09-07 15:27:25 -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
4b00a9c0eb If session doesn't exist, don't panic! 2017-08-30 18:55:13 -03:00
Jonathan Leibiusky @xetorthio
fc3dfa6844 Add let's encrypt support 2017-08-30 10:31:26 -03:00
Jonathan Leibiusky @xetorthio
438fe9f6e7 Add SessionProvisioner and InstanceProvisionerFactory
Remove AllowedImages and IsDockerHost as it is not really being used for
anything useful
2017-08-24 15:36:59 -03:00
Marcos Lilljedahl
fcc2e7d249 Remove unnecessary redirect and use relative paths 2017-08-10 12:49:37 -03:00
Marcos Lilljedahl
b8876006df Use relative path to keep browser scheme 2017-08-10 12:36:24 -03:00
Jonathan Leibiusky @xetorthio
7495f27f64 Change wiring 2017-08-10 12:13:18 -03:00
Marcos Lilljedahl
801bbefc19 Keep scheme when redirecting 2017-08-10 11:47:36 -03:00
Marcos Lilljedahl
cbe5ede847 Refactor bootstrap so it's decoupled from main function 2017-08-08 10:38:01 -03:00
Jonathan Leibiusky @xetorthio
24a87d4416 Merge branch 'next' of github.com:xetorthio/play-with-docker into next 2017-08-08 10:11:24 -03:00
Jonathan Leibiusky @xetorthio
0e9716d5b0 Set session host
Add ping to L2 router
2017-08-08 10:10:52 -03:00
Marcos Lilljedahl
8afb922f6d Move handler initialization into the handlers package so it can be
reused
2017-08-07 17:44:25 -03:00
Jonathan Leibiusky @xetorthio
e2e458b681 Untrack stopped terminals 2017-08-02 14:47:14 -03:00
Jonathan Leibiusky @xetorthio
c2b156d02a Add provisioners 2017-08-02 11:58:56 -03:00
Marcos Lilljedahl
7a49c557e0 Return 404 for WS handler when session doesnt exist 2017-07-31 18:20:27 -03:00
Marcos Lilljedahl
fa3b56ecfe Check docker daemon is alive in ping endpoint 2017-07-31 12:00:49 -03:00
Marcos Lilljedahl
3f4c96286e Avoid to have unnecessary opened connections 2017-07-31 10:10:48 -03:00
Jonathan Leibiusky @xetorthio
5ee4bb2011 More fixes 2017-07-28 23:24:02 -03:00
Jonathan Leibiusky @xetorthio
0e08107738 Tests are working again 2017-07-28 20:42:05 -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
4eda861329 Merge branch 'routing_refactor' into next 2017-07-18 15:15:11 -03:00
Marcos Lilljedahl
8eae9c1e06 Merge branch 'next' into mongo_storage 2017-07-18 14:43:27 -03:00
Jonathan Leibiusky @xetorthio
08b64dadde Add storage API abstraction 2017-07-18 14:32:17 -03:00
Jonathan Leibiusky @xetorthio
4731d8ec98 Event refactor 2017-07-18 10:45:05 -03:00
Marcos Lilljedahl
b9f154c07c Unify file upload strategies 2017-07-10 18:53:33 -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
cd6d172cfa WIP 2017-06-22 09:17:46 -03:00
Jonathan Leibiusky @xetorthio
1ee90c43d1 Merge branch 'master' into storage_refactor 2017-06-22 09:16:49 -03:00
Jonathan Leibiusky @xetorthio
824d5334df Merge branch 'master' into storage_refactor 2017-06-21 10:51:26 -03:00
Jonathan Leibiusky @xetorthio
eee76951b7 Add multipart upload to instances 2017-06-21 10:02:25 -03:00
Jonathan Leibiusky @xetorthio
755e3c7707 Add ssh proxy 2017-06-19 12:00:29 -03:00
Marcos Lilljedahl
385e05075b Avoid dialing if the instance IP doesn't exit 2017-06-18 12:19:58 -03:00
Jonathan Leibiusky @xetorthio
3a13358739 Merge branch 'master' into storage_refactor 2017-06-16 10:02:20 -03:00
Jonathan Leibiusky @xetorthio
de281eb58b Fix missing host setting and fix tests 2017-06-15 18:17:02 -03:00
Jonathan Leibiusky @xetorthio
e9911abf94 Storage has now it's own package.
Remove global `sessions` map and use configured storage.
Add a `types` package so both `pwd` and `storage` can access without
circular dependencies.
Now the session is prepared when requested and not on load.
2017-06-15 16:09:41 -03:00
Jonathan Leibiusky @xetorthio
2224e6e540 Add image_name parameter to SessionDeploy 2017-06-14 21:09:20 -03:00
Jonathan Leibiusky @xetorthio
8f247794bb Add PWD_HOST_FQDN env variable to instances. 2017-06-14 19:02:07 -03:00
Jonathan Leibiusky @xetorthio
33febafb43 Load sessions in parallel 2017-06-10 18:18:30 -03:00