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
Francesco Frassinelli
1c3ab1fd1c
Replace DATABASE_URL with PGWEB_DATABASE_URL ( #642 )
2023-02-02 12:48:42 -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
Jens Broekens
06212b4c34
Add bookmark options to load username/password from env vars ( #638 )
2023-01-20 16:59:39 -06:00
dependabot[bot]
79bd9c2f4e
Bump rack from 2.2.4 to 2.2.6.2 in /config/examples/connect_backend_ruby ( #637 )
...
Bumps [rack](https://github.com/rack/rack ) from 2.2.4 to 2.2.6.2.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/2.2.4...v2.2.6.2 )
---
updated-dependencies:
- dependency-name: rack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-18 20:09:55 -06:00
Dan Sosedoff
d7ecb5494d
Show error message when API calls fail ( #636 )
2023-01-18 13:29:04 -06:00
Dan Sosedoff
06be755d56
Update license years
2023-01-17 17:28:45 -06:00
Dan Sosedoff
b2b0094b5e
Handle support/permissions errors in info call ( #635 )
...
* Handle support/permissions errors in info call
* Fix linting
2023-01-17 16:05:15 -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
a864cbcee8
Update changelog
2022-12-27 19:20:32 -06:00
Dan Sosedoff
da671e67cc
Version bump: 0.13.1
2022-12-27 19:14:59 -06:00
Dan Sosedoff
5afecfe52c
Fix bookmarks ID check ( #631 )
2022-12-27 19:03:53 -06:00
Dan Sosedoff
fed842a44d
Configure fly metrics
2022-12-25 15:06:26 -06:00
Dan Sosedoff
16a897e65d
Update changelog
2022-12-25 14:20:38 -06:00
Dan Sosedoff
e4530caab6
Version bump: 0.13.0
2022-12-25 14:14:16 -06:00
Dan Sosedoff
6bd8d0f9a7
Enable metrics endpoint on fly
2022-12-25 13:45:10 -06:00
Dan Sosedoff
239037b4c6
Add query execution stats to api endpoint ( #629 )
2022-12-25 13:25:18 -06:00
Dan Sosedoff
12a4bf70c0
Add duration_ms to log entries ( #628 )
2022-12-25 13:24:22 -06:00
Dan Sosedoff
1897bef08d
Results struct cleanup ( #627 )
...
* Add results format test
* Init results slice before formatting data
* Add extra test for nil check in CSV function
2022-12-21 15:02:40 -06:00
Dan Sosedoff
aeb9dc24ad
Fix mutex unlock call
2022-12-21 14:29:44 -06:00
Dan Sosedoff
bcba666507
Add default connect_timeout option to connection string ( #626 )
...
* Add default connect_timeout option to connection string
* Add an extra test
2022-12-20 16:58:54 -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
837e25be74
Go mod tidy
2022-12-19 17:51:35 -06:00
Dan Sosedoff
4e3e255575
Configure timeout and retries when testing connection status ( #623 )
2022-12-19 16:13:43 -06:00
Dan Sosedoff
362ecb0bc7
Tweak fly config
2022-12-19 13:39:36 -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
0b9e7cdb4e
Update checks workflow triggers
2022-12-16 15:03:06 -06:00