Commit Graph

84 Commits

Author SHA1 Message Date
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
e1276afd71 Change sidebar color theme to light one 2015-05-18 16:57:53 -05:00
brianlow
385b415676 Run selected text. Implements sosedoff/pgweb#78.
In the Query tab, only run the selected text. If nothing selected, run all text in the editor.
2015-05-18 14:58:03 -06:00
Dan Sosedoff
c9d4ef5e89 Tweak table row styles 2015-05-06 20:58:21 -05:00
Dan Sosedoff
0bd5360315 Update styles for connection window 2015-05-05 00:15:30 -05:00
Dan Sosedoff
579eaf9141 Do not uri encode password for now 2015-04-30 11:51:02 -05:00
Dan Sosedoff
7a75447364 Encode connection password so it could be passed via get request 2015-04-29 20:03:39 -05:00
Dan Sosedoff
ec6bb5590d Tweak js formatting, highlight header with sort order 2015-04-28 10:01:34 -05:00
Benjamin Thomas
691106326f Add sort functionality, within content tab 2015-04-09 08:59:10 +02:00
Benjamin Thomas
c82205ce4f Remove trailing whitespace 2015-04-09 08:49:17 +02:00
Dan Sosedoff
2a78500fdf Add activity tab 2015-03-21 19:14:11 -05:00
Dan Sosedoff
cc983f9ad6 Hide sql query when switching to table structure view 2015-03-09 14:03:54 -05:00
Dan Sosedoff
58a9c2b2bf Add history record struct and collect timestamps for query history 2015-01-04 18:11:13 -06:00
Dan Sosedoff
8b3c5bd8e9 Show current database in sidebar header 2015-01-03 20:55:22 -06:00
Dan Sosedoff
f545746e7e Add getTableRows js method and use it when fetching table data 2015-01-03 20:32:06 -06:00
Dan Sosedoff
1123f24fb8 Add button to refresh tables to sidebar header 2015-01-03 20:20:18 -06:00
Dan Sosedoff
2e5a006846 Fix query export CSV endpoint, its prefixed with /api now 2015-01-03 18:25:26 -06:00
Dan Sosedoff
5f7b18fe0e Do not render bookmarks if api returned error 2014-12-31 18:20:40 -06:00
Dan Sosedoff
081f0f7ebc Remove uppercase transformation styles from tables headers 2014-12-28 00:08:13 -06:00
Dan Sosedoff
e0dd4c6a6f Add prefix /api to all service calles 2014-12-13 20:40:25 -06:00
Dan Sosedoff
6ceb5fc5ed Add bookmark dropdown to connection settings ui 2014-12-06 20:04:32 -06:00
Dan Sosedoff
403701b258 Change /info endpoint to /connection 2014-12-02 21:20:04 -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
742384327c Refresh tables list if table is added or removed 2014-12-01 19:28:24 -06: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
22bcfafa76 Detect 127.0.0.1 in js as local connection 2014-11-21 20:04:02 -06: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
Dan Sosedoff
82307cde6c Handle connection url generation for schema and standard modes separately 2014-11-20 21:15:01 -06:00
Dan Sosedoff
8c605dcd96 Do not crop table cells on indexes view 2014-11-20 19:32:54 -06:00
Dan Sosedoff
c3d256a774 Fix styles for table information block on sidebar 2014-11-07 18:25:41 -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
376ad001d3 Add png icon 2014-11-06 10:18:28 -06:00
Dan Sosedoff
3da195b5f1 Disable results cell cropping if running analyze query manually 2014-11-04 10:07:22 -06: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
Dan Sosedoff
3b9be5d69b Add URL format hint to connection form 2014-11-01 17:50:14 -05:00
Dan Sosedoff
9a431f6e41 Initial interface to connect to server using gui 2014-11-01 15:44:24 -05:00
Dan Sosedoff
5a2c13e6c4 Add a new table to display connection information 2014-10-31 22:15:56 -05:00
Dan Sosedoff
d075e9b1f9 Tweak sidebar styles and list structure to fix long table names on a single line 2014-10-31 21:39:00 -05:00
Dan Sosedoff
1acb00d2cb Reorganize styles and remove hight from tables list item 2014-10-30 19:16:18 -05:00
Dan Sosedoff
533ed06eb8 Add shortcut titles to query execute and explain buttons 2014-10-30 18:44:49 -05:00