Commit Graph

1394 Commits

Author SHA1 Message Date
sawka
677a60d735 unload terminals when they go out of view to save memory 2022-09-08 13:44:24 -07:00
sawka
400815a622 change signum to signame 2022-09-06 16:42:21 -07:00
sawka
cde8bed381 switch to signame for cross system compat 2022-09-06 16:41:05 -07:00
sawka
ec143de8b4 handle term resize / SIGWINCH, move from mpio to shexec (used UnknownPacketReporter). change signum to signame for cross-system compatibility 2022-09-06 16:40:41 -07:00
sawka
670f54a5b4 checkpoint 2022-09-06 13:58:07 -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
4f4e12c00a add single-from-server option to mshell, send message packets with ck back to server, report unknown packets back to server 2022-09-06 12:57:54 -07:00
sawka
8801ab147b force update usedRows when terminal is resized 2022-09-06 00:14:48 -07:00
sawka
2b7045443d update termopts for running commands, send specialinput packet 2022-09-05 20:08:59 -07:00
sawka
f4ec8f85fa send window:resize command 2022-09-05 20:06:44 -07:00
sawka
bc476c3c23 working on resizing terminal to match window size 2022-09-05 17:21:31 -07:00
sawka
082fb7a8b4 updates to inputpacket. inputpacket is split between datapacket and specialinputpacket 2022-09-05 16:32:08 -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
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