diff --git a/chrome/manifest.json b/chrome/manifest.json index 25eaa23..2d71bb8 100644 --- a/chrome/manifest.json +++ b/chrome/manifest.json @@ -1,7 +1,7 @@ { "name": "__MSG_ext_name__", - "version": "2.0.10", - "version_name": "2.0.10", + "version": "2.0.11", + "version_name": "2.0.11", "description": "__MSG_ext_description__", "homepage_url":"https://subutai.io", "manifest_version": 2, diff --git a/common/ui/inline/hubTrayPort.js b/common/ui/inline/hubTrayPort.js index 2c22ea4..4c2f5c0 100644 --- a/common/ui/inline/hubTrayPort.js +++ b/common/ui/inline/hubTrayPort.js @@ -83,10 +83,15 @@ porto.trayPort.intervalSSID = 0; if (email === response.data) { var row = $(that.closest('tr')); var envName = $('.b-sidebar-profile-header-name').text().trim(); + var environmentId = $('#e2e-plugin-hub-environment-name'); - if (userId[3] === 'environments') { + if (environmentId.length > 0) { + envName = environmentId.val(); + }else if (userId[3] === 'environments') { envName = userId[4]; } + console.log('environment: ' + envName); + var cmd = 'cmd:ssh%%%' + envName + '%%%' + row.attr('data-container-id'); openSshTunnel(cmd); } diff --git a/e2e-plugin.safariextension/Info.plist b/e2e-plugin.safariextension/Info.plist index e9d8eb4..50bbf4b 100644 --- a/e2e-plugin.safariextension/Info.plist +++ b/e2e-plugin.safariextension/Info.plist @@ -13,9 +13,9 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleShortVersionString - 2.0.10 + 2.0.11 CFBundleVersion - 2.0.10 + 2.0.11 Chrome Global Page diff --git a/firefox/package.json b/firefox/package.json index 11e5f62..4254b3e 100644 --- a/firefox/package.json +++ b/firefox/package.json @@ -1,7 +1,7 @@ { "name": "e2e-plugin", "title": "Subutai Social E2E Plugin", - "version": "2.0.10", + "version": "2.0.11", "fullName": "Subutai Social E2E Plugin", "id": "jid1-DejrJUD3AaPCkw@jetpack", "description": "Security is utterly important in Subutai Social and this plugin helps keep you and your cloud secure. We use encryption, digital signatures, and keys all over the place. Even simple things you do involve complicated security operations behind the scenes. One of most important principles is to make sure your keys for performing these tasks are never transferred or taken off your computer to get into the wrong hands. To help enforce this, we have to make sure everything transferred is encrypted, or signed end-to-end. We also don't want to slow and weigh you down with complicated things you would have to do manually without this plugin. The complexity could lead to a mistake if you had to do some things manually and that would greatly reduce security.\n The Subutai Social E2E plugin works on your computer with your browser to manage the keys to your cloud environments. It works with Subutai Social and the Hub to perform complicated tasks seamlessly for you. These keys are never exposed, or transferred, always staying right where they were created and protected by a passcode. In the future, the plugin will interoperate with USB hardware security modules to not even store keys on your computer and allow them to move around with you and your USB device.", diff --git a/package.json b/package.json index 9fa5f76..34b90a0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "subutaisocial", - "version": "2.0.10", + "version": "2.0.11", "description": "Subutai Social E2E Plugin", "scripts": { "test": "grunt test"