Commit Graph

64 Commits

Author SHA1 Message Date
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
Clint Shryock
a9e664f41d Use DATABASE_URL environment variable if no Url is set 2014-10-28 08:52:04 -05:00
Dan Sosedoff
8cba657773 Add version and debug long flag names 2014-10-27 15:50:57 -05:00
Dan Sosedoff
01acd9a90e Use exit(0) when printing version 2014-10-27 15:49:43 -05:00
Dan Sosedoff
a2191b57d3 Oops, forgot to update version 2014-10-27 15:21:33 -05:00
Dan Sosedoff
7522877051 Rename --httpPort flag to --listen 2014-10-26 18:43:33 -05:00
Dan Sosedoff
fca267f1f4 Gofmt and refactor openPage 2014-10-26 11:47:15 -05:00
dmnlk
eac36dff28 add httpport option, this option can be change server port 2014-10-27 00:31:49 +09:00
Dan Sosedoff
f9e412ea3a Version bump: 0.2.0 2014-10-23 10:12:50 -06:00
Dan Sosedoff
19f7c494e9 Add -v flag to print current version 2014-10-22 07:54:47 -06:00
Dan Sosedoff
21bcc6e4b8 Add /tables/:name/info endpoint to get table data details 2014-10-17 20:30:08 -07:00
Dan Sosedoff
126991f485 Automatically open web page if operatin system supports command 2014-10-16 21:45:52 -05:00
Dan Sosedoff
5886f153f4 Bring back /databases endpoint 2014-10-15 16:05:23 -05:00
Dan Sosedoff
7482d4d4e7 Version: 0.1.0 2014-10-13 21:12:19 -05:00
Dan Sosedoff
e78499551e Disable Gin default debug mode, add -d flag to control it 2014-10-13 18:47:16 -05:00
Dan Sosedoff
e38aedd176 Remove unused options var 2014-10-13 18:40:51 -05:00
Dan Sosedoff
d55671a0fc Add view instructions during startup 2014-10-13 18:40:17 -05:00
Dan Sosedoff
f848116e1b Serve assets with bindata 2014-10-13 14:40:56 -05:00
Dan Sosedoff
05255aa13e Fix path 2014-10-13 13:56:32 -05:00
Dan Sosedoff
9bd0508219 WIP 2014-10-13 13:55:19 -05:00
Dan Sosedoff
7d7e67a54e Use db.Ping to test connection 2014-10-11 22:38:32 -05:00
Dan Sosedoff
ba74d8193c Add function exitWithMessage to terminate program 2014-10-11 22:33:59 -05:00
Dan Sosedoff
8dcb66d58c Exit if selected database does not have any tables 2014-10-11 22:32:10 -05:00
Dan Sosedoff
e2bc79f686 Add /explain endpoint 2014-10-11 13:24:12 -05:00
Dan Sosedoff
d786919a36 Add endpoint to fetch table indexes 2014-10-11 13:20:16 -05:00
Dan Sosedoff
8b3dd2563a Move query history slice into client struct 2014-10-10 21:25:02 -05:00
Dan Sosedoff
7bd23d470f Update readme, fix options parsing 2014-10-10 17:20:14 -05:00
Dan Sosedoff
617d4ce5bf Print startup errors 2014-10-10 17:18:19 -05:00
Dan Sosedoff
40cae0ac1c Restructure 2014-10-10 17:14:17 -05:00