Dan Sosedoff
965cf754cf
Allow settings url prefix with URL_PREFIX env var
2018-11-27 14:58:50 -06:00
Dan Sosedoff
1ecf18e41c
Also flush bookmark under sessions/connect setup
2018-09-14 00:56:16 -05:00
Dan Sosedoff
badcf700b9
Clear out connection settings when running in session/connect mode
2018-09-14 00:54:42 -05:00
Dan Sosedoff
174b2ffdbb
Make localhost to be a default db host
2018-09-14 00:04:02 -05:00
Dan Sosedoff
ad81f666a5
Switch to dep for dependency management
2018-08-31 21:49:24 -05:00
Dan Sosedoff
47500bf92e
Specs refactor and tweaks
...
- Make ParseOptions func to take an arg and return struct so we can test it
- Refactor and add more tests for options parsing
- Run test suite on postgres 10.x branch
- Change format for connection idle timer from float64 to in
2018-02-22 14:20:18 -06:00
Dan Sosedoff
c3435e2ece
Change CORS to Cors on CLI options, specify origins as an option
2017-11-16 22:10:14 -06:00
Dan Sosedoff
b52394a166
Add support for CORS
2017-11-15 15:26:31 -06:00
Dan Sosedoff
ec5a12b0f7
Rename disable connection timeout cli option
2017-10-20 22:18:07 -05:00
ldinc
3067b06bf6
#282 : added timeout flags & tuned client.IsIdle()
2017-10-14 03:08:04 +03:00
Dan Sosedoff
4ad70d5392
Tweak wording
2017-10-07 11:30:12 -05:00
Dan Sosedoff
d8ce8231cc
Dot now allow using startup bookmark in multi-session mode
2017-10-07 09:25:00 -05:00
Dan Sosedoff
b1dd4b5308
Add new CLI option to disable SSH connections
2017-09-26 23:56:27 -05:00
Dan Sosedoff
049aa4ec44
Require --connect-backend flag to be set if any other backend flags are specified
2017-09-21 02:06:14 -05:00
Dan Sosedoff
869fd8c6bc
Refactor the third-party connect backend functionality
2017-09-21 01:21:26 -05:00
Dan Sosedoff
d175b0af34
Add descriptions for cli backend options
2017-09-19 00:45:07 -05:00
Dan Sosedoff
73816ff2d7
Add ability to connect with settings from third-party backend
2017-09-19 00:43:21 -05:00
Dan Sosedoff
26ea9fc1b8
Fix the JSON beautifier flag
2017-09-16 21:57:04 -05:00
Dan Sosedoff
d786d0018e
Make JSON formatting a feature flag, enabled by default
2017-09-13 23:27:54 -05:00
Pavel Kiselev
9b1d915dd1
Ability to override bookmarks directory
2017-01-24 07:55:18 +07:00
Dan Sosedoff
412089948c
Do not return error when session is locked and database url is blank
2016-11-20 16:44:33 -06:00
akarki15
1b4902f196
initClient uses bookmark if it exists
...
if options.Bookmark is set, initClient will now use
it to create a client from the bookmarked settings.
initClientUsingBookmark uses methods introduced in
previous commits. It constructs connection string
to db from Bookmark.Url if it exists. If not, it
uses other fields in Bookmark to construct the
connection string. An implication of this is that
the Url field of Bookmark takes precedence.
2016-11-10 20:06:39 -05:00
Dan Sosedoff
20da36416c
Implement session locking with --lock-session option
2016-11-05 21:35:11 -05:00
Dan Sosedoff
661fed0dbb
Set default transaction mode to read only with --readonly flag
2016-11-05 17:43:30 -05:00
Dan Sosedoff
f3bc35ad35
Allow setting auth user and pass using variables
2016-09-28 20:37:07 -05:00
Dan Sosedoff
0a144a633d
Add ability to launch pgweb with url prefix
2016-02-19 21:14:56 -06:00
Dan Sosedoff
73185940b6
Allow enabling sessions via SESSIONS env var
2016-01-10 15:22:30 -06:00
Dan Sosedoff
d772ae0b31
Make sessions optional via --sessions CLI flag
2016-01-08 19:44:31 -06:00
Dan Sosedoff
c513930e27
Restructure application
2015-04-30 11:47:07 -05:00