Commit Graph

328 Commits

Author SHA1 Message Date
sawka
2a7a5c739c remove incognito check for now 2023-03-13 15:54:35 -07:00
sawka
f8abfcb563 bug fixes 2023-03-13 12:23:36 -07:00
sawka
49e56f91cd bug fixes for screen primary 2023-03-13 12:10:23 -07:00
sawka
1059a10727 remove screens from session. add screenlinestype (replaces 'window' lines) 2023-03-13 10:50:29 -07:00
sawka
fd33157130 more window/screen_window references removed 2023-03-13 02:09:29 -07:00
sawka
e154aacaad checkpoint, backend changes for consolidating window and screen_window to screen 2023-03-13 01:52:30 -07:00
sawka
861cf8d126 fix shutdown loop -- have to ignore SIGHUP 2023-03-12 15:16:49 -07:00
sawka
34d4962b7a more logging, backup db on migration, fix issue with dbmapper (writing byte arrays) 2023-03-12 14:42:18 -07:00
sawka
db5cecb1da first use of go generics for DB mapping functions. add cloud session tables. refactor some of dbops to use new generics. 2023-03-09 18:44:01 -08:00
sawka
f2529581e1 checkpoint, cloud sessions 2023-03-08 17:16:06 -08:00
sawka
f5fd231208 promptenc for encrypting/decrypting some plain fields in a struct to an encrypted field (json + aead) 2023-03-08 14:38:46 -08:00
sawka
b20f85f8a2 commit keygen package (unused) 2023-03-08 09:50:07 -08:00
sawka
b2347f0b45 commit shparse test 2023-03-08 09:49:13 -08:00
sawka
ca527e6643 bump to v0.1.6 2023-03-06 15:53:08 -08:00
sawka
66f55ad85c fix bugs with history query paging 2023-03-06 15:42:50 -08:00
sawka
454c8758cd bug fixes, allow cmd filtering 2023-03-06 13:54:38 -08:00
sawka
501b067ead add a filtered search mode to history search 2023-03-06 11:47:44 -08:00
sawka
7516f880ae history search bugfixes 2023-03-05 13:53:24 -08:00
sawka
56b74f35f3 allow many more history query search options 2023-03-03 18:12:24 -08:00
sawka
22d0c5687e call to purge history items 2023-03-03 13:31:16 -08:00
sawka
60e17f160f add activesessionid to switch screen 2023-03-03 10:15:57 -08:00
sawka
77d27272a5 line:view command 2023-03-02 23:24:01 -08:00
sawka
b842ef3215 add lines/cmds to historyview data. fix bug with lineid not getting added for comment commands 2023-03-02 22:26:15 -08:00
sawka
014f1132a7 working on playbooks and history view 2023-03-02 00:31:19 -08:00
sawka
fa393e2eec make a fake cmd for 'cr'. add 'connect' 2023-02-28 17:50:42 -08:00
sawka
b557da8694 bump to v0.1.5 2023-02-27 12:28:22 -08:00
sawka
83314c3e48 update termfontsize command /client:set 2023-02-26 14:33:01 -08:00
sawka
fe3fb6d377 updates for activity, buildtime, etc. 2023-02-23 15:17:47 -08:00
sawka
8e1f34b93b telemetry updates 2023-02-21 22:41:56 -08:00
sawka
33af77b88c minor, finish bookmark functionality 2023-02-21 22:11:06 -08:00
sawka
e4113b5f51 bookmark edit, delete, getbyid 2023-02-21 18:03:13 -08:00
sawka
40526a6fdf bookmarks view 2023-02-20 22:08:23 -08:00
sawka
63c620aea1 get bookmarks 2023-02-20 22:00:07 -08:00
sawka
3845429fd2 insert bookmark 2023-02-20 21:39:29 -08:00
sawka
d0b03c359a setscreenidx and getdbversion 2023-02-20 15:41:39 -08:00
sawka
5fa7bcc108 bump to version 0.1.4 2023-02-16 15:49:22 -08:00
sawka
bc0abacfd2 use new external module github.com/sawka/txwrap 2023-02-14 16:17:54 -08:00
sawka
57a8e49d73 updates for line renderer 2023-02-06 00:30:23 -08:00
sawka
171fa9128d fix invalid height error 2023-02-01 09:45:33 -08:00
sawka
9914bd080b bump version to v0.1.3 2023-02-01 00:48:00 -08:00
sawka
c0876a6ab6 line:setheight command 2023-01-31 22:21:19 -08:00
sawka
108517bd08 add /screen:reset to remove all remote instances for screen 2023-01-31 17:56:56 -08:00
sawka
848f321ae7 backend version, check telemetry send more often (but send on the same interval) -- works better with computer suspend. 2023-01-25 22:49:50 -08:00
sawka
518e900403 bump to v0.1.2 2023-01-25 22:30:25 -08:00
sawka
18048a675a fix /scren:purge hanging issue 2023-01-25 14:29:12 -08:00
sawka
67ad7d017e add session:purge (to be compatible with screen) 2023-01-25 13:57:36 -08:00
sawka
bf36d4f942 interactive connect -- does not force ssh batch mode 2023-01-23 13:47:57 -08:00
sawka
ae15fbdf91 create remote should show remote page, and force an interactive connect 2023-01-23 13:47:36 -08:00
sawka
5914e57afc export PROMPT and PROMPT_VERSION, always start remote 2023-01-23 13:28:00 -08:00
sawka
f8c675c3e7 updates to telemetry, separate telemetry commands, use json data 2023-01-23 12:54:32 -08:00
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
dc051beeb8 add client:set command 2023-01-19 11:10:12 -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
85c943f65a bump version to v0.1.1 2023-01-16 23:39:58 -08:00
sawka
64ec186fa0 new API for client to log activity 2023-01-16 23:36:52 -08:00
sawka
db727b232f fix unused variable 2023-01-11 22:26:27 -08:00
sawka
be978a25b2 reinit focus 2023-01-11 20:53:46 -08:00
sawka
aa56db0bc4 fix userhostre to accept IP addresses 2023-01-11 17:16:20 -08:00
sawka
7f15092550 change back to /history 2023-01-02 12:13:55 -08:00
sawka
0f599207cf clear can either archive or purge lines 2023-01-02 12:09:19 -08:00
sawka
96b25900fc archive/purge lines for clear 2023-01-02 12:09:01 -08:00
sawka
a20da453f4 cr command (bare) shows all remotes 2022-12-30 17:01:17 -08:00
sawka
2f7aa94405 sudo remote and colors 2022-12-29 00:07:16 -08:00
sawka
f5e0801978 update local mshell binary path -- use the mshell packaged with Prompt app 2022-12-28 23:09:37 -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
e1e1a52e06 autoconnect remotes 2022-12-28 16:59:54 -08:00
sawka
16b808bb21 working on autoconnect 2022-12-28 13:56:19 -08:00
sawka
43689ac3f8 line archived (not line:hidden). remove some debugging code 2022-12-27 23:12:27 -08:00
sawka
73bc162824 session:show command 2022-12-26 19:06:46 -08:00
sawka
4974e9405f use scbase not base for fileops 2022-12-26 18:49:45 -08:00
sawka
5933287e0d unarchive session 2022-12-26 18:42:55 -08:00
sawka
af16ab1aed working on session archive/delete 2022-12-26 16:09:21 -08:00
sawka
a485294f0b bugfixes for screen archives 2022-12-26 12:38:47 -08:00
sawka
6bc948af5d woring on screen archiving 2022-12-26 12:18:13 -08:00
sawka
f1a46dea82 screen archiving 2022-12-25 13:21:48 -08:00
sawka
5645a01482 archived not closed 2022-12-25 13:03:11 -08:00
sawka
962261ec35 updates for /screen:close 2022-12-23 15:56:29 -08:00
sawka
d2530339e4 line hidden attribute. add line:hide and line:purge commands 2022-12-21 17:45:40 -08:00
sawka
b0a40ee629 signal command 2022-12-20 21:58:58 -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
2684aaef85 change fn prefix that mshell uses to mshell 2022-12-19 17:39:19 -08:00
sawka
35006dfc65 rename sh2/scripthaus to prompt. maxcommandlen set. 2022-12-19 17:36:19 -08:00
sawka
8624e9c844 add line staring to schema and to cmdrunner 2022-12-05 22:59:00 -08:00
sawka
81554e8fd2 fix concurrent write on websocket (only happened under intense write stress) 2022-11-29 12:45: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
b2dc52e166 checkpoint 2022-11-28 00:13:00 -08:00
sawka
d5ea9e0221 implement cmdfinal (hangup) from server 2022-11-27 14:12:15 -08:00
sawka
301bfaa0be write a quick set of functions to pack and unpack byte arrays 2022-11-24 15:16:18 -08:00
sawka
576d02c98f make a simple linediff 2022-11-24 15:05:08 -08:00
sawka
d286f4d6ab checkpoint, add winsize to uicontext 2022-11-23 14:34:49 -08:00
sawka
7882232a0e meta+command compgen working. hide compgen command from completion (underscores) 2022-11-23 11:12:05 -08:00
sawka
ac8180a1ae fix default anchor value 2022-11-22 13:52:31 -08:00
sawka
00356fc297 fix comp complete 2022-11-22 00:32:27 -08:00
sawka
bd3595c954 checkpoint, testing new compgen. fixed superoffset bug 2022-11-22 00:26:41 -08:00
sawka
bb3e12fee7 checkpoint, extend working with all the crazy quote balancing for subs 2022-11-21 23:06:58 -08:00
sawka
75f662a188 checkpoint -- extension 2022-11-21 19:06:59 -08:00
sawka
8729d1f491 strwithpos uses rune position not byte position 2022-11-21 16:37:09 -08:00
sawka
9f7b5c8226 checkpoint, return comptype 'var' when we're in a var word 2022-11-21 14:47:00 -08:00
sawka
ff11290fa0 checkpoint, none/simple both need to recurse 2022-11-21 14:25:02 -08:00