28 Commits

Author SHA1 Message Date
Dan Sosedoff
f5f78eb32e
Add server settings view (#768) 2024-12-15 14:46:01 -08:00
Dan Sosedoff
08bbb1537e
Implement process uptime metric (#666)
* Implement process uptime metric
* Add clarification comment
* Add another clarification comment
2023-03-30 12:51:49 -05:00
Dan Sosedoff
41bf189e6b
Local queries (#641)
* Read local queries from pgweb home directory
* Refactor local query functionality
* Allow picking local query in the query tab
* WIP
* Disable local query dropdown during execution
* Only allow local queries running in a single session mode
* Add middleware to enforce local query endpoint availability
* Fix query check
* Add query store tests
* Make query store errors portable
* Skip building specific tests on windows
2023-02-02 16:13:14 -06:00
Dan Sosedoff
5b2d4e4454
Add context menu to display database tables stats (#639)
* Add context menu to display database tables stats

* Move table stats implementation into client
2023-01-23 14:10:26 -06:00
Dan Sosedoff
b31e7f1ea7
Setup basic prom metrics endpoint (#624)
* Setup basic prom metrics endpoint
* Use default prom handler to expose go runtime metrics
2022-12-20 10:13:42 -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
2f9d737515
Move request parameters logging into api request logger 2022-12-06 12:24:21 -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
Dan Sosedoff
46935a7a12
Fix broken path prefix 2021-08-10 12:12:05 -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
0b095f43bb Restructure routes 2018-04-25 23:52:22 -05:00
Dan Sosedoff
c3435e2ece Change CORS to Cors on CLI options, specify origins as an option 2017-11-16 22:10:14 -06:00
Dan Sosedoff
b52394a166 Add support for CORS 2017-11-15 15:26:31 -06:00
Dan Sosedoff
73816ff2d7 Add ability to connect with settings from third-party backend 2017-09-19 00:43:21 -05:00
Dan Sosedoff
e771d6f49e Export database or table to sql 2017-09-16 20:32:41 -05:00
Dan Sosedoff
7d08017c7f Add endpoint to switch active database 2016-11-05 22:23:26 -05:00
Dan Sosedoff
0a144a633d Add ability to launch pgweb with url prefix 2016-02-19 21:14:56 -06:00
Dan Sosedoff
da43314332 Add disconnect endpoint 2016-02-04 23:05:42 -06:00
Dan Sosedoff
556e7d445a Remove unused sequences code 2016-01-12 22:05:32 -06:00
Dan Sosedoff
9ffa05affb Initial support for multiple schemas 2016-01-12 21:33:44 -06:00
Dan Sosedoff
d772ae0b31 Make sessions optional via --sessions CLI flag 2016-01-08 19:44:31 -06:00
Dan Sosedoff
ed94244741 Make pgweb to use multiple sessions at once [wip] 2016-01-08 19:10:11 -06:00
Brian Low
eeb0fdf3a4 Show table constraints 2015-12-04 17:15:03 -07:00
niiyz
232790b452 Add Sequences to API. 2015-11-13 21:36:13 +09:00
Dan Sosedoff
2a4edaf08f Add request middleware to log incoming form params 2015-08-04 10:38:23 -05:00
Dan Sosedoff
c0f3f027ae Move version definition into command package, include build timestamp, add /api/info endpoint 2015-05-05 00:34:23 -05:00
Dan Sosedoff
cb3c3e0e2e Fix function names in api module 2015-05-02 20:13:04 -05:00
Dan Sosedoff
891f45c1ca Split up api into smaller files 2015-04-30 19:59:48 -05:00