Commit Graph

54 Commits

Author SHA1 Message Date
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
Dan Sosedoff
7adf74ffd4 Tweaks 2014-10-10 00:28:33 -05:00
Dan Sosedoff
29f7e2d58c Check connection before starting server 2014-10-10 00:25:06 -05:00
Dan Sosedoff
e80a4dea06 Add /info endpoint 2014-10-10 00:03:03 -05:00
Dan Sosedoff
26de09a2cd Use table name from url params 2014-10-09 23:48:07 -05:00
Dan Sosedoff
90e9e051de Remove unused code 2014-10-09 22:47:20 -05:00
Dan Sosedoff
65420494d2 Add support for connection string as url 2014-10-09 22:42:52 -05:00
Dan Sosedoff
b3da515b81 Change /tables/:name endpoint response format 2014-10-09 22:35:43 -05:00
Dan Sosedoff
b8e222a440 Return tables as array 2014-10-09 22:14:38 -05:00
Dan Sosedoff
50230be564 Record query history 2014-10-09 19:59:18 -05:00
Dan Sosedoff
5ce35e576b Add -s option to specify static content location 2014-10-09 19:11:03 -05:00