Commit Graph
100 Commits
Author SHA1 Message Date
Dan Sosedoff ad0bc43eeb Implement cmd+enter/control+enter key binding for query editor, via @abourget 2014-10-29 18:53:20 -05:00
Dan Sosedoff cc8fdc7370 Use overflow:auto for scrolling styles, fixes #12 2014-10-29 18:44:11 -05:00
Dan Sosedoff 392cab1b1c Refactor exportToCSV js function 2014-10-29 18:35:13 -05:00
Dan Sosedoff 981d332610 Merge pull request #42 from jartek/fix-encoding-for-query
Generate escape sequences for special characters in the query
2014-10-29 18:33:45 -05:00
Dan Sosedoff 28c33dcb46 Merge pull request #22 from srijs/feature/dockerfile
add Dockerfile
2014-10-29 18:28:03 -05:00
Dan Sosedoff 086b82ab75 Merge pull request #40 from davetoxa/changes
Add changelog
2014-10-29 13:08:57 -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
Dan Sosedoff addac1062d Merge pull request #31 from jartek/master
Replace attr with prop for disabled elements
2014-10-28 21:25:29 -05:00
Dan Sosedoff 68e97cceb8 Merge pull request #27 from catsby/database_url
Use DATABASE_URL environment variable if no Url is set
2014-10-28 11:44:22 -05:00
Dan Sosedoff 5a2acda1a3 Set focus on editor when switching to 'SQL Query' view, fixes #28 2014-10-28 11:28:44 -05:00
Dan Sosedoff 9ad0ca9839 Add travis badge 2014-10-27 22:12:56 -05:00
Dan Sosedoff 7f9344a572 Use double quotes for table name when fetching table contents, fixes #16 2014-10-27 21:04:42 -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 8c11713a5a Add darwin/386 to build list 2014-10-27 15:26:14 -05:00
Dan Sosedoff a2191b57d3 Oops, forgot to update version 2014-10-27 15:21:33 -05:00
Dan Sosedoff ef3ff0d811 Update todo 2014-10-26 18:55:29 -05:00
Dan Sosedoff 7522877051 Rename --httpPort flag to --listen 2014-10-26 18:43:33 -05:00
Dan Sosedoff ba96c291b4 Update screenshots take 2 2014-10-26 18:28:51 -05:00
Dan Sosedoff ec3e52d60f Fix CSV export for multi-line queries 2014-10-26 18:21:35 -05:00
Dan Sosedoff 3b00a61cba Update screenshots 2014-10-26 18:18:21 -05:00
Dan Sosedoff 98b28ce185 Remove API reference doc since API is not directly exposed 2014-10-26 17:28:52 -05:00
Dan Sosedoff 0c06506fd5 Tweak table row mouseover style 2014-10-26 17:19:33 -05:00
Dan Sosedoff e7329952f3 Move table information pane into sidebar 2014-10-26 17:16:35 -05:00
Dan Sosedoff 4b87c3532f Use make dev to build with travis 2014-10-26 12:13:18 -05:00
Dan Sosedoff fdd3df058b Add travis config 2014-10-26 12:00:37 -05:00
Dan Sosedoff df47e839bc Update CLI options in readme 2014-10-26 11:47:53 -05:00
Dan Sosedoff fca267f1f4 Gofmt and refactor openPage 2014-10-26 11:47:15 -05:00
Dan Sosedoff 9adf49a413 Merge pull request #7 from dmnlk/httpport
added Pgweb listener port setting
2014-10-26 11:39:51 -05:00
Dan Sosedoff f6676b1aa9 Add sidebar header 2014-10-25 15:47:23 -05:00
Dan Sosedoff 2d4a60c77c Tweak styles for null columns 2014-10-25 15:27:14 -05:00
Dan Sosedoff ab709bafa6 Add tables styles for history view 2014-10-25 15:18:30 -05:00
Dan Sosedoff 8420d55491 Generate csv download url based on current host and port 2014-10-25 13:03:27 -05:00
Dan Sosedoff 65cce4a726 Reorder tasks in makefile 2014-10-25 12:55:12 -05:00
Dan Sosedoff 75c7caba86 Merge pull request #6 from stevencothren/readme_fix
Fixed typo in connection string example
2014-10-25 12:46:16 -05:00
Dan Sosedoff a3cb7c5817 Readme tweak 2014-10-24 20:52:53 -05:00
Dan Sosedoff 2f26756bb0 Change 'make deps' to 'make setup' to fix issues with clean checkout 2014-10-24 20:52:15 -05:00
Dan Sosedoff 2db871668b Fix typo in rm flag for 'make clean' task 2014-10-24 20:39:43 -05:00
Dan Sosedoff f9e412ea3a Version bump: 0.2.0 2014-10-23 10:12:50 -06:00
Dan Sosedoff f654e91262 Add features list 2014-10-23 09:11:40 -06:00
Dan Sosedoff 86902faff1 Update todo 2014-10-23 09:07:11 -06:00
Dan Sosedoff 62b1e554ec Update readme 2014-10-22 07:56:01 -06:00
Dan Sosedoff 19f7c494e9 Add -v flag to print current version 2014-10-22 07:54:47 -06:00
Dan Sosedoff e80b90710b Implement export to CSV via new browser window 2014-10-21 07:40:45 -07:00
Dan Sosedoff 48d21fed1f Update readme: cross-compile 2014-10-21 07:25:58 -07:00
Dan Sosedoff 12631544fc Add -ignore flag to bindata generation 2014-10-19 09:10:22 -06:00
Dan Sosedoff 7b93db0760 Extract ACE editor initialization into separate method 2014-10-19 09:06:35 -06:00
Dan Sosedoff 0c4c34950a Re-enable CSV button after query is executed 2014-10-18 22:17:38 -06:00
Dan Sosedoff bf2df4e74f Set a correct content type header for CSV endpoint 2014-10-18 08:15:13 -07:00
Dan Sosedoff f955131728 Add button to export to CSV (wip) 2014-10-18 08:07:19 -07:00
Dan Sosedoff a8c53294df Assign data-mode attribute to results table 2014-10-18 07:57:55 -07:00
Dan Sosedoff 367c0373f9 Insert data attribute onto table header columns 2014-10-18 07:55:55 -07:00
Dan Sosedoff bd15fed595 Add table info tab 2014-10-17 20:33:33 -07:00
Dan Sosedoff 21bcc6e4b8 Add /tables/:name/info endpoint to get table data details 2014-10-17 20:30:08 -07:00
Dan Sosedoff abfd6dd688 Add client.TableInfo method to get table data details 2014-10-17 20:27:30 -07:00
Dan Sosedoff e338e14ad2 List supported postgresql versions 2014-10-16 21:45:52 -05:00
Dan Sosedoff 44387fa229 Refactor javascript code to consume api 2014-10-16 21:45:52 -05:00
Dan Sosedoff 289e844c4a Run EXPLAIN ANALYZE for queries 2014-10-16 21:45:52 -05:00
Dan Sosedoff 0a6bb31160 Tweak js formattinggs 2014-10-16 21:45:52 -05:00
Dan Sosedoff 126991f485 Automatically open web page if operatin system supports command 2014-10-16 21:45:52 -05:00
Dan Sosedoff 5164d5946e Merge pull request #1 from cbandy/canned-queries
Expose all constant queries as Client functions
2014-10-15 23:46:48 -05:00
Dan Sosedoff 5886f153f4 Bring back /databases endpoint 2014-10-15 16:05:23 -05:00
Dan Sosedoff 14f4949efd Tweak sidebar navigation styles 2014-10-15 15:59:43 -05:00
Dan Sosedoff 32d7bf864f Change static queries prefix to PG_ 2014-10-14 21:53:57 -05:00
Dan Sosedoff e016e7a8d2 Use EXPLAIN ANALYZE for query 2014-10-14 21:36:33 -05:00
Dan Sosedoff 1e4ecd5ba1 Add explain button to query view 2014-10-14 21:32:46 -05:00
Dan Sosedoff 1e40b12bfe Update README.md 2014-10-14 11:34:22 -05:00
Dan Sosedoff afc0d9c174 Fix screenshots 2014-10-14 11:26:22 -05:00
Dan Sosedoff 63259f95b2 Add screens 2014-10-14 11:21:47 -05:00
Dan Sosedoff 9244e0d886 Update readme 2014-10-14 10:52:40 -05:00
Dan Sosedoff 7482d4d4e7 Version: 0.1.0 2014-10-13 21:12:19 -05:00
Dan Sosedoff 2dae3dbf3f Readme tweaks 2014-10-13 21:03:42 -05:00
Dan Sosedoff c4ddd2437e License, readme 2014-10-13 21:02:04 -05:00
Dan Sosedoff 9ff9af6f11 Disable query executing if its already in progress 2014-10-13 20:12:13 -05:00
Dan Sosedoff 5dd26cd8d0 Frontend tweaks 2014-10-13 19:49:43 -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 3104754c0d Readme tweaks 2014-10-13 18:31:28 -05:00
Dan Sosedoff 60eda30273 Add make dev step 2014-10-13 18:29:44 -05:00
Dan Sosedoff 84838a0b99 Compile for 32/64 bits of linux/windows 2014-10-13 17:31:39 -05:00
Dan Sosedoff b1dd26e931 Build for windows and linux 2014-10-13 16:27:53 -05:00
Dan Sosedoff 0ce156ab9c Add todo 2014-10-13 15:19:11 -05:00
Dan Sosedoff f848116e1b Serve assets with bindata 2014-10-13 14:40:56 -05:00
Dan Sosedoff 15c01e0a55 Add go-bindata to installation step 2014-10-13 13:58:26 -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 d579819946 Merge branch 'master' into ui 2014-10-11 22:39:27 -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 5551626516 Update docs 2014-10-11 13:40:15 -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 2054cf8353 More stuff 2014-10-11 13:03:51 -05:00
Dan Sosedoff 9e89b4b9d2 Merge branch 'master' into ui 2014-10-11 11:35:40 -05:00
Dan Sosedoff aca2b473b6 Remove binary fro repo 2014-10-10 21:27:40 -05:00
Dan Sosedoff 8b3dd2563a Move query history slice into client struct 2014-10-10 21:25:02 -05:00