35 Commits

Author SHA1 Message Date
Mike Sawka c7a60a80f8 initwshrpc in electron (#391) 2024-09-17 23:10:09 -07:00
Mike Sawka 3939648bbb fe wsh router + wsh client impl (#381) 2024-09-16 11:59:39 -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
sawka 7b866ed3a8 fix wshrpc concurrency 2024-09-06 16:06:50 -07:00
Mike Sawka 8ad84fd78a update all gopkg imports (#330) 2024-09-05 14:25:45 -07:00
Mike Sawka 3e0ca6b41e connection handling / block controller handling (#326) 2024-09-05 00:21:08 -07:00
Mike Sawka a7746bc5cc fix rpc no-route errors, fix fileopen in preview (#313) 2024-09-03 21:08:51 -07:00
Sylvie Crowe 636d71e652 Change Connection UI (#269)
This allows the user to select different connections from the terminal
block. Some features include:
- a status bar at the top of the term block that shows your current
connection
- an icon next to the status bar that shows whether the connection is
currently connected
- the ability to click the status bar and type in a new connection in
order to change the current connection

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-08-23 18:12:40 -07:00
Mike Sawka 037497e7f1 wsh edit working (#252) 2024-08-20 14:56:48 -07:00
Mike Sawka 534fcc5d0a client support for rpc cancel (#249) 2024-08-19 15:44:30 -07:00
Mike Sawka 85874f92ca set up remote connserver (#245) 2024-08-18 21:26:44 -07:00
Sylvie Crowe c30188552f Add Unix Domain Socket Listener when Establishing Connections (#243)
This makes it possible to send wsh commands from wsh on a remote session
to wavesrv running locally. The exact behavior of running those commands
isn't implemented, but the underlying interface is added here.
2024-08-17 11:21:25 -07:00
Mike Sawka a451743937 POC showing how statfile can call the conn wshclient to get file info (#242) 2024-08-16 18:45:45 -07:00
Mike Sawka ae7d85630b two level routing (based on how network switches work) (#241) 2024-08-16 16:49:49 -07:00
sawka c962391b71 hook up wsh router to wps 2024-08-13 18:19:29 -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 f464223aab switch from 'main' to 'term' for main terminal blockfile 2024-08-12 15:53:34 -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 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
sawka a23b5ca0e0 panic handlers in wshrpc. also stop waveai from grabbing focus all the time 2024-08-01 00:03:19 -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
Mike Sawka 776ccd7da0 streaming rpc support (backend streams to the frontend) (#120) 2024-07-18 15:56:04 -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