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
[#42160] inserted new download endpoint from NC
Eric Schuberte69dd0d5b1c6
diff --git a/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html b/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.htmlindex cbcb44a02e6..0d180459092 100644--- a/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html+++ b/frontend/src/app/shared/components/file-links/file-link-list-item/file-link-list-item.html@@ -34,7 +34,7 @@[title]="text.title.downloadFileLink"[href]="fileLink._links.staticOriginDownload.href">- <span class="spot-icon spot-icon_download"></span>+ <span class="spot-icon spot-icon_download-arrow"></span></a><aclass="spot-link"diff --git a/modules/storages/lib/api/v3/file_links/storage_url_helper.rb b/modules/storages/lib/api/v3/file_links/storage_url_helper.rbindex 6d7f80cf27f..2308a3bf9a8 100644--- a/modules/storages/lib/api/v3/file_links/storage_url_helper.rb+++ b/modules/storages/lib/api/v3/file_links/storage_url_helper.rb@@ -57,7 +57,7 @@ module API::V3::FileLinks::StorageUrlHelperreturn ServiceResult.failure(result: I18n.t('http.response.unexpected'))end- url = "#{storage.host}/apps/integration_openproject/direct?token=#{token}&fileName=#{file_link.origin_name}"+ url = "#{storage.host}/apps/integration_openproject/direct/#{token}/#{file_link.origin_name}"ServiceResult.success(result: url)end