Commit Graph

66 Commits

Author SHA1 Message Date
sawka
ea897bf53c send telemetry data to pcloud. pcloud dev settings (with PCLOUD_ENDPOINT). /client:show and /client:set commands (for no-telemetry) 2023-01-22 23:10:18 -08:00
sawka
353bfad434 change numlines to numcommands. log all interactive eval commands to activity table. stub pcloud telemetry call 2023-01-17 16:02:44 -08:00
sawka
64ec186fa0 new API for client to log activity 2023-01-16 23:36:52 -08:00
sawka
be978a25b2 reinit focus 2023-01-11 20:53:46 -08:00
sawka
9ab5d1e529 implement devmode with alternate directory/ports so main/dev can be run simultaneously 2022-12-28 17:47:12 -08:00
sawka
16b808bb21 working on autoconnect 2022-12-28 13:56:19 -08:00
sawka
1697010d55 handle simple authkey authentication for local-server 2022-12-20 16:16:46 -08:00
sawka
21bbab88c8 authkey get/generate. new schema for incognito/closed screens/sessions. rename scbase functions to use Prompt name 2022-12-19 18:52:08 -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
d9163d6af4 use log.Printf, ensure sc home dir 2022-10-31 12:40:45 -07:00
sawka
f35adf1da0 watch stdin, kill server is stdin is closed 2022-10-30 13:05:53 -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
f5b9ea07a1 local flag on remote, ensure 1 local remote. on archive, change to local remote 2022-10-04 11:45:24 -07:00
sawka
3beb00998b support sending password to remote 2022-09-30 17:22:28 -07:00
sawka
d251cbdd88 save/restore winsize w/ clientdata 2022-09-25 00:26:33 -07:00
sawka
42683e6f4a working on remote pty output 2022-09-14 23:10:35 -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
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