Commit Graph

349 Commits

Author SHA1 Message Date
Meet Rajesh Gor
7a5abf86bb fix: trim protocol in url for mod commands. Closes #3257 2023-04-13 14:47:48 +01:00
Puskar Basu
97bff47bc5 Show plugin name with stream in the progress bar during plugin update. Closes #3241 2023-04-13 14:44:42 +01:00
Aaronstotle
17a00353ae Add check to the mod init function so users are aware if it's run in the home directory or if there are a large number of non-mod files in the path. Closes #2562 2023-04-06 09:10:41 +01:00
Binaek Sarkar
902ba89cf7 Fixes issue where execution continues even if there's an unexpected error in parsing config. Closes #3286 2023-04-03 11:43:00 +01:00
Binaek Sarkar
299697ae2f Updates in cache configuration to allow disabling of all caching on server. Closes #3258
STEAMPIPE_CACHE environment variable resolves to service cache enabled as well as client cache enabled

service cache enabled is used by the plugin manager to enable/disable caching on the plugins during startup (runtime toggle is not allowed) - with a max_ttl

client cache enabled is used to enable/disable the cache on the database connection (fdw)
A TTL can also be set on the client side capped to max_ttl on the server
2023-03-31 15:12:25 +01:00
Binaek Sarkar
be36276fd8 Add deprecation warnings for connection.options "connection" and global terminal options. CLoses #3246 2023-03-23 14:43:06 +00:00
kaidaguerre
1d2104bc26 Ensure successful shutdown after dashboard service start failure. Closes #3254 2023-03-23 10:36:47 +00:00
Binaek Sarkar
e4dbced826 Updates to workspace profile - add additional properties and command specific options blocks. Closes #3223 2023-03-21 12:00:47 +00:00
kaidaguerre
86246ed927 Only call RefreshConnections on service startup or after a file watching event. Closes #3229 2023-03-15 16:33:23 +00:00
Puskar Basu
6c4782c26f Fixes issue where we didn't get a proper uninstall help message for plugins that failed to load. First draft of Failed Plugin table. Closes #3212 2023-03-15 14:53:52 +00:00
Binaek Sarkar
ee8b6647c4 Rationalising 'status hooks'. Do not show spinner when setting status, instead require an explicit Show. #2432 2023-03-14 11:48:14 +00:00
Binaek Sarkar
17306488fc Fixes issue where fdw was not updated for 'service restart' command. Closes #3172 2023-03-10 12:33:59 +00:00
kai
9358051bed Fix Service Stop failing if invoked directly after a schema change notification. Closes #3206 2023-03-09 15:55:43 +00:00
kai
948d70388f Update executeSqlInTransaction to rollback transaction in case of error
Do not create a new client in pluginManager.OnConnectionsChanged, instead pass a client in.
Do not pass appname to plugin manager command - instead plugin manager adds prefix the pg app name. #3184. #3185
2023-03-08 10:56:29 +00:00
kaidaguerre
075fafec09 Use single Steampipe Postgres notification channel (#3191) 2023-03-07 17:34:41 +00:00
kaidaguerre
2171ce66ba Fix Postgres error "cached plan must not change result type" when dynamic plugin schema changes. Update interactive .inspect and autocomplete based on changes to connection config or dynamic schema updates. Closes #3184. Closes #3185 2023-03-03 18:45:40 +00:00
kaidaguerre
7c2ae6da93 when executing a query as a dashboard, name the dashboard custom.dashboard.sql_<query_hash>. Closes #3150 2023-02-28 18:19:13 +00:00
Binaek Sarkar
06af870908 Fix running a single dashboard from the command line failing if the dashboard needs inputs and the dashboard name is not fully qualified. Closes #3168. Closes #3154 2023-02-28 15:27:09 +00:00
Binaek Sarkar
31037ff04b Fixes issue where spinner is left behind in 'plugin list' . Fixes #3138 2023-02-23 10:19:02 +00:00
Binaek Sarkar
c896d88e88 Make workspace loading async. Closes #3123 2023-02-20 17:18:33 +00:00
Binaek Sarkar
a4ab68812e Fixes issue where a spinner was hanging around even after plugin installation completes. Closes #3126 2023-02-20 10:49:20 +00:00
kaidaguerre
b67d39ecde Fix duplicated text input on interactive prompt during initialisation. Closes #3075 2023-02-16 12:35:43 +00:00
kai
d266917597 Merge branch 'v0.18.x' into main
# Conflicts:
#	CHANGELOG.md
#	pkg/version/version.go
2023-02-15 14:52:34 +00:00
Binaek Sarkar
d75ab0372e Fixes issue where snapshot mode in query leads to duplicate rows in console/file output 2023-02-15 19:08:19 +05:30
Puskar Basu
12f3a7314f Cleanup connection state file to remove old legacy properties. Closes #3086 2023-02-07 09:40:44 +00:00
Mike Burgess
9669829827 Merge branch 'v0.18.x' 2023-02-03 13:04:02 +00:00
Binaek Sarkar
fbf086f39c Fixes issue where config from 'default.spc' was taking precedence over ENV var settings. Closes #3060 2023-02-03 12:05:30 +00:00
Puskar Basu
6ee0183a63 Fix query batch mode returning zero exit code when rows return errors. Closes #3044 2023-02-03 11:36:21 +00:00
Puskar Basu
e5564457af Fix issue where snapshot creation was failing for command line queries in batch mode. Closes #2943 2023-02-03 11:05:21 +00:00
kai
01d53cfb9e Merge branch 'v0.18.x' into main
# Conflicts:
#	pkg/connectionwatcher/connection_watcher.go
2023-02-01 13:23:56 +00:00
kaidaguerre
34bea3d1ef Add support for aggregator connections with dynamic tables. Closes #2886 2023-01-27 19:47:43 +00:00
Binaek Sarkar
42e28ed54a Adds an 'sperr' error package along with sample implementation with the login cmd. #497 2023-01-27 16:32:18 +00:00
Puskar Basu
e81b4a6888 Show the exported file location when --progress flag is enabled. Closes #2860 2023-01-27 16:27:39 +00:00
Binaek Sarkar
dd825ba568 Fixes issue where version output has disparity. Closes #3031 2023-01-27 15:21:43 +00:00
Puskar Basu
e4c50a9477 Ensure correct exit code is returned when a mod plugin requirements are not met. Closes #2986 2023-01-18 14:43:44 +00:00
kaidaguerre
6ee391faba Workspace file watching events sometime cause dashboard to stall and stop responding to events. Cancelling dashboards (e.g. by pressing 'back' on the browser) sometimes leave the server in a state where it will not respond to socket events. #3007.#. #3008 2023-01-17 11:52:53 +00:00
kaidaguerre
15984137ae Add deprecation warnings for deprecated hcl properties. Closes #2973 2023-01-11 16:34:58 +00:00
Puskar Basu
34ecf67496 Use consistent and defined exit codes. Closes #2935 2023-01-06 14:14:05 +00:00
kaidaguerre
0a391e9636 Update dashboard states to "initialized", "blocked", "running", "complete", "error", "canceled". Closes #2939 2023-01-04 14:08:56 +00:00
Binaek Sarkar
3ef30c4a80 Fixes issue where task running goroutine would try to access viper config as it is being written to. Closes #2845 2022-12-14 12:15:52 +00:00
Binaek Sarkar
10bd95e687 Fixes issue where implicit services are not shutting down when the last instance of steampipe exits. Closes #2833 2022-12-12 17:09:58 +00:00
kaidaguerre
dbd1d10fcc Add support for plugin sdk v5, with plugin message stream - support update of dynamic plugin schema based on file events. Closes #2767 2022-11-30 10:50:46 +00:00
Binaek Sarkar
7a16ec8c57 Updates usages of 'go-kit; for changes in Filewatcher and String/Hash helpers. Closes #2779 2022-11-30 10:12:03 +00:00
Binaek Sarkar
947162de22 Fixes issue where value from '--separator' was not being used in CSV rendering. Closes #544 2022-11-30 09:50:34 +00:00
Binaek Sarkar
056fa56241 Fixes issue where interactive prompt was not showing timing data for 'json', 'csv' and 'line' outputs. Closes #2699 2022-11-29 10:57:37 +00:00
Binaek Sarkar
d2f8541385 Update the update checker to run asynchronously. Closes #2770 2022-11-25 11:26:50 +00:00
Binaek Sarkar
62878d336b Adds a '--max-parallel' flag to 'steampipe dashboard' and set default to 10. Closes #2754 2022-11-25 09:58:28 +00:00
kaidaguerre
fe6365b1ef Remove usage of prepared statements - instead excute sql directly. Wrap with executions in LeafRuns to support runtime dependency resolution. Closes #2789. #2772 2022-11-23 14:11:56 +00:00
Binaek Sarkar
9697f6c455 Fixes issue where a '--where' or '--tag' flag were not creating the introspection tables. Closes #2760 2022-11-18 11:25:58 +00:00
Binaek Sarkar
b56447cbcc Consolidates setting of CLI flag shorthand. Closes #2403 2022-11-09 10:31:09 +00:00