Evan Simkowitz
ccf344d107
Fix path traversal vulnerabilities ( #817 )
...
Properly validate expanded paths to ensure they are not attempting path
traversal attacks
2024-09-24 18:24:39 -07:00
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
Mike Sawka
c4a0e85d32
update wsh code for easier creation of client servers (for readfile/readdir/fileinfo) ( #218 )
2024-08-12 10:58:39 -07:00
sawka
b057bd2078
wsh view with an http url will open web
2024-08-09 18:54:09 -07:00
sawka
4498ca8e9d
allow 'this' for blockid
2024-08-09 18:37:23 -07:00
Mike Sawka
5165d099c2
wsh working over domain socket (and assorted bug fixes) ( #217 )
2024-08-09 17:46:52 -07:00
Mike Sawka
cfc875bc21
metadata updates (frontend typing) ( #174 )
2024-07-30 12:33:28 -07:00
sawka
e70f0bb9ab
use ParseFloat, not ParseInt
2024-07-29 12:02:44 -07:00
Mike Sawka
9df9c99fbd
checkpoint on domain sockets + update background colors + transparency ( #160 )
2024-07-26 13:30:11 -07:00
Mike Sawka
6c2ef6cb99
working on vdom implementation, other fixes ( #136 )
2024-07-23 13:16:53 -07:00
sawka
fd3581fc42
wsh deleteblock
2024-07-18 18:14:11 -07:00
Mike Sawka
01b5d71709
new wshrpc mechanism ( #112 )
...
lots of changes. new wshrpc implementation. unify websocket, web,
blockcontroller, domain sockets, and terminal inputs to all use the new
rpc system.
lots of moving files around to deal with circular dependencies
use new wshrpc as a client in wsh cmd
2024-07-17 15:24:43 -07:00
sawka
f3b649aef1
optional 2nd arg to wsh getmeta to get a specific metadata key
2024-07-09 11:50:52 -07:00
sawka
e859847edb
dynamic icons for preview, and icons per view
2024-06-21 16:01:51 -07:00
Mike Sawka
0a19aa31d4
working on wsh createblock (wsh view). bug fix for emain closed windows ( #64 )
2024-06-20 00:00:00 -07:00
Mike Sawka
e46906d423
wsh rpc working ( #55 )
...
lots of iterations on an RPC protocol. getting wsh working with a
getmeta/setmeta command in addition to html mode.
2024-06-17 09:58:28 -07:00
sawka
014c6fb2ec
redo ptybuffer, move to wshutil to help with stdin processing. change wsh to use cobra
2024-06-14 14:43:47 -07:00
sawka
8a3a527343
setup cobra for wsh
2024-06-14 12:19:36 -07:00
Mike Sawka
8e3540f754
working on ijson and wsh magic ( #53 )
2024-06-13 23:54:04 -07:00
sawka
45f20bb5c3
wsh rpc client
2024-05-29 23:17:23 -07:00
sawka
95ce1cc86d
checkpoint on new objectservice
2024-05-26 23:05:11 -07:00