Commit Graph

377 Commits

Author SHA1 Message Date
Dan Sosedoff
96625916e2 Tweak http message logger format 2022-12-03 15:11:45 -06:00
Dan Sosedoff
07d0010750 Make linter happy 2022-12-02 14:22:50 -06:00
Dan Sosedoff
16726e2461 Add idle timeout into session manager 2022-12-02 14:20:20 -06:00
Dan Sosedoff
0a133dc395 Reorder imports 2022-12-02 14:00:01 -06:00
Dan Sosedoff
73dfcc46c3 Verify client is closed 2022-12-02 13:59:22 -06:00
Dan Sosedoff
bc54c95140 Tweak test run names 2022-12-02 13:57:56 -06:00
Dan Sosedoff
29a6a0df8c Add session manager tests 2022-12-02 13:56:49 -06:00
Dan Sosedoff
9074d4bfb8 Add internal sessions manager 2022-12-02 13:36:31 -06:00
Dan Sosedoff
e7ac416440 Sanitize connect token in logging 2022-12-02 12:20:58 -06:00
Dan Sosedoff
f19f165afc Configure logger for connect backend 2022-12-02 11:45:23 -06:00
Dan Sosedoff
f9e376a117 Code cleanup; add make lint task 2022-12-01 16:51:12 -06:00
Dan Sosedoff
dafda4a977 Add VersionInfo struct to render in the /info endpoint 2022-12-01 16:41:46 -06:00
Dan Sosedoff
72ecd20dd1 Handle logger levels 2022-12-01 13:01:32 -06:00
Dan Sosedoff
c996d71378 Implement gin request logger with param filtering 2022-12-01 13:01:32 -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
9bfec11b48 Fix linting errors 2022-11-14 16:10:50 -06:00
Dan Sosedoff
c706523bd0 Lint: replace ioutil with os package 2022-11-14 15:47:36 -06:00
Dan Sosedoff
685c222b9d Lint: replace os.Kill trap with syscall.SIGTERM 2022-11-14 15:43:34 -06:00
Dan Sosedoff
781469c4cf Version bump: 0.11.12 2022-07-05 21:11:03 -05:00
Boban Acimovic
7b8b9f5c80 update go deps and alpine (#558) 2022-05-20 20:36:11 -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
e2f5e06c07 Add connect backend tests (#546) 2022-01-08 14:45:21 -06:00
Dan Sosedoff
0794c642e4 Use HTTP 302 status code for successful backend redirect (#544) 2022-01-08 12:25:24 -06:00
Tim Ings
17e95601ec Explain analyze dropdown button (#532)
* Adds bootstrap dropdown plugin
* Float dropdown toggle left
* Extract query running message toggles
* Adds analyze function and api call
* Adds analyze api
2022-01-03 19:05:46 -06:00
Dan Sosedoff
af79994595 DRY ldflags; include build time into version string (#541) 2021-12-30 15:33:43 -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
ccfa3497f3 GitHub actions migration (#540) 2021-12-25 11:31:41 -06:00
Dan Sosedoff
7ec1e01edd Version bump: 0.11.9 2021-10-08 21:30:45 -05:00
Dan Sosedoff
0252540c4b Merge pull request #525 from sosedoff/go-embed-path-prefix-fix
Fix broken path prefix
2021-08-17 20:47:18 -05:00
Dan Sosedoff
46935a7a12 Fix broken path prefix 2021-08-10 12:12:05 -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
Nikita Kazarian
8e2c826ba3 go 1.16 features
- use go embed instead of go-binary and remove all about old assets (go 1.16 feature)
- pin gox version (go 1.16 feature)
- update ci to go 1.16
2021-03-05 03:47:01 +03:00
Dan Sosedoff
31f6261c1c Version bump: 0.11.7 2020-10-18 10:29:42 -05:00
Dan Sosedoff
86b1ea887c Adjust error message matching for dump spec 2020-10-18 10:18:03 -05:00
Dan Sosedoff
f61c1c45d5 Use regular expression for checking some of the connectio errors 2020-10-18 09:32:34 -05:00
Simon Hanna
27a83bdf9e Do not show other databases if session is locked
Fixes: #470
2020-07-15 18:11:05 +02:00
Dan Sosedoff
02ddf85af2 Do not terminate if local authentication failed on start 2020-04-23 15:54:12 -05:00
Dan Sosedoff
678a6fd7cb Show results row context menu on custom query results 2020-03-15 19:50:19 -05:00
Dan Sosedoff
3e4e9c30c9 Release 0.11.6 2020-02-19 20:24:33 -06:00
Dan Sosedoff
6025b7afb2 Remove double click action on cell
This feature was a source of confusion for new pgweb users for quite
some time now. Most people thought by double-clicking the cell it
would allow them to edit the value since the column is replaced
with textarea. The textarea was there to copy the cell's value, not
for editing. Feature is no longer required due to availability of a
cell context menu, which provides a link to copy the value.
2020-02-12 13:14:58 -06:00
Dan Sosedoff
e2217e5f71 Add tests for ssl params 2020-02-11 10:58:40 -06:00