Commit Graph

1403 Commits

Author SHA1 Message Date
Evan Simkowitz 3b65e9941a Clean up potentially unsafe external links (#139)
* Clean up potentially unsafe external links

* fix broken imports

* fix error in conditional

* fix one more typo
2023-12-13 17:43:30 -08:00
Cole Lashley 535fd0d7d9 added openaibaseurl parameter to client:set (#141) 2023-12-13 14:03:22 -08:00
Evan Simkowitz 96980b2f83 Merge pull request #138 from wavetermdev/evan/codescan-fixes
Fix potential overflow in promptenc arithmetic
2023-12-12 21:01:09 -08:00
sawka b6c880c6ff add 'cmd' parameter to /api/run-command for debugging purposes (easier filtering and visual inspection of run-command calls) 2023-12-12 20:37:00 -08:00
Evan Simkowitz 1feffc8a11 address comment, clean up tests 2023-12-12 20:36:16 -08:00
sawka f442236679 fix performance issue where cmdinput was causing additional loading of screenlines 2023-12-12 20:36:11 -08:00
Evan Simkowitz 414937911e remove nolint 2023-12-12 17:40:05 -08:00
Evan Simkowitz 5d39815dea refactor a bit 2023-12-12 17:39:19 -08:00
Evan Simkowitz 96f636c2da Fix potential overflow in promptenc arithmetic 2023-12-12 16:51:19 -08:00
Evan Simkowitz 112d002c2a Merge pull request #136 from wavetermdev/esimkowitz/codeql
Configuring CodeQL scanning workflow
2023-12-12 15:53:24 -08:00
Mike Sawka 4adcf6d92e pass flexrows through to packet.TermOpts so it gets back to the FE correctly. this fixes wterm overrides and github issue #116 (#134) 2023-12-12 14:24:09 -08:00
Sylvie Crowe e79dcaf910 fix ability to log into ssh with key and password (#130)
* fix ability to log into ssh with key and password

A previous refactor to the ssh password system broke the ability to use
key+password to log in. This change handles key+password as a special
case allowing it to be handled separately.

* clean up unnecessary print

My last change left in a debug print that wasn't necessary in the code.
This has been removed.
2023-12-12 14:17:53 -08:00
Evan Simkowitz e6186cd694 Fixing linting errors in unused keygen function (#135)
* Fixing missing parameter error in unused keygen function

* applying error formatting linter suggestions

* fixing more linting suggestions
2023-12-12 14:17:03 -08:00
Evan Simkowitz 58551d6a2a Configuring CodeQL scanning workflow
Configuring the default CodeQL scanning workflow. This will automatically scan our code for known vulnerabilities.
2023-12-12 10:17:55 -08:00
Mike Sawka 2b8adfe40e add homebrew instructions to readme 2023-12-10 13:33:06 -08:00
sawka ce4b6d413c fix remaining warnings in workspace 2023-12-08 13:39:13 -08:00
Red J Adaya 8a938744f7 migrate modals to new modals system (#124)
* migrate screen settings modal to new modals system

* use screen member var in the methods

* migrate session settings modal to new modal system

* use Modal component in session settings modal

* migrate line settings modal to new modals system

* use Modal component in line settings modal

* migrate client settings modal to new modals framework

* set alert modal width to 500px

* remove screen settings modal after deletion

* use Dropdown component for connnections dropdown

* use Dropdown component for connections dropdown in new tab flow

* replace InfoMessage with Tooltip

* use Dropdown for fontsize dropdown

* use Dropdown for renderer dropdown

* fix dropdown width issue on new tab container

* fix class names concatenation

* fix dropdown width issue in screen settings modal
2023-12-07 22:51:46 -08:00
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 800fda2e14 we use yarn, so remove package-lock.json v0.5.1 2023-12-05 20:54:12 -08:00
sawka 3c30eb4e08 upgrade some outdated packages 2023-12-05 17:44:44 -08:00
sawka 32a825aea1 move force install to main connection screen, remove edit/delete from edit screen 2023-12-05 17:42:43 -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
Sylvie Crowe 6791d874e3 Add Waveterm Icon to Linux (#120)
* add icon for Linux

The app icon previously did not show up in Linux. This change fixes that
by providing the wave-logo-dark.png to the electron Browser Window.

* set the icon to only use the direct path on linux

The previous change was only required on linux and not on mac. This
ensures the old behavior will continue to be done on mac while using the
new behavior on linux.
2023-12-04 22:47:01 -08:00
Alan Hanafy a3187a1235 Fix typo in command history button label (#115) 2023-12-04 18:40:20 -08:00