Commit Graph

48 Commits

Author SHA1 Message Date
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
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
46ba21030b save/restore activesessionid, set session name, much more sophisticated session switching logic 2022-08-26 16:21:19 -07:00
sawka
0d314000ac fully support new remoteptr 2022-08-24 13:21:54 -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
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
a67ae15b32 implement history 2022-08-11 23:45:15 -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
f8753830ff close ptyout file 2022-07-08 13:28:22 -07:00
sawka
ec6c1f5a9a working on multiple sessions/windows 2022-07-08 13:23:45 -07:00
sawka
368c16eb60 get input working 2022-07-07 22:46:28 -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
f7666fe480 checkpoint on storing cmd in db 2022-07-07 00:10:37 -07:00
sawka
d4acb79585 data getting written to ptyout files in scripthaus dir 2022-07-06 22:46:22 -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
fc18df0601 checkpoint 2022-07-03 12:01:56 -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
60199713e8 checkpoint, ensuredefaultsession 2022-07-01 14:45:33 -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
eb7ac5136e updates, switch to mshell package 2022-06-23 10:15:56 -07:00
sawka
4e18bbe44e process comment commands 2022-06-20 21:57:23 -07:00
sawka
859a1611b8 get runnerproc args from init packet 2022-06-17 18:11:16 -07:00
sawka
848100247c got stdin fifo input working 2022-06-17 15:30:42 -07:00
sawka
2a5cde908a got streaming ptyout via websockets working 2022-06-16 22:22:47 -07:00
sawka
862014bd82 add windowid 2022-06-16 15:51:41 -07:00
sawka
a5fedb3668 minor changes to ws 2022-06-16 01:09:56 -07:00
sawka
6f7a883cfd updates for websocket ping/pong logic, longer timeouts 2022-06-15 18:13:16 -07:00
sawka
0c1cacc20d capture stderr from runner process. new packet format to distinguish it from real packets. warn when the runner exits 2022-06-15 16:27:22 -07:00
sawka
f8f3ce65fb get cmddata sent via websocket connection 2022-06-14 22:39:09 -07:00
sawka
d80517caa0 run command submitted via run-command 2022-06-13 11:11:56 -07:00
sawka
22aa999a7b initial checkin of main-server 2022-06-12 13:39:48 -07:00