-
Notifications
You must be signed in to change notification settings - Fork 881
feat: Add workspace application support #1773
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
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
bdfa61a
feat: Add app support
kylecarbs 8b2f6c4
Merge branch 'main' into devurls
kylecarbs e3cf488
Merge branch 'main' into devurls
kylecarbs e3ff8ad
Compare fields in apps test
kylecarbs b6e1ea6
Update Terraform provider to use relative path
kylecarbs 430cfe7
Add some basic structure for routing
kylecarbs 6ef781c
chore: Remove interface from coderd and lift API surface
kylecarbs f70dd17
Merge branch 'routeclean' into devurls
kylecarbs 0805250
Merge branch 'main' into devurls
kylecarbs 934b1ff
Add basic proxy logic
kylecarbs 866eeed
Add proxying based on path
kylecarbs 4b73034
Merge branch 'main' into apps
kylecarbs b4f9615
Add app proxying for wildcards
kylecarbs c88df46
Add wsconncache
kylecarbs d327df7
fix: Race when writing to a closed pipe
kylecarbs f84f5ea
Merge branch 'readclose' into apps
kylecarbs cec2de3
fix: Race when writing to a closed pipe
kylecarbs c57f8dd
Merge branch 'readclose' into apps
kylecarbs 8e61cac
fix: Race when writing to a closed pipe
kylecarbs b6e6d7b
Merge branch 'readclose' into apps
kylecarbs 46b24f7
fix: Race when writing to a closed pipe
kylecarbs 4d8b257
Merge branch 'readclose' into apps
kylecarbs e9b7463
Add workspace route proxying endpoint
kylecarbs 80b5600
Add embed errors
kylecarbs 8b81c35
chore: Refactor site to improve testing
kylecarbs 60ad881
Merge branch 'refactorsite' into apps
kylecarbs 0a63bec
Add test for error handler
kylecarbs d3b9ab5
Remove unused access url
kylecarbs 7a1ae15
Add RBAC tests
kylecarbs 5b9194f
Merge branch 'main' into apps
kylecarbs cd2d12e
Merge branch 'main' into apps
kylecarbs b056400
Fix dial agent syntax
kylecarbs fe3aecc
Merge branch 'main' into apps
kylecarbs 2018cdc
Fix linting errors
kylecarbs 2d5261f
Fix gen
kylecarbs 856f17d
Fix icon required
kylecarbs 1a21f94
Merge branch 'main' into apps
kylecarbs ad90bcb
Adjust migration number
kylecarbs 38abbb5
Fix proxy error status code
kylecarbs 4f89642
Fix empty db lookup
kylecarbs 637be3e
Merge branch 'main' into apps
kylecarbs 50da4fb
Merge branch 'main' into apps
kylecarbs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE workspace_apps; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE TABLE workspace_apps ( | ||
id uuid NOT NULL, | ||
created_at timestamp with time zone NOT NULL, | ||
agent_id uuid NOT NULL REFERENCES workspace_agents (id) ON DELETE CASCADE, | ||
name varchar(64) NOT NULL, | ||
icon varchar(256) NOT NULL, | ||
command varchar(65534), | ||
url varchar(65534), | ||
relative_path boolean NOT NULL DEFAULT false, | ||
PRIMARY KEY (id), | ||
UNIQUE(agent_id, name) | ||
); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean the FE should use
encodeURIComponent
?https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent
so like
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah, we should always use
@
if possible. This is an edge-case for where certain client-side applications don't handle the@
properly.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TY!!