Commit Graph

212 Commits

Author SHA1 Message Date
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
695a99dade
Enable dev assets mode with PGWEB_ASSETS_DEVMODE env var 2022-12-03 18:27:46 -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
Nikita Kazarian
8e2c826ba3 go 1.16 features
- use go embed instead of go-binary and remove all about old assets (go 1.16 feature)
- pin gox version (go 1.16 feature)
- update ci to go 1.16
2021-03-05 03:47:01 +03:00
Dan Sosedoff
707fea6d13 Disable autocomplete on database search field 2020-10-18 09:22:53 -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
Jim Smith
e5c53d598c Fix for visual glitch when schema name wider than 250px 2019-12-04 18:28:14 +00:00
Dan Sosedoff
bc95e8dced Add extra styling for autocomplete 2019-11-02 13:37:52 -05: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
Oleg Utkin
50a9a87a6a upgrade ace to 1.4.6 2019-10-03 01:17:29 +03:00
Dan Sosedoff
f31143ba3a Set odd background color for table rows 2019-07-05 17:28:55 -05: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
25304f8229 Fix: missing base64.js in index.html and remove blank space 2019-01-25 12:04:21 +08: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
43fe84de3a Add link to PG docs about connection strings 2017-12-14 22:49:10 -06: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
4f2fac11d3 Disable autocomplete on the connection url string for security reasons 2017-11-30 22:25:20 -06:00
Dan Sosedoff
d7e5805024 Rename SQL query tab 2017-11-21 15:33:13 -06:00
Dan Sosedoff
dc3d7303d7 Reorder table context menu 2017-11-16 23:08:18 -06:00
Dan Sosedoff
cf432e32f7 Hide custom query results counter if query didnt return any rows 2017-11-16 22:21:52 -06:00