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
kai
b40cc0941f
Using query command --export flag raises an error that it cannot be used in interactive mode, even when not in interactive mode. Closes #2707
2022-11-08 21:42:38 +00:00
kai
dcb693bb74
Show error if export flag set for interactive query. Closes #2696
...
Fail with helpful message if invalid typename passed to check command. Closes #2693
2022-11-08 13:29:30 +00:00
kai
cbd6b18ef6
Steampipe query fails with nil pointer exception if query execution fails and result is being exported as snapshot. Closes #2692
2022-11-07 15:25:59 +00:00
kai
f47d55b2bb
Fix steampipe query --timing not outputting timing information if sharing or exporting a snapshot. Closes #2677
2022-11-07 14:05:39 +00:00
kai
7d28c99e27
Fix steampipe dashboard not showing progress when running a single dashboard. Closes #2685
2022-11-07 10:37:34 +00:00
kai
6f7e48607a
Fix config resolution so install-dir and mod-location are correctly resolved when set in workspace profiles/env vars. Closes #2681
...
Improve resource not found errors
Put install dir back into workspace profiles
Update export arg help
2022-11-07 10:37:34 +00:00
kai
804cc6f3bf
Fix crash when plugin list fails to connect to database.
...
Improve logging for login command
2022-11-07 10:37:34 +00:00
kai
7e4ecf3724
Update argument descriptions for --output --export, --snapshot-location
...
Remove 'check' from dashboard arg descriptions
Do not show "Output format defaulted to 'none'" message if sharing a snapshot
remove query timeout from database options
Fix snapshot creation crash when required inputs are not provided
2022-11-07 10:37:34 +00:00
Binaek Sarkar
e5a14bce00
Adds 'list' sub command for 'query', 'check' and 'dashboard'. Closes #2653
2022-11-03 15:58:56 +00:00
kai
f70310d4e8
Update login and snapshot messaging.
2022-11-03 13:30:51 +00:00
Puskar Basu
7228dedca2
Fix unintuitive errors from steampipe plugin commands when a plugin (version) is missing. Closes #2361
2022-11-03 11:09:45 +00:00