diff --git a/CHANGELOG.md b/CHANGELOG.md index 495dd3249..c0d5f06c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## v0.4.26 + +CHANGE: The target for a `socks` share is automatically set to `socks` to improve web console display. + +CHANGE: Enhancements to the look and feel of the account actions tab in the web console. Textual improvements. + +FIX: The regenerate account token dialog incorrectly specified the path `${HOME}/.zrok/environments.yml`. This, was corrected to be `${HOME}/.zrok/environments.json`. + ## v0.4.25 FEATURE: New action in the web console that allows changing the password of the logged-in account (https://github.com/openziti/zrok/issues/148) diff --git a/cmd/zrok/sharePrivate.go b/cmd/zrok/sharePrivate.go index 7c01e31a6..09d6baee3 100644 --- a/cmd/zrok/sharePrivate.go +++ b/cmd/zrok/sharePrivate.go @@ -99,6 +99,7 @@ func (cmd *sharePrivateCommand) run(_ *cobra.Command, args []string) { if len(args) != 0 { tui.Error("the 'socks' backend mode does not expect ", nil) } + target = "socks" default: tui.Error(fmt.Sprintf("invalid backend mode '%v'; expected {proxy, web, tcpTunnel, udpTunnel, caddy, drive}", cmd.backendMode), nil) diff --git a/ui/src/console/detail/account/ActionsTab.js b/ui/src/console/detail/account/ActionsTab.js index cf825dbe0..4a3a3605f 100644 --- a/ui/src/console/detail/account/ActionsTab.js +++ b/ui/src/console/detail/account/ActionsTab.js @@ -16,7 +16,7 @@ const ActionsTab = (props) => {

Change Password?

-

Change your password here. Note that this will not log you out of any already logged in sessions.

+

Change the password used to log into the zrok web console.

@@ -24,20 +24,20 @@ const ActionsTab = (props) => {
-

Regenerate your account token (DANGER!)?

+

DANGER: Regenerate your account token?

Regenerating your account token will stop all environments and shares from operating properly!

- You will need to manually edit your + You will need to manually edit your ${HOME}/.zrok/environment.json files (in each environment) to use the new - zrok_token . Updating these files will restore the functionality of your environments. + zrok_token. Updating these files will restore the functionality of your environments.

Alternatively, you can just zrok disable any enabled environments and re-enable using the - new account token. Running zrok disable will delete your environments and + new account token. Running zrok disable will delete your environments and any shares they contain (including reserved shares). So if you have environments and reserved shares you - need to preserve, your best bet is to update the zrok_token in those environments as + need to preserve, your best option is to update the zrok_token in those environments as described above.

diff --git a/ui/src/console/detail/account/actions/RegenerateToken.js b/ui/src/console/detail/account/actions/RegenerateToken.js index f41ce6011..b63022e82 100644 --- a/ui/src/console/detail/account/actions/RegenerateToken.js +++ b/ui/src/console/detail/account/actions/RegenerateToken.js @@ -49,7 +49,7 @@ const RegenerateToken = (props) => {

You will need to update each of - your ${HOME}/.zrok/environments.yml files + your ${HOME}/.zrok/environments.json files with your new token to allow them to continue working!