Commit Graph

1381 Commits

Author SHA1 Message Date
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
d6d7e8bb25 send connect from ws and get session/remotes updates 2022-09-05 12:42:48 -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
fb899cd458 read ptyoffset from header and initialize appropriately 2022-09-03 23:57:35 -07:00
sawka
c3961891ce pass realoffset back in header for /api/ptyout 2022-09-03 23:57:05 -07:00
sawka
225f120fbe move width from ScreenWindowView to ScreenWindow. pass termopts.cols in uicontext to cmdrunner 2022-09-03 23:39:50 -07:00
sawka
57b54198e5 limit maxptysize 2022-09-03 23:38:35 -07:00
sawka
3639e2454d send termopts.cols to cmdrunner 2022-09-03 23:36:15 -07:00
sawka
39dacb988a default term rows should be 24 (not 25), add min/max values as well 2022-09-03 23:26:57 -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
4a2b3cc381 remotes update in model update 2022-08-31 23:15:18 -07:00
sawka
d55bb8812b finishing up historytype and making remotes update 2022-08-31 23:12:26 -07:00
sawka
3ab2023423 show global/session history 2022-08-31 13:29:59 -07:00
sawka
f2451329cd suppress Cmd-W (close window) 2022-08-31 13:29:06 -07:00
sawka
1a88d564bb return different history types 2022-08-31 13:28:52 -07:00
sawka
604ec459db pass size always to createMainWindow 2022-08-31 12:46:18 -07:00
sawka
3936db0429 allow nil for display 2022-08-31 12:45:59 -07:00
sawka
86f3eabf5e remote bugfix and filter remotes on client side 2022-08-31 12:01:16 -07:00
sawka
bdf5e0fc09 filter history by remote 2022-08-31 12:00:53 -07:00
sawka
e2212ad661 history query opts 2022-08-31 00:02:16 -07:00
sawka
8b11af6822 add non-parsing commands to history 2022-08-31 00:01:42 -07:00
sawka
9ed993078d big update to get base history info panel working 2022-08-30 23:12:37 -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
087c0c4f1f history checkpoint 2022-08-30 17:05:35 -07:00
sawka
d037666ad1 checkpoint on history rendering 2022-08-30 15:25:51 -07:00
sawka
35a2fb71af checkpoint on layout of history info panel 2022-08-30 12:58:06 -07:00
sawka
8eab57e1ba checkpoint on history info panel, move info management to input model 2022-08-30 12:22:42 -07:00
sawka
8e4b02cec4 run mshell env in interactive bash shell with a new pty. this picks up special interactive environment vars from bash startup scripts 2022-08-30 00:23:03 -07:00
sawka
387eda2a3d checkpoint on new historymodel 2022-08-29 21:58:04 -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
c4d45ef344 pageup/pagedown by page 'size' 2022-08-29 15:42:50 -07:00
sawka
b0b6f18cfb scroll lines, uicontext 2022-08-29 13:54:11 -07:00
sawka
b8311c4e77 prevent some info message flash when running commands. pass 'interactive' flag for commands run through cmdinput 2022-08-29 11:23:20 -07:00
sawka
15178248a2 history item types 2022-08-28 14:24:25 -07:00
sawka
f2a5985349 working on history command, remote:showall 2022-08-28 14:24:05 -07:00
sawka
3a8f3dab38 lines spacer to have content scroll up from bottom 2022-08-26 22:07:12 -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
9f794d6590 tab colors 2022-08-26 21:43:48 -07:00
sawka
1997b9ea44 implement screen:set name 2022-08-26 17:51:28 -07:00
sawka
152db74075 add merge to Screen object 2022-08-26 17:50:15 -07:00
sawka
c3d3647111 use new relative arguments for screen switching instead of computing it on FE 2022-08-26 17:35:36 -07:00
sawka
9b6d4e928d use generic resolver for screens 2022-08-26 17:29:32 -07:00
sawka
e75765ee11 sessions update for get-all-sessions, show sessionidx number and no hash sign 2022-08-26 17:28:56 -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