Commit Graph

92 Commits

Author SHA1 Message Date
Dan Sosedoff
ccc5eddf92 Move all CLI logic into its own package 2017-05-16 21:28:07 -05:00
Pavel Kiselev
ee547c5899
Override parameter in main.go 2017-01-24 08:04:13 +07:00
Dan Sosedoff
59018287de Fix issue with default port in bookmark; cleanup 2016-11-15 21:58:58 -06:00
akarki15
fedde804e3 Remove error return value from ConvertToOptions
ConvertToOptions can't return any error.
2016-11-15 22:03:32 -05: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
d9cb536518 Add security warning 2016-11-05 20:50:56 -05:00
Dan Sosedoff
0a144a633d Add ability to launch pgweb with url prefix 2016-02-19 21:14:56 -06:00
Dan Sosedoff
f0f447857f Tunnel implementation, allow using ssh on connection screen 2016-01-14 19:50:01 -06:00
Dan Sosedoff
9ffa05affb Initial support for multiple schemas 2016-01-12 21:33:44 -06:00
Dan Sosedoff
c0f3f027ae Move version definition into command package, include build timestamp, add /api/info endpoint 2015-05-05 00:34:23 -05:00
Dan Sosedoff
ca894c621f Inject git version when building a release 2015-04-30 20:40:06 -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
Dan Sosedoff
637e7a4e24 Change default http port to 8081 to not conflict with rethinkdb web ui 2015-04-28 09:49:36 -05:00
Dan Sosedoff
65ba084d80 Version bump: 0.5.2 2015-04-13 09:03:30 -05:00
Dan Sosedoff
3f21160545 Version bump: 0.5.1 2015-02-23 20:17:03 -06:00
Dan Sosedoff
772e854aa6 Terminate process if server cant be starter 2015-02-09 01:40:51 -06:00
Dan Sosedoff
a749d6ce13 Version bump: 0.5.0 2015-01-13 22:42:59 -06:00
Dan Sosedoff
7859870646 Swtich to use new connection string builder function 2014-12-17 21:59:26 -06:00
Dan Sosedoff
58ee238db4 Test blank connection options 2014-12-17 21:56:15 -06:00
Dan Sosedoff
73ee7ca95a Define cli options struct 2014-12-16 20:25:40 -06:00
Dan Sosedoff
7c85c867de Move route definitions into api.go file 2014-12-13 20:32:03 -06:00
Dan Sosedoff
d93ec7e56d Revert "Refactor conditional"
This reverts commit de22b80203.
2014-12-12 18:15:37 -06:00
Dan Sosedoff
de22b80203 Refactor conditional 2014-12-12 18:05:51 -06:00
Dan Sosedoff
f2e6be81d2 Merge branch 'bookmarks' 2014-12-09 19:44:01 -06:00
Dan Sosedoff
5b073c4978 Print server connection string in debug mode 2014-12-06 12:45:45 -06:00
Dan Sosedoff
8fae96dcbd Initial take on bookmarks 2014-12-02 22:19:38 -06:00
Dan Sosedoff
403701b258 Change /info endpoint to /connection 2014-12-02 21:20:04 -06:00
Dan Sosedoff
6b7ebb2111 Version bump: 0.4.1 2014-12-01 21:04:39 -06:00
Dan Sosedoff
4baa5ec3c6 Refactor memory profiler, change output format 2014-11-23 14:44:42 -06:00
Dan Sosedoff
e1684fc8c0 Print runtime stats every minute when --debug flag is set 2014-11-20 20:00:45 -06:00
Dan Sosedoff
ff88e7f2f9 Print pgweb version before client init 2014-11-16 12:01:13 -06:00
Dan Sosedoff
27e192440e Connection string refactoring
- Ssl mode is not set to "disable" by default
- Ssl mode will be set to "disable" only for localhost connections
- User is now detected from OS username
2014-11-16 11:58:05 -06:00
Anton Cherepanov
2393b81174 Show pgweb version on start 2014-11-15 17:06:06 +05:00
Dan Sosedoff
fac98dc970 Release: 0.4.0 2014-11-11 18:45:14 -06:00
Dan Sosedoff
12bdc36c92 Check if provided connection URL has invalid format 2014-11-11 18:18:35 -06:00
Dan Sosedoff
028ef449dc Reorganize go imports 2014-11-10 23:10:05 -06:00
Dan Sosedoff
0fe2936729 Restructure connection settings view 2014-11-06 16:05:49 -06:00
Dan Sosedoff
b3307b5557 Merge pull request #43 from pvh/master
Heroku deploy button
2014-11-05 17:56:04 -06:00
Dan Sosedoff
9a431f6e41 Initial interface to connect to server using gui 2014-11-01 15:44:24 -05:00
Dan Sosedoff
7ac9bee098 Add API method to connect to server with given url 2014-10-31 22:37:58 -05:00
Peter van Hardenberg
7c71b0d826 allow no tables. 2014-10-30 17:35:27 -07:00
Dan Sosedoff
61ecc9e9a1 Append ssl mode to url if ssl flag is set and not defined in the url 2014-10-30 19:30:34 -05:00
Dan Sosedoff
d325527aa6 Add --bind flag to specify http server host 2014-10-30 18:51:49 -05:00
Dan Sosedoff
c6f0b4d1bc Add flag --skip-open/-s to skip browser opening on start, closes #50 2014-10-30 18:27:37 -05:00
Dan Sosedoff
44b429b459 Implement HTTP basic authentication 2014-10-29 19:45:12 -05:00
Dan Sosedoff
df123ed796 Version bump: 0.3.1 2014-10-28 23:42:11 -05:00
Dan Sosedoff
01666c8f3d Add --pass flat to specify user password, closes #18, via @waltonseymour 2014-10-28 22:22:17 -05:00
Dan Sosedoff
ee4883b448 Use ssl flag when generating connection string, remove hardcoded value 2014-10-28 22:16:38 -05:00