Commit Graph

426 Commits

Author SHA1 Message Date
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
Chris Bandy
b771465d99 Do not record history of internal queries 2014-11-21 04:52:53 +00:00
Dan Sosedoff
45f42dbb5e Define Row type as []interface{} 2014-11-20 22:33:08 -06:00
Dan Sosedoff
27104c05f1 Return NewError function where it belongs 2014-11-20 21:43:51 -06:00
Dan Sosedoff
82307cde6c Handle connection url generation for schema and standard modes separately 2014-11-20 21:15:01 -06:00
Dan Sosedoff
5ca2abb8d0 Print memory usage in both bytes and megabytes 2014-11-20 21:00:53 -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
8c605dcd96 Do not crop table cells on indexes view 2014-11-20 19:32:54 -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
Dan Sosedoff
a3dfdf7622 Merge pull request #65 from davetoxa/show_version
Show pgweb version on start
2014-11-15 13:04:58 -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
dd1127ff77 Rename asset build tasks 2014-11-11 18:13:23 -06:00
Dan Sosedoff
3f8688fb73 Define a MIME_TYPES string map to hold all used mime types 2014-11-10 23:19:21 -06:00
Dan Sosedoff
028ef449dc Reorganize go imports 2014-11-10 23:10:05 -06:00
Dan Sosedoff
41cf9cf205 Run dep restore and build as separate commands in dockerfile 2014-11-10 12:54:41 -06:00
Dan Sosedoff
c3d256a774 Fix styles for table information block on sidebar 2014-11-07 18:25:41 -06:00
Dan Sosedoff
3f49829ecb Readme tweaks 2014-11-07 18:12:08 -06:00
Dan Sosedoff
0fe2936729 Restructure connection settings view 2014-11-06 16:05:49 -06:00
Dan Sosedoff
1a47e7325a Add connection settings form (host, user, port, etc) 2014-11-06 11:25:53 -06:00
Dan Sosedoff
ff5a3eea33 Fix identation in app.json and add icon url 2014-11-06 10:19:15 -06:00
Dan Sosedoff
376ad001d3 Add png icon 2014-11-06 10:18:28 -06:00
Dan Sosedoff
b6d1b2502e Refactor mime type detection by using path/filepath package 2014-11-06 07:21:53 -06:00
Dan Sosedoff
338df85549 Bind to 0.0.0.0 in Procfile 2014-11-05 22:15:05 -06:00
Dan Sosedoff
95b17c44ec Use godep in Makefile 2014-11-05 22:04:47 -06:00
Dan Sosedoff
4242387403 Use godep in Dockerfile 2014-11-05 18:53:41 -06:00
Dan Sosedoff
6a269bcede Add make task to build docker image 2014-11-05 18:27:14 -06:00
Dan Sosedoff
d2b1caf7aa Add godep to make setup and skip building assets 2014-11-05 18:18:41 -06:00
Dan Sosedoff
b1c36dc521 Update assets 2014-11-05 18:01:10 -06:00
Dan Sosedoff
194219319e Merge pull request #56 from learn-linux-kernel/master
Add docker file instruction to README
2014-11-05 17:56:34 -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
3da195b5f1 Disable results cell cropping if running analyze query manually 2014-11-04 10:07:22 -06:00
llitfkitfk
b05986169b update README 2014-11-04 13:18:26 +08:00
llitfkitfk
1624aa2646 add docker file instruction 2014-11-04 13:14:39 +08:00
Dan Sosedoff
164681dcdd Tweak styles for cell inline textarea elements 2014-11-03 20:18:09 -06:00
Dan Sosedoff
bfd4335e61 Automatically select ssl mode for localhost connections 2014-11-03 20:12:41 -06:00
Dan Sosedoff
958ea6813c Add favicon 2014-11-03 19:06:05 -06:00
Dan Sosedoff
c2c8b3d073 Replace cell contents with textarea on double click 2014-11-03 18:37:51 -06:00
Dan Sosedoff
642ab6465d Do not crop table cells when displaying query explain 2014-11-03 17:55:43 -06:00
Dan Sosedoff
306dc2e4d8 Add button to edit connection settings 2014-11-01 20:06:15 -05:00
Dan Sosedoff
7cbf8a0a84 Reduce connection form padding 2014-11-01 17:51:08 -05:00