Commit Graph

311 Commits

Author SHA1 Message Date
Dan Sosedoff
2ca5463d1d Merge pull request #167 from trengrj/limit-schema
Only view schema with USAGE privileges
2016-09-01 09:56:46 -05:00
Dan Sosedoff
ee93fbb120 Fix bindata 2016-08-01 10:32:22 -05:00
Dan Sosedoff
3ae6392a82 Version bump: 0.9.4 2016-07-29 10:37:18 -05:00
Dan Sosedoff
ac16a94a92 Update bindata 2016-07-29 10:36:45 -05:00
Steven Kabbes
22810a96b7 Update bindata 2016-07-27 22:59:58 -07:00
John Trengrove
838b275c19 Only view schema with USAGE privileges 2016-07-18 13:06:48 +10:00
Dan Sosedoff
789719ada6 Version bump: 0.9.3 2016-06-30 10:27:37 -05:00
Dan Sosedoff
790833dc4e Specify cell timestamp layout for CSV export, #163 2016-06-27 22:38:48 -05:00
Dan Sosedoff
80f2641bae Update bindata 2016-06-27 20:24:55 -05:00
Ernad Halilovic
d607a76097 A small typo fix 2016-04-15 12:51:28 +02:00
Dan Sosedoff
34056c1c66 Version bump: 0.9.2 2016-03-01 19:48:15 -06:00
Dan Sosedoff
c58138b4cc Do not reset connection form when clicking on 'cancel' button, fixes #138 2016-03-01 19:42:01 -06:00
Dan Sosedoff
c57b477dc9 Add tests for getSessionId helper 2016-02-26 08:48:55 -08:00
Dan Sosedoff
86f63eecc5 Always include session id in get queries, fixes #142 2016-02-26 08:16:17 -08:00
Dan Sosedoff
ff25927b52 Regenerate bindata 2016-02-24 20:23:51 -08:00
Dan Sosedoff
5ecb66a4ef Fix connection button status while connection is being established, fixes #134 2016-02-20 21:03:35 -06:00
Dan Sosedoff
24c5ecc437 Add options tests 2016-02-20 20:45:50 -06:00
Dan Sosedoff
0a144a633d Add ability to launch pgweb with url prefix 2016-02-19 21:14:56 -06:00
Dan Sosedoff
f308d1cfde Fix issue with long table names in sidebar 2016-02-19 20:32:43 -06:00
Dan Sosedoff
4b4f778360 Return number of affected rows if sql query is update or delete 2016-02-18 22:36:01 -06:00
Dan Sosedoff
6edc384c05 Only run actual query without any comments 2016-02-18 22:18:07 -06:00
Dan Sosedoff
540613645f Replace url-unsafe characters in base64 query data 2016-02-18 21:17:31 -06:00
Dan Sosedoff
586605557e Hide cancel button when disconnected 2016-02-05 17:44:36 -06:00
Dan Sosedoff
f08c9d36a6 Add disconnect button to close active connection 2016-02-04 23:13:54 -06:00
Dan Sosedoff
da43314332 Add disconnect endpoint 2016-02-04 23:05:42 -06:00
Dan Sosedoff
ccd5455103 Add double quotes to column name in filters 2016-01-31 20:12:56 -06:00
Dan Sosedoff
d3d408bc68 Version bump: 0.9.1 2016-01-25 19:16:21 -06:00
Dan Sosedoff
a9bafda41c Fix bug with tables context menu 2016-01-22 13:36:06 -06:00
Dan Sosedoff
3d1fd4a7aa Bump ajax timeout to 5 mins 2016-01-22 12:14:19 -06:00
Dan Sosedoff
951bec8596 Go vet 2016-01-22 12:12:00 -06:00
Dan Sosedoff
5e47e8bd29 Setup ajax timeout to 2 minutes to allow long running queries 2016-01-21 20:13:12 -06:00
Dan Sosedoff
eccb430a9b Automatically hide ssh fields if bookmark does not have ssh config 2016-01-20 20:10:17 -06:00
Dan Sosedoff
bd207a3551 Fix js error when custom sql query returns no results 2016-01-20 09:21:31 -06:00
Dan Sosedoff
d3f12802a3 Version bump: 0.9.0 2016-01-19 13:41:42 -06:00
Dan Sosedoff
218394fefc Hide ssh option when switching to url based connection option 2016-01-18 09:50:56 -06:00
Dan Sosedoff
ac5c18e261 Automatically switch to SSH panel if bookmark uses ssh 2016-01-17 15:28:22 -06:00
Dan Sosedoff
9bfaae7194 Merge with master 2016-01-17 15:22:33 -06:00
Dan Sosedoff
4844270f0b Return empty rows collection if query does not have any rows 2016-01-17 15:05:57 -06:00
Dan Sosedoff
3167d96cfc use a different query to fetch materialized view structure 2016-01-17 15:00:33 -06:00
Dan Sosedoff
9766bb2ed2 Add ability to run tests on postgresql 9.1-9.5 2016-01-15 12:33:30 -06:00
Dan Sosedoff
3af20f9327 Display materialized views 2016-01-14 21:30:19 -06:00
Dan Sosedoff
983f285373 Point db to local tunnel if ssh is enabled 2016-01-14 21:14:45 -06:00
Dan Sosedoff
f0f447857f Tunnel implementation, allow using ssh on connection screen 2016-01-14 19:50:01 -06:00
Dan Sosedoff
fb66acebc3 Use anonymous structs in the test 2016-01-14 16:55:05 -06:00
Dan Sosedoff
2721a90455 Use session-storage to keep per-tab sessions instead of per-browser 2016-01-14 13:19:01 -06:00
Dan Sosedoff
52bd1ed1d4 Bindata 2016-01-13 01:29:31 -06:00
Dan Sosedoff
68c2b4d084 Initial ssh tunnel implementation 2016-01-13 01:29:14 -06:00
Dan Sosedoff
556e7d445a Remove unused sequences code 2016-01-12 22:05:32 -06:00
Dan Sosedoff
fbaa61bbbc Regenerate bindata 2016-01-12 21:46:06 -06:00
Dan Sosedoff
8f4c5aab0f CSS tweaks 2016-01-12 21:41:58 -06:00
Dan Sosedoff
9ffa05affb Initial support for multiple schemas 2016-01-12 21:33:44 -06:00
Dan Sosedoff
5690518f25 Version bump: 0.8.0 2016-01-11 08:32:05 -06:00
Dan Sosedoff
79b2d46849 Update bindata 2016-01-11 08:31:45 -06:00
Dan Sosedoff
b14b1cd60d Change icon on sequences items on the sitebar 2016-01-10 15:50:16 -06:00
Dan Sosedoff
73185940b6 Allow enabling sessions via SESSIONS env var 2016-01-10 15:22:30 -06:00
Dan Sosedoff
f3920afe8c Only expose sessions data in debug mode, otherwise return just a count of sessions 2016-01-10 15:16:31 -06:00
Dan Sosedoff
ad1994574d Move api middleware into its own file 2016-01-10 15:03:33 -06:00
Dan Sosedoff
d772ae0b31 Make sessions optional via --sessions CLI flag 2016-01-08 19:44:31 -06:00
Dan Sosedoff
ed94244741 Make pgweb to use multiple sessions at once [wip] 2016-01-08 19:10:11 -06:00
Dan Sosedoff
be3b954716 Filtering bugfixes 2016-01-08 15:31:06 -06:00
Dan Sosedoff
1d05cfa0af Reset filters before loading table data 2016-01-08 15:06:33 -06:00
Dan Sosedoff
38c971ab49 Implement pagination and simple filtering 2016-01-08 14:16:53 -06:00
Dan Sosedoff
61523e33df Add support for offset in table rows endpoint, dry up code 2016-01-07 21:18:22 -06:00
Dan Sosedoff
9b5764d4fb Do not record duplicate queries into history 2016-01-07 20:55:23 -06:00
Dan Sosedoff
1bc824e39b Move query export buttons to the right, add xml export button 2016-01-07 20:44:03 -06:00
Dan Sosedoff
28178e46de Format big floats as well 2016-01-07 20:10:53 -06:00
Dan Sosedoff
3acc6febae Automatically call PrepareBigints for all queries 2016-01-07 11:33:08 -06:00
Dan Sosedoff
fbb8ffbfc6 Encode bigints as strings 2016-01-07 11:27:16 -06:00
Dan Sosedoff
7766c3bb66 Version bump: 0.7.0 2016-01-05 13:14:36 -06:00
Dan Sosedoff
3a793ed87d More design tweaks 2016-01-05 00:31:14 -06:00
Dan Sosedoff
9cfdf4a194 Fresh design 2016-01-04 20:25:54 -06:00
Dan Sosedoff
aa0ffedc8c Update sql editor theme to twilight, make font bigger 2016-01-04 19:17:51 -06:00
Dan Sosedoff
c7e58f0828 Remove duplicate code 2016-01-04 18:35:05 -06:00
Dan Sosedoff
1f99576a37 Add test cases for result struct 2016-01-04 18:33:54 -06:00
Dan Sosedoff
91d8d3ee83 Move result struct into its own file 2016-01-04 18:19:16 -06:00
Dan Sosedoff
5a92c5508c Add ability to export query results to JSON 2016-01-04 18:15:05 -06:00
Dan Sosedoff
73a97893e9 Add ability to export table to JSON and XML 2016-01-04 18:03:53 -06:00
Brian Low
eeb0fdf3a4 Show table constraints 2015-12-04 17:15:03 -07:00
niiyz
d35b3661a9 Make Assets. 2015-11-14 08:45:55 +09:00
niiyz
4688e62b90 Add Sequences to API Test. 2015-11-13 21:36:51 +09:00
niiyz
232790b452 Add Sequences to API. 2015-11-13 21:36:13 +09:00
Dan Sosedoff
6749b2ace8 Make sure to close fake server connection in tests 2015-10-19 21:09:22 -05:00
Dan Sosedoff
20a5728152 Version bump: 0.6.3 2015-08-16 10:24:21 -05:00
Dan Sosedoff
3170fb22cb Escape postgres password, GH-96 2015-08-15 21:11:09 -05:00
Dan Sosedoff
c02d15ec34 Encode sql query to base64 for CSV export, GH-95 2015-08-15 20:53:51 -05:00
Dan Sosedoff
2a4edaf08f Add request middleware to log incoming form params 2015-08-04 10:38:23 -05:00
Dan Sosedoff
639ca96caa Write current sql query after input query change 2015-08-02 19:21:42 -05:00
Dan Sosedoff
fb13ce8b07 Automatically save last executed query to localStorage 2015-07-30 22:29:08 -05:00
Dan Sosedoff
68ceb212b5 Version bump: 0.6.2 2015-07-15 18:21:08 -05:00
Dan Sosedoff
785108002e Support both postgresql:// and posgres:// url prefix 2015-07-14 22:42:46 -05:00
Dan Sosedoff
c12853d0b0 Regenerate bindata 2015-07-14 22:27:48 -05:00
Dan Sosedoff
d9ada2e58a Skip port tests on windows for now 2015-07-14 21:38:15 -05:00
Dan Sosedoff
67a9820c98 Print SHA sum for binary when packaging 2015-06-18 13:14:54 -05:00
Dan Sosedoff
665f79d26c Version bump: 0.6.1 2015-06-18 13:10:02 -05:00
Dan Sosedoff
79bf430dee Version bump: 0.6.0 2015-05-31 20:40:10 -05:00
Dan Sosedoff
651b65a882 Implement table item context menu
- Add ability to export table contents into CSV
- Add ability to truncate table
- Add ability to delete table
2015-05-19 12:24:59 -05:00
Dan Sosedoff
c2290acae3 Add port checking functionality and tests 2015-05-18 17:13:17 -05:00
Dan Sosedoff
e1276afd71 Change sidebar color theme to light one 2015-05-18 16:57:53 -05:00
Dan Sosedoff
faebfb3e62 Regenerate assets 2015-05-18 16:22:19 -05:00
Dan Sosedoff
8889847c71 Fix version 2015-05-08 09:00:24 -05:00
Dan Sosedoff
c9d4ef5e89 Tweak table row styles 2015-05-06 20:58:21 -05:00
Dan Sosedoff
c0f3f027ae Move version definition into command package, include build timestamp, add /api/info endpoint 2015-05-05 00:34:23 -05:00
Dan Sosedoff
0bd5360315 Update styles for connection window 2015-05-05 00:15:30 -05:00
Dan Sosedoff
29b46ba59c Update bindata 2015-05-02 20:50:01 -05:00
Dan Sosedoff
04fe0023b7 DRY up api module 2015-05-02 20:32:16 -05:00
Dan Sosedoff
cb3c3e0e2e Fix function names in api module 2015-05-02 20:13:04 -05:00
Dan Sosedoff
0ac9d72deb Refactor and simplify asset serving 2015-05-02 20:10:14 -05:00
Dan Sosedoff
891f45c1ca Split up api into smaller files 2015-04-30 19:59:48 -05:00
Dan Sosedoff
50cdf99913 Fix all tests 2015-04-30 12:09:29 -05:00
Dan Sosedoff
73d2aa8fe1 Check in compiled assets 2015-04-30 11:51:17 -05:00
Dan Sosedoff
c513930e27 Restructure application 2015-04-30 11:47:07 -05:00