waveterm/wavesrv/pkg
Sylvie Crowe 50953839b1
SSH Cleanup (#370)
* feat: allow user input verification for install

Depending on the method of installing waveshell, it may be desired to
pop up a modal for user verification. This is a first pass at handling
these special cases. The focus is on installing while previously
connected and auto installing while connecting.

* chore: update mshell to waveshell in error msg

* fix: run waveshell remotely with chosen shell

This ensures that the appropriate shell is used to run the waveshell
command remotely. It hasn't made a difference in my experience but is
desired in order to match the local launch.

* chore: simplify command to run waveshell remotely

This change removes the extra check for a directory and just tries to
run the command instead. It pipes the usual error to null and prints an
init packet instead.

* fix: prevent wavesrv crash during bad connection

The waveshell launch can fail in two different ways. If it has a
recoverable failure, it will attempt to reinstall waveshell. If not, it
is supposed to print an error. The unrecoverable case was causing a
segfault due to a misnamed variable. This change corrects it.

* fix: correct auto install user input modal

The previous combination of flags to catch auto install did not work
properly. This corrects them.

* chore: add "s" to countdown for user input timer

Makes it clear that the countdown is seconds.

* fix: remove auto password entry for sudo remote

The auto password entry for sudo remotes printed an error that was not
in response to the user input. To avoid this confusion, it has been
removed entirely.

* feat: add auto focus to user input modal

This automatically moves the cursor to the text box when the modal pops
up.

* feat: handle enter/escape keys for password entry

The password modal previously had to have buttons clicked to close it.
This change allows the user to close it with whatever is bound to escape
and to submit with whatever is bound to enter.

* chore: update an any type to correct type

* fix: correct keyboard event type from last commit

* fix: check identity files are readable early

Previously, an invalid identity file would send a dummy signer if the
file didn't exist. This resulted in extra sign in attempts that have no
chance of success. This could cause someone to get locked out of a
connection because of too many failed attempts. By performing the check
early, we no longer have to make these extra attempts.

* fix: only check global known hosts as root

The root user should not be able to write to a local known_hosts file.
If it does, it risks overwriting the default global behavior for only
the root user. This problem would only occur if waveterm was launched as
root, but we should protect against it just in case.

* feat: add remote name for remote password prompt

This change clarifies the remote name for password and keyboard
interactive prompts. It displays a message that authentication has been
requested from <hostname>. It is not added to publickey passphrase since
those phrases are specific to the key and not the remote.

* revert "simplify cmd to run waveshell remotely"

This reverts commit 4e5eea51b6.
2024-03-04 11:56:20 -08:00
..
cmdrunner SSH Cleanup (#370) 2024-03-04 11:56:20 -08:00
comp zsh support (#227) 2024-01-16 16:11:04 -08:00
dbutil big update to screen/session delete, and clear (#199) 2023-12-27 13:11:53 -08:00
keygen Fixing linting errors in unused keygen function (#135) 2023-12-12 14:17:03 -08:00
mapqueue add license notice (#37) 2023-10-16 21:31:13 -07:00
pcloud zsh cleanup and stats (#247) 2024-01-23 17:19:03 -08:00
promptenc zsh support (#227) 2024-01-16 16:11:04 -08:00
releasechecker Update go-github to latest version and tidy up dependencies (#337) 2024-02-26 11:39:04 -08:00
remote SSH Cleanup (#370) 2024-03-04 11:56:20 -08:00
rtnstate zsh support (#227) 2024-01-16 16:11:04 -08:00
scbase Get version for build-universal from the build-helper output, use package.json for all versioning (#321) 2024-02-23 17:44:00 -08:00
scbus Use IsEmpty rather than nullcheck for scbus types 2024-02-16 12:14:05 -08:00
scpacket Break model update code out of sstore (#290) 2024-02-15 16:45:47 -08:00
scws Break model update code out of sstore (#290) 2024-02-15 16:45:47 -08:00
shparse zsh support (#227) 2024-01-16 16:11:04 -08:00
sstore Theme switching (#361) 2024-03-01 00:01:23 -08:00
userinput Break model update code out of sstore (#290) 2024-02-15 16:45:47 -08:00
wsshell add license notice (#37) 2023-10-16 21:31:13 -07:00