OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Merge remote-tracking branch 'origin/dev' into implementation/42843-add-authorization-state-to-storages-api-endpoint
Andreas Pfohl278f907d2445
diff --cc frontend/src/app/shared/components/file-links/file-link-list/file-link-list.component.tsindex 1d961fa8c26,350cf7fb0b9..8ff69422caa--- a/frontend/src/app/shared/components/file-links/file-link-list/file-link-list.component.ts+++ b/frontend/src/app/shared/components/file-links/file-link-list/file-link-list.component.ts@@@ -64,12 -67,9 +67,12 @@@ export class FileLinkListComponent exteprivate readonly storageTypeMap:{ [urn:string]:string; } = {'urn:openproject-org:api:v3:storages:Nextcloud': 'Nextcloud',+ 'urn:openproject-org:api:v3:storages:authorization:FailedAuthentication': 'FailedAuthentication',+ 'urn:openproject-org:api:v3:storages:authorization:Error': 'Error',+ 'urn:openproject-org:api:v3:storages:authorization:Connected': 'Connected',};- private text:{+ text:{infoBox:{emptyStorageHeader:string,emptyStorageContent:string,@@@ -115,14 -134,14 +137,14 @@@}private deriveStorageInformation(fileLinkCount:number):void {- switch (this.storage._links?.authorizationState.href) {- switch (this.storage._links.connectionState.href) {- case 'urn:openproject-org:api:v3:storages:connection:FailedAuthentication':++ switch (this.storage._links.authorizationState.href) {+ case 'urn:openproject-org:api:v3:storages:authorization:FailedAuthentication':- this.setAuthenticationFailureState();+ this.setAuthenticationFailureState(fileLinkCount);break;- case 'urn:openproject-org:api:v3:storages:connection:Error':+ case 'urn:openproject-org:api:v3:storages:authorization:Error':this.setConnectionErrorState();break;- case 'urn:openproject-org:api:v3:storages:connection:Connected':+ case 'urn:openproject-org:api:v3:storages:authorization:Connected':if (fileLinkCount === 0) {this.setEmptyFileLinkListState();} else {