Commit Graph

1700 Commits

Author SHA1 Message Date
Red Adaya
c93b6e3d34 save work 2024-05-08 06:39:51 +08:00
Red Adaya
8a22e73e60 minor fix 2024-05-06 21:15:54 +08:00
Red Adaya
35a5f1645d remove inputModel dep prop in Markdown component 2024-05-06 21:03:49 +08:00
Red Adaya
34837aabae save work 2024-05-06 20:32:43 +08:00
Red Adaya
918ff98ea1 save work 2024-05-04 09:14:43 +08:00
Red Adaya
cc61b16cec separate model for aichat sidebar 2024-05-02 22:16:38 +08:00
Red Adaya
4f06cd8095 Merge branch 'main' of github.com:wavetermdev/waveterm into red/aichat-sidebar 2024-05-02 08:23:16 +08:00
Red Adaya
fbc7bc9688 fix state update on unmounted component error 2024-05-02 07:03:12 +08:00
Red Adaya
67df71d1ca bound callback 2024-05-01 10:51:23 +08:00
Red Adaya
d177fab6e3 fix issues are main merge 2024-05-01 10:48:13 +08:00
Mike Sawka
03cdc067e7
cmdinput keybindings (#627) 2024-04-30 18:44:40 -07:00
Red Adaya
8ea22c4c1f Merge branch 'main' of github.com:wavetermdev/waveterm into red/aichat-sidebar 2024-05-01 09:42:28 +08:00
Red Adaya
af32c8f6f3 remove debugging code 2024-05-01 09:22:46 +08:00
Red Adaya
f2e31a6483 set different bg for AI message. fix unnecessary re-rendering 2024-05-01 09:21:47 +08:00
Cole Lashley
6c3e5b8746
Block store (#578)
Contains the implementation of the block store

In this pr is a simple way to send and receive data through a database

I have implemented the base functionality as well as quite a few tests
to make sure that everything works
 
There are a few methods that have yet to be implemented, but
theoretically they should be implemented as calls to the other
functions, ie append should just be a call to WriteAt

This doesn't affect anything yet so it can safely be merged whenever. I
don't want this pr to stagnate like file view, so I'm happy to write
multiple prs for this
2024-04-30 18:21:31 -07:00
Evan Simkowitz
e1a931056c
Fix the sidebar X target so that there isn't a weird padding that shows the pointer cursor (#626) 2024-04-30 18:12:21 -07:00
Evan Simkowitz
1c2c0c5efc
Use FOSSA to generate license reports on every PR (#625) 2024-04-30 17:27:20 -07:00
Cole Lashley
f6881cf380
Ai chat select fix (#622) 2024-04-30 17:16:03 -07:00
Evan Simkowitz
345356d8d4
Make connections modal scrollable (#623) 2024-04-30 16:43:47 -07:00
Ian Jennings
8cea209823
TestDriver.ai: Validate that overlapping text does not appear in UI (#528) 2024-04-30 16:43:27 -07:00
Red Adaya
8b8b7ea2b6 fix issue where entered message isn't immediately visible 2024-05-01 07:40:11 +08:00
Red Adaya
dbc91d8a4e use OverlayScrollbarsComponent 2024-05-01 07:17:32 +08:00
Evan Simkowitz
a16e01f73b
Make Client Settings and connections views scrollable, fix regression in unused bookmarks feature (#621)
Makes clientsettings scrollable, adds an option for mainview to wrap the
mainview-content in an OverlayScrollbarsComponent
2024-04-30 16:05:49 -07:00
Mike Sawka
8c63be4ea0
fix cmdinput cursor positioning on mount (#620) 2024-04-30 14:28:52 -07:00
Evan Simkowitz
35e0488f7b
Call makeObservable for all cmdInput classes (#619) 2024-04-30 13:58:54 -07:00
Ian Jennings
c53e0a99f6
TestDriver.ai: Add comments to PRs (#498) 2024-04-30 12:37:22 -07:00
Cole Lashley
e6df2c216d
Client show defaults small fix (#614) 2024-04-30 11:37:01 -07:00
Red Adaya
de81464082 save work 2024-04-30 23:25:53 +08:00
Red Adaya
5e6cbf30e7 fix pre not wrapping text 2024-04-30 10:11:45 +08:00
Evan Simkowitz
c6a8797ddd
Break out non-autocomplete changes from autocomplete PR (#618)
This improves the ephemeral command runner to allow for honoring of
timeouts and proper handling of overriding the current working
directory. It also fixes some partially transparent font colors in light
mode, making them solid instead. It also updates the InputModel to be
auto-observable and utilize some getters to ensure the cmdinput is
getting updated whenever necessary state changes take place.
2024-04-29 18:29:27 -07:00
Red Adaya
75ae8807eb always render keybindings 2024-04-30 07:20:33 +08:00
Red Adaya
84227a7128 Merge branch 'main' of github.com:wavetermdev/waveterm into red/aichat-sidebar 2024-04-30 07:03:58 +08:00
Cole Lashley
ac91fa8596
fixed ai timeout bug (#617) 2024-04-29 15:56:20 -07:00
Evan Simkowitz
50662c2152
Fixes a regression that would unfocus from the history input (#615)
* Fixes a regression that would unfocus from the history input

* remove debug statements

* Update historyinfo.tsx

* fix scrolling the right way
2024-04-29 15:08:11 -07:00
Cole Lashley
4296856cc1
Fixed separator code in config path (#616)
* un quoted separator in config

* addressed review comments
2024-04-29 12:40:36 -07:00
Red Adaya
498f91d7fe remove username in chat items 2024-04-29 15:19:43 +08:00
Red Adaya
4d05ef9998 conditionally render keybindings 2024-04-29 15:09:33 +08:00
Red Adaya
1eb7ff512e cleanup 2024-04-29 15:03:28 +08:00
Red Adaya
ba5a089382 fix issue where scrollbar alway shows regardless of the height 2024-04-29 13:59:18 +08:00
Red Adaya
e40f93b858 fix layout 2024-04-29 13:34:02 +08:00
Red Adaya
30b9453bcd save work 2024-04-29 13:16:01 +08:00
Red Adaya
2a79057314 merge main 2024-04-29 07:24:11 +08:00
Evan Simkowitz
d0867477ff
add path separator for config dir handler (#613) 2024-04-26 12:08:10 -07:00
Evan Simkowitz
25b77c7fee
Attempt 2 to resolve security warning (#612)
* replace path with filepath

* remove configPath from error

* remove unnecessary printf

* replace more paths with filepath

* remove unnecessary abs path call

* bad commit
2024-04-26 12:00:11 -07:00
Evan Simkowitz
db557e0b69
Validate config dir path to resolve security warning (#611)
* Attempt to validate config path to resolve security warning

* move above fullpath

* make sure path does not reference parent dir
2024-04-26 11:23:09 -07:00
Ian Jennings
22c5d224bd
TestDriver: Update to 2.9.4 (#607)
* update to 2.9.4

* move prerun to action file

* update v

* migrate prompt

* bunk update to trigger re-run
2024-04-26 11:11:30 -07:00
Cole Lashley
4f32c459a6
Small aux view fixes that make cmdinput focus work a bit better (#594)
* added some more fixes for aichat and cmdinput

* removed comments and fixed up merge conflicts

* small fix

* fixed bug
2024-04-26 11:11:03 -07:00
Red Adaya
268bfabec2 Merge branch 'main' of github.com:wavetermdev/waveterm into red/aichat-sidebar 2024-04-26 09:56:50 +08:00
Sylvie Crowe
a449cec33a
Sudo Config Gui (#603)
* feat: add gui elements to configure ssh pw cache

This adds a dropdown for on/off/notimeout, a number entry box for a
timeout value, and a toggle for clearing when the computer sleeps.

* fix: improve password timeout entry

This makes the password timeout more consistent by  using an inline
settings element. It also creates the inline settings element to parse
the input.

* feat: turn sudo password caching on and off

* feat: use configurable sudo timeout

This makes it possible to control how long waveterm stores your sudo
password. Note that if it changes, it immediately clears the cached
passwords.

* fix: clear existing sudo passwords if switched off

When the sudo password store state is changed to "off", all existing
passwords must immediately be cleared automatically.

* feat: allow clearing sudo passwords on suspend

This option makes it so the sudo passwords will be cleared when the
computer falls asleep.  It will never be used in the case where the
password is set to never time out.

* feat: allow notimeout to prevent sudo pw clear

This option allows the sudo timeout to be ignored while it is selected.

* feat: adjust current deadline based on user config

This allows the deadline to update as changes to the config are
happening.

* fix: reject a sudopwtimeout of 0 on the backend

* fix: use the default sudoPwTimeout for empty input

* fix: specify the timeout length is minutes

* fix: store sudopwtimeout in ms instead of minutes

* fix: formatting the default sudo timeout

By changing the order of operations, this no longer shows up as NaN if
the default is used.

* refactor: consolidate inlinesettingstextedit

This removes the number variant and combines them into the same class
with an option to switch between the two behaviors.

* refactor: consolidate textfield and numberfield

This removes the number variant of textfield. The textfield component
can now act as a numberfield when  the optional isNumber prop is true.
2024-04-25 18:19:43 -07:00
Cole Lashley
5e3243564b
Open AI Timeout setting and aliases for AI settings (#590)
* added ai timeout setting

* addressed review comments

* fixed baseurl gating for telemetry

* updated copy

* addressed review comments

* removed prefix for client:show and added units to timeout

* changed timeout to use ms precision
2024-04-25 16:14:37 -07:00