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
172f9a82d0
Remove dummy data from database list and tweak the link style
2016-11-06 19:01:38 -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
c58138b4cc
Do not reset connection form when clicking on 'cancel' button, fixes #138
2016-03-01 19:42:01 -06:00
Dan Sosedoff
86f63eecc5
Always include session id in get queries, fixes #142
2016-02-26 08:16:17 -08:00
Tyler Long
bab4f304c3
Table Information no vertical scroll bar
...
Fix https://github.com/sosedoff/pgweb/issues/140
2016-02-25 11:04:53 +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
f308d1cfde
Fix issue with long table names in sidebar
2016-02-19 20:32:43 -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
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
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
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
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
niiyz
8579edf1ca
Indent modification.
2015-11-13 22:41:53 +09:00
niiyz
420d85e811
Indent modification.
2015-11-13 22:34:53 +09:00
niiyz
924a46894b
Add Sequence to Front. app.js
2015-11-13 22:26:05 +09:00
niiyz
71aec1f07a
Add Sequences to Front.
2015-11-13 21:38:33 +09: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
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
Alexey Agafonov
6152819e45
Update index.html
2015-06-10 17:06:28 +03: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
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