44 Commits

Author SHA1 Message Date
Evan Simkowitz 4907552379 Fix number parsing for MetaSettingsType (#806)
json.Unmarshal parses all numbers to float64, which breaks any integer
settings values. This PR changes MetaSettingsType.UnmarshalJSON to use
json.Decoder, which is capable of parsing into a meta-type json.Number,
which can be interpreted as a float or an integer. It also properly
handles pointer types.
2024-09-23 18:51:30 -07:00
Mike Sawka c7a60a80f8 initwshrpc in electron (#391) 2024-09-17 23:10:09 -07:00
Evan Simkowitz 936d4bfb30 Migrate websocket eventbus messages to wps (#367)
This migrates all remaining eventbus events sent over the websocket to
use the wps interface. WPS is more flexible for registering events and
callbacks and provides support for more reliable unsubscribes and
resubscribes.
2024-09-11 18:03:55 -07:00
Mike Sawka 5fe0cae244 wsh web (#358) 2024-09-10 12:50:55 -07:00
sawka 62eb04090a fix shell integration directories, add bash/zsh completion scripts 2024-09-09 22:26:10 -07:00
sawka 16d01b43eb make some wsh commands hidden 2024-09-09 21:00:47 -07:00
sawka b85cfc9d2d write wsh conn disconnectall 2024-09-06 15:58:54 -07:00
Mike Sawka 8ad84fd78a update all gopkg imports (#330) 2024-09-05 14:25:45 -07:00
Mike Sawka 7bc154771a implement wsh conn commands (#319) 2024-09-03 23:04:19 -07:00
Mike Sawka afd83f0f6f wsh connreinstall (#317) 2024-09-03 22:15:02 -07:00
sawka f5d2d4c5a4 working on wsh ssh 2024-09-03 13:02:38 -07:00
Evan Simkowitz 383a71fc25 Fix infinite loop in layoutAtom, improve iconbutton disable code (#306)
Fixes an infinite loop in the layoutModel atom synchronization that
would cause the atom to update indefinitely when the root node is
deleted.

Also adds a dedicated `disabled` flag for the IconButton decl so we can
disable the onClick handler when the button is disabled.

Also updates the Magnify toggle button to use this new flag, so that
when there's only one leaf in a layout, the magnify button is disabed.
2024-09-03 11:24:45 -07:00
sawka 0084f8eb97 view/edit, fix wsh editor (this is the one for EDITOR var) 2024-09-03 10:44:16 -07:00
sawka 70ef76be62 implement cmd:i, hook up telemetry switch, fix some settings types 2024-09-02 20:21:35 -07:00
Evan Simkowitz aab487541b Resolve BlockNum in WSH commands (#301) 2024-08-30 20:20:25 -07:00
Mike Sawka e488862355 remote sysinfo data plotting (#294) 2024-08-30 11:33:04 -07:00
sawka 6e704f74e3 suppress the error message after it has shown once 2024-08-29 18:08:05 -07:00
Mike Sawka a3aa941b68 implement wsh setconfig (#284) 2024-08-27 22:02:21 -07:00
Evan Simkowitz 23261a7a98 Add flag for specifying a new node as magnified on insert (#253) 2024-08-20 20:14:14 -07:00
Mike Sawka 037497e7f1 wsh edit working (#252) 2024-08-20 14:56:48 -07:00
Mike Sawka 85874f92ca set up remote connserver (#245) 2024-08-18 21:26:44 -07:00
Sylvie Crowe 6bc3054733 SSH Wsh Install (#225)
This change adds the wsh installation to remote shells, so they have
access to its commands.
2024-08-15 21:32:08 -07:00
sawka 961502916b implement remotewritefile 2024-08-13 18:36:11 -07:00
Mike Sawka 844451ea0d wsh routing + proxy (#224)
lots of changes, including:
* source/route to rpcmessage
* rpcproxy
* wshrouter
* bug fixing
* wps uses routeids not clients
2024-08-13 16:52:35 -07:00
sawka a2aef5b0ce add wsh term to open a new terminal in directory 2024-08-12 16:14:19 -07:00