179 Commits

Author SHA1 Message Date
Dan Sosedoff
d7ecb5494d
Show error message when API calls fail (#636) 2023-01-18 13:29:04 -06:00
Dan Sosedoff
96bd15b3e2
Display cell content via context menu (#634) 2023-01-12 11:55:34 -06:00
Dan Sosedoff
f3353d9007
History page query loading fixup (#632) 2022-12-28 21:56:29 -06:00
Dan Sosedoff
5afecfe52c
Fix bookmarks ID check (#631) 2022-12-27 19:03:53 -06:00
Dan Sosedoff
239037b4c6
Add query execution stats to api endpoint (#629) 2022-12-25 13:25:18 -06:00
Dan Sosedoff
0cd61093b9
Display empty schemas on the sidebar (#621)
* Display empty schemas on the sidebar
* Add schemas fetching test
* Skip pg_temp schemas
* Exclude pg_temp tables from other queries
2022-12-19 13:26:13 -06:00
Dan Sosedoff
69233cd769
Establish connections using bookmark ID only (#619)
* Establish connections using bookmark ID only
* Refactor specs
* Extra tests
* Fix homedir assertion for bookmarks path
* Fix newline in the warning message
* Check for bookmark file existence before reading
* Connect code restructure
2022-12-19 12:33:13 -06:00
Dan Sosedoff
7557ac854e
Configure client side query timeout (#610)
* Configure client side query timeout
* Update test command on windows
* Make query timeout cli opt an uint
* Fix windows test command
* Check for updates when rendering connection page
* Fix typo
2022-12-08 15:07:40 -06:00
Dan Sosedoff
1754274d46
Fix ui flake when switching to activity and connection tabs 2022-12-08 12:43:42 -06:00
Dan Sosedoff
138fd8af09
Remove stray console.log 2022-12-07 12:04:33 -06:00
Dan Sosedoff
38051b9465
Add support for user functions (#608)
* Add initial support for functions
* Show functions definitions
* Fix client tests
* Fix schema objects search
* Perform partial matching for functions
* Add function test
* Make sure to close client connections so that database could be dropped in tests
* Fix lint
* Allow to copy the view/functions definitions
* Nits
2022-12-07 11:58:07 -06:00
Dan Sosedoff
965f1f6eae
Set min height of 100pix 2022-12-05 16:59:49 -06:00
Dan Sosedoff
9b086365d0
Minimize resize handlers code 2022-12-05 16:51:33 -06:00
Dan Sosedoff
fbc228eb6c
Make query input box resizable 2022-12-05 16:35:57 -06:00
Dan Sosedoff
e6c5075f7c
Add ability to display view definition 2022-12-03 16:50:11 -06:00
Dan Sosedoff
d3ff23ddfe
Add context menu for materialized views 2022-12-03 16:50:11 -06:00
Dan Sosedoff
bf6b2f8dda
Add ability to copy view definition 2022-12-03 16:50:11 -06:00
Dan Sosedoff
c08d8cf617
Automatically add session ID to all generated URLs 2022-12-01 12:07:27 -06:00
Dan Sosedoff
f6bd4e3a35
Rename exportURL function 2022-12-01 11:51:47 -06:00
Dan Sosedoff
e13c6d0d1a
Refactor code responsible for opening export pages in new window 2022-11-30 14:18:31 -06:00
Dan Sosedoff
2a4434a04a
Generate a new url based on the old one using URL 2022-11-30 14:03:11 -06:00
Dan Sosedoff
4c096e8774
Auto-detect the query from the query source based on user selection (#547)
* Auto-detect the query from the query source based on user selection

* Misc comment
2022-02-10 20:14:42 -06:00
Tim Ings
17e95601ec
Explain analyze dropdown button (#532)
* Adds bootstrap dropdown plugin
* Float dropdown toggle left
* Extract query running message toggles
* Adds analyze function and api call
* Adds analyze api
2022-01-03 19:05:46 -06:00
Matthieu Vachon
cc1666b16a Removes (annoying) alert on column copy value
All other copy to clipboard action are `alert` free like copying a table name to the clipboard. I think it should be the same for copying a column value.

If you think some feedback is necessary, maybe we should see a small label showing up than closing shortly after. As a comparison, it appears GitHub, in the commit list view, does not shot any feedback anymore (is it a bug maybe? because remote url copy still shows a feedback, anyway :)).

P.S. My editor automatically removed some trailing white spaces, if you prefer, I can revert those.
2021-12-07 23:06:28 -05:00
Dan Sosedoff
678a6fd7cb Show results row context menu on custom query results 2020-03-15 19:50:19 -05:00
Dan Sosedoff
6025b7afb2 Remove double click action on cell
This feature was a source of confusion for new pgweb users for quite
some time now. Most people thought by double-clicking the cell it
would allow them to edit the value since the column is replaced
with textarea. The textarea was there to copy the cell's value, not
for editing. Feature is no longer required due to availability of a
cell context menu, which provides a link to copy the value.
2020-02-12 13:14:58 -06:00
Dan Sosedoff
5d2ec70476 Autocomplete on all database objects 2019-12-04 19:36:09 -06:00
Dan Sosedoff
9afc152f25
Merge pull request #443 from oleggator/autocompletion
Add SQL keyword autocompletion
2019-11-02 13:36:49 -05:00
Dan Sosedoff
7475f398b1 Add support for encrypted ssh keys 2019-11-02 12:44:04 -05:00
Oleg Utkin
abf6acf82e add sql keyword autocompletion 2019-10-03 01:20:18 +03:00
Dan Sosedoff
5c3b21d711 Expland lists of objects on search 2019-07-05 16:20:46 -05:00
Dan Sosedoff
416cae3101 Add database object filter to the sidebar 2019-07-05 16:18:29 -05:00
Dan Sosedoff
819b13fe55 Restructure sidebar 2019-07-05 15:19:05 -05:00
Nhat Tran
bc0602c523 Add custome base64 encode to handle special character 2019-01-24 15:35:16 +08:00
Dan Sosedoff
435a67cb5d Tweak sidebar database object counters styles 2018-12-19 12:40:28 -06:00
Dan Sosedoff
eeb5245cb9 Typo fix 2018-12-13 17:56:57 -06:00
Dan Sosedoff
658d14314b Show pgweb version on homep age and check for newer releases 2018-12-12 20:35:07 -06:00
Dan Sosedoff
ad82841eb2 Force switch back to default connection settings view 2018-12-12 18:29:07 -06:00
Dan Sosedoff
29d4b276e2 Do not show row context menu if results are empty 2018-09-14 18:19:24 -05:00
Dan Sosedoff
6ed3d5b501 Add result row context menu to copy value or filter rows 2018-09-14 18:14:18 -05:00
Dan Sosedoff
fb7676ab4e Include rows count to numeric stats view on table column 2018-09-13 23:46:33 -05:00
Dan Sosedoff
b9eba7bfa4 Add column context menu item to get numeric stats 2018-09-13 20:50:33 -05:00
Dan Sosedoff
a6eade1ae1 Automatically set table filter option to 'equals' if its not set 2018-08-20 20:42:38 -05:00
Eric Dagenais
7b3e99b599 fixes issue that generates an error message when getting table info, getting table schema, and exporting data for tables with uppercase letters 2018-04-11 06:24:56 -07:00
Dan Sosedoff
0ea173ffe5 Add views context menu 2017-11-30 23:38:15 -06:00
Dan Sosedoff
02d598f406 Add db prefix for table export files 2017-11-30 22:47:42 -06:00
Dan Sosedoff
cf432e32f7 Hide custom query results counter if query didnt return any rows 2017-11-16 22:21:52 -06:00
Dan Sosedoff
046022221e UI and design tweaks 2017-10-13 23:04:19 -05:00
Jason Ye
fc01b1db81 Search for database with autocomplete 2017-10-13 22:59:24 -05:00
ldinc
ab443f58d0 #301: change rexexp to String.split() 2017-10-14 03:20:42 +03:00