Commit Graph

397 Commits

Author SHA1 Message Date
Dan Sosedoff
0008842a68 Add test for server type and version detection (#612) 2022-12-08 13:33:38 -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
38051b9465 Add support for user functions (#608)
* Add initial support for functions
* Show functions definitions
* Fix client tests
* Fix schema objects search
* Perform partial matching for functions
* Add function test
* Make sure to close client connections so that database could be dropped in tests
* Fix lint
* Allow to copy the view/functions definitions
* Nits
2022-12-07 11:58:07 -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
f48cc5f007 Use go embed to load queries from static files (#607) 2022-12-06 17:41:46 -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
66fbc730fe Only include form for non-get requests 2022-12-06 12:30:43 -06:00
Dan Sosedoff
2f9d737515 Move request parameters logging into api request logger 2022-12-06 12:24:21 -06:00
Dan Sosedoff
dda70352c0 Dont include request path in the log twice 2022-12-06 12:14:55 -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
be81fdab41 Fix panic with time marshalling 2022-12-05 21:47:39 -06:00
Dan Sosedoff
e3d69d3cfa Fix lint 2022-12-05 21:01:08 -06:00
Dan Sosedoff
450badfbbb Handle returning values in update/delete queries 2022-12-05 20:56:21 -06:00
Dan Sosedoff
695a99dade Enable dev assets mode with PGWEB_ASSETS_DEVMODE env var 2022-12-03 18:27:46 -06:00
Dan Sosedoff
3cec2c5c66 Merge pull request #596 from sosedoff/fix-flaky-backend-test
Fix flaky backend connection test
2022-12-03 16:49:51 -06:00
Dan Sosedoff
1b42caf3a7 Fix flaky backend connection test 2022-12-03 16:42:30 -06:00
Dan Sosedoff
96f82201b5 Fix indexes test 2022-12-03 16:31:07 -06:00
Dan Sosedoff
606227d308 Include index size on the index list view 2022-12-03 16:16:00 -06:00
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