sawka
|
cabf8a50ff
|
updates for new shellvars
|
2022-10-25 12:31:29 -07:00 |
|
sawka
|
c9195b3cfd
|
move some sh parsing to shexec
|
2022-10-24 21:29:11 -07:00 |
|
sawka
|
3b7dd7c01e
|
working on source command
|
2022-10-22 14:46:39 -07:00 |
|
sawka
|
caf8b1d151
|
use statediff for output for setenv, unset, and cd
|
2022-10-20 16:14:14 -07:00 |
|
sawka
|
e55f7fb4fe
|
working with new static commands
|
2022-10-18 18:03:02 -07:00 |
|
sawka
|
fdc5a289a9
|
use packet.ShellState, send aliases and functions as part of state
|
2022-10-16 23:51:04 -07:00 |
|
sawka
|
c940c7b85b
|
cmd-fg, update when cmd done back to input
|
2022-10-11 23:11:43 -07:00 |
|
sawka
|
61dac018fb
|
allow negative numbers for anchor offset
|
2022-10-11 13:23:38 -07:00 |
|
sawka
|
62fc2594ef
|
checkpoint cmd-fg
|
2022-10-11 01:11:04 -07:00 |
|
sawka
|
d19f29c467
|
single-thread DB access. send selectedline updates for run/comment commands
|
2022-10-10 17:30:48 -07:00 |
|
sawka
|
43cf55b25e
|
commands for line selection, updated resolver to allow 'S' and 'E'
|
2022-10-07 01:08:03 -07:00 |
|
sawka
|
2d089b98fb
|
tweaks to genericresolver (and bug fix)
|
2022-10-06 23:58:38 -07:00 |
|
sawka
|
fbe652b932
|
add scrolltop and selectedline to screen_window
|
2022-10-06 18:33:54 -07:00 |
|
sawka
|
f5b9ea07a1
|
local flag on remote, ensure 1 local remote. on archive, change to local remote
|
2022-10-04 11:45:24 -07:00 |
|
sawka
|
539e71ad47
|
only show remote upgrade if initpk was received
|
2022-10-04 11:15:59 -07:00 |
|
sawka
|
998a65b873
|
remote editing checkpoint
|
2022-10-03 19:04:48 -07:00 |
|
sawka
|
1c46b79de3
|
checkpoint, visual editing of remotes
|
2022-10-03 12:25:43 -07:00 |
|
sawka
|
4d075e32bf
|
updateremote (non-visual)
|
2022-10-02 18:52:55 -07:00 |
|
sawka
|
f342cae630
|
refactor the remote edit argument parsing
|
2022-10-01 13:23:36 -07:00 |
|
sawka
|
3beb00998b
|
support sending password to remote
|
2022-09-30 17:22:28 -07:00 |
|
sawka
|
23759b7283
|
working on remote:new
|
2022-09-30 16:23:40 -07:00 |
|
sawka
|
62c3390d31
|
use batchmode for non-manual connections. don't allow duplicate aliases for remotes
|
2022-09-30 16:05:48 -07:00 |
|
sawka
|
534ef04cca
|
checkpoint on remote:add dialog
|
2022-09-30 14:46:51 -07:00 |
|
sawka
|
a60680f855
|
remote install
|
2022-09-26 23:23:04 -07:00 |
|
sawka
|
d143ca2820
|
working on /remote:install
|
2022-09-26 21:09:43 -07:00 |
|
sawka
|
d251cbdd88
|
save/restore winsize w/ clientdata
|
2022-09-25 00:26:33 -07:00 |
|
sawka
|
bf4fa2031b
|
autoinstall, fix version check
|
2022-09-24 22:42:52 -07:00 |
|
sawka
|
982d600d9b
|
checkpoint, working on autoinstall, semantic versioning, remoteshowall
|
2022-09-24 19:54:06 -07:00 |
|
sawka
|
eb00fde596
|
send uname/mshellversion with remotestate
|
2022-09-21 23:26:24 -07:00 |
|
sawka
|
21617298e9
|
origtermopts, clientdata to/from map
|
2022-09-21 22:02:38 -07:00 |
|
sawka
|
8f608d9d9e
|
number formatting and better termopts formatting
|
2022-09-21 12:39:55 -07:00 |
|
sawka
|
5a6bebc51f
|
show some line info
|
2022-09-20 21:50:36 -07:00 |
|
sawka
|
a6637b51c9
|
getlinecmd and getlineidbyarg
|
2022-09-20 17:37:49 -07:00 |
|
sawka
|
db142d97ec
|
add linenum to line, nextlinenum to window
|
2022-09-20 17:01:25 -07:00 |
|
sawka
|
eab785409a
|
fix remoteidx insert code
|
2022-09-20 14:23:53 -07:00 |
|
sawka
|
f75b75790c
|
session stats/size
|
2022-09-20 14:15:20 -07:00 |
|
sawka
|
fad718d571
|
fixup connect/disconnect to deal with connecting state. use context to cancel remote that is in connecting state
|
2022-09-16 12:28:09 -07:00 |
|
sawka
|
06e3a86f53
|
add status connecting
|
2022-09-15 17:44:39 -07:00 |
|
sawka
|
f2e0f9457d
|
handle remote input (can enter password manually now)
|
2022-09-15 17:09:04 -07:00 |
|
sawka
|
fcc1737fc4
|
format errors
|
2022-09-15 00:37:17 -07:00 |
|
sawka
|
c600027d72
|
remote pty work
|
2022-09-15 00:17:23 -07:00 |
|
sawka
|
42683e6f4a
|
working on remote pty output
|
2022-09-14 23:10:35 -07:00 |
|
sawka
|
83974e10dd
|
resolve a remote by id or partial id
|
2022-09-14 13:01:52 -07:00 |
|
sawka
|
c8b8f78249
|
allow remote kwarg to be passed to select a different remote for a command
|
2022-09-14 12:56:05 -07:00 |
|
sawka
|
002876a07b
|
add remoteidx
|
2022-09-14 12:06:55 -07:00 |
|
sawka
|
a74ee69da5
|
working on setting up remotes
|
2022-09-13 17:11:36 -07:00 |
|
sawka
|
6f71866663
|
remote archiving, bug fixes
|
2022-09-13 12:06:12 -07:00 |
|
sawka
|
cde8bed381
|
switch to signame for cross system compat
|
2022-09-06 16:41:05 -07:00 |
|
sawka
|
46f48a947c
|
better logging for which remote received the packet
|
2022-09-06 13:00:30 -07:00 |
|
sawka
|
283d276e99
|
show remote/ck for messages
|
2022-09-06 12:58:16 -07:00 |
|
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 |
|