Commit Graph

86 Commits

Author SHA1 Message Date
sawka
a20da453f4 cr command (bare) shows all remotes 2022-12-30 17:01:17 -08:00
sawka
2f7aa94405 sudo remote and colors 2022-12-29 00:07:16 -08:00
sawka
f5e0801978 update local mshell binary path -- use the mshell packaged with Prompt app 2022-12-28 23:09:37 -08:00
sawka
e1e1a52e06 autoconnect remotes 2022-12-28 16:59:54 -08:00
sawka
16b808bb21 working on autoconnect 2022-12-28 13:56:19 -08:00
sawka
35006dfc65 rename sh2/scripthaus to prompt. maxcommandlen set. 2022-12-19 17:36:19 -08:00
sawka
c6a2118451 big update, got statediff and state_base working. updates to remote_instance and cmd tables/structures 2022-11-28 18:03:02 -08:00
sawka
b2dc52e166 checkpoint 2022-11-28 00:13:00 -08:00
sawka
d5ea9e0221 implement cmdfinal (hangup) from server 2022-11-27 14:12:15 -08:00
sawka
d4e4b497fb scripthaus env vars. also mshellbinaryfrompackage for install 2022-11-01 21:42:56 -07:00
sawka
d9163d6af4 use log.Printf, ensure sc home dir 2022-10-31 12:40:45 -07:00
sawka
29dbf5dde9 runcommand now sets the state at the time of execution 2022-10-27 22:52:38 -07:00
sawka
31a38cbdae state updates (yay) 2022-10-27 22:22:17 -07:00
sawka
2df33621fd stateful commands block other commands while they are running, introduce waiting state 2022-10-27 22:00:10 -07:00
sawka
56259e3f05 fix cmd done lock ordering (actually start the cmdwait). implement reset command to re-initialize the terminal 2022-10-27 17:10:36 -07:00
sawka
0060c8ffc2 big update to handle cmd returnstate (still need to process new state with donepacket) 2022-10-27 00:33:50 -07:00
sawka
cabf8a50ff updates for new shellvars 2022-10-25 12:31:29 -07:00
sawka
3b7dd7c01e working on source command 2022-10-22 14:46:39 -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
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
3beb00998b support sending password to remote 2022-09-30 17:22:28 -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
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
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
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
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
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
74953c71ac more remote notifications (to keep FE in sync) 2022-09-04 13:51:49 -07:00