Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee24260

Browse files
authored
feat: allow configuring display apps from template (#9100)
1 parent9c9d035 commitee24260

File tree

68 files changed

+1975
-564
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1975
-564
lines changed

‎coderd/apidoc/docs.go

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/apidoc/swagger.json

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/database/dbfake/dbfake.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4428,6 +4428,7 @@ func (q *FakeQuerier) InsertWorkspaceAgent(_ context.Context, arg database.Inser
44284428
MOTDFile:arg.MOTDFile,
44294429
LifecycleState:database.WorkspaceAgentLifecycleStateCreated,
44304430
ShutdownScript:arg.ShutdownScript,
4431+
DisplayApps:arg.DisplayApps,
44314432
}
44324433

44334434
q.workspaceAgents=append(q.workspaceAgents,agent)

‎coderd/database/dump.sql

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
BEGIN;
2+
ALTERTABLE workspace_agents DROP COLUMN display_apps;
3+
DROPTYPE display_app;
4+
COMMIT;
5+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
BEGIN;
2+
CREATETYPEdisplay_appAS ENUM ('vscode','vscode_insiders','web_terminal','ssh_helper','port_forwarding_helper');
3+
ALTERTABLE workspace_agents ADD column display_apps display_app[] DEFAULT'{vscode, vscode_insiders, web_terminal, ssh_helper, port_forwarding_helper}';
4+
COMMIT;

‎coderd/database/models.go

Lines changed: 70 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp