sawka
7da7d06f09
add a defer/recover to scws WriteJson
2023-11-10 13:36:37 -08:00
sawka
5327258287
add logo to left sidebar, change how collapse works
2023-11-10 13:16:35 -08:00
sawka
dd49e43579
update screen -> tab in user facing messages. waveshell var / ignore. fix bug with external urls
2023-11-10 12:31:31 -08:00
sawka
7449d9db67
remove show metacmds from history search (we always want to show meta)
2023-11-09 22:44:39 -08:00
sawka
4076c58b53
update in-app links to point to waveterm.dev
2023-11-09 21:49:06 -08:00
sawka
089553fce2
fix strange bug where ReturnStateBuf.Reader isn't closed, even when process exits. Force it closed after 2 seconds
2023-11-09 18:57:39 -08:00
sawka
d61c8c05a6
SIGKILL will also kill waveshell. clear PendingStateCmds and WaitingCmds on disconnect (remote.go)
2023-11-09 18:29:11 -08:00
sawka
f4ac642afa
fix bug where pendingStateCmds were cross screen boundaries. now screenid is part of the pendingStateCmd key
2023-11-09 17:47:24 -08:00
Red J Adaya
a0479c4683
add connection modal ( #64 )
...
* various improvements
* animation menu on close
* finish custom dropdown
* minor change
* minor fix
* add error support for dropdown
* create remote modal
* NumberField component and more on add remote connection modal implementation
* extend TextField instead. dobounce should be handled by the user not the component
* PasswordField
* remove used code. fix ssh key file field issue
* style buttons. fix modal height issue
* use react portal for dropdown menu
* remove debugging code
* tooltip implementation
* put back modal background
* (sawka) add autofocus attribute to textfield. change label color to color-secondary. fix file menu name. fix typescript error in basicrenderer
2023-11-09 16:28:37 -08:00
sawka
1a566d06aa
gc was collecting the lockfile early causing it not to work. fixed with runtime.KeepAlive
2023-11-09 16:26:44 -08:00
sawka
68731f45a2
make binary paths consistent between dev/prod. add 'eval' as a rtnstate command. fix waveterm.lock file
2023-11-09 16:08:32 -08:00
Tracy Miranda
876321d06d
Tidy up contribution guide
2023-11-08 14:10:31 -05:00
sawka
379854e049
don't load remote content, and dont show codeeditor if closed
2023-11-08 00:26:28 -08:00
sawka
8daac68aad
dont load plugin resources at startup (delays important loads). load on demand if we open the apps screen.
2023-11-08 00:12:41 -08:00
sawka
86436d050e
limit size of newstate on line
2023-11-07 23:58:54 -08:00
sawka
1be2716f6e
add square icon back, fix spacing somewhat
2023-11-07 16:15:54 -08:00
sawka
aa0e8415c1
rename talk to us to discord
2023-11-07 01:27:11 -08:00
sawka
85f6aed2ad
remove apps in prod (not implemented yet)
2023-11-07 01:26:22 -08:00
sawka
d076fc0c72
remove current version check in about modal (not implemented). text not selectable (except for version)
2023-11-07 01:24:35 -08:00
sawka
80675f8c0f
update base cmdinput height
2023-11-07 01:16:48 -08:00
sawka
8ffd537bb7
fix cmdinput expand size calc
2023-11-07 01:14:26 -08:00
sawka
e76d74ada4
add download link
2023-11-07 00:51:44 -08:00
sawka
4f9be4d4f6
minor README changes
2023-11-07 00:49:37 -08:00
sawka
3e0849ff4f
add links to contributing markdown file
2023-11-07 00:45:48 -08:00
sawka
3504163596
README updates
2023-11-07 00:40:21 -08:00
sawka
a2b529f950
fix typescript errors
2023-11-07 00:18:45 -08:00
sawka
be9a3c288a
Merge pull request #63 from wavetermdev/dev-0.5.0
...
Merge dev 0.5.0 branch to main
2023-11-07 00:13:40 -08:00
sawka
f30739497f
upgrade monaco-editor version
2023-11-07 00:13:05 -08:00
sawka
7920a797dc
Merge branch 'main' into dev-0.5.0
2023-11-07 00:08:43 -08:00
Red J Adaya
847de1fc60
new tab flow ( #60 )
...
* init
* init
* error handling
* use css
* minor improvements
* fix some issues and tabicon init
* show error indicator when empty and is required
* debounce input
* fix decorator linting issue
* icon system init
* fix bugs
* color custom icons and fix regression
* remove debugging code
* remove @tab-magenta. fix formatting.
* swap magenta for mint
* change tab color order
2023-11-07 00:04:25 -08:00
sawka
f8d3c0c19c
rename MainSideBar to sidebar
2023-11-06 14:00:43 -08:00
sawka
6430593e5f
upgrade packages
2023-11-06 13:56:09 -08:00
sawka
498c393baa
zip is a requirement for linux builds
2023-11-06 13:39:27 -08:00
sawka
0ae654cd1d
upgrade electron/rebuild to get rid of weird lzma-native dependency
2023-11-06 12:03:12 -08:00
sawka
d405352823
Create MacOS Universal Build ( #62 )
...
* testing universal build
* arch files not required anymore
* use CGO_ENABLED for wavesrv. write out notes about the universal build problems/solution
* script and updates for universal build
* more updates for sign/notarize flow for universal app
* put in prod migration check
* build prompt to wave migration into emain. updates to macos build scripts
* update some packages
* successful universal build
* remove unused code
2023-11-05 00:00:47 -07:00
sawka
cccaf83b39
Merge branch 'dev-0.5.0'
2023-11-03 16:25:39 -07:00
Red J Adaya
a69e844178
init ( #61 )
2023-11-03 13:11:49 -07:00
sawka
61d6d2ddff
scope this section rule so it doesn't conflict with monaco editor
2023-11-03 00:44:47 -07:00
sawka
bda9943ed7
Merge remote-tracking branch 'origin/dev-0.5.0'
2023-11-02 14:06:22 -07:00
sawka
38a1f95115
migrate DB WAL file as well as DB file. make dev leftnav color more subtle
2023-11-02 14:05:43 -07:00
sawka
5708b3f19f
working on small history UI updates
2023-11-02 01:02:50 -07:00
sawka
d528f3db27
abstract connection selector dropdown properly. use in settings. remove old selector.
2023-11-02 00:08:04 -07:00
sawka
f2baa59af6
fix default workspace creation bug. fix no workspace message
2023-11-01 23:41:04 -07:00
sawka
055d00d78a
use nextlinenum to decide whether to show newtab flow
2023-11-01 23:10:01 -07:00
sawka
90e07266bf
try to fix the inline edit control
2023-11-01 23:02:19 -07:00
sawka
a7c2d440b2
new tab colors. also re-implement tab gradients according to figma file
2023-11-01 22:38:37 -07:00
sawka
df073724e0
remove console.log from pluginsview
2023-11-01 01:29:17 -07:00
sawka
afc5bbd212
Update Data Directories and Environment Variables ( #59 )
...
* phase 1 of wave runtime migration. update waveterm_dev, build vars, waveterm_app_path. fix errors with plugins readmes and screenshot directories. use asset loaders in webpack. fix window-empty styles. wave-migrate script. remove unused scripthaus commands. other fixes
* waveterm_home directory. lots of internal scbase prompt names to wave
* update waveterm.lock file
* change wave data directories. remove welcome modal code
* update waveterm.db name
* fix Wave menu (add back default items). Update TOS modal words
* fix typescript errors
2023-11-01 01:26:19 -07:00
Red J Adaya
15a4719b17
About Modal ( #39 )
...
* menu item and send event to renderer
* wire up everything
* update content
* modal content
* add mising text
* minor fix
* style fixes
* figma design init
* about header, content, and general styles
* css refactor
* more on refactor
* reuse styles from app.less in about modal
* dynamic status
* external linkn
* finish about modal
* update links
* update license link
2023-10-31 22:24:36 -07:00
sawka
8211a0bb26
reduce line jitter when switching from simple to full mode
2023-10-31 12:55:35 -07:00
sawka
e1189a5051
remove a lot of hover effects, unselectable menu text. move apps to bottom. remove favorites
2023-10-31 11:29:17 -07:00
sawka
ab8021fad7
add fontawesome back into the repo
2023-10-31 11:18:12 -07:00
Tracy Miranda
a0176d0e64
Update README.md ( #58 )
2023-10-31 10:42:04 -07:00
sawka
a8836ec691
Merge pull request #57 from wavetermdev/dev-0.5.0
...
Initial v0.5.0 merge into main
2023-10-30 23:36:29 -07:00
Red J Adaya
e7b58c1077
user oboarding flow ( #54 )
...
* init
* telemetry toggle
* finish styling and functionality
* remove unused style
* rever some styles
* use goroutine in sending telementry updates
* remove wave-modal class from AlertModal
* icons and button state fixes
* minor change with goroutines
* use default cursor not not-allowed
2023-10-30 22:39:51 -07:00
sawka
616a7d2dc0
fix new-tab button when scrolling (was getting flex-shrunk)
2023-10-30 20:47:45 -07:00
sawka
14715ec5b1
Fix All TypeScript Errors ( #56 )
...
* update newtab screen to make it match the figma mockup (still waiting on UI for name)
* fix all typescript errors
* update for new build
* remove old import
2023-10-30 09:53:17 -07:00
sawka
9b5bc33125
update newtab screen to make it match the figma mockup (still waiting on UI for name) ( #52 )
2023-10-30 09:43:54 -07:00
sawka
940a187d34
update dmg build for Wave. Fix tab rounding
2023-10-29 20:02:57 -07:00
anandamarsh
c9c2b91a77
Pe 222 apps sidebar ( #51 )
...
* can open / close Apps view
* gotten app list to load dynamically
* updated icons bizzare that they all have the same bg
color
* can select an app form left bar
* could not get ImageViewer to work :(
* getting rid of screenshots
* readme.md works
* fixed the color problems for icons
2023-10-28 13:18:31 -07:00
Tracy Miranda
505ab56ef4
PE 178 Add OSS files ( #50 )
...
* Add contribution guide
* Format improvements
* Add security guidelines
* Create CODE_OF_CONDUCT.md
* Add README.md
2023-10-28 13:16:50 -07:00
Red J Adaya
e0cd8516b8
update color tab names ( #49 )
...
* change color names and values
* migrations
* update tab colors in fe
* set to default instead of null
* minor server fixes
2023-10-28 13:14:20 -07:00
sawka
9804dcb14c
fix up spacing for workspaces in sidebar
2023-10-26 15:17:23 -07:00
sawka
5bf83a7e59
move to 12.5px font for sizebar, increase icon size
2023-10-26 15:08:21 -07:00
sawka
f239832435
clicking anywhere on the cmdinput will give focus. also fix the click handler for exec to only be on the icon
2023-10-26 01:40:18 -07:00
sawka
d8d7d0b7d2
add 'magiclayout' to hold magical layout constants. compute the constants with the new padding/margins for new UI. use to compute runtime heights.
2023-10-26 01:25:46 -07:00
sawka
04cdab6f74
add metabarecmds into command completion
2023-10-26 00:01:52 -07:00
sawka
267b035fc8
remove autoinstall options from GUI, always set autoinstall flag, db migration to set autoinstall for all remotes ( #48 )
2023-10-25 22:07:00 -07:00
Red J Adaya
736fb7be6a
csvviwer focus support ( #46 )
...
* more fixes
* add delay and slight opacity animation
* cleanup
* focus support
* use savedHeight as initial tbody height
* cleanup
* set container to savedHeight initially
* fix calc issue
* more calc fixes
* more calc fixes
2023-10-25 21:41:52 -07:00
sawka
65db030126
change prompt.js/css to waveterm.js/css
2023-10-25 18:45:14 -07:00
Red J Adaya
7e9e76f089
error boundary for screens ( #45 )
...
* error boundary for screens
* error boundary for plugins
* remove changes.diff
* move load-error-text class to app.less
* implement mikes suggestions
* apply error boundary to workspace view
* fix minor issues
2023-10-25 18:24:14 -07:00
sawka
49f18a3e94
added waveterm logo (png and svg)
2023-10-25 15:25:07 -07:00
sawka
737e08b583
bash v3 has a bug with reading large rcfiles from a /dev/fd pipe. fallback to writing a tmp file in that case to allow for large (128k+) rcfiles
2023-10-25 15:20:52 -07:00
Red J Adaya
7c966e2660
change session to workspace ( #47 )
...
* change session to workspace
* also need to change the less file since the className was changed
2023-10-25 13:55:30 -07:00
sawka
2b72cd18b8
update build instructions for new webpack configuration. merge origin/main into dev branch to pick up linux changes.
2023-10-25 13:47:52 -07:00
sawka
083e2f8b6c
big update for webpack configs. use --env to select environment. now dev/prod will combine both web and electron webpack environments
2023-10-25 13:32:15 -07:00
sawka
d19cd7c623
updates for icon / name
2023-10-25 09:46:51 -07:00
Red J Adaya
6ae263f9fa
csvviewer rendering flash ( #44 )
...
* more fixes
* add delay and slight opacity animation
* cleanup
2023-10-24 18:34:37 -07:00
sawka
ce033c616f
bump versions to v0.5.0, update package.json for Wave
2023-10-24 09:29:00 -07:00
sawka
c0de69e4a2
move +3 for descenders to termHeightFromRows
2023-10-24 09:27:20 -07:00
sawka
082fe4a425
new waveterm icon
2023-10-24 09:20:58 -07:00
anandamarsh
6016302814
PE 125 new tab flow ( #43 )
...
* please sync
* can select connection. now need add conection
* latest for discussion
* solved "autoselect connection" issue
* ready for PR
* pair programming, fix some issues with new tab flow
* final updates for new connection flow. integrate add new connection with error messages. add an option to cr to not create the line/history (non-interactive use)
---------
Co-authored-by: sawka
2023-10-23 23:22:18 -07:00
Red J Adaya
4000baa6c5
fix flashing issue ( #41 )
2023-10-23 17:10:14 -07:00
sawka
e5f500e34f
note about nodejs, npm, and yarn
2023-10-18 14:33:45 -07:00
sawka
19bcf4f3ed
update build-linux and scripthaus for linux builds
2023-10-18 14:23:40 -07:00
sawka
c1ca3a0460
update BUILD.md and create a build-linux.md
2023-10-18 13:45:30 -07:00
sawka
b01472a917
add platform class into main div
2023-10-18 13:32:23 -07:00
sawka
4e98db9745
add linux support for maker-zip
2023-10-18 05:54:07 +00:00
sawka
e920e09ccf
backport linux changes to main
2023-10-17 21:54:44 -07:00
sawka
bdcdc202a1
minor fix for linux (use move/resize events vs past-tense). smaller default window size.
2023-10-17 21:48:02 -07:00
anandamarsh
08d5ea5574
fix webpack dev directory
2023-10-17 18:40:01 -07:00
Red J Adaya
046d219555
add license notice ( #37 )
2023-10-16 21:31:13 -07:00
anandamarsh
805cb777d4
no brainer :) ( #38 )
2023-10-16 21:30:13 -07:00
sawka
7c11296a94
add go.work for helping with VSCode gopls
2023-10-16 19:17:44 -07:00
sawka
f2eaa2e278
add example copyright to index.ts
2023-10-16 15:33:27 -07:00
sawka
cad0526678
Add Apache 2.0 License
2023-10-16 15:22:41 -07:00
sawka
90e098e65a
add notice and license in package.json
2023-10-16 15:21:21 -07:00
sawka
59f9e54776
remove scripts from package.json (using scripthaus)
2023-10-16 15:14:24 -07:00
sawka
2c4fe1c3ad
put BUILD.md into repo. also add build-backend command
2023-10-16 15:11:22 -07:00
sawka
266fc498c7
new paths for getting waveterm running with monorepo
2023-10-16 14:02:22 -07:00
sawka
688584a1d4
add wavesrv and waveshell build commands to root scripthaus.md
2023-10-16 13:35:03 -07:00
sawka
18a44086fc
rename imports for wavesrv
2023-10-16 13:30:10 -07:00
sawka
397a0faa88
update go.mod and import paths for waveshell
2023-10-16 13:25:53 -07:00
sawka
a4c0128c89
Merging wave server code into mono-repo
2023-10-16 13:22:23 -07:00
sawka
d8c60a43bb
merged gitignore
2023-10-16 13:22:02 -07:00
sawka
77fee42365
move to wavesrv directory to prepare for merge to waveterm
2023-10-16 13:19:34 -07:00
sawka
1a9c427d22
bump server version to v0.4.0
2023-10-16 13:16:57 -07:00
sawka
a8055489f8
merge waveshell into waveterm repo
2023-10-16 13:11:26 -07:00
sawka
b864e1fb1d
move apishell code to subdirectory to prepare for move to main repo
2023-10-16 13:04:18 -07:00
sawka
393629cc2f
fix TOS modal link, correct fixed-font for new tab. code blocks default to terminal font.
2023-10-16 10:59:20 -07:00
sawka
ce63a03528
fix error getting TOS modal
2023-10-16 10:47:14 -07:00
sawka
18fa085fa1
fix title-bar drag area
2023-10-14 14:30:50 -07:00
sawka
fbcf8f2fbb
merge dev 0.4.0 again
2023-10-14 13:36:44 -07:00
Amarsh Anand
8166991928
fixed new-tab button
2023-10-13 18:18:06 -07:00
sawka
e561a8b280
first pass at increasing new-screen click target
2023-10-13 16:40:34 -07:00
sawka
bde909d43c
static -> public
2023-10-13 09:09:09 -07:00
sawka
2cd21d1c76
fix fontsize dropdown
2023-10-12 23:46:14 -07:00
sawka
9c3bc210f2
fix icon path
2023-10-12 23:34:33 -07:00
Amarsh Anand
fed993a41c
Merge branch 'DEV_0.4.0' of github.com:commandlinedev/prompt-client into DEV_0.4.0
2023-10-12 23:30:39 -07:00
Amarsh Anand
db2a47630c
settings fixed too
2023-10-12 23:30:36 -07:00
Red J Adaya
1fafc53605
CSV viewer plugin enhancements ( #33 )
...
* init
* render table
* add packages
* filtering and sorting
* init pagination
* partially working min-max
* fix broken style
* styles fixes
* init
* sticky header
* resizable cols
* scrollable tbody instead
* remove unused deps
* add file size limit
* style fixes
* scrollable x-axis
* border fixes
* more style fixes
* handle csv without headers
* fix headers rendering
* revert changes to model
* revert changes to code plugin
* ellipsis mixin
* fix height calc problem
* minor fix
* minor fix
* minor fix
* minor fix
* minor fix
* reset model and code plugin changes
* more fixes
* fix wrong theme import path
2023-10-12 22:55:11 -07:00
Amarsh Anand
17a85734c8
fixed info
2023-10-12 22:25:53 -07:00
anandamarsh
53446e93d3
Pe 195 12 oct 2 ( #36 )
...
* history and imports fixed
* history and favourites are ready
* connections home works. now to Add connection
* connections done
2023-10-12 22:06:12 -07:00
sawka
11a90b01dc
default tab color is green
2023-10-12 21:42:02 -07:00
sawka
852b227574
shrink cmd-exec space
2023-10-12 21:33:50 -07:00
sawka
e21d35288f
fix markdown styles
2023-10-12 21:24:52 -07:00
sawka
ab9ed54b46
align sidebar icons with text. make discord icon slightly bigger
2023-10-12 21:05:04 -07:00
sawka
b23cbbbfc7
session -> workspace. also fix 'hide-prompt' class for openai
2023-10-12 20:59:16 -07:00
sawka
456f92d848
update from session to workspace
2023-10-12 20:39:01 -07:00
anandamarsh
a8700f25eb
Pe 195 12 oct ( #35 )
...
* history and imports fixed
* history and favourites are ready
* font size / font family
2023-10-12 20:37:47 -07:00
sawka
f3f243aca3
use workspace- instead of session- for names
2023-10-12 13:36:11 -07:00
sawka
3a96f2970a
bump to version 0.4.0
2023-10-12 13:00:10 -07:00
sawka
067767c70e
more minor fixups, sizing, background colors, etc.
2023-10-12 12:58:05 -07:00
sawka
b96d97855b
fix content max size
2023-10-12 12:42:33 -07:00
sawka
84f60a21f9
work on statediff styles
2023-10-12 12:20:04 -07:00
sawka
9d347ae08c
fix some cmd typography. rtnstate, rtnstate diff, descenders on last line of terminal, lineheight, smaller info line, simple-rendering, etc.
2023-10-12 12:10:50 -07:00
sawka
0c9084364c
try to fix background color for ctrl-r history header
2023-10-12 11:29:47 -07:00
sawka
130fcfe032
slightly wider ts column in history. also set min-width on collapsed left bar
2023-10-12 11:16:04 -07:00
anandamarsh
474552d732
Pe 199 pre rel 0.4.0 ( #34 )
...
* Tab bg matches selections
* WIP: need to fix all modals one by one
* ready to pull latest
* history fixed
2023-10-11 23:43:47 -07:00
sawka
acc4eea74f
fix height, and work on new style for cmdinput
2023-10-11 18:55:20 -07:00
Red J Adaya
50190902ca
register csvviewer ( #3 )
...
New csvview command
2023-10-11 17:59:22 -07:00
sawka
3359ee7457
jetbrains for terminal font. restore font loading. remove fractional font size. set line-height to 1.5 (not 20px).
...
fix terminal size calculation.
2023-10-09 22:29:05 -07:00
sawka
3bc024c983
upgrade babel, electron-forge, and other easy to upgrade npm packages
2023-10-09 21:11:22 -07:00
sawka
2b3892bfda
bump electron version to 27.0.0 (from 25.4.0)
2023-10-09 21:01:56 -07:00
sawka
0d2a1ec95d
update back to transparent background
2023-10-09 20:52:55 -07:00
Red J Adaya
afa7ef3d76
remove license ( #2 )
2023-10-09 18:19:47 -07:00
Red J Adaya
ecff69eee8
Pe 193 csv viewer plugin ( #32 )
...
* init
* render table
* add packages
* filtering and sorting
* init pagination
* partially working min-max
* fix broken style
* styles fixes
2023-10-09 15:24:59 -07:00
Amarsh Anand
336ac776d4
more fixes
2023-10-09 15:08:15 -07:00
sawka
26c5136e43
make fixed-font variable in index.less
2023-10-09 10:28:18 -07:00
Amarsh Anand
50b9b9b0e5
changed buttons for code editor
2023-10-09 01:58:03 -07:00
anandamarsh
e2414b0130
played with scrollbars and other things ( #31 )
...
* played with scrollbars and other things
* fixed code stuff
2023-10-09 01:47:21 -07:00
Amarsh Anand
f39accabb6
refactored plugin
2023-10-05 14:41:42 -07:00
anandamarsh
26f7cea6a4
restructured plugins ( #30 )
2023-10-05 13:56:52 -07:00
sawka
71151f7073
fix tab color in settings
2023-10-05 13:27:29 -07:00
sawka
c7676bb22e
make progress on tab colors
2023-10-05 13:05:40 -07:00
sawka
4708b4379a
move tabs up, cool titlebar effect
2023-10-05 12:21:07 -07:00
sawka
b4b7c2c273
move css content from index.less to app/app.less
2023-10-05 12:11:50 -07:00
sawka
aca9fcdcad
fun with transparency
2023-10-05 12:02:43 -07:00
anandamarsh
daee5c7c36
Refactored now ( #29 )
...
* redy to recover Terminal dir
* as Mike asked ... commit what you have :)
* fir anyone to have a look - DONT RUN
* works !!!
2023-10-05 11:25:32 -07:00
sawka
adc4948d17
add shell to initpk
2023-10-05 09:50:35 -07:00
sawka
9b380aee02
add function to detect user's shell
2023-10-05 09:42:48 -07:00
Amarsh Anand
9f284083bb
try now
2023-10-04 10:49:17 -07:00
Amarsh Anand
2f43a1096e
restoring LinkeRenderer
2023-10-03 15:02:55 -07:00
Amarsh Anand
3c320887d3
finding sessions settings in main
2023-10-03 14:40:06 -07:00
Amarsh Anand
a1329bfd45
ready for mike to have a look
2023-10-03 14:27:51 -07:00
anandamarsh
6e3b82f41b
Pe 125 128 tabs ( #28 )
...
* ready to redo tabs
* mov to tabs now
* we can do the tabs now
* tabs are done
2023-10-03 14:26:13 -07:00
anandamarsh
5a0effb691
Pe 96 left navbar ( #27 )
...
* nice. bottom done
* work on adding workspaces
* starting on Tabs
2023-09-30 12:13:40 -07:00
anandamarsh
b1820224d5
Pe 107 global changes ( #26 )
...
* chaged background etc. now making font changes
* need to go component by component now
2023-09-27 15:03:08 -07:00
anandamarsh
a25c7b4286
Pe 179 refactoring UI code ( #25 )
...
* refactored main JS files
* modals have been refactored
* lines and renderer refactored
* all refactoring done. ready for reskinning
2023-09-23 21:05:06 -07:00
anandamarsh
faeab0790a
refactored code editor ( #24 )
2023-09-19 17:08:35 -07:00
Amarsh Anand
f251718d62
Merge branches 'PE_153-Close_without_saving' and 'main' of github.com:commandlinedev/prompt-client
2023-09-19 16:42:59 -07:00
sawka
e30128d182
Mustache Template Renderer ( #23 )
...
* experimental version of the mustache renderer
* mustache error message / loading cleanup, add refresh button
2023-09-17 21:00:54 -07:00
sawka
aa5c09368e
bump version to v0.3.1
2023-09-17 20:32:35 -07:00
sawka
4953550425
bump version to v0.3.1
2023-09-17 20:31:55 -07:00
anandamarsh
7e4401a625
Ready for PR ( #22 )
...
* redy for PR
* marked readonly
2023-09-17 20:14:36 -07:00
Amarsh Anand
ac3765c16d
marked readonly
2023-09-17 19:45:03 -07:00
Amarsh Anand
83f1ec5c8b
redy for PR
2023-09-17 19:07:15 -07:00
sawka
6864f2b5a7
bump xterm.js version to v5.3.0 (perf improvements)
2023-09-17 14:14:51 -07:00
sawka
6563b5855c
better cmdrunner / linestate integration (lang, template, etc.). lineState is now passed to AddCmdLine
2023-09-17 14:10:35 -07:00
anandamarsh
9a578c04d3
PE-44 md viewer ( #21 )
...
* md does render. need cleanups
* simul scrolling works
* preview button works
* md previewer works
* use Markdown component from elements, fix null ptr with unset ref
* add scroller div back in
* scrollers should overscroll contain
---------
Co-authored-by: sawka
2023-09-17 13:58:12 -07:00
sawka
ca13c28a3f
minor bugs in markdown renderer, up max size to 200k
2023-09-17 01:35:41 -07:00
sawka
968cd462f5
mostly fix physical focus indicator for code editor
2023-09-16 23:20:47 -07:00
sawka
26eec11526
add notfound error handler (and fontsize override) to markdown viewer (to match image viewer)
2023-09-16 23:07:30 -07:00
sawka
8a4ff84e95
open all iframe (name=webview) links in new window. deny any other iframe navigation.
2023-09-16 22:58:28 -07:00
sawka
6e8dcad1f1
fix PE-152 and PE-146, font size for new state, and force connection terminal to scroll if too big (when font size doesnt match)
2023-09-16 14:27:17 -07:00
sawka
8b8f7cda7b
PE-151, need to use setWindowOpenHandler (in new version of electron) instead of new-window event.
2023-09-16 13:08:30 -07:00
sawka
caa11748e5
PE-150, error when image not found
2023-09-16 13:01:38 -07:00
sawka
de04a700d1
PE-117, PE-116, PE-149
2023-09-16 11:15:09 -07:00
sawka
975512d4eb
Merge branch 'codeedit-focus'
2023-09-15 17:25:01 -07:00
sawka
b9ff6bd20f
codeedit: on close, if we're focused, give focus back to the input box
2023-09-15 17:24:38 -07:00
sawka
f6b9b6df3e
CodeEdit Focus and Remove WebSharing ( #20 )
...
* implement codeedit focus with the help of a shouldFocus prop from the Line component. also update line status, and remove websharing in left nav
* remove webshare from screen settings
2023-09-15 17:19:24 -07:00
sawka
17fef0341d
remove webshare from screen settings
2023-09-15 15:46:17 -07:00
sawka
54c2087ad6
remove websharing backend, migrate db to stop websharing any screens that are currently shared
2023-09-15 13:48:58 -07:00
sawka
13fe90cdb5
implement codeedit focus with the help of a shouldFocus prop from the Line component. also update line status, and remove websharing in left nav
2023-09-15 13:01:04 -07:00
sawka
0df800a390
for codeedit, set the focus to the line (not the input)
2023-09-15 12:57:47 -07:00
sawka
5f04f14df6
link new website
2023-09-08 14:26:30 -07:00
sawka
b8ef07e064
updated go.sum
2023-09-07 15:12:50 -07:00
sawka
2fa0239c13
resolve typescript errors created from merging PRs
2023-09-07 13:05:02 -07:00
sawka
aaaf7af8a1
PE-74 and PE-54
...
pass isSelected (to prevent multiple scrolling). also fix initial editorheight to prevent jitter (#19 )
2023-09-07 13:02:45 -07:00
sawka
660795ea8f
codeview / codeedit commands working ( #17 )
...
* server is setting 'mode' linestate to 'view' or 'edit'. this change sets the editor in readonly mode based on this flag. (requires the new build of prompt-server)
* apply prettier
2023-09-07 13:01:07 -07:00
sawka
e78ea62932
bump mshell to v0.3, add readonly/notfound props. fix one mobx warning ( #16 )
2023-09-07 12:59:07 -07:00
sawka
7376ed2824
fix all typescript errors ( #18 )
2023-09-07 12:57:02 -07:00
sawka
d97c1862c7
should be 666 not 777 (don't set executable flag by default)
2023-09-06 21:57:41 -07:00
sawka
c7d09b4692
bump mshell version to v0.3
2023-09-06 21:50:59 -07:00
sawka
1127d2cfbd
bump mshell version to v0.3.0
2023-09-06 21:50:38 -07:00
sawka
71ba4b5b46
update writefile code. changed the way usetemp works to make sure file permissions/owner/attributes are kept on original file
2023-09-06 21:45:15 -07:00
sawka
8cb3bd49b5
bump prompt-server version to v0.3.0
2023-09-06 19:55:52 -07:00
sawka
baeafdce78
bump version to 0.3.0
2023-09-06 19:54:06 -07:00
anandamarsh
dee0ae4473
serving moncao from node_modules ( #15 )
...
* serving moncao from node_modules
* add monaco-editor to package.json
* allow node_modules/monaco-editor into the build
---------
Co-authored-by: sawka
2023-09-06 19:51:32 -07:00
anandamarsh
52a7e14df8
PE-71 close ( #13 )
...
* fixed expand issues
* removed expand
* can close the file, and min 5 lines are
* removed older file
* lag selection took some time :(
* ready for PR
* changed prompt:lang to lang
2023-09-06 16:36:49 -07:00
anandamarsh
dff146db66
PE-71 close ( #12 )
...
* fixed expand issues
* removed expand
* can close the file, and min 5 lines are
* removed older file
2023-09-06 13:28:05 -07:00
sawka
1d77b2d5d6
add codeview command
2023-09-05 22:09:24 -07:00
sawka
bc488cf242
fix PE-63, permissions for temp files
2023-09-05 21:21:34 -07:00
anandamarsh
fa04cd9e5c
PE-71 ( #11 )
...
* fixed expand issues
* removed expand
2023-09-05 15:05:18 -07:00
sawka
c81a01aa9c
File/Code Editor Working ( #9 )
...
* save works
* ready for Fri night PR - Code editor working
---------
Authored-by: Amarsh Anand
2023-09-01 21:44:35 -07:00
sawka
d84dd75d94
resolve ~ in read/write file api
2023-09-01 20:40:28 -07:00
sawka
238c8fb250
fix return type of writeRemoteFile, small formatting/fixes
2023-09-01 20:15:48 -07:00
sawka
9785aaac19
set linestate
2023-09-01 16:45:01 -07:00
sawka
fea5f3306e
add codeedit command (testing)
2023-09-01 16:38:54 -07:00
anandamarsh
b5e9e34c52
Pe 10 ( #8 )
...
* code window is always visible
* gotten resizing done. need more work
* starting on save now
* got save to display message. now need to intergrate with save() handler
2023-09-01 15:57:01 -07:00
sawka
5d89e0cfef
add line.linestate to DB. switch linetype to a dbmappable. update line sql queries. add state to /line:set command. bump migration ( #2 )
2023-09-01 15:21:35 -07:00
sawka
2e18c56471
PE-41 Remote File API ( #7 )
...
* added API for read-file
* implement writeRemoteFile -- multipart upload, params/data
* format file, implement readOnly flag on file return from readRemoteFile
* fix model.ts typescript errors
* add usetemp to write-file api
* add GlobalCommandRunner.setLineState()
* implment PE-13, PE-60
2023-09-01 15:20:13 -07:00
sawka
22fb034cc4
PE-41 remote file api ( #1 )
...
* RPC for remote file streaming -- just implemented 'stat' for now (streaming to come)
* allow RPC iterators for MShell RPCs. implement two test commands to test viewing files
* implement read-file handler
* read-file: allow overriding of content-type and use line's cwd not remote instance cwd
* checkpoint on write-file impl
* implemented metacommand version of write file
* checkpoint, untested write-file impl
* multipart handling for write-file data
* add usetemp param to writefile
2023-08-31 22:04:31 -07:00
sawka
c29c4a9a2d
PE-41 remote file api ( #1 )
...
* new remote file streaming API packets. implemented 'stat' for remote files
* introduce filedata packets. allow streaming RPCs. fix RPC bug with combined packet parsers. implement file streaming for filestream RPC.
* checkpoint on adding write-file
* completely untested write-file impl -- writefilecontext, condition var for signaling new data packets, cleanup goroutine, ready/done states.
* better error messages, also unlock MServer before calling done on wfcs
* fix bug with perm json tag. change constant name
2023-08-31 22:03:38 -07:00
anandamarsh
af25dc65c2
Pe 11 12 18 ( #5 )
...
* ready to tackle the height issue
* height adjusts, but requires some more testing
* removed fullscreen
* height now works
* set font family to "JetBrains Mono"
2023-08-28 17:00:02 -07:00
anandamarsh
49e0b7212d
test ( #4 )
...
* test
* language can now be changed
* ready for PR
* ready for PR again
2023-08-23 20:46:47 -07:00
sawka
c8cae274bc
prettier all the files
2023-08-21 21:37:04 -07:00
sawka
8b473607c7
add prettier to package.json
2023-08-21 21:33:47 -07:00
anandamarsh
e7dfa77245
Merge pull request #3 from commandlinedev/CLI-9-Create-a-new-Plugin-called-CodeRenderer
...
Cli 9 create a new plugin called code renderer
2023-08-21 21:31:31 -07:00
Amarsh Anand
c5861fd26f
new prettier config
2023-08-21 20:06:17 -07:00
Amarsh Anand
d3d31a0121
added monaco
2023-08-21 19:56:53 -07:00
Amarsh Anand
81be0d4b38
first cut ready ... requires discussion with Mike
2023-08-20 17:08:05 -07:00
Amarsh Anand
2ab0f4af4c
created CodeRenderer with hardcoded js as lang
2023-08-20 11:27:52 -07:00
sawka
758671adee
Merge pull request #1 from commandlinedev/minimize_line
...
Minimize line
2023-08-17 21:31:52 -07:00
Amarsh Anand
21e6aad6c8
reverted emain
2023-08-17 21:26:49 -07:00
Amarsh Anand
939e452678
undid dev tools
2023-08-17 21:22:00 -07:00
Amarsh Anand
3164208a85
works but the change is too quisk. animation may be the right here
2023-08-17 14:31:24 -07:00
Amarsh Anand
2cbb28eb56
enabled debugging
2023-08-17 13:02:26 -07:00
sawka
681d80e0a6
force ipv4 listening in local server (consistent ipv4 throughout stack)
2023-08-14 17:04:16 -07:00
sawka
139639b990
fix resize event. fix emain communication to local-server (use 127.0.0.1 to force ipv4)
2023-08-14 17:03:32 -07:00
sawka
093e550d50
add a debug flag to log the rc file for bash initialization
2023-08-14 12:23:33 -07:00
sawka
ed50f1e7d0
up go.mod versions
2023-08-03 14:58:56 -07:00
sawka
865ac0220f
bump dep versions
2023-08-03 14:58:15 -07:00
sawka
d289026a98
update electron version, rename files to prompt.ts and prompt.less
2023-08-03 14:29:06 -07:00
sawka
6b330b25f3
remove selectmaps call
2023-07-30 22:25:44 -07:00
sawka
2d99d82fbc
remove blank cmdids from migration
2023-07-30 22:23:20 -07:00
sawka
483bcbe338
change cmd_migrate table name to prevent conflict
2023-07-30 18:46:57 -07:00
sawka
36a20a14c4
change functions to use lineid not cmdid
2023-07-30 18:32:56 -07:00
sawka
fb823cfd79
remove more cmdid references
2023-07-30 18:26:25 -07:00
sawka
239f87ac42
updates for converting lines, removing cmdid
2023-07-30 18:24:35 -07:00
sawka
8ee17f5eb3
updates for new cmd/line data
2023-07-30 17:21:36 -07:00
sawka
d2cfc5c980
fix insert for new doneinfo/startpk fields
2023-07-30 17:18:52 -07:00
sawka
2d63b1da96
checkpoint on line migration
2023-07-30 17:16:43 -07:00
sawka
6e84b1a426
remove fe migration status updates
2023-07-28 11:50:42 -07:00
sawka
bd515994f8
one by one migrations (so we can run code). remove migration messages from FE (it is fast)
2023-07-28 11:48:11 -07:00
sawka
afbc60ce92
update imports to reflect new package names (moved repo)
2023-07-26 14:24:14 -07:00
sawka
f5331f989a
update some js dependencies, update for new repo names
2023-07-26 14:23:04 -07:00
sawka
94827683b5
big rename mshell to commandlinedev/apishell
2023-07-26 13:00:07 -07:00
sawka
5d72581683
checkpoint
2023-07-26 10:10:27 -07:00
sawka
985d265b47
remove animation
2023-07-26 10:09:27 -07:00
sawka
3657761976
remove logging errors
2023-05-08 18:03:24 -07:00
sawka
7c09d8c09e
remove logging message
2023-05-08 18:03:09 -07:00
sawka
386b5f7a90
add openai packet
2023-05-08 18:00:46 -07:00
sawka
d0f540e998
bump to v0.2.3
2023-05-08 17:57:44 -07:00
sawka
6a6e51d783
bump version to v0.2.3
2023-05-08 17:57:15 -07:00
sawka
24955227c9
remove rendermode tag
2023-05-08 17:55:15 -07:00
sawka
c045b67afe
switch openai to chat for metacmds
2023-05-08 17:54:38 -07:00
sawka
26281e2ec6
got really simple openai support hacked in
2023-05-08 16:07:55 -07:00
sawka
59ff522cd1
updates to read openai token from clientdata
2023-05-08 16:06:51 -07:00
sawka
aefd982b1d
fix height computation
2023-05-05 19:19:48 -07:00
sawka
6ffe0732e0
get chatgpt working inline
2023-05-05 16:13:18 -07:00
sawka
162dd5a7a9
fix expanded command
2023-05-05 13:06:29 -07:00
sawka
957a1e4059
make lineavatar smaller
2023-05-05 13:00:45 -07:00
sawka
f9925c9187
allow openai to render as cmd for now
2023-05-04 01:01:38 -07:00
sawka
8302ca1fcb
openai api integration 'working'
2023-05-04 01:01:13 -07:00
sawka
ab5deafdb6
updates to remote table, working on openai remote type
2023-05-02 12:43:54 -07:00
sawka
5e5a31715a
css updates, removing collapsed, fix spacing in remotes modal
2023-05-02 12:41:38 -07:00
sawka
f2b7637263
refactor css into sub-files
2023-04-25 12:27:41 -07:00
sawka
97fd46eda0
v0.2.2
2023-04-17 17:36:47 -07:00
sawka
e4a57376f8
v0.2.2
2023-04-17 17:36:30 -07:00
sawka
3e295228e7
update txwrap dependency
2023-04-17 17:31:30 -07:00
sawka
dbd76e2f40
go mod tidy
2023-04-17 17:25:04 -07:00
sawka
a8c131d8cf
more careful checking in setting line overflow. simple one way toggle
2023-04-17 16:19:29 -07:00
sawka
9296e60518
linesettings now works in real-time as well
2023-04-17 15:39:46 -07:00
sawka
0cd3f8ac04
can use view= instead of renderer= for setting renderer
2023-04-17 15:23:58 -07:00
sawka
86a65dff79
fix width of markdown
2023-04-17 15:22:55 -07:00
sawka
51a7000de3
only add screendel if websharing
2023-04-17 15:22:30 -07:00
sawka
5e212caf83
allow staticdata to set a higher buffer limit (since it is processed before mpio multiplexer takes over). raise max rundata size to 1M from 128k
2023-04-17 15:13:03 -07:00
sawka
ac0467f6c1
fix tabs, display better
2023-04-14 16:57:01 -07:00
sawka
9884e69da0
update session settings (include archive/delete). add delete to screen settings.
2023-04-14 15:32:21 -07:00
sawka
3ebc2090da
add json viewer
2023-04-14 13:29:47 -07:00
sawka
6b14cd9de3
move renderers into their own directory
2023-04-14 12:58:27 -07:00
sawka
8b70a7e897
shift up/down arrow do not invoke history
2023-04-13 13:13:24 -07:00
sawka
c689043265
better input size handling
2023-04-13 13:02:59 -07:00
sawka
507c79463c
simplify focus types, better input focus, add ability to expand main input
2023-04-13 12:55:07 -07:00
sawka
398be03324
simplify screen focus types (remove cmd-fg). send all screen focus updates. fix display issue with rtnstate (prompt vars)
2023-04-13 12:53:15 -07:00
sawka
1ef429466b
fix input focus
2023-04-13 11:50:28 -07:00
sawka
15c09b7820
fix, allow empty values for pvar fields
2023-04-12 22:57:17 -07:00
sawka
1ac1051205
bump version to v0.2.1
2023-04-12 22:08:10 -07:00
sawka
69058ab39f
bump version to v0.2.1
2023-04-12 22:07:52 -07:00
sawka
bab095d701
add buildtime to initpacket
2023-04-12 21:45:45 -07:00
sawka
31d8719200
add buildtime to remote state mshell version
2023-04-12 21:42:16 -07:00
sawka
c969966162
updates for showing git branch and venv in prompt -- also for webshare
2023-04-12 14:48:10 -07:00
sawka
7bc8f41c0f
now that we're tracking git branches, git switch and git checkout are rtnstate commands
2023-04-12 14:43:11 -07:00
sawka
4e93eff86a
updates to FeState to store variables -- implement python venv and gitbranch in festate for prompt
2023-04-11 23:54:18 -07:00
sawka
a4a4d53eb0
grab git branch
2023-04-11 23:52:58 -07:00
sawka
88cc9f3096
implement branch/venv in prompt
2023-04-11 23:50:42 -07:00
sawka
b92c160333
fix session:purge
2023-04-07 15:48:44 -07:00
sawka
810baa0dfb
update html title for sharing page
2023-04-05 18:15:53 -07:00
sawka
5bad7b633f
fix ts errors
2023-04-05 15:30:38 -07:00
sawka
8c0b9bfa80
fix typo and remove console logs
2023-04-05 15:29:08 -07:00
sawka
f9544546fc
bug fixes and updates to get prod version of webshare working
2023-04-05 15:11:37 -07:00
sawka
c7289556e5
bug fixes for prod version of webshare -- allow notify to reset backoff time
2023-04-05 15:09:51 -07:00
sawka
96640bf761
add open in browser link
2023-04-05 00:51:26 -07:00
sawka
ea8b61278b
get a webshare view working
2023-04-05 00:48:34 -07:00
sawka
000d86b7af
fix session stats
2023-04-05 00:46:47 -07:00
sawka
bc89309cfe
fix nil ptr in /line:view
2023-04-05 00:25:22 -07:00
sawka
6c4a8e01df
dont log start of new ws conn
2023-04-04 23:44:47 -07:00
sawka
174a4ef8fd
add limits to websharing
2023-04-04 23:38:34 -07:00
sawka
f492645530
confirm websharing. minor bug fixes, etc (hotkeys, menu edits, etc.)
2023-04-04 23:26:34 -07:00
sawka
fa8db1d80e
limit screen sharing to 50 commands
2023-04-04 23:24:08 -07:00
sawka
0ee3af71bd
update sharename
2023-04-04 22:28:52 -07:00
sawka
1f2967c145
update sharename
2023-04-04 22:28:24 -07:00
sawka
cd8e17413d
tos, also redo screen settings so settings take affect immediately, working on smoother webshare flow
2023-04-04 21:54:20 -07:00
sawka
f6c6a40aba
add client:accepttos command
2023-04-04 21:52:20 -07:00
sawka
84da8264e8
fix textmeasure -- works now for chrome, safari, and firefox
2023-04-04 18:16:56 -07:00
sawka
0b3c7db1d4
inlineedit -- icon and focus
2023-04-04 16:22:42 -07:00
sawka
e6aa2bae86
refactor markdown (for alerts), remote cmddone delay
2023-04-04 14:04:44 -07:00
sawka
f470b8e66f
tweak share-tag, link to settings
2023-04-04 13:44:21 -07:00
sawka
86ab25d6cd
tweak background color of alt-views
2023-04-04 13:36:28 -07:00
sawka
a46de10f42
commands return CommandRtnType promise. smaller font size for settings
2023-04-04 13:25:05 -07:00
sawka
4d813aa07a
bump version to v0.2.0
2023-04-04 09:16:03 -07:00
sawka
1d5fe3c5be
bump version
2023-04-04 09:15:31 -07:00
sawka
fdae19610b
fix path
2023-04-04 09:03:18 -07:00
sawka
df4ef2b675
small fixups
2023-04-04 09:01:11 -07:00
sawka
81cb57e48d
small changes to work on textwrapping in textarea
2023-04-03 23:17:15 -07:00
sawka
c9e52b0148
fix dev url to be index-dev.html
2023-04-03 22:33:10 -07:00
sawka
a8eafca91b
after connections modal closes, refocus
2023-04-03 22:21:57 -07:00
sawka
6e6fe4d4bf
auto-install and reconnect flow working
2023-04-03 22:15:43 -07:00
sawka
501e2ac76c
add initialzing state to deal with quick data
2023-04-03 22:15:18 -07:00
sawka
c1b4b7eb63
cleanup old connections code, more cleanup on the connection flows
2023-04-03 21:33:03 -07:00
sawka
c7024b0ef5
switch to 'connection'
2023-04-03 21:31:40 -07:00
sawka
b731763746
create a new remote, show connect timeout, move alias to edit remote, fix archiving flow
2023-04-03 18:58:41 -07:00
sawka
936500a18e
add client deadline and update remoteruntimestate
2023-04-03 18:57:38 -07:00
sawka
faadfdffaa
new remoteview type to hook into remoteview window
2023-04-03 15:55:36 -07:00
sawka
fb9eaf23f9
hook up remotes into remote command flow
2023-04-03 15:55:03 -07:00
sawka
81f555adcd
info-message
2023-04-03 15:53:28 -07:00
sawka
bc7446a908
more remotes refactoring
2023-04-03 11:38:53 -07:00
sawka
4cbeccbe38
refactor remotesmodal into its own file with its own model
2023-04-03 11:29:54 -07:00
sawka
fc0cbc994a
small cleanup on editing style
2023-04-03 01:53:34 -07:00
sawka
443c8155e7
working on new connections modal
2023-04-03 01:39:27 -07:00
sawka
0a16bb2181
add two new fields to remotetype for better messages on client
2023-04-03 01:37:55 -07:00
sawka
1810107572
fix error message
2023-04-02 23:11:29 -07:00
sawka
01a99cba03
minor updates/bugfixes
2023-04-02 23:00:55 -07:00
sawka
59fd629920
small updates webshare/archive interaction.
2023-04-02 00:20:05 -07:00
sawka
7134a21f6a
updates for serving off AWS / cloudfront
2023-04-02 00:19:20 -07:00
sawka
60bbf73b14
add webshare into settings
2023-04-01 22:25:18 -07:00
sawka
8599e2b57c
switch to new model of ws notification -> screen update fetch
2023-03-31 21:02:44 -07:00
sawka
10da862942
update position of webshare and webshare-copy link
2023-03-31 21:01:29 -07:00
sawka
f808c7b362
better way to handle updates -- use a dedup across all updates, pack as many updates as possible into the packet
2023-03-31 18:15:51 -07:00
sawka
0a4de40e34
add rtnstate
2023-03-31 13:26:38 -07:00
sawka
5e5a6aa53f
do synchronous webscreen delete
2023-03-31 13:25:57 -07:00
sawka
576f67c5a0
fix initial size
2023-03-31 12:34:13 -07:00
sawka
164ae305ce
modify todos
2023-03-31 10:09:50 -07:00
sawka
6af8aec315
get renderers working, updates to remove globalmodel dependencies on simplerender.
2023-03-31 00:34:39 -07:00
sawka
a7faf2040f
get contentheigh updates working
2023-03-31 00:32:38 -07:00
sawka
ab0852b574
implement staticRender and isVisible, and terminalheight/contentheight
2023-03-30 22:50:20 -07:00
sawka
a236348e44
webshare controls, sync selected, copy
2023-03-30 22:26:01 -07:00
sawka
cf7c25e78d
setselectedline
2023-03-30 21:20:30 -07:00
sawka
8ea8b406d3
fix isFirst offsetdelta
2023-03-30 21:20:00 -07:00
sawka
4c7d3f2079
add contentheight
2023-03-30 20:55:27 -07:00
sawka
7ea4fb8db4
fix bug with null anchor
2023-03-30 20:54:52 -07:00
sawka
4f4949b406
use LinesView with WebShare
2023-03-30 18:33:37 -07:00
sawka
4d3ca62519
selected lines, webshare url, refactor linesview into its own component
2023-03-30 18:14:52 -07:00
sawka
274697039a
webshare selected line, sync webupdate for screen:new, fix line resolver for hidden items
2023-03-30 18:08:35 -07:00
sawka
516761815b
removelines and resize width
2023-03-30 13:00:54 -07:00
sawka
652c820844
simplify updates, remove line:archived (now just line:del)
2023-03-30 12:59:58 -07:00
sawka
62f6be22ea
ws merging working
2023-03-30 01:00:04 -07:00
sawka
83ce367ace
set archived update for archived lines
2023-03-30 00:59:05 -07:00
sawka
7609909e6d
fix timeout array
2023-03-30 00:07:56 -07:00
sawka
3709381034
never omit ptypos or data from WebSharePtyData
2023-03-30 00:07:25 -07:00
sawka
414cd6bf0a
webshare websocket implementation
2023-03-29 17:51:42 -07:00
sawka
394a2a9ab3
updates for new webremote, fix bug in cwd computation
2023-03-29 12:42:53 -07:00
sawka
a340f93c20
add statevars to remote, add vars into webremote
2023-03-29 12:42:04 -07:00
sawka
5480d5d7f6
fix nil checking in dbutil (typed nils)
2023-03-29 12:40:53 -07:00
sawka
99cf937ffd
got terminal rendering working
2023-03-29 01:05:36 -07:00
sawka
2277e16749
bug fixes for webshare
2023-03-28 22:53:59 -07:00
sawka
e83abeaa5b
big refactor for webshare, reduce GlobalModel dependencies
2023-03-28 22:53:18 -07:00
sawka
6a42dcf07f
working on webshare
2023-03-28 17:02:05 -07:00
sawka
ac08af8be0
starting on webshare website
2023-03-28 12:10:11 -07:00
sawka
c3159deb57
fix prompt color
2023-03-28 01:05:21 -07:00
sawka
6753f5eaf4
add updatets
2023-03-28 01:05:01 -07:00
sawka
50caeee5c2
support int fields in DBMappable
2023-03-28 01:04:34 -07:00
sawka
dde547351c
add some synchronization magic for ptypos updates
2023-03-28 00:24:37 -07:00
sawka
e674333621
support map types in DBMappable
2023-03-28 00:23:31 -07:00
sawka
1dbdb3d50b
got screen:new and screen:del implemented
2023-03-27 18:19:17 -07:00
sawka
b0269d5228
move generic db functions to dbutil (for use with PromptCentral)
2023-03-27 14:11:02 -07:00
sawka
5399283666
fix remote update bug, add 'connect now' button for disconnected remotes
2023-03-27 12:32:26 -07:00
sawka
29205ba586
for non-relative resolves, return nil if the number is out of range
2023-03-26 23:31:22 -07:00
sawka
cceb490823
fix mods.ctrl, bind meta-ctrl-[num] to switch session
2023-03-26 23:30:50 -07:00
sawka
3816e908f9
less chatty
2023-03-26 23:07:47 -07:00
sawka
582cd807a8
pcloud web-share working with stubbed out promptcentral
2023-03-26 23:07:30 -07:00
sawka
150c8cfaee
now calling promptcentral web updates
2023-03-26 18:48:43 -07:00
sawka
aed5a4db1d
multiple updates in request
2023-03-26 13:36:33 -07:00
sawka
cf3644f0fd
working on webshareupdates
2023-03-26 13:21:58 -07:00
sawka
8b2fea604f
show shared status/indicator
2023-03-25 12:55:44 -07:00
sawka
9ffb672062
add screenupdates
2023-03-25 12:54:56 -07:00
sawka
dcdf04bc82
big performance update for lines, only render 100 lines around anchor. auto-load more. now anchor is an observable and will change what LinesView renders
2023-03-24 18:37:02 -07:00
sawka
4aa2bab06e
fix null screen bug
2023-03-24 18:35:29 -07:00
sawka
11649f4c66
removed line.bookmarked, added screen webshare
2023-03-24 10:46:27 -07:00
sawka
bfe8ee1c02
starting on screen:webshare feature. simplify bookmarks (removed bookmarked from line)
2023-03-24 10:34:07 -07:00
sawka
5d24e75803
fix bug with pulling all rtnstate (just pull visible). fix typescript errors
2023-03-23 15:44:19 -07:00
sawka
e6b9cc09ec
update collapsed indicators
2023-03-23 12:16:45 -07:00
sawka
42e3a95fc6
client settings modal
2023-03-23 12:08:48 -07:00
sawka
8299d3ff54
send updated clientdata when telemetry is updated
2023-03-23 12:08:03 -07:00
sawka
74da2ff828
add control-P and control-N
2023-03-23 10:00:45 -07:00
sawka
36a6dd2a9e
fix weird resize/scroll bug with losing anchor when focused on last line
2023-03-21 17:08:31 -07:00
sawka
bd0cffb2c3
update schema
2023-03-20 21:38:39 -07:00
sawka
c695724166
fix bug with duplicate ids for lines (now handled with refs)
2023-03-20 21:37:45 -07:00
sawka
e5490df56c
big checkpoint on cmd screen migration
2023-03-20 19:22:52 -07:00
sawka
963bef8425
add groupid, since it is now a screenid not a sessionid
2023-03-20 19:21:23 -07:00
sawka
02ae7ea972
checkpoint on big cmd screen migration
2023-03-20 19:20:57 -07:00
sawka
cec75c0d5b
add simple history expansion
2023-03-20 12:19:48 -07:00
sawka
e8ffd4b4b1
center the logo
2023-03-20 00:28:49 -07:00
sawka
874632939d
fix another performance issue -- when lines is hidden vismap was set to all true
2023-03-20 00:05:25 -07:00
sawka
31d79b8829
fix 'giveFocus' issue
2023-03-19 23:36:04 -07:00
sawka
651146cab1
improvements to startup and disconnect modal
2023-03-19 14:59:21 -07:00
sawka
1742a3dbbc
add linenum to map
2023-03-18 11:49:00 -07:00
sawka
064e31eb2c
fix history query time
2023-03-17 21:36:49 -07:00
sawka
2a2d356814
fix settings to always set the correct session/screen
2023-03-17 21:15:42 -07:00
sawka
2ba3a09285
prevent nulls (problem with my DB)
2023-03-17 18:19:59 -07:00
sawka
708cc809a0
fix typescript error
2023-03-17 16:23:35 -07:00
sawka
1ae7d72532
add ctrl-w
2023-03-17 16:21:43 -07:00
sawka
e01a0a7fa0
write local-server-bin
2023-03-17 15:57:01 -07:00
sawka
c4ae7b51ad
better markdown styles for github
2023-03-17 15:56:38 -07:00
sawka
fc5900122d
hover linesettings
2023-03-17 15:12:34 -07:00
sawka
f7e81b14ae
send port to server
2023-03-17 15:07:45 -07:00
sawka
e363ed0d0e
copy sshport to real sshopts. print port number in console
2023-03-17 15:07:29 -07:00
sawka
5b74117bca
bump to 0.1.7, add line:set
2023-03-17 14:47:30 -07:00
sawka
920a327f70
finish up basic line settings
2023-03-17 14:46:25 -07:00
sawka
b1535b9b9d
line settings modal checkpoint
2023-03-17 12:37:10 -07:00
sawka
8ae09f6924
renderers, fix all savedheight issues with layout bounce
2023-03-17 12:17:54 -07:00
sawka
ac1bba94d9
checkpoint, simplerender should send onHeightChange events
2023-03-17 10:11:38 -07:00
sawka
7a1166b2fa
display ... for loading
2023-03-16 21:51:03 -07:00
sawka
bc96a1bbed
getting markdown/image simple renderers working
2023-03-16 21:48:30 -07:00
sawka
5bc6f1fd6c
set renderer from kwargs
2023-03-16 21:46:10 -07:00
sawka
efb63a1466
add screenid to cmd, remove sessionid from screenlines
2023-03-15 18:13:36 -07:00
sawka
e16c6534ad
add screenid to cmd, remove sessionid from screenlines
2023-03-15 18:12:55 -07:00
sawka
f86f0a78b1
restore historynum and add linenum to historyitems
2023-03-15 12:27:17 -07:00
sawka
962edd1d76
improve quick history display
2023-03-15 11:14:28 -07:00
sawka
5008c82521
remove welcome modal
2023-03-14 21:24:35 -07:00
sawka
6fe54f5fde
use screenmap instead of screenlist, some tweaks to hints
2023-03-14 21:15:26 -07:00
sawka
b9f10fb9b6
remove more references to window. also add 'archiving' to screen settings
2023-03-14 20:09:59 -07:00
sawka
78bd0d3788
remove windowid
2023-03-14 16:38:26 -07:00
sawka
ed60723720
remove windowid
2023-03-14 16:37:22 -07:00
sawka
f1aacf82fd
session settings modal
2023-03-14 11:48:14 -07:00
sawka
d3d540014f
screen settings modal
2023-03-14 11:25:42 -07:00
sawka
d5007e71cc
fix alert modal styling. working on screen settings
2023-03-13 23:36:27 -07:00
sawka
8e4c9172c0
add some hints
2023-03-13 21:56:29 -07:00
sawka
6835a8ea20
small updates
2023-03-13 19:54:41 -07:00
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
bdf2f92c31
swap order (activescreen needs screens set)
2023-03-13 12:23:13 -07:00
sawka
49e56f91cd
bug fixes for screen primary
2023-03-13 12:10:23 -07:00
sawka
0afacbd6d2
big update to support screen consolidation
2023-03-13 12:09:17 -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
ed6737157b
background color black on startup
2023-03-12 17:38:03 -07:00
sawka
ee2fd8e98f
let SIGHUP or stdin close trigger a shutdown
2023-03-12 15:24:53 -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
5c0454e66f
add sharemode
2023-03-12 13:33:56 -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
0ad1d9236a
commit unused code in working version
2023-03-08 09:56:38 -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
c9d0aabfe5
add crypto libs
2023-03-08 09:37:52 -08:00
sawka
d0138c2627
implement ctrl-u / ctrl-y in cmdinput. also start working on welcome modal
2023-03-07 20:40:30 -08:00
sawka
ca527e6643
bump to v0.1.6
2023-03-06 15:53:08 -08:00
sawka
feea45aa19
bump to v0.1.6
2023-03-06 15:52:53 -08:00
sawka
5986ec1398
hide playbooks feature
2023-03-06 15:51:50 -08:00
sawka
1a377a4324
history uses CmdStrCode, now supports use/copy
2023-03-06 15:50:05 -08:00
sawka
66f55ad85c
fix bugs with history query paging
2023-03-06 15:42:50 -08:00
sawka
4f5c820af3
refactor the cmdstr display element
2023-03-06 14:30:53 -08:00
sawka
61fa23b854
added search filter cmds
2023-03-06 13:57:28 -08:00
sawka
454c8758cd
bug fixes, allow cmd filtering
2023-03-06 13:54:38 -08:00
sawka
3eadd676ce
use new history search api
2023-03-06 11:49:14 -08:00
sawka
501b067ead
add a filtered search mode to history search
2023-03-06 11:47:44 -08:00
sawka
aae5b81de0
updates for search by day
2023-03-05 13:54:17 -08:00
sawka
7516f880ae
history search bugfixes
2023-03-05 13:53:24 -08:00
sawka
778d801b88
copy to clipboard as keyboard command as well
2023-03-05 13:24:29 -08:00
sawka
2e4d3c3da7
copied indicator -- quick flash. add copy button to cmdstr
2023-03-05 12:49:25 -08:00
sawka
04803a6c37
more advanced search options
2023-03-03 18:42:34 -08:00
sawka
56b74f35f3
allow many more history query search options
2023-03-03 18:12:24 -08:00
sawka
80388a7399
scroll to bottom if anchorline is not found
2023-03-03 18:04:53 -08:00
sawka
8a0d58e05d
can now purge history items from history view
2023-03-03 13:31:45 -08:00
sawka
22d0c5687e
call to purge history items
2023-03-03 13:31:16 -08:00
sawka
fb432b3cda
submit command now returns a promise. add lines to modelupdate
2023-03-03 12:48:29 -08:00
sawka
68430d33a1
implement alert/confirm modal. some more history view cleanup
2023-03-03 12:38:55 -08:00
sawka
a81bf6ec67
fix last line scrolling
2023-03-03 12:06:17 -08:00
sawka
e073effe55
working on modal
2023-03-03 10:16:31 -08:00
sawka
60e17f160f
add activesessionid to switch screen
2023-03-03 10:15:57 -08:00
sawka
58a8d02f9d
can preview lines inside of history view. also implement view in context
2023-03-02 23:25:45 -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
075e98c4cf
add getCmd to linecontainer
2023-03-02 00:41:16 -08:00
sawka
adfec86d8b
working on history inbox view
2023-03-02 00:33:10 -08:00
sawka
014f1132a7
working on playbooks and history view
2023-03-02 00:31:19 -08:00
sawka
c3d07223f7
change unknown to question mark
2023-02-28 17:51:17 -08:00
sawka
fa393e2eec
make a fake cmd for 'cr'. add 'connect'
2023-02-28 17:50:42 -08:00
sawka
759a0b52c7
update icons for FA6
2023-02-27 18:01:05 -08:00
sawka
1949b76354
collapse mode for screen window view
2023-02-27 15:52:55 -08:00
sawka
b557da8694
bump to v0.1.5
2023-02-27 12:28:22 -08:00
sawka
779a7f2a18
bump to v0.1.5
2023-02-27 12:27:40 -08:00
sawka
326b8d9b92
switch to fontawesome 6
2023-02-27 12:22:45 -08:00
sawka
9372d3a9d0
allow cmd text expansion
2023-02-27 00:30:17 -08:00
sawka
652930753c
schema updates
2023-02-26 22:22:20 -08:00
sawka
83314c3e48
update termfontsize command /client:set
2023-02-26 14:33:01 -08:00
sawka
3cb47da584
get fontsize from clientdata
2023-02-26 14:16:42 -08:00
sawka
d11d76c670
always set sw size
2023-02-26 00:04:24 -08:00
sawka
5f92086fd2
model, getclientdata
2023-02-25 23:43:06 -08:00
sawka
c66bee7657
put static values for font size, re-render entire window when font size changes
2023-02-25 23:16:58 -08:00
sawka
5e68c6b2f7
get floating point width
2023-02-25 21:11:34 -08:00
sawka
472acd8d99
textmeasure
2023-02-25 21:09:04 -08:00
sawka
037664a1c8
write the full dmg name
2023-02-23 23:47:21 -08:00
sawka
132c0dacde
fade in the ...
2023-02-23 23:36:35 -08:00
sawka
b415af4772
fix devtool setting
2023-02-23 23:27:05 -08:00
sawka
281d964d86
improve rendering performance
2023-02-23 23:24:26 -08:00
sawka
3b1198d6b7
remove production sourcemap
2023-02-23 19:57:31 -08:00
sawka
ee4cfd2d4b
add db migrations
2023-02-23 17:52:54 -08:00
sawka
a7af66be31
regression, input height
2023-02-23 17:51:59 -08:00
sawka
85df0837ad
fix other terrible scrollbar display
2023-02-23 17:34:27 -08:00
sawka
8689ece6da
start working on terrible scrollbar display
2023-02-23 16:06:44 -08:00
sawka
ea3e377f6c
updates for client version
2023-02-23 15:19:01 -08:00
sawka
fe3fb6d377
updates for activity, buildtime, etc.
2023-02-23 15:17:47 -08:00
sawka
c1b6095410
add buildtime
2023-02-23 14:50:58 -08:00
sawka
3d0ce6ea27
add close button, refactor bookmarksview to new file
2023-02-23 09:21:37 -08:00
sawka
6c116e54b0
fix invalid reference to this
2023-02-22 16:15:02 -08:00
sawka
654ff3b0b8
stub out shared sessions
2023-02-21 22:42:44 -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
7f3e688475
finish up bookmark functionality
2023-02-21 22:10:45 -08:00
sawka
e4113b5f51
bookmark edit, delete, getbyid
2023-02-21 18:03:13 -08:00
sawka
cc5f8f81e7
bookmark editing/delete
2023-02-21 18:02:28 -08:00
sawka
9bb9e1fd5d
making progress on bookmarks page. styling markdown. external link handler
2023-02-21 14:05:34 -08:00
sawka
aadf9d854d
working on bookmarks, fix hover issue
2023-02-21 11:29:54 -08:00
sawka
c507769421
working on bookmarks view
2023-02-20 22:32:11 -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
e47c31e414
updates for bookmarked/pinned
2023-02-20 18:01:47 -08:00
sawka
37ffcd03c8
new bookmark tables
2023-02-20 15:42:27 -08:00
sawka
d0b03c359a
setscreenidx and getdbversion
2023-02-20 15:41:39 -08:00
sawka
088e00f9da
bump to version v0.1.4
2023-02-16 15:49:38 -08:00
sawka
5fa7bcc108
bump to version 0.1.4
2023-02-16 15:49:22 -08:00
sawka
9c391db16c
remove collapsed feature for now, fix some small issues
2023-02-16 15:47:05 -08:00
sawka
45f107a650
scroll tab into view when selected
2023-02-15 20:48:19 -08:00
sawka
70c7a1ca21
fix padding
2023-02-15 20:35:43 -08:00
sawka
844eb58920
line collapsing
2023-02-15 20:32:17 -08:00
sawka
bc0abacfd2
use new external module github.com/sawka/txwrap
2023-02-14 16:17:54 -08:00
sawka
4429607eb5
refactor the data buffer functionality
2023-02-06 12:08:07 -08:00
sawka
62b9503387
sort working image renderer
2023-02-06 00:31:34 -08:00
sawka
57a8e49d73
updates for line renderer
2023-02-06 00:30:23 -08:00
sawka
573ca55c50
add stat call
2023-02-06 00:29:33 -08:00
sawka
2a1dcd97e9
add stub imagerenderer code
2023-02-05 23:01:27 -08:00
sawka
c87d4f787c
move reload url code to model from term
2023-02-05 23:01:02 -08:00
sawka
5e7fe63877
more refactoring
2023-02-05 22:07:57 -08:00
sawka
bf1f0424a6
add remark / remark-gfm
2023-02-04 20:55:31 -08:00
sawka
237a2b083e
small refactor to get ready for renderers
2023-02-03 18:29:07 -08:00
sawka
a25deff1a2
working on refactoring out a 'renderer' type from TermWrap
2023-02-03 18:12:50 -08:00
sawka
d6e0c038e4
minor updates
2023-02-03 16:26:56 -08:00
sawka
ab92fc5f29
bump version of xtermjs
2023-02-03 14:36:17 -08:00
sawka
1d7113d91b
stub out some history view code (disabled in UI right now)
2023-02-03 14:26:46 -08:00
sawka
8e77a5f84a
fix issue with cmd-r
2023-02-03 14:25:14 -08:00
sawka
590e4d64da
better showing of dev builds
2023-02-01 21:44: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
8466dc41ce
bump version to v0.1.3
2023-02-01 00:47:39 -08:00
sawka
06aefd358f
remove typo
2023-02-01 00:45:48 -08:00
sawka
9aba013e22
always show install options
2023-02-01 00:45:08 -08:00
sawka
3240b128e1
fix nil ptr exception (because GetType() returns a value even when pk is nil)
2023-02-01 00:44:31 -08:00
sawka
38b7bbfff2
setTUR will now set the usedrows into the backend. linetype sends used rows so the screen updates better on first load (perf as well)
2023-02-01 00:27:59 -08:00
sawka
d34b879abb
make termcontext a union, fix typing
2023-01-31 23:12:16 -08:00
sawka
7fb8c91db7
fix menu, keep hidden toggle dev tools, remove view menu, move force reload to file menu
2023-01-31 22:55:30 -08:00
sawka
e52cd6eb21
remove testing context menu
2023-01-31 22:43:39 -08:00
sawka
6eb67f98fb
set lineheight for tabs
2023-01-31 22:42:48 -08:00
sawka
d7d6067fbb
a bare enter will focus the last line in a window
2023-01-31 22:22:51 -08:00
sawka
c0876a6ab6
line:setheight command
2023-01-31 22:21:19 -08:00
sawka
65e23f9f48
partial resize handling
2023-01-31 21:25:11 -08:00
sawka
381ed04153
allow multiple window updates (change window to windows)
2023-01-31 17:57:26 -08:00
sawka
108517bd08
add /screen:reset to remove all remote instances for screen
2023-01-31 17:56:56 -08:00
sawka
a4b8819948
increase rundata size limits
2023-01-31 12:14:41 -08:00
sawka
6ea1dd65bb
update ports
2023-01-30 11:36:02 -08:00
sawka
5f27c97dbe
update ports
2023-01-30 11:35:39 -08:00
sawka
0696669c53
update schema
2023-01-28 21:15:05 -08:00
sawka
cd41be5d04
use relative path for mshell
2023-01-26 14:41:26 -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
7ac70d6fc0
bump to v0.1.2
2023-01-25 22:28:22 -08:00
sawka
76ce588b3b
update icon, check in new icon, remove hardcoding of 'sawka' in comment lines
2023-01-25 22:22:51 -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
4494db19e2
append to local-server.log, don't overwrite
2023-01-25 13:57:13 -08:00
sawka
ac447e072b
fix excessive line rendering with mobx.computed
2023-01-23 23:34:29 -08:00
sawka
9f034f39d4
remove loading animation
2023-01-23 23:11:34 -08:00
sawka
2bb098e940
exit stdin loop on error, force a sigkill after 10s
2023-01-23 15:48:54 -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
5a167961d9
set dev pcloud endpoint
2023-01-22 23:10:37 -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
9fd803bc11
centralize version info for building. change 'SH' vars to 'PROMPT'
2023-01-17 09:59:31 -08:00
sawka
daeef7a4d0
updates for v0.1.0, update some js packages
2023-01-16 23:44:50 -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
8a7a114671
add create-dmg-m1
2023-01-11 22:20:23 -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
a5c921a730
new loading spinner, fix bug with terminal not displaying (complicated effect via CharSizeService interacting with display:none and dom observer with 0 height)
2023-01-02 22:54:40 -08:00
sawka
988a6c92ff
context menu working cut/copy/paste with some smarts about where it is displayed
2023-01-02 14:52:53 -08:00
sawka
7ccd842bf7
allow line to be selected (don't change focus when selecting text). working on contextmenu
2023-01-02 14:08:24 -08:00
sawka
7f15092550
change back to /history
2023-01-02 12:13:55 -08:00
sawka
6a5be9652d
change back to /history
2023-01-02 12:13:41 -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
921053f1b7
don't show unknown for prompt, just show an empty prompt
2022-12-30 17:16:13 -08:00
sawka
a20da453f4
cr command (bare) shows all remotes
2022-12-30 17:01:17 -08:00
sawka
b7b742d3de
update gitignore
2022-12-30 16:57:13 -08:00
sawka
2f7aa94405
sudo remote and colors
2022-12-29 00:07:16 -08:00
sawka
9c95aa25d1
colorize prompt for remotes
2022-12-29 00:06:53 -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
7d887bc2d9
update build output paths
2022-12-28 23:08:33 -08:00
sawka
9e2424567e
update gitignore
2022-12-28 23:08:07 -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
5b98728fc6
move logo to sidebar, main-content fills vertical space
2022-12-28 17:46:15 -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
4e7929ee63
working on separate prompt-dev version
2022-12-28 13:47:51 -08:00
sawka
cbf185a715
universal binary, prompt-dev home directory, create-dmg in scripthaus.md
2022-12-28 13:29:18 -08:00
sawka
43689ac3f8
line archived (not line:hidden). remove some debugging code
2022-12-27 23:12:27 -08:00
sawka
2dd9cf16fa
working on notarization, deal with multiple instances. remove fs-ext
2022-12-27 22:55:42 -08:00
sawka
773088d070
remove debug
2022-12-27 10:58:32 -08:00
sawka
465ff194e2
move screen based on input resize
2022-12-27 10:58:11 -08:00
sawka
f977d2a0d6
replace ScriptHaus with Prompt
2022-12-26 19:17:24 -08:00
sawka
73bc162824
session:show command
2022-12-26 19:06:46 -08:00
sawka
7f9b347562
frontend for session archiving
2022-12-26 18:50:22 -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
5882897e3e
archived screens display
2022-12-26 12:36:24 -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
21c4e979d4
archived for screens/sessions
2022-12-25 13:03:34 -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
ffba2f3d6c
deal with line hide/show
2022-12-21 22:05:05 -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
91667e4dec
process special input signals. also allow numeric signals.
2022-12-20 21:58:24 -08:00
sawka
71980589bb
simple authkey based authentication between electron and local-server
2022-12-20 16:22:05 -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
f0b9bc6eb8
more scripthaus -> prompt renaming
2022-12-19 17:45:27 -08:00
sawka
2684aaef85
change fn prefix that mshell uses to mshell
2022-12-19 17:39:19 -08:00
sawka
7250bbb1ad
rename to mshell_exittrap
2022-12-19 17:38:24 -08:00
sawka
35006dfc65
rename sh2/scripthaus to prompt. maxcommandlen set.
2022-12-19 17:36:19 -08:00
sawka
83166eb8f4
update to rename scripthaus to prompt
2022-12-19 17:35:08 -08:00
sawka
5344aef096
fix error regarding sw:set when screen is empty
2022-12-19 17:09:59 -08:00
sawka
cb6712202f
cleanup
2022-12-12 12:26:55 -08:00
sawka
90d32731db
clean up sidebar
2022-12-12 12:11:02 -08:00
sawka
66a99adfef
use capital for app name
2022-12-09 13:22:44 -08:00
sawka
b82848eff3
upgrade some npm packages
2022-12-06 15:44:08 -08:00
sawka
222892e27b
monofont for completions
2022-12-06 14:20:10 -08:00
sawka
ff2ddd90a2
can click on linetext to select them
2022-12-06 10:24:44 -08:00
sawka
0620ff5d85
add line starring
2022-12-05 22:59:31 -08:00
sawka
8624e9c844
add line staring to schema and to cmdrunner
2022-12-05 22:59:00 -08:00
sawka
5614589922
update title
2022-12-05 22:28:09 -08:00
sawka
f010758b36
mshell single writes ping packets to detect when the server has died. sends SIGHUP to children
2022-12-05 22:26:13 -08:00
sawka
39e5e6c729
remove test code
2022-12-05 15:45:26 -08:00
sawka
ad2cab595d
kill server on I/O write error, and add a pinger to continually send ping packets to test connection
2022-12-05 15:38:44 -08:00
sawka
44967fdeb3
add prompt icon to package. allow pty-jumping (when scrollback is too fast), fix scrolling issue by syncScrollArea on focus.
2022-12-05 15:00:53 -08:00
sawka
81554e8fd2
fix concurrent write on websocket (only happened under intense write stress)
2022-11-29 12:45:19 -08:00
sawka
5aecdffead
fix production build bugs -- utf-8 encoding and index.html
2022-11-28 18:38:25 -08:00
sawka
9f94da43d1
updates for remotestate and data structure changes
2022-11-28 18:08:19 -08:00
sawka
bdd8381b01
updates/bugfixes for statediff
2022-11-28 18:05:54 -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
61a07d4025
fix down migration
2022-11-28 12:01:03 -08:00
sawka
605d0899cf
checkpoint
2022-11-28 00:15:34 -08:00
sawka
b2dc52e166
checkpoint
2022-11-28 00:13:00 -08:00
sawka
eb3cf80329
fix json marshaling bug for statediff
2022-11-27 14:16:25 -08:00
sawka
d5ea9e0221
implement cmdfinal (hangup) from server
2022-11-27 14:12:15 -08:00
sawka
4481cddadc
checkpoint on statediff. bug fixes. working on more robust error handling for packetsender
2022-11-27 13:47:18 -08:00
sawka
5a151369cb
line/mapdiff code
2022-11-25 15:52:29 -08:00
sawka
c94c0b7c36
normalize assoc arrays on parse so then values can be compared
2022-11-25 14:21:51 -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
06c3a240b1
track rows in sw
2022-11-23 14:45:20 -08:00
sawka
d286f4d6ab
checkpoint, add winsize to uicontext
2022-11-23 14:34:49 -08:00
sawka
a4b15ca57e
checkpoint, term height
2022-11-23 14:34:05 -08:00
sawka
7882232a0e
meta+command compgen working. hide compgen command from completion (underscores)
2022-11-23 11:12:05 -08:00
sawka
717461908a
command compgen also needs to detect directories
2022-11-23 10:51:51 -08:00
sawka
da2fe25fb8
move to simpleexpand
2022-11-22 22:59:29 -08:00
sawka
3f710eec1d
working on UI cleanups
2022-11-22 22:57:35 -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
5fa7aa52d3
updates for new compgen
2022-11-10 18:52:38 -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
01821ca094
allow variable comptype
2022-11-09 20:38:47 -08:00
sawka
848f7164a3
checkpoint on completion
2022-11-09 20:38:28 -08:00
sawka
b8d4bb071a
fix links to dist-dev
2022-11-08 14:36:30 -08:00
sawka
d86bee87d8
partial word expansion
2022-11-04 12:28:08 -07:00
sawka
4392956f99
replace expand.Literal with safer hand-written version that only expands quoted strings and literals
2022-11-03 23:53:25 -07: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
76d3c10748
decls equal fn -- must parse associative arrays (order is not consistent in bash output)
2022-11-02 18:41:53 -07:00
sawka
d4e4b497fb
scripthaus env vars. also mshellbinaryfrompackage for install
2022-11-01 21:42:56 -07:00
sawka
ee36078082
parameterize the mshell bin directory (for packaging). inject MSHELL variables for execution
2022-11-01 21:19:42 -07:00
sawka
d9cd211149
packaging with scripthaus-server and mshell binaries, separate dev/prod builds. emain to launch local server from package
2022-11-01 21:18:40 -07:00
sawka
56a91a9601
update packaging to create a packaged electron app for frontend
2022-11-01 00:07:25 -07:00
sawka
7b11999d29
electron packaging
2022-10-31 16:41:44 -07:00
sawka
cd0a65f120
update to electron v19.1.3
2022-10-31 14:59:31 -07:00
sawka
d5142a1eb9
update packages
2022-10-31 12:51:25 -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
ebb196f164
send initial local server status
2022-10-30 13:06:25 -07:00
sawka
f35adf1da0
watch stdin, kill server is stdin is closed
2022-10-30 13:05:53 -07:00
sawka
4078cb1f1e
local server control
2022-10-30 12:53:39 -07:00
sawka
8939c57dd8
minor, add isempty func for shellstate
2022-10-30 12:52:58 -07:00
sawka
260fc2d313
working on server control and packaging
2022-10-30 12:52:40 -07:00
sawka
9027edc0e1
disconnected modal
2022-10-28 14:17:45 -07:00
sawka
29dbf5dde9
runcommand now sets the state at the time of execution
2022-10-27 22:52:38 -07:00
sawka
bba43c8540
minor css update
2022-10-27 22:24:22 -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
1da450e61c
implement reinit, also do not store 'columns' var
2022-10-27 21:59:17 -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
f8d23a68f3
minor update
2022-10-27 15:25:58 -07:00
sawka
bb7f475055
updates for rtnstate
2022-10-27 00:36:03 -07:00
sawka
e5d2267f27
minor updates to get state to be consistent
2022-10-27 00:34:16 -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
245a1995e2
parse shellvariables with args
2022-10-25 12:31:07 -07:00
sawka
c9195b3cfd
move some sh parsing to shexec
2022-10-24 21:29:11 -07:00
sawka
674a6ef11e
grab shell vars with export vars
2022-10-24 21:26:39 -07:00
sawka
5d6c77491f
add shell parser
2022-10-24 15:35:01 -07:00
sawka
babf4f392a
input modes
2022-10-22 23:54:46 -07:00
sawka
3b7dd7c01e
working on source command
2022-10-22 14:46:39 -07:00
sawka
d8b5508b77
returnstate option for runpk (for sourcing files)
2022-10-22 14:45:31 -07:00
sawka
c0b3db19d4
cleanups for terminal interaction
2022-10-20 16:15:21 -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
b9c3940b99
big change to execution, run command as a script and set aliases/funcs
2022-10-16 23:46:59 -07:00
sawka
1c2c8c2f4d
return defined bash aliases in initpk
2022-10-15 13:45:52 -07:00
sawka
4744eaa491
handle non-running terminal keypresses
2022-10-13 18:58:21 -07:00
sawka
f73baf440c
fix scrollbars, lighten scrollbars when not focused
2022-10-13 16:09:26 -07:00
sawka
4892c45921
remove empty cursor line when terminal is not running
2022-10-12 13:57:15 -07:00
sawka
aa2e6b471b
small updates for cmd-fg
2022-10-11 23:13:34 -07:00
sawka
c940c7b85b
cmd-fg, update when cmd done back to input
2022-10-11 23:11:43 -07:00
sawka
5c8dabbb2c
fixing focus bugs
2022-10-11 14:57:22 -07:00
sawka
a0de45949f
better focus handling
2022-10-11 13:25:23 -07:00
sawka
61dac018fb
allow negative numbers for anchor offset
2022-10-11 13:23:38 -07:00
sawka
0bf36be982
checkpoint, focusing cmds
2022-10-11 01:11:36 -07:00
sawka
62fc2594ef
checkpoint cmd-fg
2022-10-11 01:11:04 -07:00
sawka
cb94936aad
checkpoint on selection/fg model
2022-10-10 23:44: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
8c01aa787b
add focus indicator to comment lines
2022-10-10 17:29:59 -07:00
sawka
b74ed98374
add meta-pageup/meta-pagedown
2022-10-10 17:18:40 -07:00
sawka
3bc8328c02
finish up scroll to newly selected line
2022-10-10 15:21:43 -07:00
sawka
82819bbe94
updating selectedline will now scroll the window
2022-10-10 12:45:57 -07:00
sawka
d04f94d481
add static version of bulma 0.9.4
2022-10-10 12:21:55 -07:00
sawka
c5e3de9fdc
add static version of font-awesome 4.7
2022-10-10 12:19:19 -07:00
sawka
051110cdc1
fix font loading
2022-10-10 12:08:29 -07:00
sawka
05592bda4c
big overhaul of scrollsync and term loading code for UI
2022-10-07 18:25:47 -07:00
sawka
e7ceecee5b
l-cmd model update
2022-10-07 14:37:25 -07:00
sawka
0053ebbfa9
add cmd-l listener
2022-10-07 14:36:34 -07:00
sawka
82e88d2f61
use refs
2022-10-07 11:32:58 -07:00
sawka
ab31aecf90
working on line selection / fg commands
2022-10-07 01:08:52 -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
271dde4d1d
checkpoint on screen window changes
2022-10-06 18:35:01 -07:00
sawka
fbe652b932
add scrolltop and selectedline to screen_window
2022-10-06 18:33:54 -07:00
sawka
1939cba14f
use static font files, checkpoint on focus-indicator for lines
2022-10-06 15:40:53 -07:00
sawka
4e5c1aab1c
fix termsize calculations for canvas renderer 7.2px not 8px
2022-10-06 15:17:48 -07:00
sawka
7c0476350d
checkpoint
2022-10-06 14:00:24 -07:00
sawka
61071de644
checkpoint -- fg/focus
2022-10-04 13:53:04 -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
788ef1f33d
archive remote button (with confirm). edit remote button in remote:show
2022-10-04 11:15:35 -07:00
sawka
0173cbce23
reset pw
2022-10-04 10:52:55 -07:00
sawka
4e76514f1b
edit remote checkpoint
2022-10-03 19:05:52 -07:00
sawka
998a65b873
remote editing checkpoint
2022-10-03 19:04:48 -07:00
sawka
a9c2020018
update to xterm v5
2022-10-03 15:23:40 -07:00
sawka
17fb5b2552
update packages
2022-10-03 15:03:40 -07:00
sawka
b91bf6bd20
checkpoint, visual editing of remotes
2022-10-03 12:25:55 -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
1cc58944b8
UI for waiting for password
2022-09-30 17:23:28 -07:00
sawka
d8e7c915e5
add sshport and batchmode
2022-09-30 17:22:57 -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
0b0b7307ba
remote showall dialog
2022-09-30 15:42:10 -07:00
sawka
0821e35a37
checkpoint on remote:add/edit
2022-09-30 14:57:23 -07:00
sawka
534ef04cca
checkpoint on remote:add dialog
2022-09-30 14:46:51 -07:00
sawka
b981aafb1a
merge
2022-09-26 23:25:12 -07:00
sawka
594c3472e3
remote install
2022-09-26 23:24:15 -07:00
sawka
be1e1dfe90
allow context cancelation of install
2022-09-26 23:23:32 -07:00
sawka
a60680f855
remote install
2022-09-26 23:23:04 -07:00
sawka
ea6b571184
pass context to runinstall for cancelation
2022-09-26 21:10:08 -07:00
sawka
d143ca2820
working on /remote:install
2022-09-26 21:09:43 -07:00
sawka
b5c67b6260
refactoring for versioned mshell binaries on remotes
2022-09-26 13:02:34 -07:00
sawka
392a7bebdd
fix primary display bounds calculation
2022-09-26 11:50:02 -07:00
sawka
d251cbdd88
save/restore winsize w/ clientdata
2022-09-25 00:26:33 -07:00
sawka
49f2611764
save/restore window pos/size
2022-09-25 00:25:31 -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
aa0f9d98d1
stub remote show all
2022-09-24 19:53:06 -07:00
sawka
4550e18b6b
version string will now be a real semantic version
2022-09-24 13:53:19 -07:00
sawka
121da87eea
refactor inforemoteshow out of info
2022-09-22 21:20:37 -07:00
sawka
aa1542cfc0
don't overwrite mshell if no input received on stdin during install
2022-09-21 23:51:16 -07:00
sawka
c63108a841
show mshellversion/uname in remote:show
2022-09-21 23:31:03 -07:00
sawka
ca61597a19
send uname in initpk. remote space between uname parts
2022-09-21 23:26:53 -07:00
sawka
eb00fde596
send uname/mshellversion with remotestate
2022-09-21 23:26:24 -07:00
sawka
f3e61fb41d
stub out add remote
2022-09-21 22:42:51 -07:00
sawka
52bad72ead
minor fix for remotes display
2022-09-21 22:17:04 -07:00
sawka
21617298e9
origtermopts, clientdata to/from map
2022-09-21 22:02:38 -07:00
sawka
eb143b612f
move width to ScreenWindowView, and only do a setcols to ScreenWindow model object (debounce moved to view as well)
2022-09-21 17:20:16 -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
6135a4540e
add nextlinenum to window
2022-09-20 17:01:40 -07:00
sawka
db142d97ec
add linenum to line, nextlinenum to window
2022-09-20 17:01:25 -07:00
sawka
c39a7ed0f8
use linenum and linenumtemp to display avatar linenum
2022-09-20 16:51:42 -07:00
sawka
abe8cc6f2a
on connect message, reset session and remote information completely (clear lists)
2022-09-20 16:42:41 -07:00
sawka
bc09722ef3
use mono-font mixin
2022-09-20 14:46:53 -07:00
sawka
3b5a428542
mono-font for remotes
2022-09-20 14:41:56 -07:00
sawka
eab785409a
fix remoteidx insert code
2022-09-20 14:23:53 -07:00
sawka
9702fb648a
getsessionsdir
2022-09-20 14:15:39 -07:00
sawka
f75b75790c
session stats/size
2022-09-20 14:15:20 -07:00
sawka
fb51263ed3
manual minmax control for infomsg box
2022-09-16 16:37:54 -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
df80d2ac08
allow MakeClientProc to be canceled with a context
2022-09-16 12:27:14 -07:00
sawka
1d3d19b7c3
only allow input while connecting
2022-09-16 12:02:46 -07:00
sawka
44e014b1ae
status connecting
2022-09-15 17:44:58 -07:00
sawka
06e3a86f53
add status connecting
2022-09-15 17:44:39 -07:00
sawka
b352c62397
handle remote input (can enter passwords now)
2022-09-15 17:10:02 -07:00
sawka
f2e0f9457d
handle remote input (can enter password manually now)
2022-09-15 17:09:04 -07:00
sawka
98d956b7c8
more progress on remotes
2022-09-15 00:37:52 -07:00
sawka
fcc1737fc4
format errors
2022-09-15 00:37:17 -07:00
sawka
0e04a32e29
update to show remote pty in remoteshow window
2022-09-15 00:18:20 -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
ffb29fce1a
termcontext for remoteid terminals
2022-09-14 22:41:27 -07:00
sawka
1a02bb53d0
refactor infomsg
2022-09-14 17:14:27 -07:00
sawka
40c52fd195
a click on a remote runs /remote:show
2022-09-14 13:02:33 -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
8d78e145be
sort remotes, order by remoteidx and status
2022-09-14 12:07:31 -07:00
sawka
002876a07b
add remoteidx
2022-09-14 12:06:55 -07:00
sawka
95f992b1c0
working on remote display, bug fixes
2022-09-13 17:17:52 -07:00
sawka
a74ee69da5
working on setting up remotes
2022-09-13 17:11:36 -07:00
sawka
53d710f709
option to send ssh errors to tty instead of stderr
2022-09-13 17:10:18 -07:00
sawka
6f71866663
remote archiving, bug fixes
2022-09-13 12:06:12 -07:00
sawka
ecc737f68d
fix crazy sessionid morphing bug, and add more debugging
2022-09-11 20:49:53 -07:00
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
sawka
15178248a2
history item types
2022-08-28 14:24:25 -07:00
sawka
f2a5985349
working on history command, remote:showall
2022-08-28 14:24:05 -07:00
sawka
3a8f3dab38
lines spacer to have content scroll up from bottom
2022-08-26 22:07:12 -07:00
sawka
9d6cc1f67a
clear window
2022-08-26 22:01:29 -07:00
sawka
aff174fa80
tab colors
2022-08-26 21:44:18 -07:00
sawka
9f794d6590
tab colors
2022-08-26 21:43:48 -07:00
sawka
1997b9ea44
implement screen:set name
2022-08-26 17:51:28 -07:00
sawka
152db74075
add merge to Screen object
2022-08-26 17:50:15 -07:00
sawka
c3d3647111
use new relative arguments for screen switching instead of computing it on FE
2022-08-26 17:35:36 -07:00
sawka
9b6d4e928d
use generic resolver for screens
2022-08-26 17:29:32 -07:00
sawka
e75765ee11
sessions update for get-all-sessions, show sessionidx number and no hash sign
2022-08-26 17:28:56 -07:00
sawka
ca29e28c85
register handlers instead of a switch statement. make resolve more generic
2022-08-26 17:17:33 -07:00
sawka
773e881bf6
move resolver into its own file
2022-08-26 16:24:07 -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
00b88f7f13
fix regexp, add dump argument to show parsed command
2022-08-26 13:18:26 -07:00
sawka
dc8cba79da
add quoting/shell-parsing for commands
2022-08-26 13:12:17 -07:00
sawka
e677455419
fix typescript warnings
2022-08-25 12:12:56 -07:00
sawka
d0806bbd63
remove lock around connecting remote
2022-08-24 22:57:41 -07:00
sawka
35179e06ec
detect screen size
2022-08-24 22:32:43 -07:00
sawka
db993cf00f
add scripthaus.md
2022-08-24 21:33:50 -07:00
sawka
64fc0f335a
fix overscroll behavior in xterm.js terminal and deal with focus in a better way. restore scrollbars for terminals. scroll focused terminals into view.
2022-08-24 19:00:03 -07:00
sawka
8274d19e0b
use interactive shell for environment
2022-08-24 18:57:13 -07:00
sawka
5b1b67cf55
quick fixes
2022-08-24 18:56:50 -07:00
sawka
0d314000ac
fully support new remoteptr
2022-08-24 13:21:54 -07:00
sawka
da710fc4c8
switch cmd to use RemotePtrType, make Prompt react class to display fullremoteref and cwd
2022-08-24 13:19:59 -07:00
sawka
4f686e891b
big updates to remoteinstance, push changes through stack
2022-08-24 02:14:16 -07:00
sawka
2028a98784
remoteinstance naming change
2022-08-24 02:12:28 -07:00
sawka
09a072f900
run localhost mshell with cwd at HOME, not in current directory
2022-08-24 02:11:49 -07:00
sawka
51f7b0798b
add prompt to cmd
2022-08-23 21:05:49 -07:00
sawka
3aeab9d427
show metacmd completions
2022-08-23 17:27:12 -07:00
sawka
3423b63213
switch back to slash, combine file and metacmd completions
2022-08-23 17:26:42 -07:00
sawka
dd5e6259bd
add remote:show command
2022-08-23 14:01:52 -07:00
sawka
946f31988c
switch from '/' to '@' as metacommand character
2022-08-23 13:37:08 -07:00
sawka
e4bf68ca3b
scrolling info box
2022-08-23 13:14:57 -07:00
sawka
709920ad8e
add ephemeral to line
2022-08-23 13:14:14 -07:00
sawka
d984a8f82a
infolines
2022-08-22 18:54:01 -07:00
sawka
429c41cfd0
show environment
2022-08-22 18:53:38 -07:00
sawka
292c76808a
setenv and unset working
2022-08-22 18:38:52 -07:00
sawka
f63a851b1a
export ParseEnv0 and MakeEnv0
2022-08-22 17:27:55 -07:00
sawka
d61246e8a4
update to env0
2022-08-22 16:28:14 -07:00
sawka
dca199b492
update to use env0
2022-08-22 16:26:44 -07:00
sawka
7d06bc766c
rename env to env0. add envcomplete bool
2022-08-22 16:24:53 -07:00
sawka
525fe77a5f
send initpk.env in remotestate
2022-08-22 16:00:25 -07:00
sawka
e26705623b
add --env mode to mshell to print cwd and environment (for server initpk). needed because OSX does not support 'env -0'
2022-08-22 15:59:03 -07:00
sawka
9d150dc7e3
connectmode, add stubs for export/setenv command
2022-08-21 12:31:29 -07:00
sawka
db3f780275
autoconnect -> connectmode
2022-08-21 12:26:10 -07:00
sawka
b2a2b6252d
send cmd updates for donepk
2022-08-19 17:14:53 -07:00
sawka
f7796169f6
fix setCmd mobx.action call
2022-08-19 17:14:25 -07:00
sawka
739114045c
use term.reset() not term.clear()
2022-08-19 16:38:24 -07:00
sawka
5dda89aa1a
status display
2022-08-19 16:35:38 -07:00
sawka
e454c170f8
don't report parse errors to console (lots of invalid terminal output). e.g. cat'ing a binary file will produce thousands of errors, but that's just how it is.
2022-08-19 15:54:38 -07:00
sawka
86a7cd59e6
use cirfile for detached commands
2022-08-19 15:28:32 -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
26bd499fac
update to allow a WriteAt call for cirfiles
2022-08-19 12:51:37 -07:00
sawka
e1eecae6d3
implement WriteAt, refactored and tested append, writeat still needs testing
2022-08-18 21:54:42 -07:00
sawka
38870f9c6e
circular file buffer. metadata in header. uses flock to synchronize access. write metadata before and after writing file data.
2022-08-18 20:34:20 -07:00
sawka
b3a05ac72e
update npm modules, add remotes modal
2022-08-18 00:39:06 -07:00
sawka
1914719ad1
proof of concept, file URL to open window using will-navigate
2022-08-17 13:32:02 -07:00
sawka
c6e29c3314
proof of concept, open window
2022-08-17 13:26:03 -07:00
sawka
5a835e927e
update prompt for remotes, display remotes in sidebar
2022-08-17 13:06:47 -07:00
sawka
77bd1fa7bc
return uname
2022-08-17 12:55:12 -07:00
sawka
b142e350be
capture uname
2022-08-17 12:54:40 -07:00
sawka
249bf88a4d
testing a 2nd remote with mshell --server
2022-08-17 12:24:09 -07:00
sawka
9542d14473
make mshell home directory during getremoteid
2022-08-16 16:26:06 -07:00
sawka
c310a4b9bc
scrollintoview
2022-08-16 16:08:15 -07:00
sawka
cc058490b2
cmd-up cmd-down working, new line type, remotealias
2022-08-16 15:59:28 -07:00
sawka
f86de49e31
updates to remote
2022-08-16 15:08:28 -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
550fd89472
fix datapos
2022-08-13 10:27:22 -07:00
sawka
7af1d5cee6
lazy loading, cached TUR values
2022-08-12 18:34:56 -07:00
sawka
62bbe18171
remove PosAppend weirdness and track filepos in remote
2022-08-12 13:59:31 -07:00
sawka
b4e41bc36d
better input handling -- expand textarea, fit textarea, up/down arrow control in textarea (w/ history)
2022-08-12 11:44:29 -07:00
sawka
b70d42bca4
implement command history
2022-08-11 23:46:52 -07:00
sawka
a67ae15b32
implement history
2022-08-11 23:45:15 -07:00
sawka
d5cf15e946
update history table
2022-08-11 12:07:41 -07:00
sawka
034995ef2a
fix typescript errors
2022-08-11 11:49:46 -07:00
sawka
291d1dc704
allow resize observer to fire conditional scroll to bottom (info panel updates)
2022-08-11 10:41:08 -07:00
sawka
d5a5a9ce70
better directory vs file completion
2022-08-11 10:22:43 -07:00
sawka
adca87e9db
better directory vs file completion
2022-08-11 10:21:45 -07:00
sawka
5a8ffa3544
more complicated compgen for directory vs file completion
2022-08-11 10:21:11 -07:00
sawka
5082330dcf
implement info panel, more control in cmd-input, completions, errors
2022-08-10 18:35:18 -07:00
sawka
f4515139a1
uniq completions
2022-08-10 18:33:58 -07:00
sawka
81c564aca9
implement simple command completions
2022-08-10 18:33:32 -07:00
sawka
d4528d1c42
compgen hasmore
2022-08-10 16:07:41 -07:00
sawka
a175d236c1
implement /cd and /compgen
2022-08-09 14:24:57 -07:00
sawka
fbb523aed8
implement compgen and cd in mshell server
2022-08-09 14:23:59 -07:00
sawka
1f4ac87a9a
implement new session and switch session
2022-08-08 16:22:36 -07:00
sawka
66f547a695
implement new session and switch session
2022-08-08 16:21:46 -07:00
sawka
74b88185dc
add cache for ensuresessiondir
2022-08-08 09:52:50 -07:00
sawka
15c78c8934
sync schema to schema.db
2022-08-08 08:34:59 -07:00
sawka
4785253a10
return interactive update
2022-07-15 17:53:23 -07:00
sawka
88e99fca62
add interactive flag
2022-07-15 17:52:57 -07:00
sawka
4a853ffa02
unify interactive/ws updates
2022-07-15 17:48:25 -07:00
sawka
d297477807
use new global input model
2022-07-15 17:38:58 -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
6340a3e9ff
implement delete session, bug fixes
2022-07-15 01:58:30 -07:00
sawka
5b1eb383e3
screen deletion working, bug fixes
2022-07-15 01:57:45 -07:00
sawka
057637660c
hook up accelerators for switching screens
2022-07-14 18:50:58 -07:00
sawka
8cdf514bb9
checkpoint on updates. can switch screens using commands
2022-07-14 18:41:49 -07:00
sawka
275e177218
checkpoint
2022-07-14 18:39:40 -07:00
sawka
879cb03da0
auto resize terminal width to window size
2022-07-14 00:54:31 -07:00
sawka
8a710669ec
screen switching
2022-07-13 23:11:45 -07:00
sawka
94fd29cbad
handle pty udpates again
2022-07-13 14:16:47 -07:00
sawka
c1ace6f5d6
updates for getting pty updates sent again
2022-07-13 14:16:08 -07:00
sawka
05af5a8510
get input working, fix currentrowheight constant
2022-07-13 01:03:17 -07:00
sawka
f4b3f94b13
add cmdinstances to allow windows/cmds to show in multiple screenwindows
2022-07-13 00:44:19 -07:00
sawka
059c98d1e0
checkpoint, getting screens integrated
2022-07-12 23:29:39 -07:00
sawka
db841f2951
checkpoint, adding 'screen' concept to contain windows
2022-07-12 21:51:17 -07:00
sawka
11087c10be
txwrap can now be properly nested. add json conversion functions to quick
2022-07-12 16:10:46 -07:00
sawka
4666ee8832
checkpoint
2022-07-12 14:27:40 -07:00
sawka
6351082900
checkpoint
2022-07-12 14:27:16 -07:00
sawka
2957a03864
checkpoint
2022-07-12 13:50:44 -07:00
sawka
7867edb8da
pass process id as client id to ws
2022-07-12 13:20:10 -07:00
sawka
28f5e9bf05
submit command
2022-07-12 00:45:10 -07:00
sawka
9af5edd451
get terminal follow scrolling working. create windowview
2022-07-11 22:43:58 -07:00
sawka
49c8b34a7c
checkpoint, moving to model
2022-07-11 17:55:03 -07:00
sawka
77bd3ed5bf
checkpoint, switching to model
2022-07-11 14:43:18 -07:00
sawka
5dc0e6b651
checkpoint working on electron
2022-07-09 01:37:19 -07:00
sawka
96961822a3
map cmd-i to grab input
2022-07-08 13:45:14 -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
882694b5ce
get session list, switch to default session
2022-07-08 13:23:00 -07:00
sawka
c4fb7d9ada
updates for window type, getting window, etc
2022-07-08 13:01:37 -07:00
sawka
2e7059777b
get input working
2022-07-07 22:46:49 -07:00
sawka
368c16eb60
get input working
2022-07-07 22:46:28 -07:00
sawka
554f8f1b31
input packet should use base64, add remoteid. allow untailing a full entry (when command is done)
2022-07-07 22:45:14 -07:00
sawka
5fcbe209bb
implement globalstore callback for cmd status changes
2022-07-07 22:13:45 -07:00
sawka
3d29d0d34e
integrate cmd status into fe tailing
2022-07-07 21:49:15 -07:00
sawka
45dfeb69f6
updates to allow cmd tailing to work with mshell
2022-07-07 21:39:25 -07:00
sawka
4f4dd67d06
comment out tailer for now
2022-07-07 21:38:05 -07:00
sawka
463187221b
update tailer to use filenamegenerator. allow ptyonly option for getcmd
2022-07-07 21:37:17 -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
827c33095b
hook up cmd cmdstr and prompt
2022-07-07 13:27:44 -07:00
sawka
e4bf4b4ef8
checkpoint, pass remote vars to client for prompt str, get commands showing
2022-07-07 13:26:46 -07:00
sawka
eb880e024e
add hostname to init packet
2022-07-07 13:25:42 -07:00
sawka
0053a63536
fix fecmdpacket remotestate
2022-07-07 00:10:58 -07:00
sawka
f7666fe480
checkpoint on storing cmd in db
2022-07-07 00:10:37 -07:00
sawka
2652a3509b
add rpc to combined packet parser
2022-07-06 22:46:59 -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
353605f815
bug fixes and updates for running server with scripthaus
2022-07-06 18:59:46 -07:00
sawka
1b69bb0ac8
fix mshell server to just blindly proxy mshell single command input/output, better simpler code
2022-07-06 17:16:45 -07:00
sawka
51df0479ff
sendpacket with context, initialize rpcmap
2022-07-06 14:35:27 -07:00
sawka
56e1ddf8e6
run packet opt to set term type
2022-07-06 14:06:58 -07:00
sawka
a1b8234954
fix tty TERM for ssh connections when usepty is set. also ignore pty read errors
2022-07-06 12:16:37 -07:00
sawka
95f11fb418
checkpoint, getting tty output working in non-detached mode
2022-07-06 11:21:15 -07:00
sawka
9aa684882b
don't send done packet when detached
2022-07-06 00:25:59 -07:00
sawka
0d585e5959
clean up --single detached mode
2022-07-06 00:21:44 -07:00
sawka
96123c8e1a
checkpoint for tightened runtime semantics for calls -- always send response packets, make sure correct response ids are set, etc.
2022-07-05 23:14:14 -07:00
sawka
0c204e8b2b
standardize error reporting, rpc gets resp, command get cmderr, other errors are just sent as messages
2022-07-05 17:45:46 -07:00
sawka
45fa371956
checkpoint for migrating to remoteinstance
2022-07-05 16:55:21 -07:00
sawka
2755be315d
checkpoint for migrating to remoteinstance
2022-07-05 16:54:49 -07:00
sawka
ef362e5ee9
tighten up packet interfaces, RpcPacketType, RpcResponsePacketType, and CommandPacketType
2022-07-05 16:53:31 -07:00
sawka
123fdfe3bb
comment flow working
2022-07-05 10:51:47 -07:00
sawka
b2a1560385
fix typescript errors
2022-07-04 22:37:45 -07:00
sawka
31f90d5401
checkpoint
2022-07-04 22:18:36 -07:00
sawka
5b2e88ec32
checkpoint
2022-07-04 22:18:01 -07:00
sawka
1486c0243c
checkpoint, new scpacket.FeCommandPacket
2022-07-03 12:02:22 -07:00
sawka
fc18df0601
checkpoint
2022-07-03 12:01:56 -07:00
sawka
bfaa504249
checkpoint, reading session from server
2022-07-02 13:32:25 -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
0a828b7184
tightening up server mode, fix bugs, refactor, etc.
2022-07-01 17:37:37 -07:00
sawka
f08bd2427e
working on remote runtime
2022-07-01 14:57:42 -07:00
sawka
60199713e8
checkpoint, ensuredefaultsession
2022-07-01 14:45:33 -07:00
sawka
b85be3457c
checkpoint, working on db calls
2022-07-01 14:07:13 -07:00
sawka
643f08e584
checkpoint, working on setting up db
2022-07-01 12:17:19 -07:00
sawka
02029b3948
add schema
2022-07-01 10:50:09 -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
b6711e7428
sanitize packets to be 7-bit ascii without control chars. dont send data/dataend when no rundata present. use os.Executable to locate mshell if running locally. more work on detached mode
2022-06-29 14:29:38 -07:00
sawka
4d8841a459
use RunPacketBuilder in server mode
2022-06-28 22:05:47 -07:00
sawka
c73691ac24
move static files from remotefd content to 'rundata'. send all rundata before command start. parse rundata before command start. compatible with detached commands
2022-06-28 21:57:30 -07:00
sawka
9054c3cdcc
got basic mshell --server functionality working to dispatch multiple commands
2022-06-28 19:01:33 -07:00
sawka
1d44afc10e
working on server mode. extract fdcontext as interface. create packet writer/reader for mpio. hook up to serverFdContext.
2022-06-28 17:20:01 -07:00
sawka
d7eb2526f0
refactor RunClientSSHCommandAndWait for server code
2022-06-28 15:04:08 -07:00
sawka
9377619e4c
write auto-detect logic for arch from uname
2022-06-27 23:14:53 -07:00
sawka
afd3bdb315
implement install command
2022-06-27 22:39:16 -07:00
sawka
26479f59c0
pass uname back when mshell isn't found, parse, and give install command
2022-06-27 18:42:56 -07:00
sawka
ec4bd5eaa1
only send 1 line from pw file, explicitly close pw file descriptor before running command
2022-06-27 15:59:14 -07:00
sawka
0f5ee87a76
allow mshell to execute local commands
2022-06-27 15:10:17 -07:00
sawka
dafe2b5a57
simplify argument parsing, hard code common ssh options
2022-06-27 14:57:01 -07:00
sawka
6574402691
create packetparser type, refactor to use
2022-06-27 12:14:07 -07:00
sawka
2a6791bcd6
combine sessionid and cmdid into one field ck (commandkey)
2022-06-27 12:03:47 -07:00
sawka
1ea8393844
update docs with sudo example
2022-06-26 01:53:07 -07:00
sawka
222deff0db
implement sudo dance allowing passing the sudo password on stdin with sudo -S, and passing a different stdin fd to the command
2022-06-26 01:41:58 -07:00
sawka
e8ae01efae
check for input termination before init packet
2022-06-25 00:33:18 -07:00
sawka
fec7721e32
refuse to run with ssh -t or -tt, detect nil runPacket
2022-06-25 00:30:41 -07:00
sawka
935500f1f1
packet debugging with --debug
2022-06-25 00:22:03 -07:00
sawka
43ed95f8fc
clean up combining stdout and stderr into packet parsers, combine the channels and close appropriately
2022-06-25 00:05:37 -07:00
sawka
e6776bd974
checkpoint. transfer binary data as base64. handle cwd. detect open fds. working to transfer data in non-error cases.
2022-06-24 23:42:00 -07:00
sawka
5223760a76
got basic mshell client working -- still need detectfds and extra files support
2022-06-24 13:25:09 -07:00
sawka
0267836376
move multiplexed IO to its own package independent of SHExecType (to use in mshell client)
2022-06-24 10:24:02 -07:00
sawka
4256ff5231
checkpoint -- cleanup and sync optimizations for remote client (basically working). beginning work on local client
2022-06-24 00:02:18 -07:00
sawka
52831dc723
setup extrafiles using run packet's fds field
2022-06-23 18:23:30 -07:00
sawka
29372be4ef
working with fdreaders and fdwriters to properly buffer output and not exceed buffer size without acks
2022-06-23 17:37:05 -07:00
sawka
c43d3ecc85
checkpoint got stdout/stderr data packets working with new remote handler
2022-06-23 12:48:45 -07:00
sawka
766d19f1bc
checkpoint, switch name from sh2-runner to mshell
2022-06-23 10:16:54 -07:00
sawka
eb7ac5136e
updates, switch to mshell package
2022-06-23 10:15:56 -07:00
sawka
0b172cd689
add cdpacket
2022-06-23 09:56:54 -07:00
sawka
7d059fe573
small change to fix bouncy scroll scolor
2022-06-20 22:48:34 -07:00
sawka
4e18bbe44e
process comment commands
2022-06-20 21:57:23 -07:00
sawka
2c62890912
call SetWinsize to set terminal size always for pty
2022-06-20 17:51:28 -07:00
sawka
92812bc613
update how usedrows is computed
2022-06-20 17:49:14 -07:00
sawka
c3626a6547
add session history
2022-06-20 16:06:37 -07:00
sawka
15c3f2fc10
fix getDefaultSession, set foreground color to be not fff
2022-06-20 13:19:53 -07:00
sawka
d679ff7cf3
mock up a sidebar for scripthaus
2022-06-20 13:03:20 -07:00
sawka
315a048f49
return username with init packet
2022-06-17 18:11:49 -07:00
sawka
859a1611b8
get runnerproc args from init packet
2022-06-17 18:11:16 -07:00
sawka
365e9c55a2
dark theme, follow content when at bottom, date format
2022-06-17 17:54:14 -07:00
sawka
0cce8ad503
cmd input working
2022-06-17 15:32:19 -07:00
sawka
0a6d8b8e9f
input packet type
2022-06-17 15:31:07 -07:00
sawka
848100247c
got stdin fifo input working
2022-06-17 15:30:42 -07:00
sawka
b6a8550ab8
revert cmdtail to watch individual files (inefficient directory watching on osx). touch ptyout file before running (because of file watching)
2022-06-17 12:27:29 -07:00
sawka
c8f9022db4
close runout file in main runner
2022-06-17 11:29:33 -07:00
sawka
bb159bac5b
got websocket ptyout tailing working
2022-06-16 22:25:07 -07:00
sawka
3497f607ce
fix bug in updateTailPos, add Close() for tailers
2022-06-16 22:23:29 -07:00
sawka
2a5cde908a
got streaming ptyout via websockets working
2022-06-16 22:22:47 -07:00
sawka
e58cd1c4ad
checkpoint, getting websockets working
2022-06-16 21:14:26 -07:00
sawka
dc4baaea27
cmdtail now can support multiple tails on the same cmd with independent tail positions
2022-06-16 17:24:29 -07:00
sawka
bb37a829de
moving model functionality into session.ts
2022-06-16 16:34:46 -07:00
sawka
862014bd82
add windowid
2022-06-16 15:51:41 -07:00
sawka
71c67a4cc2
checkpoint, session, window, termmap
2022-06-16 15:51:17 -07:00
sawka
a9f96dd983
flexible resizing logic, fix TermMap, work on ptyout
2022-06-16 12:40:09 -07:00
sawka
c6165f15f4
update tailer to send packets to a channel instead of hard coding to PacketSender
2022-06-16 01:10:56 -07:00
sawka
a5fedb3668
minor changes to ws
2022-06-16 01:09:56 -07:00
sawka
4f2c75af0c
small updates
2022-06-16 01:08:56 -07:00
sawka
45cd98ef00
refactor term/ws into separate modules
2022-06-16 00:31:54 -07:00
sawka
6f7a883cfd
updates for websocket ping/pong logic, longer timeouts
2022-06-15 18:13:16 -07:00
sawka
76ac2c4ff9
websocket connection/reconnection
2022-06-15 18:12:22 -07:00
sawka
5176128346
updates to allow parsing non-packets into raw packets (to see stderr output), and new sessionwatcher
2022-06-15 16:29:57 -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
ecceb67f20
got session/command tailing working. server can send getcmd packets, and client responds with cmddata packets
2022-06-14 22:16:58 -07:00
sawka
0be0da9c0a
resize terminal viewer with content
2022-06-14 16:02:20 -07:00
sawka
65094ad0ec
updates, groundwork for tail, better parsing logic
2022-06-14 14:17:36 -07:00
sawka
54a3b082fc
updates to test terminal updating / xpos
2022-06-14 14:16:32 -07:00
sawka
df3b7a3bb0
run commands via run-command
2022-06-13 11:12:39 -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
sawka
1a3886c437
go runner / runner-single fork flow working
2022-06-10 21:37:21 -07:00
sawka
eeaeac8dc8
initial runner commit
2022-06-10 00:37:06 -07:00
sawka
751914196b
initial commit
2022-06-07 17:25:35 -07:00