Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): clone repositories in the background instead of holding the palette open #11762

Mergedjuliusmarmingemerged 8 commits intomain fromrefs/pull/11762/headmerged by juliusmarminge View on GitHub

Showing 28 changed files with 21 additions and 1 deletion (loading 25).

x
0 of 28 viewed, 28 left
4 additions and 0 deletionsapps/server/src/auth/RpcAuthorization.tsModified
View file
@@ -97,6 +97,10 @@
[WS_METHODS.sourceControlLookupRepository]: AuthOrchestrationReadScope,
[WS_METHODS.sourceControlCloneRepository]: AuthOrchestrationOperateScope,
[WS_METHODS.sourceControlPublishRepository]: AuthOrchestrationOperateScope,
+ [WS_METHODS.projectCloneStart]: AuthOrchestrationOperateScope,
+ [WS_METHODS.projectCloneCancel]: AuthOrchestrationOperateScope,
+ [WS_METHODS.projectCloneRetry]: AuthOrchestrationOperateScope,
+ [WS_METHODS.subscribeProjectClones]: AuthOrchestrationReadScope,
[WS_METHODS.projectsListEntries]: AuthOrchestrationReadScope,
[WS_METHODS.projectsReadFile]: AuthOrchestrationReadScope,
[WS_METHODS.projectsSearchContents]: AuthOrchestrationReadScope,
1 addition and 0 deletionsapps/server/src/environment/ServerEnvironment.tsModified
View file
@@ -236,6 +236,7 @@
pullRequestStackActions: true,
threadPullRequestLinking: true,
environmentIcon: true,
+ projectCloneTracking: true,
...(serverSelfUpdate === null ? {} : { serverSelfUpdate }),
...(serverSelfUpdate === "boot-service" || desktopAppUpdate
? {
16 additions and 1 deletionapps/server/src/orchestration/http.tsModified
View file
@@ -16,6 +16,7 @@
failEnvironmentNotFound,
requireEnvironmentScope,