waveterm/wavesrv/pkg/cmdrunner
Sylvie Crowe a449cec33a
Sudo Config Gui (#603)
* feat: add gui elements to configure ssh pw cache

This adds a dropdown for on/off/notimeout, a number entry box for a
timeout value, and a toggle for clearing when the computer sleeps.

* fix: improve password timeout entry

This makes the password timeout more consistent by  using an inline
settings element. It also creates the inline settings element to parse
the input.

* feat: turn sudo password caching on and off

* feat: use configurable sudo timeout

This makes it possible to control how long waveterm stores your sudo
password. Note that if it changes, it immediately clears the cached
passwords.

* fix: clear existing sudo passwords if switched off

When the sudo password store state is changed to "off", all existing
passwords must immediately be cleared automatically.

* feat: allow clearing sudo passwords on suspend

This option makes it so the sudo passwords will be cleared when the
computer falls asleep.  It will never be used in the case where the
password is set to never time out.

* feat: allow notimeout to prevent sudo pw clear

This option allows the sudo timeout to be ignored while it is selected.

* feat: adjust current deadline based on user config

This allows the deadline to update as changes to the config are
happening.

* fix: reject a sudopwtimeout of 0 on the backend

* fix: use the default sudoPwTimeout for empty input

* fix: specify the timeout length is minutes

* fix: store sudopwtimeout in ms instead of minutes

* fix: formatting the default sudo timeout

By changing the order of operations, this no longer shows up as NaN if
the default is used.

* refactor: consolidate inlinesettingstextedit

This removes the number variant and combines them into the same class
with an option to switch between the two behaviors.

* refactor: consolidate textfield and numberfield

This removes the number variant of textfield. The textfield component
can now act as a numberfield when  the optional isNumber prop is true.
2024-04-25 18:19:43 -07:00
..
cmdrunner.go Sudo Config Gui (#603) 2024-04-25 18:19:43 -07:00
linux-decls.txt move to wavesrv directory to prepare for merge to waveterm 2023-10-16 13:19:34 -07:00
resolver.go update statediff algorithm for wavesrv / remote instances (#530) 2024-03-28 16:56:39 -07:00
shparse_test.go add special case for conda activate/deactivate as well to rtnstate detection 2023-12-18 15:07:13 -08:00
shparse.go Sudo Caching (#573) 2024-04-16 16:58:17 -07:00
termopts.go Restart command (#253) 2024-01-26 16:25:21 -08:00
updatetypes.go Move bookmarks, history, playbook, and telemetry code out of sstore (#493) 2024-03-25 20:20:52 -07:00