Commit Graph

65 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
533ed06eb8 Add shortcut titles to query execute and explain buttons 2014-10-30 18:44:49 -05:00
jartek
0babe02665 Added key binding for explain 2014-10-30 10:46:40 +05:30
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
392cab1b1c Refactor exportToCSV js function 2014-10-29 18:35:13 -05:00
jartek
0631afa382 Generate escape sequences for characters in the query 2014-10-29 23:18:11 +05:30
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
jartek
276caefc92 Replace attr with prop for disabled elements 2014-10-28 22:16:35 +05:30
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
7f9344a572 Use double quotes for table name when fetching table contents, fixes #16 2014-10-27 21:04:42 -05:00
Dan Sosedoff
ec3e52d60f Fix CSV export for multi-line queries 2014-10-26 18:21:35 -05:00
Dan Sosedoff
e7329952f3 Move table information pane into sidebar 2014-10-26 17:16:35 -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
e80b90710b Implement export to CSV via new browser window 2014-10-21 07:40:45 -07:00