Commit Graph

468 Commits

Author SHA1 Message Date
Dan Sosedoff
d0a6190887 Add connection string builder 2014-12-17 21:32:50 -06:00
Dan Sosedoff
73ee7ca95a Define cli options struct 2014-12-16 20:25:40 -06:00
Dan Sosedoff
d904ea9a29 Makefile changes
- Rename "make build" to "make release"
- Task "make release" will build all targets
- Task "make build" will build production binary for current os
2014-12-13 20:43:07 -06:00
Dan Sosedoff
e0dd4c6a6f Add prefix /api to all service calles 2014-12-13 20:40:25 -06:00
Dan Sosedoff
7c85c867de Move route definitions into api.go file 2014-12-13 20:32:03 -06:00
Dan Sosedoff
2bc16d6c1b Print connection string when creating a new client with debug option 2014-12-12 18:21:40 -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
4086215a03 Try to build on go1.4 2014-12-10 23:48:20 -06:00
Dan Sosedoff
fb2c7ed00a Moar readme 2014-12-10 23:43:17 -06:00
Dan Sosedoff
1006cbc9a7 Typo fix 2014-12-10 23:42:24 -06:00
Dan Sosedoff
64b074881e Readme update 2014-12-10 23:41:45 -06:00
Dan Sosedoff
10e5cfce49 Add release badge 2014-12-09 19:49:29 -06:00
Dan Sosedoff
f2e6be81d2 Merge branch 'bookmarks' 2014-12-09 19:44:01 -06:00
Dan Sosedoff
6ceb5fc5ed Add bookmark dropdown to connection settings ui 2014-12-06 20:04:32 -06:00
Dan Sosedoff
5b073c4978 Print server connection string in debug mode 2014-12-06 12:45:45 -06:00
Dan Sosedoff
52c6e599f7 Merge pull request #68 from cbandy/makefile
Do not include files ignored by Git in compiled assets
2014-12-06 12:20:14 -06:00
Dan Sosedoff
500de36308 Rename utils.go to profiler.go 2014-12-05 00:23:55 -06:00
Dan Sosedoff
d33fb4c9ca Update godeps 2014-12-04 23:57:09 -06:00
Dan Sosedoff
702be10567 Add ssh gateway usage to readme 2014-12-04 23:35:25 -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
2c2b6393c0 Add tmp to gitignore 2014-12-02 18:46:50 -06:00
Dan Sosedoff
6b7ebb2111 Version bump: 0.4.1 2014-12-01 21:04:39 -06:00
Dan Sosedoff
cce904ba6d Changelog: release date 2014-12-01 21:04:24 -06:00
Dan Sosedoff
e93e156c5f Changelog 2014-12-01 20:56:13 -06:00
Dan Sosedoff
7d42cd3f07 Fix return value for getCurrentTable() method 2014-12-01 20:52:46 -06:00
Dan Sosedoff
590d47906e Add js method to get current table 2014-12-01 20:51:20 -06:00
Dan Sosedoff
af75cf55b5 Add FA icons to sidebar and for edit connection 2014-12-01 20:43:37 -06:00
Dan Sosedoff
b376588d54 Add font awesome css and icon fonts 2014-12-01 20:23:10 -06:00
Dan Sosedoff
b003385ed2 Changelog 2014-12-01 19:44:03 -06:00
Dan Sosedoff
742384327c Refresh tables list if table is added or removed 2014-12-01 19:28:24 -06:00
Chris Bandy
bbdd0affba Pass asset directory as a dependency 2014-11-26 12:55:49 +00:00
Chris Bandy
8f5f280597 Replace awk with sed
`make` handles newlines already.
2014-11-26 12:54:34 +00:00
Chris Bandy
fbbcd0ad58 Move Git-ignored file list into variable
Rename existing variable to better indicate its use.
2014-11-26 12:51:57 +00:00
Chris Bandy
209230dfd3 Do not include files ignored by Git in compiled assets 2014-11-24 13:25:10 +00:00
Dan Sosedoff
0d71a34ff9 Automatically set ssl option dropdown to 'disable' when host is '127.0.0.1' 2014-11-23 14:48:59 -06:00
Dan Sosedoff
4baa5ec3c6 Refactor memory profiler, change output format 2014-11-23 14:44:42 -06:00
Dan Sosedoff
22bcfafa76 Detect 127.0.0.1 in js as local connection 2014-11-21 20:04:02 -06:00
Dan Sosedoff
09aa95fe2e Add changelog dates 2014-11-21 17:37:49 -06:00
Dan Sosedoff
adcb1e0d49 Changelog 2014-11-21 17:30:50 -06:00
Dan Sosedoff
d3a6757d5e Set profiler sleep time to 30 seconds 2014-11-21 17:20:30 -06:00
Dan Sosedoff
f49735094b Implement client.fetchRows to reduce duplication 2014-11-21 17:07:32 -06:00
Dan Sosedoff
5020ef10ea Propertly initialize string slice for Tables() method 2014-11-21 17:00:02 -06:00
Dan Sosedoff
c11eee546d Merge pull request #67 from cbandy/query-parameters
Build queries using parameters
2014-11-21 16:16:23 -06:00
Chris Bandy
96d7d6eb94 Move statements out of Client
This reverts e071532d35
2014-11-21 20:47:33 +00:00
Chris Bandy
cd58573730 Use query parameters rather than Sprintf 2014-11-21 20:47:33 +00:00
Chris Bandy
159f589c0c Retrieve table row count from statistics rather than table scan
See https://wiki.postgresql.org/wiki/Slow_Counting
2014-11-21 20:47:33 +00:00
Chris Bandy
597428b6c5 Include the session user and search path in connection info 2014-11-21 04:57:33 +00:00
Chris Bandy
e071532d35 Move statements inline within Client 2014-11-21 04:52:53 +00:00