sawka
|
2b7045443d
|
update termopts for running commands, send specialinput packet
|
2022-09-05 20:08:59 -07:00 |
|
sawka
|
54d2f5d761
|
queue entire functions when cmdline has not been committed to DB yet. new inputpacket handling (for winsize)
|
2022-09-05 16:31:22 -07:00 |
|
sawka
|
a20ee78e6d
|
send line update via websocket synchronously before calling the cmdwait callback. ensures line arrives on fe client before any command updates or pty updates
|
2022-09-05 14:54:17 -07:00 |
|
sawka
|
54e0ecffe1
|
create a remote update queue to ensure that we send the line update before we send cmd updates
|
2022-09-05 14:49:23 -07:00 |
|
sawka
|
b980fd6b74
|
on ws connect, send sessionlist and remotelist
|
2022-09-05 12:42:09 -07:00 |
|
sawka
|
74953c71ac
|
more remote notifications (to keep FE in sync)
|
2022-09-04 13:51:49 -07:00 |
|
sawka
|
c3961891ce
|
pass realoffset back in header for /api/ptyout
|
2022-09-03 23:57:05 -07:00 |
|
sawka
|
3639e2454d
|
send termopts.cols to cmdrunner
|
2022-09-03 23:36:15 -07:00 |
|
sawka
|
247647cea8
|
remote connect/disconnect working. fix issue with remoteconnected in resolver. working on remote:new
|
2022-09-01 12:47:10 -07:00 |
|
sawka
|
d55bb8812b
|
finishing up historytype and making remotes update
|
2022-08-31 23:12:26 -07:00 |
|
sawka
|
1a88d564bb
|
return different history types
|
2022-08-31 13:28:52 -07:00 |
|
sawka
|
86f3eabf5e
|
remote bugfix and filter remotes on client side
|
2022-08-31 12:01:16 -07:00 |
|
sawka
|
8b11af6822
|
add non-parsing commands to history
|
2022-08-31 00:01:42 -07:00 |
|
sawka
|
76854b6079
|
remote get-history-items, add show param and session/window ids to history command
|
2022-08-30 23:11:06 -07:00 |
|
sawka
|
c03bbe8715
|
working on history queries
|
2022-08-29 19:18:02 -07:00 |
|
sawka
|
03dd6b1a7e
|
pass 'uicontext' with fecmd, use that to resolve ids instead of kwargs. other bug fixes
|
2022-08-29 16:31:06 -07:00 |
|
sawka
|
f2a5985349
|
working on history command, remote:showall
|
2022-08-28 14:24:05 -07:00 |
|
sawka
|
9d6cc1f67a
|
clear window
|
2022-08-26 22:01:29 -07:00 |
|
sawka
|
aff174fa80
|
tab colors
|
2022-08-26 21:44:18 -07:00 |
|
sawka
|
1997b9ea44
|
implement screen:set name
|
2022-08-26 17:51:28 -07:00 |
|
sawka
|
9b6d4e928d
|
use generic resolver for screens
|
2022-08-26 17:29:32 -07:00 |
|
sawka
|
ca29e28c85
|
register handlers instead of a switch statement. make resolve more generic
|
2022-08-26 17:17:33 -07:00 |
|
sawka
|
773e881bf6
|
move resolver into its own file
|
2022-08-26 16:24:07 -07:00 |
|
sawka
|
46ba21030b
|
save/restore activesessionid, set session name, much more sophisticated session switching logic
|
2022-08-26 16:21:19 -07:00 |
|
sawka
|
00b88f7f13
|
fix regexp, add dump argument to show parsed command
|
2022-08-26 13:18:26 -07:00 |
|
sawka
|
dc8cba79da
|
add quoting/shell-parsing for commands
|
2022-08-26 13:12:17 -07:00 |
|
sawka
|
d0806bbd63
|
remove lock around connecting remote
|
2022-08-24 22:57:41 -07:00 |
|
sawka
|
5b1b67cf55
|
quick fixes
|
2022-08-24 18:56:50 -07:00 |
|
sawka
|
0d314000ac
|
fully support new remoteptr
|
2022-08-24 13:21:54 -07:00 |
|
sawka
|
4f686e891b
|
big updates to remoteinstance, push changes through stack
|
2022-08-24 02:14:16 -07:00 |
|
sawka
|
51f7b0798b
|
add prompt to cmd
|
2022-08-23 21:05:49 -07:00 |
|
sawka
|
3423b63213
|
switch back to slash, combine file and metacmd completions
|
2022-08-23 17:26:42 -07:00 |
|
sawka
|
dd5e6259bd
|
add remote:show command
|
2022-08-23 14:01:52 -07:00 |
|
sawka
|
946f31988c
|
switch from '/' to '@' as metacommand character
|
2022-08-23 13:37:08 -07:00 |
|
sawka
|
709920ad8e
|
add ephemeral to line
|
2022-08-23 13:14:14 -07:00 |
|
sawka
|
429c41cfd0
|
show environment
|
2022-08-22 18:53:38 -07:00 |
|
sawka
|
292c76808a
|
setenv and unset working
|
2022-08-22 18:38:52 -07:00 |
|
sawka
|
dca199b492
|
update to use env0
|
2022-08-22 16:26:44 -07:00 |
|
sawka
|
525fe77a5f
|
send initpk.env in remotestate
|
2022-08-22 16:00:25 -07:00 |
|
sawka
|
9d150dc7e3
|
connectmode, add stubs for export/setenv command
|
2022-08-21 12:31:29 -07:00 |
|
sawka
|
b2a2b6252d
|
send cmd updates for donepk
|
2022-08-19 17:14:53 -07:00 |
|
sawka
|
03cfabd9b6
|
convert ptyout files to CF files (fixed size circular buffer files). connect to remotes with their own controlling terminal and capture that terminal output. POC to send password to controlling terminal to login.
|
2022-08-19 13:23:00 -07:00 |
|
sawka
|
b142e350be
|
capture uname
|
2022-08-17 12:54:40 -07:00 |
|
sawka
|
249bf88a4d
|
testing a 2nd remote with mshell --server
|
2022-08-17 12:24:09 -07:00 |
|
sawka
|
f86de49e31
|
updates to remote
|
2022-08-16 15:08:28 -07:00 |
|
sawka
|
b26b9924f3
|
updates to tables, lineid, sharemode, owneruserid
|
2022-08-16 12:08:26 -07:00 |
|
sawka
|
8186e54cd2
|
add client table, ensure client id / public / private key
|
2022-08-15 18:42:25 -07:00 |
|
sawka
|
550fd89472
|
fix datapos
|
2022-08-13 10:27:22 -07:00 |
|
sawka
|
62bbe18171
|
remove PosAppend weirdness and track filepos in remote
|
2022-08-12 13:59:31 -07:00 |
|
sawka
|
a67ae15b32
|
implement history
|
2022-08-11 23:45:15 -07:00 |
|
sawka
|
d5cf15e946
|
update history table
|
2022-08-11 12:07:41 -07:00 |
|
sawka
|
adca87e9db
|
better directory vs file completion
|
2022-08-11 10:21:45 -07:00 |
|
sawka
|
81c564aca9
|
implement simple command completions
|
2022-08-10 18:33:32 -07:00 |
|
sawka
|
a175d236c1
|
implement /cd and /compgen
|
2022-08-09 14:24:57 -07:00 |
|
sawka
|
66f547a695
|
implement new session and switch session
|
2022-08-08 16:21:46 -07:00 |
|
sawka
|
4785253a10
|
return interactive update
|
2022-07-15 17:53:23 -07:00 |
|
sawka
|
6807547ff7
|
updates, switch to new fecmd packet to run all UI commands through
|
2022-07-15 17:37:32 -07:00 |
|
sawka
|
5b1eb383e3
|
screen deletion working, bug fixes
|
2022-07-15 01:57:45 -07:00 |
|
sawka
|
275e177218
|
checkpoint
|
2022-07-14 18:39:40 -07:00 |
|
sawka
|
c1ace6f5d6
|
updates for getting pty updates sent again
|
2022-07-13 14:16:08 -07:00 |
|
sawka
|
db841f2951
|
checkpoint, adding 'screen' concept to contain windows
|
2022-07-12 21:51:17 -07:00 |
|
sawka
|
11087c10be
|
txwrap can now be properly nested. add json conversion functions to quick
|
2022-07-12 16:10:46 -07:00 |
|
sawka
|
6351082900
|
checkpoint
|
2022-07-12 14:27:16 -07:00 |
|
sawka
|
2957a03864
|
checkpoint
|
2022-07-12 13:50:44 -07:00 |
|
sawka
|
ec6c1f5a9a
|
working on multiple sessions/windows
|
2022-07-08 13:23:45 -07:00 |
|
sawka
|
368c16eb60
|
get input working
|
2022-07-07 22:46:28 -07:00 |
|
sawka
|
5fcbe209bb
|
implement globalstore callback for cmd status changes
|
2022-07-07 22:13:45 -07:00 |
|
sawka
|
45dfeb69f6
|
updates to allow cmd tailing to work with mshell
|
2022-07-07 21:39:25 -07:00 |
|
sawka
|
4cc55c46ca
|
only allow one instance of sh2 to run at a time (flock). HUP all running processes when sh2 starts or remote connection ends
|
2022-07-07 16:29:14 -07:00 |
|
sawka
|
e4bf4b4ef8
|
checkpoint, pass remote vars to client for prompt str, get commands showing
|
2022-07-07 13:26:46 -07:00 |
|
sawka
|
f7666fe480
|
checkpoint on storing cmd in db
|
2022-07-07 00:10:37 -07:00 |
|
sawka
|
d4acb79585
|
data getting written to ptyout files in scripthaus dir
|
2022-07-06 22:46:22 -07:00 |
|
sawka
|
98e46399be
|
checkpoint, getting closer to running a command via mshell server
|
2022-07-06 19:01:00 -07:00 |
|
sawka
|
2755be315d
|
checkpoint for migrating to remoteinstance
|
2022-07-05 16:54:49 -07:00 |
|
sawka
|
123fdfe3bb
|
comment flow working
|
2022-07-05 10:51:47 -07:00 |
|
sawka
|
5b2e88ec32
|
checkpoint
|
2022-07-04 22:18:01 -07:00 |
|
sawka
|
fc18df0601
|
checkpoint
|
2022-07-03 12:01:56 -07:00 |
|
sawka
|
17172b158c
|
checkpoint
|
2022-07-02 13:31:56 -07:00 |
|
sawka
|
e9a09d071e
|
checkpoint, compiling with mshell --server
|
2022-07-01 17:38:36 -07:00 |
|
sawka
|
f08bd2427e
|
working on remote runtime
|
2022-07-01 14:57:42 -07:00 |
|
sawka
|
60199713e8
|
checkpoint, ensuredefaultsession
|
2022-07-01 14:45:33 -07:00 |
|
sawka
|
b85be3457c
|
checkpoint, working on db calls
|
2022-07-01 14:07:13 -07:00 |
|
sawka
|
643f08e584
|
checkpoint, working on setting up db
|
2022-07-01 12:17:19 -07:00 |
|
sawka
|
3f01ff44c3
|
add migration commands into sh2-server (because migrate cli doesn't ship with sqlite3)
|
2022-07-01 10:48:14 -07:00 |
|
sawka
|
7340d89089
|
get sh2-server compiling again
|
2022-06-30 17:02:19 -07:00 |
|
sawka
|
4e18bbe44e
|
process comment commands
|
2022-06-20 21:57:23 -07:00 |
|
sawka
|
2a5cde908a
|
got streaming ptyout via websockets working
|
2022-06-16 22:22:47 -07:00 |
|
sawka
|
862014bd82
|
add windowid
|
2022-06-16 15:51:41 -07:00 |
|
sawka
|
6f7a883cfd
|
updates for websocket ping/pong logic, longer timeouts
|
2022-06-15 18:13:16 -07:00 |
|
sawka
|
f8f3ce65fb
|
get cmddata sent via websocket connection
|
2022-06-14 22:39:09 -07:00 |
|
sawka
|
d80517caa0
|
run command submitted via run-command
|
2022-06-13 11:11:56 -07:00 |
|
sawka
|
22aa999a7b
|
initial checkin of main-server
|
2022-06-12 13:39:48 -07:00 |
|