Commit Graph

1266 Commits

Author SHA1 Message Date
Dan Sosedoff
22eb352180
Version bump: 0.16.0 2024-06-04 21:15:52 -07:00
Dan Sosedoff
3a32f531a0
Allow database stats downloads (#738)
* Add button to download database stats
* Return xml as well
2024-05-25 10:59:23 -07:00
Dan Sosedoff
63f1150056
SSH tunnel cleanup and parse fixup (#731) 2024-05-22 20:09:29 -07:00
Dan Sosedoff
40f582d1ea
Add analyze table action (#737) 2024-05-14 20:40:39 -07:00
Dan Sosedoff
cf86131808
Bump postgres version used in docker compose to 15 (#729) 2024-03-27 23:02:46 -07:00
Matt Burdan
f3d6d9d73e
fix: Propagate CGO_ENABLED environment variable to docker build (#724)
* fix: Add ability to statically compile binaries

* propagate env var from github action

* fix comment
2024-03-26 22:44:58 -07:00
Dan Sosedoff
1b03d78800
Drop linux/arm/v5 from docker build (#728) 2024-03-25 22:44:41 -07:00
Dan Sosedoff
6489f6a800
Build on 1.22 (#726) 2024-03-22 21:03:07 -07:00
Dan Sosedoff
36436f3aa7
Switch to go 1.21 (#702)
* Switch to go 1.21

* Update golangci-lint version
2024-03-22 20:36:41 -07:00
Dan Sosedoff
db05989d07
Remove herokuisms (#719) 2024-03-15 22:01:32 -07:00
Dan Sosedoff
3b2bec68ef
Update changelog 2024-03-14 22:28:03 -07:00
Dan Sosedoff
9717d3a132
Version bump: 0.15.0 2024-03-14 22:19:59 -07:00
Alexandru Gologan
f4e7643e22
Add support for a bookmarks-only mode (#716)
* Add support for bookmarks-only mode

* Add error for missing bookmarks in bookmarks-only mode

* Error when settings url or connect backend together with bookmarks-only

* Add tests for parsing options
2024-03-14 21:36:53 -07:00
dmahmalat
605c483d5b
Continue on parseJSON error (#708) 2024-03-11 22:03:37 -07:00
Ashish Kulkarni
8a8b9f07fb
fix missing indexes by quoting schema/table name to ::regclass (#711)
The same approach is used in pkg/statements/sql/table_schema.sql
and a sample reproduction for the bug is:

  CREATE SCHEMA test;
  CREATE TABLE test.data (id INTEGER PRIMARY KEY, name TEXT);
  CREATE UNIQUE INDEX "test.data_uniq" ON test.data (name);

Only the primary key is shown, and not the index created above.
2024-03-11 21:50:48 -07:00
Dan Sosedoff
7ee3c61e38
Version bump: 0.14.3 2024-01-28 20:14:20 -06:00
Dan Sosedoff
408e23adb3
Allow setting readonly mode in bookmarks (#707) 2024-01-12 21:17:14 -06:00
Dan Sosedoff
e560f07de6
License years 2024-01-04 23:34:40 -06:00
Dan Sosedoff
fe5039d17a
Allow retrying a connection on startup (#695)
* Allow retrying a connection on startup
* Remove unused vars
* Add an extra comment
* Restructure retry logic a bit
* Update retry logic
* Fix comment
* Update comment
* Change type for RetryCount and RetryDelay to uint
* Extra test cases
* Tweak
2023-11-04 11:12:48 -05:00
Dan Sosedoff
f810c0227b
Add UPDATE to list of restricted keywords in read-only mode (#697) 2023-11-02 21:17:46 -05:00
Dan Sosedoff
10c90bcd01
Reformat changelog 2023-10-29 21:29:55 -05:00
Dan Sosedoff
f3a6ce4636
Update changelog 2023-10-29 21:18:05 -05:00
Dan Sosedoff
87030c8a17
Version bump: 0.14.2 2023-10-29 21:17:00 -05:00
Dan Sosedoff
614700e69a
Bump max ci run to 40 mins 2023-09-26 23:22:59 -05:00
Dan Sosedoff
5371b4af56
Test with pg16 (#691)
* Test with pg16

* Install pg 16 client
2023-09-26 22:40:57 -05:00
Dan Sosedoff
22daaad5a2
Fix unclosed database sessions and tunnels (#688) 2023-09-10 11:46:31 -05:00
yanjingtu
14d8d80b86
fix when prefix has '/' and prefix is not end with '/' (#684) 2023-08-29 21:09:10 -07:00
Dan Sosedoff
e0c2099e91
Use pg_table_size for table stats query (#685) 2023-07-18 20:15:09 -05:00
Dan Sosedoff
a4185415e2
Update changelog 2023-06-17 12:19:21 -05:00
Dan Sosedoff
189ca505bc
Version bump: 0.14.1 2023-06-17 12:16:37 -05:00
dependabot[bot]
0309d88298
Bump github.com/gin-gonic/gin from 1.7.7 to 1.9.1 (#680)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.7 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.7.7...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-17 12:03:46 -05:00
Dan Sosedoff
60532e852b
Add env and envrc into gitignore 2023-06-17 12:01:21 -05:00
Dan Sosedoff
d4cfb059ce
Add process start time metric (#675) 2023-05-08 20:46:00 -05:00
Dan Sosedoff
52f7988ebd
Configure pgweb user for docker container (#674)
* Configure pgweb user for docker container
* Set UID to 1000
2023-04-29 14:07:29 -05:00
Dan Sosedoff
b2067fbc8d
Add clarification comment for binary codec var 2023-04-25 20:02:41 -05:00
Dan Sosedoff
f037a4b0d2
Change demo env idle timeout to 30 mins 2023-04-04 15:43:30 -05:00
Dan Sosedoff
4d32e3b2c5
Switch to go 1.20 (#668)
* Switch to go 1.20
* Fix golang version definition
* Upgrade golangci-lint to v1.51.2
2023-03-31 19:48:14 -05:00
Dan Sosedoff
f94bc9a4dd
Fix connection window layout on smaller viewports (#669) 2023-03-31 19:38:38 -05:00
Francesco Frassinelli
e905e5de53
Better Dockerfile (#645)
* Add support for docker compose build
* Avoid copying more file than needed
* Reduce Docker image size
2023-03-31 18:55:59 -05: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
941c0acea3
Fix typo in the healthy metric (#657) 2023-02-28 11:57:36 -06:00
Tobias
bed7ab9564
Use entrypoint instead of cmd in order to facilitate argument passing (#654)
See https://docs.docker.com/engine/reference/builder/#entrypoint and https://docs.docker.com/engine/reference/builder/#cmd.
This allows specifying additional arguments directly after 'docker run ...', e.g. docker run --rm sosedoff/pgweb --listen=8082
2023-02-27 13:14:05 -06:00
Dan Sosedoff
d5e72f92b5
Update changelog 2023-02-21 11:49:04 -06:00
Dan Sosedoff
6b3c177909
Version bump: 0.14.0 2023-02-21 11:39:49 -06:00
Dan Sosedoff
c486885159
Fetch local queries on db connect (#650) 2023-02-17 12:26:37 -06:00
Dan Sosedoff
fc0be1dcd1
README update 2023-02-15 22:04:37 -06:00
Dan Sosedoff
f12cf3725a
Move gitconfig step into dockerfile build section 2023-02-15 16:59:39 -06:00
Dan Sosedoff
23fb84db76
Add git config for fly deploy 2023-02-15 16:48:17 -06:00
Ashish Kulkarni
505ee42867
ensure that objects are sorted by schema and name (#648)
This is a regression from #608
2023-02-15 15:39:17 -06: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