Commit Graph

122 Commits

Author SHA1 Message Date
Dan Sosedoff
2378ba894d Reset results table on manual disconnect 2017-05-08 21:37:24 -05:00
Dan Sosedoff
701e536a90 Remove table rows when switching to custom query view 2017-02-25 14:24:57 -06:00
Dan Sosedoff
36fd4871e1 Show number of rows rendered for custom sql query 2017-02-25 14:04:48 -06:00
Dan Sosedoff
9f8f45db5a Display sidebar even if there are no tables (or any other objects) 2016-11-15 20:55:03 -06:00
Fabio Galli
da9bdb8dcd Favor selected text over the whole ace editor text in "runExplain" and "Export" functionalities 2016-11-08 09:28:23 +01:00
Dan Sosedoff
58e5609b59 Make tabs sticky: remember tab when switching between tables 2016-11-06 22:09:46 -06:00
Dan Sosedoff
72325a6cbc Show connect/disconnect button if connection info fetch failed 2016-11-05 22:51:10 -05:00
Dan Sosedoff
a3c341b5b4 Show list of databases and allow switching by clicking on current database name 2016-11-05 22:49:17 -05:00
Dan Sosedoff
20da36416c Implement session locking with --lock-session option 2016-11-05 21:35:11 -05:00
Dan Sosedoff
887acd5a55 Allow stopping any running query from activity panel 2016-11-05 19:53:10 -05:00
Dan Sosedoff
7aa7b5526b Show pagination only on rows view 2016-11-03 19:27:14 -05:00
Sjon Hortensius
2f69538576 Fix base64 padding with multiple =-signs. An equal amount of dots is required in output
instead of merging all =-signs into one dot, which can then not be
decoded. Test string:

SELECT * from version  where "isHelper" order by "order" desc

will be encode to

U0VMRUNUICogZnJvbSB2ZXJzaW9uICB3aGVyZSAiaXNIZWxwZXIiIG9yZGVyIGJ5ICJvcmRlciIgZGVzYw.

missing a dot at the end making it undecodable.

Since =-signs only appear at the end anyway, we don't need the explicit
'$' in the regexp
2016-10-03 16:19:27 +02:00
Dan Sosedoff
12dcc45e88 Formatting; regenerated bindata 2016-09-01 10:06:51 -05:00
Aleksander Umov
a9fe99b09b Fixed broken export to CSV/JSON/XML if hashmark in URL 2016-08-30 10:50:47 +02:00
Steven Kabbes
638fd6234e [UI] fix CSV, JSON, and XML export with --prefix running 2016-07-27 22:55:54 -07:00
Dan Sosedoff
86f63eecc5 Always include session id in get queries, fixes #142 2016-02-26 08:16:17 -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
0a144a633d Add ability to launch pgweb with url prefix 2016-02-19 21:14:56 -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
ccd5455103 Add double quotes to column name in filters 2016-01-31 20:12:56 -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
5e47e8bd29 Setup ajax timeout to 2 minutes to allow long running queries 2016-01-21 20:13:12 -06:00
Dan Sosedoff
111d2cecf9 Reload sidebar if anything gets dropped/created 2016-01-20 21:33:36 -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
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
3af20f9327 Display materialized views 2016-01-14 21:30:19 -06:00
Dan Sosedoff
f0f447857f Tunnel implementation, allow using ssh on connection screen 2016-01-14 19:50:01 -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
556e7d445a Remove unused sequences code 2016-01-12 22:05:32 -06:00
Dan Sosedoff
9ffa05affb Initial support for multiple schemas 2016-01-12 21:33:44 -06:00
Dan Sosedoff
b14b1cd60d Change icon on sequences items on the sitebar 2016-01-10 15:50:16 -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
1bc824e39b Move query export buttons to the right, add xml export button 2016-01-07 20:44:03 -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
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
3e6e223ed0 Indent modification. 2015-11-13 22:43:19 +09:00