Commit Graph

682 Commits

Author SHA1 Message Date
Binaek Sarkar
b92ff8a074 Enables the tablefunc extension for the steampipe database. Closes #1154 2021-12-07 12:57:19 +00:00
kaidaguerre
d253e68f27 Update workspace-database argument to handle connection strings starting with both postgres and postgresql. Closes #1199 2021-12-06 09:59:06 +00:00
Gábor Lipták
62be05da96 Add github-actions to dependabot (#1192)
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-12-06 09:58:41 +00:00
kai
65f59786a6 Update plugin manager makefile and GRPCServer to support protoc-gen-go-grpc 1.1.0_2. Add plugin_manager_grpc.pb.go. 2021-11-30 23:24:54 +00:00
Gábor Lipták
d58d972a3e Bump Go to 1.17
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2021-11-30 12:41:14 +00:00
Binaek Sarkar
73d568c531 Fixes issue where local plugins are not evaluated as local as given in docs. Closes #1176 2021-11-30 12:37:53 +00:00
Puskar Basu
d5555d16f3 Show query timing at the end of the query results. Closes #1177 2021-11-30 12:32:47 +00:00
Puskar Basu
7be8229153 Re-enable dynamic schema tests. Closes #1076 2021-11-30 12:31:54 +00:00
kai
be732c568c Uodate CHANGELOG for v0.10.0. #1130 2021-11-24 22:48:12 +00:00
kai
4afc11a833 Uodate CHANGELOG for v0.10.0. #1130 2021-11-24 22:42:10 +00:00
kai
3ee316f30a Update FDW version to v0.3.0 v0.10.0 2021-11-24 21:54:49 +00:00
kai
1ed6eae515 v0.10.0. Closes #1130 2021-11-24 16:48:27 +00:00
kaidaguerre
ad3e6447c0 Add support for connecting to a remote database, andf for connecting to Stweampipe #1175 2021-11-24 16:44:26 +00:00
Binaek Sarkar
f2580be172 Fixes issue where a check cancel was not waiting for query cancellation to finish, resulting in the service not stopping. Closes #1171 2021-11-24 16:21:10 +00:00
Binaek Sarkar
d55903d44b Fixes issue where table names with special characters are not handled correctly in auto-complete and .inspect. Closes #1109 2021-11-24 13:52:01 +00:00
kai
27892a0f1d Draft CHANGELOG.md for v0.10.0-beta #1130 2021-11-23 21:54:23 +00:00
kai
7c3b57fd5a Update version to 0.10.0-beta.5 #1130 v0.10.0-beta.5 2021-11-23 21:37:07 +00:00
kai
94c196c106 Update FdwVersion to 0.3.0-rc.4
- Fix `.cache clear` metacommand causing FDW to panic
- Fix intermittent crash when using boolean quals on jsonb columns
2021-11-23 21:37:07 +00:00
Puskar Basu
866d438406 Update goreleaser to build steampipe binary for Mac M1. Closes #1160 v0.10.0-beta.4 2021-11-23 16:09:50 +00:00
kai
95ecc5ce0b Update version to 0.10.0-beta.4 #1130 2021-11-23 16:08:39 +00:00
kaidaguerre
9e8677d6de Avoid conflict between plugin manager connection watcher and steampipe concurrently refreshing connections by ignoring initial file watcher event. Closes #1168 2021-11-23 16:07:05 +00:00
kaidaguerre
34b0963d09 Fix reflection error when loading a workspace from a hidden folder. Closes #1157 2021-11-23 11:57:20 +00:00
kaidaguerre
2591bcd411 Update plugin and database installation code to expect AMD64 plugin and db binaries. Closes #1166 2021-11-23 11:56:17 +00:00
Eng Zer Jun
335a3ee686 refactor: move from io/ioutil to io and os packages (#1153)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-23 11:54:38 +00:00
kai
b15249c690 Update version to 0.10.0-beta.3. #1130 v0.10.0-beta.3 2021-11-23 11:06:16 +00:00
kaidaguerre
c3ddd658af Update plugin manager config watcher tro update plugin manager config before refreshing connections before updating plugin manager with the modified config. Closes #1163 2021-11-23 10:37:15 +00:00
kai
1145edc5fa Update version to 0.10.0-beta.2. #1130 v0.10.0-beta.2 2021-11-22 21:09:08 +00:00
Binaek Sarkar
1c02e4afa5 Update plugin_manager service management to be more reslient. Closes #1155 2021-11-22 21:05:46 +00:00
kai
c232da12e9 update version to v0.10.0-beta.1 v0.10.0-beta.1 2021-11-21 11:01:34 +00:00
kaidaguerre
3bb4bf97d3 Create prepared statements one by one to allow accurate error reporting and reduce memory burden. Fix workspace file watching. Fix async error display. Close ##1148. Close #1152. Close #1085 2021-11-21 10:53:33 +00:00
Binaek Sarkar
aea6b017f2 Ensure plugin manager and db service state are managed as a unit - they should always be started and stopped together. Closes #1149 2021-11-19 16:07:20 +00:00
Binaek Sarkar
55bad37d65 Fix issue where check progress reports negative values when errors occur. Closes #1131 2021-11-19 15:58:55 +00:00
kai
d35da7e86b Update FDW to v0.3.0-rc.2 - do not call cache set if plugin supports caching. Only create FDW query cache if needed. 2021-11-19 15:09:01 +00:00
Puskar Basu
b0aa9b62aa When running as root steampipe should error out with a non-zero exit-code . Closes #1114 2021-11-19 10:27:29 +00:00
kaidaguerre
8d7d2b6b04 Remove daemon process. Closes #1146 2021-11-18 17:57:06 +00:00
kaidaguerre
c760000652 Do not create plugin manager until db is started - fixes connection watcher causing plugin manager to crash when it fails to get a db client. Daemon command uses steampipe path from currently running running process. Closes #1137 2021-11-17 17:34:52 +00:00
kai
49c35f16f8 Update version to v0.10.0-beta.0. #1130 v0.10.0-beta.0 2021-11-16 22:51:22 +00:00
kaidaguerre
b07013c4dd Tie the connection watcher lifecycle to the plugin manager. Closes #1129 2021-11-16 22:48:10 +00:00
Binaek Sarkar
a09ed88304 Optimize parallel control execution. Provider more responsive feedback for control runs. Update postgres log config to optimise performance. Closes #1101 2021-11-16 21:57:38 +00:00
Puskar Basu
78d456ed6b Support Linux package managers(apt-get, yum, snap). Closes #595 2021-11-16 11:19:39 +00:00
kaidaguerre
b417c0fff5 Add support for executing on Mac M1. Closes #1104
* hard code fdw architecture to amd64
* update gopsutil to 3.21.10
* Add platform path for arm64
2021-11-16 10:54:41 +00:00
kaidaguerre
99edb970c1 When spawning steampipe daemon, use full steampipe path (derived from running process path). Closes #1115 2021-11-16 10:53:35 +00:00
kaidaguerre
aa6137e189 When cli displays error messages from plugins, they should be prefixed with plugin name. Do not show plugin error messages in JSON/CSV output. Closes #1110. Closes #1071 2021-11-16 10:30:43 +00:00
kai
3f5e4c8ef7 Update CHANGELOG.md for 0.9.1. #1107 2021-11-11 20:32:57 +00:00
kai
f9a648c348 v0.9.1. Closes #1107 2021-11-11 17:39:44 +00:00
Binaek Sarkar
88525e41fd Fix issue where pg usernames weren't getting escaped properly when setting search path. Closes #1094. Closes #1082. 2021-11-11 14:44:51 +00:00
Binaek Sarkar
3e6c0aa541 Add support to fall back to more (if available) - where less is not available in the environment. Closes #1072 2021-11-11 14:44:14 +00:00
Binaek Sarkar
0936b7363f Add support for quoted arguments with whitespace in .<metacmd>. Closes #1067 2021-11-11 14:41:53 +00:00
Binaek Sarkar
f6f9cac534 Apply escaping to schema names when dropping connection schema. Closes #1074 2021-11-11 14:06:46 +00:00
kaidaguerre
b6af2c27f0 update sdk version 2021-11-10 20:24:00 +00:00