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
Incorporate design feedback
Jan Sandbrinkbc3ca75c07cf
diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 33141688b86..77ece813b24 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2997,6 +2997,7 @@ en:label_query_new: "New query"label_query_plural: "Custom queries"label_read: "Read..."+ label_read_documentation: "Read documentation"label_register: "Create a new account"label_register_with_developer: "Register as developer"label_registered_on: "Registered on"diff --git a/modules/storages/app/components/storages/admin/forms/storage_audience_form_component.html.erb b/modules/storages/app/components/storages/admin/forms/storage_audience_form_component.html.erbindex fa2d618e5ce..84d8c6c2803 100644--- a/modules/storages/app/components/storages/admin/forms/storage_audience_form_component.html.erb+++ b/modules/storages/app/components/storages/admin/forms/storage_audience_form_component.html.erb@@ -42,13 +42,15 @@ See COPYRIGHT and LICENSE files for more details.) do |form|flex_layout do |general_info_row|general_info_row.with_row(mb: 3) do- concat(render(Primer::Beta::Text.new(color: :subtle)) { "#{t('storages.storage_audience.documentation_intro')} " })- concat(- render(Primer::Beta::Link.new(href: OpenProject::Static::Links.url_for(:storage_docs, :nextcloud_sso))) do |link|- link.with_trailing_visual_icon(icon: "link-external")- I18n.t(:label_more_information)- end- )+ render(Primer::Alpha::Banner.new(icon: :info, scheme: :default)) do |component|+ component.with_action_button(+ size: :medium,+ tag: :a,+ href: OpenProject::Static::Links.url_for(:storage_docs, :nextcloud_sso)+ ) { I18n.t(:label_read_documentation) }++ t('storages.storage_audience.documentation_intro')+ endendgeneral_info_row.with_row(mb: 3) dodiff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.ymlindex d06285a3bf3..11c6577b45c 100644--- a/modules/storages/config/locales/en.yml+++ b/modules/storages/config/locales/en.yml@@ -352,9 +352,9 @@ en:integration: Nextcloud Administration / OpenProjectoauth_configuration: Copy these values from %{application_link_text}.provider_configuration: Please make sure you have administration privileges in your Nextcloud instance and the %{application_link_text} is installed before doing the setup.- storage_audience: Please enter the Client ID that the Nextcloud instance uses to communicate with the identity provider.+ storage_audience: The client ID that the Nextcloud instance uses to communicate with the identity provider.storage_audience_placeholder: e.g. nextcloud- storage_scope: Enter scopes that should be requested during token exchange. Multiple scopes can be separated by a space.+ storage_scope: The scopes that should be requested during token exchange, each one separated by a space.no_specific_folder: By default, each user will start at their own home folder when they upload a file.no_storage_set_up: There are no file storages set up yet.not_logged_into_storage: To select a project folder, please first login@@ -482,13 +482,13 @@ en:description: Deactivating this option will hide the attachments list on the work packages files tab. The files attached in the description of a work package will still be uploaded in the internal attachments storage.label: Show attachments in the work packages files tabstorage_audience:- documentation_intro: Details on the following options and what needs to be configured in the identity provider can be found in our documentation.+ documentation_intro: Please read our documentation for details on the following options and configuration of the identity provider.idp:- helptext: OpenProject will use the access token received by the identity provider during the user's log in to authenticate requests to the storage. It will not try to obtain another token.- label: Use access token obtained during user's log in+ helptext: OpenProject will use the access token received by the identity provider during log in to authenticate requests to the storage. It will not try to obtain another token.+ label: Use access token obtained during user log inmanual:- helptext: Allows you to set the audience of the storage. OpenProject will try to exchange a token for the given audience from the identity provider.- label: Specify audience for which to exchange access token+ helptext: OpenProject will exchange a token with the identity provider for the given audience.+ label: Manually specify audience for which to exchange access tokenstorage_list_blank_slate:description: Add a storage to see them here.heading: You don't have any storages yet.diff --git a/modules/storages/spec/features/storages/admin/edit_storage_spec.rb b/modules/storages/spec/features/storages/admin/edit_storage_spec.rbindex d388309293b..e6bc320e78c 100644--- a/modules/storages/spec/features/storages/admin/edit_storage_spec.rb+++ b/modules/storages/spec/features/storages/admin/edit_storage_spec.rb@@ -302,7 +302,7 @@ RSpec.describe "Admin Edit File storage",aggregate_failures "Token Exchange" dofind_test_selector("storage-edit-storage-audience-button").clickwithin_test_selector("storage-audience-form") do- expect(page).to have_checked_field("Specify audience for which to exchange access token")+ expect(page).to have_checked_field("Manually specify audience for which to exchange access token")expect(page).to have_field("Storage Audience")click_on "Save and continue"@@ -310,9 +310,9 @@ RSpec.describe "Admin Edit File storage",fill_in "Storage Audience", with: "schmaudience"- choose("Use access token obtained during user's log in")+ choose("Use access token obtained during user log in")expect(page).to have_no_field("Storage Audience")- choose("Specify audience for which to exchange access token")+ choose("Manually specify audience for which to exchange access token")expect(page).to have_field("Storage Audience", with: "schmaudience")click_on "Save and continue"@@ -326,10 +326,10 @@ RSpec.describe "Admin Edit File storage",find_test_selector("storage-edit-storage-audience-button").clickwithin_test_selector("storage-audience-form") do- expect(page).to have_checked_field("Specify audience for which to exchange access token")+ expect(page).to have_checked_field("Manually specify audience for which to exchange access token")expect(page).to have_field("Storage Audience", with: "schmaudience")- choose("Use access token obtained during user's log in")+ choose("Use access token obtained during user log in")click_on "Save and continue"end@@ -341,10 +341,10 @@ RSpec.describe "Admin Edit File storage",find_test_selector("storage-edit-storage-audience-button").clickwithin_test_selector("storage-audience-form") do- expect(page).to have_checked_field("Use access token obtained during user's log in")+ expect(page).to have_checked_field("Use access token obtained during user log in")expect(page).to have_no_field("Storage Audience")- choose("Specify audience for which to exchange access token")+ choose("Manually specify audience for which to exchange access token")expect(page).to have_field("Storage Audience", with: "")endend