Commit Graph

131 Commits

Author SHA1 Message Date
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
21617298e9 origtermopts, clientdata to/from map 2022-09-21 22:02:38 -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
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
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
2b7045443d update termopts for running commands, send specialinput packet 2022-09-05 20:08:59 -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
c3961891ce pass realoffset back in header for /api/ptyout 2022-09-03 23:57:05 -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
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
ca29e28c85 register handlers instead of a switch statement. make resolve more generic 2022-08-26 17:17:33 -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
dc8cba79da add quoting/shell-parsing for commands 2022-08-26 13:12:17 -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
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
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
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
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
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
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
862014bd82 add windowid 2022-06-16 15:51:41 -07:00
sawka
d80517caa0 run command submitted via run-command 2022-06-13 11:11:56 -07:00