114 Commits

Author SHA1 Message Date
Dan Sosedoff
6b0b0244d1 Version bump: 0.17.0 2025-11-22 07:21:34 -08:00
Dan Sosedoff
8413681db0 Fix typo in the list of env vars (#786) 2025-03-30 08:28:18 -07:00
Kian-Meng Ang
08b1ea71e7 Fix typos (#764)
Found via `codespell -S static,data -L selct`
2024-11-17 22:08:29 -08:00
Dan Sosedoff
e63945ee71 Version bump: 0.16.2 2024-11-02 09:19:33 -07:00
Dan Sosedoff
136b2a6942 Version bump: 0.16.1 2024-09-07 09:48:07 -07:00
Dan Sosedoff
22eb352180 Version bump: 0.16.0 2024-06-04 21:15:52 -07:00
Dan Sosedoff
9717d3a132 Version bump: 0.15.0 2024-03-14 22:19:59 -07:00
Alexandru Gologan
f4e7643e22 Add support for a bookmarks-only mode (#716)
* Add support for bookmarks-only mode

* Add error for missing bookmarks in bookmarks-only mode

* Error when settings url or connect backend together with bookmarks-only

* Add tests for parsing options
2024-03-14 21:36:53 -07:00
Dan Sosedoff
7ee3c61e38 Version bump: 0.14.3 2024-01-28 20:14:20 -06:00
Dan Sosedoff
fe5039d17a Allow retrying a connection on startup (#695)
* Allow retrying a connection on startup
* Remove unused vars
* Add an extra comment
* Restructure retry logic a bit
* Update retry logic
* Fix comment
* Update comment
* Change type for RetryCount and RetryDelay to uint
* Extra test cases
* Tweak
2023-11-04 11:12:48 -05:00
Dan Sosedoff
87030c8a17 Version bump: 0.14.2 2023-10-29 21:17:00 -05:00
yanjingtu
14d8d80b86 fix when prefix has '/' and prefix is not end with '/' (#684) 2023-08-29 21:09:10 -07:00
Dan Sosedoff
189ca505bc Version bump: 0.14.1 2023-06-17 12:16:37 -05:00
Dan Sosedoff
6b3c177909 Version bump: 0.14.0 2023-02-21 11:39:49 -06:00
Dan Sosedoff
41bf189e6b Local queries (#641)
* Read local queries from pgweb home directory
* Refactor local query functionality
* Allow picking local query in the query tab
* WIP
* Disable local query dropdown during execution
* Only allow local queries running in a single session mode
* Add middleware to enforce local query endpoint availability
* Fix query check
* Add query store tests
* Make query store errors portable
* Skip building specific tests on windows
2023-02-02 16:13:14 -06:00
Dan Sosedoff
da671e67cc Version bump: 0.13.1 2022-12-27 19:14:59 -06:00
Dan Sosedoff
e4530caab6 Version bump: 0.13.0 2022-12-25 14:14:16 -06:00
Dan Sosedoff
bcba666507 Add default connect_timeout option to connection string (#626)
* Add default connect_timeout option to connection string
* Add an extra test
2022-12-20 16:58:54 -06:00
Dan Sosedoff
b31e7f1ea7 Setup basic prom metrics endpoint (#624)
* Setup basic prom metrics endpoint
* Use default prom handler to expose go runtime metrics
2022-12-20 10:13:42 -06:00
Dan Sosedoff
69233cd769 Establish connections using bookmark ID only (#619)
* Establish connections using bookmark ID only
* Refactor specs
* Extra tests
* Fix homedir assertion for bookmarks path
* Fix newline in the warning message
* Check for bookmark file existence before reading
* Connect code restructure
2022-12-19 12:33:13 -06:00
Dan Sosedoff
afe431c94d Request logging additions (request id, forwarded user) (#618)
* Add request-id logging
* Missing test file
* Add option to log forwarded user information if available via X-Forwarded-Header
* Format
2022-12-16 12:38:57 -06:00
Dan Sosedoff
e0a748812d Add support for .pgpass file (#617)
* Add support for .pgpass file
* Support password lookup in /api/connect endpoint
* Restrore removed code for BuildStringFromOptions
* Restructure connection string test and add extra case for pgpass
* Add test for FormatURL method
2022-12-14 13:37:49 -06:00
Dan Sosedoff
81b7c1c6aa Version bump: 0.12.0 2022-12-13 11:59:45 -06:00
Dan Sosedoff
7557ac854e Configure client side query timeout (#610)
* Configure client side query timeout
* Update test command on windows
* Make query timeout cli opt an uint
* Fix windows test command
* Check for updates when rendering connection page
* Fix typo
2022-12-08 15:07:40 -06:00
Dan Sosedoff
d08dbf34aa Implement global query timeout option (#609)
* Add global query timeout
* Tweak option settings
* Add timeout test
* Move query timeout option close to idle timeout
2022-12-07 18:56:58 -06:00
Dan Sosedoff
2c745fa68d Use runtime-provided os/arch info 2022-12-06 18:14:47 -06:00
Dan Sosedoff
829658ae4d Include build arch info into binary 2022-12-06 17:55:27 -06:00
Dan Sosedoff
f4b3091666 Merge pull request #605 from sosedoff/log-level
Configure logging level and format
2022-12-06 12:41:56 -06:00
Dan Sosedoff
dbd3b26f6c Configure logging level and format 2022-12-06 12:09:21 -06:00
Dan Sosedoff
97e41fbfe5 Add VersionString func to print out full app version 2022-12-06 11:27:47 -06:00
Dan Sosedoff
dafda4a977 Add VersionInfo struct to render in the /info endpoint 2022-12-01 16:41:46 -06:00
Dan Sosedoff
dd1fb90355 Refactor bookmarks ssl params 2022-11-23 16:21:30 -06:00
Dan Sosedoff
c103eed463 Comment fixes 2022-11-22 16:17:28 -06:00
Dan Sosedoff
e1aa717b22 Print available environment variables in help message 2022-11-22 16:09:01 -06:00
Dan Sosedoff
a2a5415ace Print deprecation notice when using unprefixed env var 2022-11-22 15:20:49 -06:00
Dan Sosedoff
b1023cdcfd Add support for PGWEB_ prefixed env vars 2022-11-22 14:51:13 -06:00
Dan Sosedoff
fa0efb1597 Make getCurrentUser method private 2022-11-22 14:51:13 -06:00
Dan Sosedoff
781469c4cf Version bump: 0.11.12 2022-07-05 21:11:03 -05:00
Dan Sosedoff
db2a7a8aa5 Version bump: 0.11.11 2022-03-29 23:32:36 -05:00
Dan Sosedoff
89f84367ad Change binary codec back to none (#555) 2022-03-26 18:11:33 -05:00
Matthieu Vachon
5803295174 Added binary codec base58 as well as improving the help for --binary-codec flag (#548)
* Added binary codec `base58` as well as improving the help for `--binary-codec` flag
* Added tests for base58
* Fixed tests

Co-authored-by: Matthieu Vachon <matt@streamingfast.io>
2022-01-27 22:10:01 -06:00
Dan Sosedoff
8171907ec2 Version bump: 0.11.10 2022-01-20 21:28:05 -06:00
Dan Sosedoff
706caa44bf Serialize binary bytea cols into hex/base64 (#537)
- Adds binary serialization into hex/base64
- Default codec is base64
- Codec can be changed via `--binary-codec` CLI option
2021-12-29 11:03:50 -06:00
Dan Sosedoff
7ec1e01edd Version bump: 0.11.9 2021-10-08 21:30:45 -05:00
rui
218800395d fix: should be build time rather than runtime 2021-07-09 15:52:09 -04:00
Dan Sosedoff
4de356cb1d Version bump: 0.11.8 2021-07-07 19:11:42 -05:00
Dan Sosedoff
31f6261c1c Version bump: 0.11.7 2020-10-18 10:29:42 -05:00
Dan Sosedoff
3e4e9c30c9 Release 0.11.6 2020-02-19 20:24:33 -06:00
Dan Sosedoff
ce4aea8da1 Add ssl cert/key options 2020-02-05 22:09:13 -06:00
Dan Sosedoff
9c7f566d4d Add option to support sslrootcert parameter 2020-02-05 22:01:25 -06:00