Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Native Instructions tab for VNC sessions available for other OOD sites #625

Merged
merged 1 commit into from
Aug 5, 2020

Conversation

msquee
Copy link
Contributor

@msquee msquee commented Aug 4, 2020

This PR makes the Native Instructions tab for VNC interactive sessions available. Closes #618

  • Allow OOD_NATIVE_VNC_LOGIN_HOST to be set (purely for visual improvements)
  • Fix Linux connection instructions

If you set OOD_NATIVE_VNC_LOGIN_HOST then the command will be auto populated with that host. This is purely for visual improvement and has no impact on the VNC connection at all.

To enable the Native Instructions tab, ENABLE_NATIVE_VNC must be set to a truthy value such as 1 or true

To override the template for different platforms (Windows, MacOS, Linux):
views/batch_connect/sessions/connections/_native_vnc_{windows,mac,linux}.html.erb

Screenshots (on Windows):

and without OOD_NATIVE_VNC_LOGIN_HOST set

@msquee msquee added the ready label Aug 4, 2020
@msquee msquee added this to the OOD1.8 milestone Aug 4, 2020
@msquee msquee requested a review from ericfranz August 4, 2020 17:30
@msquee msquee self-assigned this Aug 4, 2020
@msquee msquee changed the title Update instructions for VNC on Windows Make Native Instructions tab available for other OOD sites Aug 4, 2020
@msquee msquee changed the title Make Native Instructions tab available for other OOD sites Make Native Instructions tab for VNC sessions available for other OOD sites Aug 4, 2020
@ericfranz ericfranz removed the ready label Aug 5, 2020
* OSC Connect verbiage was removed in favor of templates
* Allow OOD_NATIVE_VNC_LOGIN_HOST to be set (purely for visual improvements)
* Fix Linux connection instructions

If you set `OOD_NATIVE_VNC_LOGIN_HOST` then the command will be auto populated with that host. This is purely for visual improvement and has no impact on the VNC connection at all.
To enable the Native Instructions tab, `ENABLE_NATIVE_VNC` must be set to a truthy value such as `1` or `true`

To override the template for different platforms (Windows, MacOS, Linux):
`views/batch_connect/sessions/connections/_native_vnc_{windows,mac,linux}.html.erb`
@ericfranz ericfranz merged commit 91ba4e0 into master Aug 5, 2020
@ericfranz ericfranz deleted the update/vnc-native-info branch August 5, 2020 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the Native Tab available to other sites
3 participants