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
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
dd1fb90355
Refactor bookmarks ssl params
2022-11-23 16:21:30 -06:00
Dan Sosedoff
9bfec11b48
Fix linting errors
2022-11-14 16:10:50 -06:00
Dan Sosedoff
e2217e5f71
Add tests for ssl params
2020-02-11 10:58:40 -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
Dan Sosedoff
8428d268b1
Lint
2019-11-02 13:00:23 -05:00
Dan Sosedoff
d48172986e
Fix error when automatic user detection fails
2019-01-28 14:03:45 -06:00
Dan Sosedoff
d1a7e6ecfe
More lint
2018-12-04 12:42:37 -06:00
Dan Sosedoff
fc380df8dd
Fix failing win test
2018-09-13 23:22:25 -05:00
Dan Sosedoff
dc4e8598f7
Refactor building connection string from options
2018-09-13 22:44:11 -05:00
Dan Sosedoff
b0151ee985
Refactor connection string generator
2018-09-13 22:25:15 -05:00
Dan Sosedoff
33f3e20849
Use port 30000 to test port availability so it does not interfere with running pgweb instance
2017-01-20 13:41:24 -06:00
Dan Sosedoff
951bec8596
Go vet
2016-01-22 12:12:00 -06:00
Dan Sosedoff
68c2b4d084
Initial ssh tunnel implementation
2016-01-13 01:29:14 -06:00
Dan Sosedoff
6749b2ace8
Make sure to close fake server connection in tests
2015-10-19 21:09:22 -05:00
Dan Sosedoff
3170fb22cb
Escape postgres password, GH-96
2015-08-15 21:11:09 -05:00
Dan Sosedoff
785108002e
Support both postgresql:// and posgres:// url prefix
2015-07-14 22:42:46 -05:00
Dan Sosedoff
d9ada2e58a
Skip port tests on windows for now
2015-07-14 21:38:15 -05:00
Dan Sosedoff
c2290acae3
Add port checking functionality and tests
2015-05-18 17:13:17 -05:00
Dan Sosedoff
50cdf99913
Fix all tests
2015-04-30 12:09:29 -05:00
Dan Sosedoff
c513930e27
Restructure application
2015-04-30 11:47:07 -05:00