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 |
|
sawka
|
ff11be5922
|
checkpoint on more completion/expansion
|
2022-11-21 12:55:53 -08:00 |
|
sawka
|
39ac41c448
|
working on expand
|
2022-11-19 14:05:38 -08:00 |
|
sawka
|
d469fed490
|
working on getting comppos to work recursively
|
2022-11-18 19:05:03 -08:00 |
|
sawka
|
54e42ad10e
|
checkpoint on finding command completion point
|
2022-11-18 16:16:31 -08:00 |
|
sawka
|
3474177f28
|
split cmdnone on command separators
|
2022-11-18 14:57:25 -08:00 |
|
sawka
|
a630606020
|
working on integrating position. identify cmd assignment words. make group words consistent. always copy Raw runes. fixup command whitespace
|
2022-11-18 14:26:52 -08:00 |
|
sawka
|
a599dc473a
|
split words into simple commands. identify bash keywords. light parsing of bash language to get command separation
|
2022-11-18 00:09:18 -08:00 |
|
sawka
|
082b146409
|
extension functions, word meta
|
2022-11-16 23:52:10 -08:00 |
|
sawka
|
7f4e5c0ef1
|
checkpoint, starting extend
|
2022-11-16 22:17:38 -08:00 |
|
sawka
|
475d7cd647
|
subparse backticks and dollar double quote
|
2022-11-16 12:00:44 -08:00 |
|
sawka
|
ec2de4609b
|
add QC to word, refactor makeWord, fix special variables
|
2022-11-16 11:13:15 -08:00 |
|
sawka
|
f1958eaac7
|
recursive parsing for double quotes, subshells, and variable expansions
|
2022-11-16 00:37:22 -08:00 |
|
sawka
|
d44242fe71
|
checkpoint on new shparse
|
2022-11-15 10:27:36 -08:00 |
|
sawka
|
b9fd4df60f
|
words -> str. test roundtrip
|
2022-11-15 00:39:53 -08:00 |
|
sawka
|
06724528cc
|
checkpoint
|
2022-11-15 00:36:30 -08:00 |
|
sawka
|
9da092816a
|
checkpoint
|
2022-11-14 19:57:29 -08:00 |
|
sawka
|
55767e3256
|
remove shellescape dependency
|
2022-11-14 13:56:50 -08:00 |
|
sawka
|
24f17ff5e9
|
checkpoint shparse
|
2022-11-14 13:56:28 -08:00 |
|
sawka
|
90bcb09b3e
|
hook up new command completion
|
2022-11-10 18:51:20 -08:00 |
|
sawka
|
afbdf644bf
|
checkpoint on comp
|
2022-11-10 16:00:51 -08:00 |
|
sawka
|
f81bea6658
|
check in some tests for comp package
|
2022-11-10 15:39:13 -08:00 |
|
sawka
|
2ab8795643
|
comp checkpoint
|
2022-11-10 15:28:39 -08:00 |
|
sawka
|
055dc7c8ac
|
checkpoint on compgen
|
2022-11-10 13:52:51 -08:00 |
|
sawka
|
848f7164a3
|
checkpoint on completion
|
2022-11-09 20:38:28 -08:00 |
|
sawka
|
d225c988ed
|
checkpoint on new completion parsing function
|
2022-11-03 19:16:14 -07:00 |
|
sawka
|
d7b67582eb
|
use deepequal for vars
|
2022-11-02 18:45:13 -07:00 |
|
sawka
|
d4e4b497fb
|
scripthaus env vars. also mshellbinaryfrompackage for install
|
2022-11-01 21:42:56 -07:00 |
|
sawka
|
d9163d6af4
|
use log.Printf, ensure sc home dir
|
2022-10-31 12:40:45 -07:00 |
|
sawka
|
d6ba16613c
|
store migrations in go source (via embed)
|
2022-10-31 12:24:21 -07:00 |
|
sawka
|
260fc2d313
|
working on server control and packaging
|
2022-10-30 12:52:40 -07:00 |
|
sawka
|
29dbf5dde9
|
runcommand now sets the state at the time of execution
|
2022-10-27 22:52:38 -07:00 |
|
sawka
|
31a38cbdae
|
state updates (yay)
|
2022-10-27 22:22:17 -07:00 |
|
sawka
|
2df33621fd
|
stateful commands block other commands while they are running, introduce waiting state
|
2022-10-27 22:00:10 -07:00 |
|
sawka
|
56259e3f05
|
fix cmd done lock ordering (actually start the cmdwait). implement reset command to re-initialize the terminal
|
2022-10-27 17:10:36 -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
|
d50ed6ca6c
|
work on evalbracketargs
|
2022-10-26 14:51:12 -07:00 |
|
sawka
|
cabf8a50ff
|
updates for new shellvars
|
2022-10-25 12:31:29 -07:00 |
|
sawka
|
c9195b3cfd
|
move some sh parsing to shexec
|
2022-10-24 21:29:11 -07:00 |
|
sawka
|
3b7dd7c01e
|
working on source command
|
2022-10-22 14:46:39 -07:00 |
|
sawka
|
caf8b1d151
|
use statediff for output for setenv, unset, and cd
|
2022-10-20 16:14:14 -07:00 |
|
sawka
|
e55f7fb4fe
|
working with new static commands
|
2022-10-18 18:03:02 -07:00 |
|
sawka
|
fdc5a289a9
|
use packet.ShellState, send aliases and functions as part of state
|
2022-10-16 23:51:04 -07:00 |
|
sawka
|
c940c7b85b
|
cmd-fg, update when cmd done back to input
|
2022-10-11 23:11:43 -07:00 |
|
sawka
|
61dac018fb
|
allow negative numbers for anchor offset
|
2022-10-11 13:23:38 -07:00 |
|
sawka
|
62fc2594ef
|
checkpoint cmd-fg
|
2022-10-11 01:11:04 -07:00 |
|
sawka
|
d19f29c467
|
single-thread DB access. send selectedline updates for run/comment commands
|
2022-10-10 17:30:48 -07:00 |
|
sawka
|
43cf55b25e
|
commands for line selection, updated resolver to allow 'S' and 'E'
|
2022-10-07 01:08:03 -07:00 |
|
sawka
|
2d089b98fb
|
tweaks to genericresolver (and bug fix)
|
2022-10-06 23:58:38 -07:00 |
|
sawka
|
fbe652b932
|
add scrolltop and selectedline to screen_window
|
2022-10-06 18:33:54 -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
|
539e71ad47
|
only show remote upgrade if initpk was received
|
2022-10-04 11:15:59 -07:00 |
|
sawka
|
998a65b873
|
remote editing checkpoint
|
2022-10-03 19:04:48 -07:00 |
|
sawka
|
1c46b79de3
|
checkpoint, visual editing of remotes
|
2022-10-03 12:25:43 -07:00 |
|
sawka
|
4d075e32bf
|
updateremote (non-visual)
|
2022-10-02 18:52:55 -07:00 |
|
sawka
|
f342cae630
|
refactor the remote edit argument parsing
|
2022-10-01 13:23:36 -07:00 |
|
sawka
|
3beb00998b
|
support sending password to remote
|
2022-09-30 17:22:28 -07:00 |
|
sawka
|
23759b7283
|
working on remote:new
|
2022-09-30 16:23:40 -07:00 |
|
sawka
|
62c3390d31
|
use batchmode for non-manual connections. don't allow duplicate aliases for remotes
|
2022-09-30 16:05:48 -07:00 |
|
sawka
|
534ef04cca
|
checkpoint on remote:add dialog
|
2022-09-30 14:46:51 -07:00 |
|
sawka
|
a60680f855
|
remote install
|
2022-09-26 23:23:04 -07:00 |
|
sawka
|
d143ca2820
|
working on /remote:install
|
2022-09-26 21:09:43 -07:00 |
|
sawka
|
d251cbdd88
|
save/restore winsize w/ clientdata
|
2022-09-25 00:26:33 -07:00 |
|
sawka
|
bf4fa2031b
|
autoinstall, fix version check
|
2022-09-24 22:42:52 -07:00 |
|
sawka
|
982d600d9b
|
checkpoint, working on autoinstall, semantic versioning, remoteshowall
|
2022-09-24 19:54:06 -07:00 |
|
sawka
|
eb00fde596
|
send uname/mshellversion with remotestate
|
2022-09-21 23:26:24 -07:00 |
|
sawka
|
21617298e9
|
origtermopts, clientdata to/from map
|
2022-09-21 22:02:38 -07:00 |
|
sawka
|
8f608d9d9e
|
number formatting and better termopts formatting
|
2022-09-21 12:39:55 -07:00 |
|
sawka
|
5a6bebc51f
|
show some line info
|
2022-09-20 21:50:36 -07:00 |
|
sawka
|
a6637b51c9
|
getlinecmd and getlineidbyarg
|
2022-09-20 17:37:49 -07:00 |
|
sawka
|
db142d97ec
|
add linenum to line, nextlinenum to window
|
2022-09-20 17:01:25 -07:00 |
|
sawka
|
eab785409a
|
fix remoteidx insert code
|
2022-09-20 14:23:53 -07:00 |
|
sawka
|
f75b75790c
|
session stats/size
|
2022-09-20 14:15:20 -07:00 |
|
sawka
|
fad718d571
|
fixup connect/disconnect to deal with connecting state. use context to cancel remote that is in connecting state
|
2022-09-16 12:28:09 -07:00 |
|
sawka
|
06e3a86f53
|
add status connecting
|
2022-09-15 17:44:39 -07:00 |
|
sawka
|
f2e0f9457d
|
handle remote input (can enter password manually now)
|
2022-09-15 17:09:04 -07:00 |
|
sawka
|
fcc1737fc4
|
format errors
|
2022-09-15 00:37:17 -07:00 |
|
sawka
|
c600027d72
|
remote pty work
|
2022-09-15 00:17:23 -07:00 |
|
sawka
|
42683e6f4a
|
working on remote pty output
|
2022-09-14 23:10:35 -07:00 |
|
sawka
|
83974e10dd
|
resolve a remote by id or partial id
|
2022-09-14 13:01:52 -07:00 |
|
sawka
|
c8b8f78249
|
allow remote kwarg to be passed to select a different remote for a command
|
2022-09-14 12:56:05 -07:00 |
|
sawka
|
002876a07b
|
add remoteidx
|
2022-09-14 12:06:55 -07:00 |
|
sawka
|
a74ee69da5
|
working on setting up remotes
|
2022-09-13 17:11:36 -07:00 |
|
sawka
|
6f71866663
|
remote archiving, bug fixes
|
2022-09-13 12:06:12 -07:00 |
|
sawka
|
cde8bed381
|
switch to signame for cross system compat
|
2022-09-06 16:41:05 -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
|
2b7045443d
|
update termopts for running commands, send specialinput packet
|
2022-09-05 20:08:59 -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
|
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 |
|