Commit Graph

36 Commits

Author SHA1 Message Date
Sylvie Crowe
87bf3f7a65
allow @ symbol in user for ssh connections (#129)
* allow @ symbol in user for ssh connections

Previously, the @ symbol was only used as a way to either:
- separate the user from the host
- separate "sudo" from the user

This change expands this to allow the username part of
sudo@username@host or username@host to contain any number of @ symbols
in addition to the ones previously allowed. Host is not allowed to
contain an @ symbol as per the usual definition.

* clean up regex changes

Moved the dash in the regex pattern to the end to make it explicitly
clear that it isn't part of a range.

Removed the hostNameRe regex as it is unused.
2023-12-07 18:33:16 -08:00
sawka
0ece51e690 remove more go warnings 2023-12-05 10:49:30 -08:00
sawka
724a68393a fix some go errors/warnings 2023-12-05 10:43:57 -08:00
Red J Adaya
0c756838e0
Tab Settings (#117)
* use Modal component

* icons selector

* do not limit icons in the backend
2023-12-04 09:52:59 -08:00
sawka
fc79da776c merge main into dev-0.5.1 2023-12-01 19:58:59 -08:00
sawka
24499cb0b5 change pterm variable name to wterm 2023-12-01 15:21:24 -08:00
sawka
b9e12b2623 bump version to v0.5.1 2023-11-30 10:06:06 -08:00
Sylvie Crowe
86a86bc756
Update clear so it no longer archives Running Commands (#110)
* fix clear so it doesn't archive running commands

Clear previously archived every command that existed in the current tab.
This change alters this behavior so the commands with a status of running
or detached are not archived by clear.  As things currently stand,
detached is not used so the only immediate effect will be with running
commands. As before, the clear command only affects the current tab.

* remove unnecessary print

A print statement for debug still existed in the ArchiveScreenLines
function. It has been removed.

* remove isWebShare from ArchiveScreenLines

The isWebShare feature is currently unused and there is not a plan to
add it back soon. For this reason, it has been removed from the
ArchiveScreenLines function.

* clean up query formatting
2023-11-29 18:29:44 -08:00
Luke (Zgroza) Klimek
98b373d401
Adjust the username regex - '_' character (#94)
* adjust the username regex - '_' character

* also allow dot in username regex (sawka)
2023-11-27 12:44:53 -08:00
sawka
64203e7823 update username regex to include dots and underscores 2023-11-25 11:30:42 -08:00
sawka
d9c7b61c91 also add nvm and virtualenv 2023-11-16 23:54:27 -08:00
sawka
0017946bbb add asdf to default rtnstate commands 2023-11-16 23:51:02 -08:00
sawka
ad0f11c097 allow terminal font sizes up to 24px 2023-11-16 22:49:59 -08:00
sawka
7da7d06f09 add a defer/recover to scws WriteJson 2023-11-10 13:36:37 -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
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
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
sawka
1be2716f6e add square icon back, fix spacing somewhat 2023-11-07 16:15:54 -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
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
f2baa59af6 fix default workspace creation bug. fix no workspace message 2023-11-01 23:41:04 -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
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
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
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
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
sawka
ce033c616f bump versions to v0.5.0, update package.json for Wave 2023-10-24 09:29:00 -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
046d219555
add license notice (#37) 2023-10-16 21:31:13 -07:00
sawka
7c11296a94 add go.work for helping with VSCode gopls 2023-10-16 19:17:44 -07:00
sawka
266fc498c7 new paths for getting waveterm running with monorepo 2023-10-16 14:02:22 -07:00
sawka
18a44086fc rename imports for wavesrv 2023-10-16 13:30:10 -07:00
sawka
77fee42365 move to wavesrv directory to prepare for merge to waveterm 2023-10-16 13:19:34 -07:00