Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v17] PostgreSQL access through WebUI #50287

Merged
merged 3 commits into from
Dec 16, 2024

Conversation

gabrielcorado
Copy link
Contributor

Backports PostgreSQL access through WebUI to branch/v17.

This includes three PRs that compose the feature:

changelog: Added support for connecting to PostgreSQL databases using WebUI.

* feat(repl): add postgres

* refactor(repl): change repl to use a single Run function

* test(repl): reduce usage of require.Eventually blocks

* refactor(repl): code review suggestions

* refactor(repl): code review suggestions

* test(repl): increase timeout values

* fix(repl): commands formatting

* refactor(repl): send close pgconn using a different context

* fix(repl): add proper spacing between multi queries

* test(repl): add fuzz test for processing commands
* feat(web): add websocket handler for database webui sessions

* refactor: move common structs into a separate package

* refactor(web): use ALPN local proxy to dial databases

* feat(repl): add default registry

* refactor(web): code review suggestions

* refactor: update repl config parameters

* refactor: move default getter implementation

* feat(web): add supports_interactive field on dbs

* refactor: code review suggestions

* refactor: update database REPL interfaces

* chore(web): remove debug print

* feat: register postgres repl

* refactor(web): update MakeDatabase to receive access checker and interactive

* chore(web): remove unused function
* feat(web): add database terminal access

* chore(web): make explict type cast

* refactor(web): code review suggestions

* chore(web): fix lint errors

* refactor(web): lint errors

* refactor: code review suggestions

* refactor(web): filter wildcard options from connect dialog

* chore(web): lint

* refactor(web): code review suggestions
@public-teleport-github-review-bot

@gabrielcorado - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes.

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-50287.d212ksyjt6y4yg.amplifyapp.com

@gabrielcorado gabrielcorado added this pull request to the merge queue Dec 16, 2024
Merged via the queue into branch/v17 with commit 4ff0f54 Dec 16, 2024
46 of 47 checks passed
@gabrielcorado gabrielcorado deleted the gabrielcorado/v17/pg-webui-access branch December 16, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants