Commit Graph

1776 Commits

Author SHA1 Message Date
Sylvie Crowe
ff5f26709c
WSL Updates for New Architecture (#1756)
This adapts most of the WSL code to follow the new architecture that ssh
uses.

---------

Co-authored-by: sawka <mike@commandline.dev>
2025-01-16 15:54:58 -08:00
Evan Simkowitz
b7dca41b9c
Correct XDG_CURRENT_DESKTOP env var (#1754)
Electron sets XDG_CURRENT_DESKTOP for better Chromium compatibility on
Linux. We need to unset this for `wavesrv` and for any calls to open a
file or URL externally in `emain`.

See
https://www.electronjs.org/docs/latest/api/environment-variables#original_xdg_current_desktop

There's a bug open in Electron related to this:
https://github.com/electron/electron/issues/45129

closes #1733
2025-01-16 11:37:14 -08:00
Mike Sawka
9dc9066a81
conn updates 5 (#1755)
* token swap
* setting environment variables for different local/remote shells
* bug fixes for init scripts
* more logging
* update connserver startup flow
2025-01-16 11:17:29 -08:00
Evan Simkowitz
3beb14aa6b
Dependabot Yarn changes (#1751)
Ungroups major updates, except for react, storybook, electron,
docusaurus, and jotai
2025-01-15 23:20:10 -08:00
dependabot[bot]
f9b7e9baee
Bump google.golang.org/api from 0.216.0 to 0.217.0 (#1745)
Bumps
[google.golang.org/api](https://github.com/googleapis/google-api-go-client)
from 0.216.0 to 0.217.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/releases">google.golang.org/api's
releases</a>.</em></p>
<blockquote>
<h2>v0.217.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.216.0...v0.217.0">0.217.0</a>
(2025-01-15)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2955">#2955</a>)
(<a
href="dfbc111165">dfbc111</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2957">#2957</a>)
(<a
href="473d170a67">473d170</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2958">#2958</a>)
(<a
href="972ede23d0">972ede2</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2960">#2960</a>)
(<a
href="18f18fc95e">18f18fc</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2962">#2962</a>)
(<a
href="5085dcfd8b">5085dcf</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md">google.golang.org/api's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.216.0...v0.217.0">0.217.0</a>
(2025-01-15)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2955">#2955</a>)
(<a
href="dfbc111165">dfbc111</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2957">#2957</a>)
(<a
href="473d170a67">473d170</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2958">#2958</a>)
(<a
href="972ede23d0">972ede2</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2960">#2960</a>)
(<a
href="18f18fc95e">18f18fc</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2962">#2962</a>)
(<a
href="5085dcfd8b">5085dcf</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0dc24d94fd"><code>0dc24d9</code></a>
chore(main): release 0.217.0 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2956">#2956</a>)</li>
<li><a
href="5375569551"><code>5375569</code></a>
chore(all): update all (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2959">#2959</a>)</li>
<li><a
href="5085dcfd8b"><code>5085dcf</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2962">#2962</a>)</li>
<li><a
href="18f18fc95e"><code>18f18fc</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2960">#2960</a>)</li>
<li><a
href="972ede23d0"><code>972ede2</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2958">#2958</a>)</li>
<li><a
href="473d170a67"><code>473d170</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2957">#2957</a>)</li>
<li><a
href="dfbc111165"><code>dfbc111</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2955">#2955</a>)</li>
<li>See full diff in <a
href="https://github.com/googleapis/google-api-go-client/compare/v0.216.0...v0.217.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/api&package-manager=go_modules&previous-version=0.216.0&new-version=0.217.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-15 22:49:10 -08:00
Evan Simkowitz
df5d279f01
Small dependabot change to trigger new run (#1744) 2025-01-15 22:24:21 -08:00
Evan Simkowitz
56b8e98b5b
Honor SSH IdentitiesOnly config (#1742)
Skip SSH Agent client initialization if the IdentitiesOnly config is set
for a given host

For now, we only need to support this for the SSH Agent, but if we ever
add support for PKCS11Provider or SecurityKeyProvider, we'll need to
update this check to also ignore those.

See https://man.openbsd.org/ssh_config#IdentitiesOnly
2025-01-15 20:47:15 -08:00
Evan Simkowitz
68a88857cb
Check for wildcard/conditional host patterns in ~/.ssh/config before normalizing for connections dropdown (#1743) 2025-01-15 20:34:42 -08:00
Sylvie Crowe
e555eaa765
Limit User Input Modal to One Window (#1730)
When a connection request is made from a block, only ask for user input
in the window that made the request.
2025-01-15 18:55:12 -08:00
Sylvie Crowe
309571e288
fix: yvalMeta .name null check (#1740)
While it is rare, we have had users report an error where the access of
`.name` in SingleLinePlot causes a bug. The only time this could happen
would be a null `yvalMeta`. This makes it so the .name check is skipped
if yvalMeta is null. Addresses #1724.
2025-01-15 18:54:15 -08:00
Evan Simkowitz
8cf0b31858
Fix dir preview table header width so it still expands to fill whole view (#1737)
My last fix to set `width: fit-content` for the dir preview table header
ended up meaning that if the widget is wider than the table, the header
wouldn't extend to the full width of the widget. Now it will.
2025-01-14 22:52:57 -08:00
Evan Simkowitz
598b2dfdba
Try reverting Dependabot changes (#1736)
I found a discrepancy in our docs package that could be the reason for
the Dependabot timeouts. I'm going to try reverting my earlier changes
to see if this is fixed
2025-01-14 22:24:44 -08:00
Evan Simkowitz
5040ec9dd6
Remove pull_request edited event from workflows (#1735)
edited didn't do what i thought it did, it actually gets triggered if
the comments or title change, which we don't want. synchronize is for
when the head changes
2025-01-14 22:20:08 -08:00
Evan Simkowitz
675b2c4ba2
don't run checkin actions on draft prs (#1734)
don't run checkin actions if the pr is in draft
2025-01-14 22:12:11 -08:00
Tarun Kumar S
a05cd2ec3c
Fix for test results not displaying in checks tab (#1728) 2025-01-14 21:44:16 -08:00
Sylvie Crowe
c1eacb6d61
fix: set wsh ssh rpc timeout to 60 seconds (#1732)
This is required so connections that require user input give the full 60
seconds for the user to type in a password or passphrase.
2025-01-14 16:17:53 -08:00
Mike Sawka
07d07472db
move genconn quote, and getshelltype to shellutil (#1731) 2025-01-14 15:29:36 -08:00
dependabot[bot]
1fd8967fe2
Bump google.golang.org/api from 0.214.0 to 0.216.0 (#1705)
Bumps
[google.golang.org/api](https://github.com/googleapis/google-api-go-client)
from 0.214.0 to 0.216.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/releases">google.golang.org/api's
releases</a>.</em></p>
<blockquote>
<h2>v0.216.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.215.0...v0.216.0">0.216.0</a>
(2025-01-09)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2946">#2946</a>)
(<a
href="fe72ad1a33">fe72ad1</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2947">#2947</a>)
(<a
href="0386e0fba6">0386e0f</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2948">#2948</a>)
(<a
href="a04a14b154">a04a14b</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2950">#2950</a>)
(<a
href="7ad3a5f3ac">7ad3a5f</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2951">#2951</a>)
(<a
href="d6e4f8d046">d6e4f8d</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2953">#2953</a>)
(<a
href="01a17b31be">01a17b3</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2954">#2954</a>)
(<a
href="d4f41c6070">d4f41c6</a>)</li>
</ul>
<h2>v0.215.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.214.0...v0.215.0">0.215.0</a>
(2025-01-01)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2933">#2933</a>)
(<a
href="509aecd4ef">509aecd</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2935">#2935</a>)
(<a
href="b89d85ad60">b89d85a</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2936">#2936</a>)
(<a
href="c1849c7d02">c1849c7</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2942">#2942</a>)
(<a
href="d20ddf36c9">d20ddf3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md">google.golang.org/api's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.215.0...v0.216.0">0.216.0</a>
(2025-01-09)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2946">#2946</a>)
(<a
href="fe72ad1a33">fe72ad1</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2947">#2947</a>)
(<a
href="0386e0fba6">0386e0f</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2948">#2948</a>)
(<a
href="a04a14b154">a04a14b</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2950">#2950</a>)
(<a
href="7ad3a5f3ac">7ad3a5f</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2951">#2951</a>)
(<a
href="d6e4f8d046">d6e4f8d</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2953">#2953</a>)
(<a
href="01a17b31be">01a17b3</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2954">#2954</a>)
(<a
href="d4f41c6070">d4f41c6</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.214.0...v0.215.0">0.215.0</a>
(2025-01-01)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2933">#2933</a>)
(<a
href="509aecd4ef">509aecd</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2935">#2935</a>)
(<a
href="b89d85ad60">b89d85a</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2936">#2936</a>)
(<a
href="c1849c7d02">c1849c7</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2942">#2942</a>)
(<a
href="d20ddf36c9">d20ddf3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="91e61ae982"><code>91e61ae</code></a>
chore(main): release 0.216.0 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2952">#2952</a>)</li>
<li><a
href="d4f41c6070"><code>d4f41c6</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2954">#2954</a>)</li>
<li><a
href="01a17b31be"><code>01a17b3</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2953">#2953</a>)</li>
<li><a
href="d6e4f8d046"><code>d6e4f8d</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2951">#2951</a>)</li>
<li><a
href="2ee9da3fa3"><code>2ee9da3</code></a>
chore(all): update all (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2949">#2949</a>)</li>
<li><a
href="7ad3a5f3ac"><code>7ad3a5f</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2950">#2950</a>)</li>
<li><a
href="a04a14b154"><code>a04a14b</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2948">#2948</a>)</li>
<li><a
href="0386e0fba6"><code>0386e0f</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2947">#2947</a>)</li>
<li><a
href="fe72ad1a33"><code>fe72ad1</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2946">#2946</a>)</li>
<li><a
href="139725ea90"><code>139725e</code></a>
chore: bump min Go version to 1.22 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/2944">#2944</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/googleapis/google-api-go-client/compare/v0.214.0...v0.216.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/api&package-manager=go_modules&previous-version=0.214.0&new-version=0.216.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-14 14:11:44 -08:00
Mike Sawka
a24fe750c5
conn updates 4 (#1726) 2025-01-14 14:09:26 -08:00
Evan Simkowitz
1ded7bdd74
Update packageManager to Yarn 4.6.0 (#1729)
Also removes separate package manager declaration in docs package.json
2025-01-14 14:02:37 -08:00
Sylvie Crowe
a44a1a4b4b
Remove Old Prototype Plot (#1721)
Removes obsolete plot widget from a prototype version of the app.
2025-01-13 11:55:04 -08:00
Sylvie Crowe
99e122d724
RcFileInstall RPC Command (#1720)
Creates an RPC command for installing shell rcfiles instead of relying
on a separate installation session.
2025-01-12 16:31:00 -08:00
Sylvie Crowe
0174e7cd07
RemoteInfo Rpc (#1719)
Adds an Rpc Command for getting RemoteInfo. This is used to replace the
session that was used to determine the shell on remote machines.
2025-01-12 15:22:07 -08:00
Sylvie Crowe
5a7771bf40
Update Wsh Command (#1715)
This adds an RPC command for updating wsh on a remote machine without
starting a new session. It is not being used yet, but will be used for
connections using a single server in the future.
2025-01-10 21:29:06 -08:00
Evan Simkowitz
b26d233997
Update BUILD.md (#1714)
remove typo
2025-01-10 15:27:55 -08:00
Evan Simkowitz
db3de47def
Use Zig for Windows and ARM64 Linux (#1713)
I'm making steps to simplify our build dependencies, consolidating our C
compiler requirements so we only depend on Zig.

Before, we used Zig for x64 but not for arm64. This meant that users
using an ARM dev machine would need to install `build-essentials` and
Zig. We also required MinGW-w64 on Windows, which is a pain to install
since it can be provided by a bunch of different tools, the smallest of
which is like a 2GB install.
2025-01-10 15:23:56 -08:00
Ian Jennings
0812c6ac27
TestDriver: Checks + Comments (#1698) 2025-01-10 14:56:20 -08:00
dependabot[bot]
e3809af132
Bump golang.org/x/crypto from 0.31.0 to 0.32.0 (#1703)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from
0.31.0 to 0.32.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8929309228"><code>8929309</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="4a75ba54c2"><code>4a75ba5</code></a>
all: make function and struct comments match the names</li>
<li>See full diff in <a
href="https://github.com/golang/crypto/compare/v0.31.0...v0.32.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/crypto&package-manager=go_modules&previous-version=0.31.0&new-version=0.32.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 14:10:37 -08:00
Mike Sawka
ba5f929b3f
conn updates 3 (#1711)
lots of misc connection refactoring / fixes:

* adds blocklogger as a way to writing logging information from the backend directly to the a terminal block
* use blocklogger in conncontroller
* use blocklogger in sshclient
* fix remote name in password prompt
* use sh -c to get around shell weirdness
* remove cmd.exe special cases
* use GetWatcher().GetFullConfig() rather than re-reading the config file
* change order of things we do when establishing a connection.  ask for wsh up front.  then do domain socket, then connserver
* reduce number of sessions required in the common case when wsh is already installed.  running the connserver is now a "multi-command" which checks if it is installed, then asks for the version
* send jwt token over stdin instead of in initial command string
* fix focus bug for frontend conn modal
* track more information in connstatus
* simplify wshinstall function
* add nowshreason
* other misc cleanup
2025-01-10 14:09:32 -08:00
Evan Simkowitz
37929d90c1
Simplify regex and fix tests for pamparse (#1712)
Simplifies the regex so it doesn't have as many negations.

Adds an option to pass the `/etc/passwd` values needed for pamparse so
that we can mock them for the tests. Also allows us to only grab those
values once at launch, since they shouldn't change.
2025-01-10 13:53:24 -08:00
dependabot[bot]
ffcab2a16a
Bump golang.org/x/term from 0.27.0 to 0.28.0 (#1706)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.27.0 to
0.28.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="40b02d69cd"><code>40b02d6</code></a>
go.mod: update golang.org/x dependencies</li>
<li>See full diff in <a
href="https://github.com/golang/term/compare/v0.27.0...v0.28.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/term&package-manager=go_modules&previous-version=0.27.0&new-version=0.28.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 11:27:05 -08:00
Evan Simkowitz
a39b3ca480
Simplify logging for XDG override (#1709) 2025-01-10 11:20:45 -08:00
Evan Simkowitz
9ff430bbd7
Better XDG directory variable fix for Snap (#1701)
This fix will overwrite the XDG variables when creating a shell session
and only if the installation is Snap (as determined by the presence of
the `$SNAP` environment variable). It also will parse the user's PAM
files, if present, to ensure that if the XDG variables were set there,
they're restored. Otherwise, if the variables are set in an RC or
profile file, we'll already pick it up when the shell starts.

closes #1696

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-01-10 11:06:15 -08:00
Evan Simkowitz
1ff578b3f5
Remove major bumps from dependabot (#1708) 2025-01-10 11:03:24 -08:00
Evan Simkowitz
e0fe6c6e85
Fix dependabot (#1707)
Attempting to fix timeouts in the npm dependabot runs. I noticed that
some of the exclusion patterns were incomplete
2025-01-10 10:52:09 -08:00
Mike Sawka
0d7439e0fd
roadmap updates (#1700) 2025-01-09 12:58:47 -08:00
Sylvie Crowe
a3cbcc5a77
Widget Config Magnify (#1689)
Introduces a configuration option to widgets to allow them to magnify on
startup.
2025-01-08 15:02:55 -08:00
Evan Simkowitz
5c3eba2644
Fix directory preview head width (#1691)
The head was set to `100%`, which meant that it only was as wide as the
viewport, rather than its contents, which can overflow. Now, the width
is `fit-content`, which allows it to overflow with its contents so that
the background and border extend the full width.
2025-01-07 17:17:28 -08:00
Evan Simkowitz
22561d847f
Add brief project structure summary to contributing doc (#1690) 2025-01-07 14:32:38 -08:00
Sylvie Crowe
cee698bbeb
fix: default en_US.UTF-8 if lang has problems (#1687)
Mac's `defaults read -g AppleLocale` command can return locales that
don't have a language in /usr/share/locale. This prevents those locales
from using a language with UTF-8 support. This will use en_US.UTF-8 as a
default to cover those cases if there are problems. As per usual, if
LANG is already set, that value will be used instead.
2025-01-07 11:47:40 -08:00
Mike Sawka
55f03730bc
add term:allowbracketedpaste, default false (#1688) 2025-01-07 10:55:26 -08:00
Evan Simkowitz
b51ff834b2
Happy new year! (#1684)
Update all 2024 references to 2025
2025-01-04 20:56:57 -08:00
Evan Simkowitz
d2802ad297
Add init task (#1681)
Add init task to initialize the dev environment
2025-01-04 20:18:31 -08:00
Mike Sawka
2d11ac439c
update ROADMAP with v0.11.1, v0.12, some future stuff. (#1682) 2025-01-03 14:24:52 -08:00
dependabot[bot]
0ecf9cc323
Bump github.com/shirou/gopsutil/v4 from 4.24.11 to 4.24.12 (#1679)
Bumps
[github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil) from
4.24.11 to 4.24.12.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/shirou/gopsutil/releases">github.com/shirou/gopsutil/v4's
releases</a>.</em></p>
<blockquote>
<h2>v4.24.12</h2>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<h3>cpu</h3>
<ul>
<li>enable all rules of perfsprint linter by <a
href="https://github.com/mmorel-35"><code>@​mmorel-35</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1762">shirou/gopsutil#1762</a></li>
<li>refactor(darwin): optimize string allocation by <a
href="https://github.com/uubulb"><code>@​uubulb</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1768">shirou/gopsutil#1768</a></li>
</ul>
<h3>mem</h3>
<ul>
<li>enable testifylint linter by <a
href="https://github.com/mmorel-35"><code>@​mmorel-35</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1743">shirou/gopsutil#1743</a></li>
</ul>
<h3>net</h3>
<ul>
<li>[openbsd] set ConnectionsPid to return NotImplemented by <a
href="https://github.com/tuftedocelot"><code>@​tuftedocelot</code></a>
in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1757">shirou/gopsutil#1757</a></li>
<li>Refactor: merge base functions to net.go by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1764">shirou/gopsutil#1764</a></li>
</ul>
<h3>process</h3>
<ul>
<li>fix[posix,windows]: release process after os.FindProcess() by <a
href="https://github.com/NitroCao"><code>@​NitroCao</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1716">shirou/gopsutil#1716</a></li>
<li>enable all rules of testifylint linter by <a
href="https://github.com/mmorel-35"><code>@​mmorel-35</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1761">shirou/gopsutil#1761</a></li>
<li>[freebsd]: add CWD by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1765">shirou/gopsutil#1765</a></li>
</ul>
<h3>sensors</h3>
<ul>
<li>fix[darwin]: memory leak and string corruption in ARM Mac
temperature sensors by <a
href="https://github.com/chuangbo"><code>@​chuangbo</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1767">shirou/gopsutil#1767</a></li>
</ul>
<h3>Other Changes</h3>
<ul>
<li>fix[github]: deprecate macos-12, add macos-15 by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1760">shirou/gopsutil#1760</a></li>
<li>[doc]: Update README for supported metrics. by <a
href="https://github.com/shirou"><code>@​shirou</code></a> in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1766">shirou/gopsutil#1766</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/NitroCao"><code>@​NitroCao</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1716">shirou/gopsutil#1716</a></li>
<li><a
href="https://github.com/tuftedocelot"><code>@​tuftedocelot</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1757">shirou/gopsutil#1757</a></li>
<li><a href="https://github.com/chuangbo"><code>@​chuangbo</code></a>
made their first contribution in <a
href="https://redirect.github.com/shirou/gopsutil/pull/1767">shirou/gopsutil#1767</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/shirou/gopsutil/compare/v4.24.11...v4.24.12">https://github.com/shirou/gopsutil/compare/v4.24.11...v4.24.12</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="252dcbf8a2"><code>252dcbf</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1768">#1768</a>
from uubulb/darwin</li>
<li><a
href="1f39525d2d"><code>1f39525</code></a>
refactor(darwin): optimize string allocation</li>
<li><a
href="bcd0c0a661"><code>bcd0c0a</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1767">#1767</a>
from chuangbo/fix/memory-leak-and-string-corruption-...</li>
<li><a
href="19082b35ae"><code>19082b3</code></a>
fix: memory leak and string corruption in ARM Mac temperature
sensors</li>
<li><a
href="b8e1b282ba"><code>b8e1b28</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1766">#1766</a>
from shirou/feat/update_readme</li>
<li><a
href="b9890b1fbc"><code>b9890b1</code></a>
[doc]: Update README for supported metrics.</li>
<li><a
href="90efec0764"><code>90efec0</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1765">#1765</a>
from shirou/feat/process_cwd_freebsd</li>
<li><a
href="a284e30930"><code>a284e30</code></a>
[process][freebsd]: add CWD</li>
<li><a
href="ab66f2d0e1"><code>ab66f2d</code></a>
Merge pull request <a
href="https://redirect.github.com/shirou/gopsutil/issues/1764">#1764</a>
from shirou/refactor/net_merge_base_functions</li>
<li><a
href="69c2c10b0f"><code>69c2c10</code></a>
feat: enable build test on OpenBSD.</li>
<li>Additional commits viewable in <a
href="https://github.com/shirou/gopsutil/compare/v4.24.11...v4.24.12">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/shirou/gopsutil/v4&package-manager=go_modules&previous-version=4.24.11&new-version=4.24.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-03 14:02:09 -08:00
Evan Simkowitz
a219ea5c9b
Fix keybindings not working for ephemeral nodes (#1678) 2025-01-03 09:02:19 -08:00
Sylvie Crowe
e388128010
fix: nil dereference in nowsh error messages (#1673)
This showed up when the domain socket request failed but the connection
request did not. With this fixed, this case correctly enters nowsh mode.
2025-01-02 16:02:27 -08:00
Mike Sawka
4fd6d36d8e
conn updates 2 (#1660)
* use pwsh over powershell if installed (on windows) for default shell
* refactor blockcontroller.DoRunShellCommand into a "setup" and "manage" phase
* fix wshcmd-conn to also disconnect wsl connections
* new genconn interfaces to make a standardized environment to run SSH/WSL commands via `sh -c`.  also create better quoting functions that are composable
* replace html/template with text/template for shell command templating (avoids special chars getting turned into HTML entities, breaking the commands)
* do not reinstall wsh if the installed version has a higher version (prevents flip-flopping on shared systems)
* simplify clientOs/clientArch detection.  use `uname -sm`.  also validate the os/arch combo as compatible with our builds.
* replace CpHostToRemote with CpWshToRemote. hard codes wsh paths inside of the function instead of having them passed in (quoting restrictions)
* new SyncBuffer class to use with commands that properly synchronizes Writes/String output
* fix setTermSize to actually update DB with terminal size
2025-01-02 14:15:32 -08:00
Sylvie Crowe
6c53eb884a
fix: remove context from wsl connection struct (#1663)
This fixes a WSL bug where disconnecting the controller does not allow
the controller to restart until the app reboots.
2025-01-02 13:05:28 -08:00
Mike Sawka
3fc400960b
terminal multi-input for tab (#1643) 2025-01-02 10:06:47 -08:00