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

Add xterm/image-addon to web terminal #48780

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Add xterm/image-addon to web terminal #48780

merged 1 commit into from
Nov 12, 2024

Conversation

avatus
Copy link
Contributor

@avatus avatus commented Nov 12, 2024

This allows the terminal in the web UI to "pretty print" images based on the supported protocols (SIXEL and IIP)
Screenshot 2024-11-11 at 8 37 46 PM

changelog: The web terminal now supports SIXEL and IIP image protocols.

This allows the terminal in the web UI to "pretty print" images based on
the supported protocols (SIXEL and IIP)
Copy link
Collaborator

@zmb3 zmb3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Maybe worth mentioning in the docs or at least in the v17 release notes if we get this into 17.

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from kiosion November 12, 2024 17:19
@avatus avatus added this pull request to the merge queue Nov 12, 2024
Merged via the queue into master with commit 10d8666 Nov 12, 2024
40 checks passed
@avatus avatus deleted the avatus/terminal_image branch November 12, 2024 18:48
@public-teleport-github-review-bot

@avatus See the table below for backport results.

Branch Result
branch/v16 Failed
branch/v17 Create PR

avatus added a commit that referenced this pull request Nov 12, 2024
github-merge-queue bot pushed a commit that referenced this pull request Nov 14, 2024
* [v16] Add xterm/image-addon to web terminal

Backport #48780

* [v16] Add wasm to content security policy for web ssh terminal
"@xterm/addon-canvas": "^0.7.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-image": "^0.8.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you have a chance to look into how this works?

In theory, it's something that would be nice to have in Connect too. But it also would be the first time we render 3rd-party content within Connect. If it leads to an RCE, our security posture is definitely much worse than that of a regular web browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants