From 9004bc4f0339e7f61f15d6c5d8768dc9ecf7b4b9 Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Thu, 14 Feb 2019 16:21:14 +0100 Subject: [PATCH 1/2] Add custom fields to permitted params for groups --- app/models/permitted_params.rb | 5 ++++- app/views/customizable/_form.html.erb | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/models/permitted_params.rb b/app/models/permitted_params.rb index 76bea5f06f..3964c4dedd 100644 --- a/app/models/permitted_params.rb +++ b/app/models/permitted_params.rb @@ -108,7 +108,10 @@ class PermittedParams end def group - params.require(:group).permit(*self.class.permitted_attributes[:group]) + permitted_params = params.require(:group).permit(*self.class.permitted_attributes[:group]) + permitted_params = permitted_params.merge(custom_field_values(:group)) + + permitted_params end def group_membership diff --git a/app/views/customizable/_form.html.erb b/app/views/customizable/_form.html.erb index 4282e0b31a..bffe793b98 100644 --- a/app/views/customizable/_form.html.erb +++ b/app/views/customizable/_form.html.erb @@ -35,7 +35,7 @@ See docs/COPYRIGHT.rdoc for more details.
<%# display all fields OR only display required fields OR only display optional fields #%> <% if all_fields || (only_required && required) || (!only_required && !required) %> - <%= value_form.custom_field(container_class: '-wide') %> + <%= value_form.custom_field(container_class: '-wide', required: required) %> <% end %>
<% end %> From 5bfb5a657508f53c20e104332638e27877462ab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Fri, 15 Feb 2019 14:38:24 +0100 Subject: [PATCH 2/2] Provide documentation on security badge in config readme --- app/assets/stylesheets/content/_index.sass | 1 + .../stylesheets/content/_security_badge.sass | 6 ++++++ app/helpers/security_badge_helper.rb | 4 ++++ app/views/admin/info.html.erb | 11 ++++++++--- .../homescreen/blocks/_administration.html.erb | 13 +++++++++---- app/views/settings/_general.html.erb | 8 +++++++- config/locales/crowdin/af.yml | 11 ++++++----- config/locales/crowdin/ar.yml | 11 ++++++----- config/locales/crowdin/az.yml | 11 ++++++----- config/locales/crowdin/bg.yml | 11 ++++++----- config/locales/crowdin/ca.yml | 11 ++++++----- config/locales/crowdin/cs.yml | 11 ++++++----- config/locales/crowdin/da.yml | 11 ++++++----- config/locales/crowdin/de.yml | 11 ++++++----- config/locales/crowdin/el.yml | 11 ++++++----- config/locales/crowdin/es.yml | 11 ++++++----- config/locales/crowdin/et.yml | 11 ++++++----- config/locales/crowdin/fa.yml | 11 ++++++----- config/locales/crowdin/fi.yml | 11 ++++++----- config/locales/crowdin/fil.yml | 11 ++++++----- config/locales/crowdin/fr.yml | 11 ++++++----- config/locales/crowdin/he.yml | 11 ++++++----- config/locales/crowdin/hi.yml | 11 ++++++----- config/locales/crowdin/hr.yml | 11 ++++++----- config/locales/crowdin/hu.yml | 11 ++++++----- config/locales/crowdin/id.yml | 11 ++++++----- config/locales/crowdin/it.yml | 11 ++++++----- config/locales/crowdin/ja.yml | 11 ++++++----- config/locales/crowdin/ko.yml | 11 ++++++----- config/locales/crowdin/lt.yml | 11 ++++++----- config/locales/crowdin/lv.yml | 11 ++++++----- config/locales/crowdin/nl.yml | 11 ++++++----- config/locales/crowdin/no.yml | 11 ++++++----- config/locales/crowdin/pl.yml | 11 ++++++----- config/locales/crowdin/pt-BR.yml | 11 ++++++----- config/locales/crowdin/pt.yml | 11 ++++++----- config/locales/crowdin/ro.yml | 11 ++++++----- config/locales/crowdin/ru.yml | 11 ++++++----- config/locales/crowdin/sk.yml | 11 ++++++----- config/locales/crowdin/sv-SE.yml | 11 ++++++----- config/locales/crowdin/th.yml | 11 ++++++----- config/locales/crowdin/tr.yml | 11 ++++++----- config/locales/crowdin/uk.yml | 11 ++++++----- config/locales/crowdin/vi.yml | 11 ++++++----- config/locales/crowdin/zh-TW.yml | 11 ++++++----- config/locales/crowdin/zh.yml | 11 ++++++----- config/locales/en.yml | 8 ++++++++ docs/configuration/configuration.md | 15 +++++++++++++++ lib/open_project/configuration.rb | 3 +++ lib/open_project/static/links.rb | 3 +++ 50 files changed, 304 insertions(+), 208 deletions(-) create mode 100644 app/assets/stylesheets/content/_security_badge.sass diff --git a/app/assets/stylesheets/content/_index.sass b/app/assets/stylesheets/content/_index.sass index b4b203428d..14d5064fc6 100644 --- a/app/assets/stylesheets/content/_index.sass +++ b/app/assets/stylesheets/content/_index.sass @@ -64,6 +64,7 @@ @import content/hide_until_initialized @import content/hidden @import content/search +@import content/security_badge @import content/contextual @import content/tooltip @import content/grid diff --git a/app/assets/stylesheets/content/_security_badge.sass b/app/assets/stylesheets/content/_security_badge.sass new file mode 100644 index 0000000000..739cfef871 --- /dev/null +++ b/app/assets/stylesheets/content/_security_badge.sass @@ -0,0 +1,6 @@ +.security-badge--container + height: 28px + +.security-badge--help-icon + position: relative + top: -8px diff --git a/app/helpers/security_badge_helper.rb b/app/helpers/security_badge_helper.rb index d7c6c10c66..79109b2eff 100644 --- a/app/helpers/security_badge_helper.rb +++ b/app/helpers/security_badge_helper.rb @@ -41,4 +41,8 @@ module SecurityBadgeHelper uri.query = info.to_query uri.to_s end + + def display_security_badge_graphic? + OpenProject::Configuration.security_badge_displayed? && Setting.security_badge_displayed? + end end diff --git a/app/views/admin/info.html.erb b/app/views/admin/info.html.erb index 708a740ce7..352d0b3057 100644 --- a/app/views/admin/info.html.erb +++ b/app/views/admin/info.html.erb @@ -48,13 +48,18 @@ See docs/COPYRIGHT.rdoc for more details. <%= OpenProject::Info.versioned_name %> (<%= @db_adapter_name %>) - <% if Setting.security_badge_displayed? %> + <% if display_security_badge_graphic? %>
- <%= content_tag :span do %> +
<%= content_tag :object, nil, data: security_badge_url, type: "image/svg+xml" %> - <% end %> + <%= link_to '', + ::OpenProject::Static::Links[:security_badge_documentation][:href], + title: t(:label_what_is_this), + class: 'security-badge--help-icon icon-context icon-help1', + target: '_blank' %> +
<% end %> diff --git a/app/views/homescreen/blocks/_administration.html.erb b/app/views/homescreen/blocks/_administration.html.erb index 4c050ed3a0..92bb5f8b8e 100644 --- a/app/views/homescreen/blocks/_administration.html.erb +++ b/app/views/homescreen/blocks/_administration.html.erb @@ -47,9 +47,14 @@ <%= link_to t(:label_custom_style), custom_style_path, title: t(:label_custom_style) %> - <%= content_tag :li do %> - <%= content_tag :object, nil, data: security_badge_url, type: "image/svg+xml", style: "vertical-align:top;" %> - <% end if Setting.security_badge_displayed? %> - <%= call_hook(:homescreen_administration_links) %> + +<%= content_tag :div, class: 'security-badge--container' do %> + <%= content_tag :object, nil, data: security_badge_url, type: "image/svg+xml" %> + <%= link_to '', + ::OpenProject::Static::Links[:security_badge_documentation][:href], + title: t(:label_what_is_this), + class: 'security-badge--help-icon icon-context icon-help1', + target: '_blank' %> +<% end if display_security_badge_graphic? %> diff --git a/app/views/settings/_general.html.erb b/app/views/settings/_general.html.erb index 411b0126c4..01b867c4d9 100644 --- a/app/views/settings/_general.html.erb +++ b/app/views/settings/_general.html.erb @@ -57,12 +57,18 @@ See docs/COPYRIGHT.rdoc for more details. <%= setting_text_field :file_max_size_displayed, size: 6, unit: t(:"number.human.storage_units.units.kb"), container_class: '-xslim' %>
<%= setting_text_field :diff_max_lines_displayed, size: 6, container_class: '-xslim' %>
+ + <% if OpenProject::Configuration.security_badge_displayed? %>
<%= setting_check_box :security_badge_displayed %> - <%= t(:text_notice_security_badge_displayed_html, information_panel_label: t(:label_information), information_panel_path: info_admin_index_path) %> + <%= t(:text_notice_security_badge_displayed_html, + information_panel_label: t(:label_information), + more_info_url: ::OpenProject::Static::Links[:security_badge_documentation][:href], + information_panel_path: info_admin_index_path) %>
+ <% end %> <%= call_hook(:view_settings_general_form) %>
<%= t(:setting_welcome_text) %> diff --git a/config/locales/crowdin/af.yml b/config/locales/crowdin/af.yml index 784bbe8e6e..78b4dc099c 100644 --- a/config/locales/crowdin/af.yml +++ b/config/locales/crowdin/af.yml @@ -2894,8 +2894,9 @@ af: label_search_titles_only: Search titles only label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/ar.yml b/config/locales/crowdin/ar.yml index 081f47dfc2..3b3a273bd9 100644 --- a/config/locales/crowdin/ar.yml +++ b/config/locales/crowdin/ar.yml @@ -2957,8 +2957,9 @@ ar: label_search_titles_only: البحث في العناوين فقط label_visible_elements: العناصر المرئية setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/az.yml b/config/locales/crowdin/az.yml index 4f92b6d595..2cb62c8365 100644 --- a/config/locales/crowdin/az.yml +++ b/config/locales/crowdin/az.yml @@ -2881,8 +2881,9 @@ az: label_search_titles_only: Search titles only label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/bg.yml b/config/locales/crowdin/bg.yml index cee0fe0cfb..5d646038dc 100644 --- a/config/locales/crowdin/bg.yml +++ b/config/locales/crowdin/bg.yml @@ -2890,8 +2890,9 @@ bg: label_search_titles_only: Търси само заглавия label_visible_elements: Видими елементи setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/ca.yml b/config/locales/crowdin/ca.yml index 159d8c895d..4750e7800d 100644 --- a/config/locales/crowdin/ca.yml +++ b/config/locales/crowdin/ca.yml @@ -2950,8 +2950,9 @@ ca: label_search_titles_only: Cerca només per títol label_visible_elements: Elements visibles setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/cs.yml b/config/locales/crowdin/cs.yml index e4feded894..a1590b28ce 100644 --- a/config/locales/crowdin/cs.yml +++ b/config/locales/crowdin/cs.yml @@ -2940,8 +2940,9 @@ cs: label_search_titles_only: Vyhledávat jen tituly label_visible_elements: Viditelné prvky setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/da.yml b/config/locales/crowdin/da.yml index 3dbfbd7202..859f08b4a6 100644 --- a/config/locales/crowdin/da.yml +++ b/config/locales/crowdin/da.yml @@ -2884,8 +2884,9 @@ da: label_search_titles_only: Søg kun i titler label_visible_elements: Synlige elementer setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/de.yml b/config/locales/crowdin/de.yml index ff2e209178..5a77ffd6a7 100644 --- a/config/locales/crowdin/de.yml +++ b/config/locales/crowdin/de.yml @@ -2978,8 +2978,9 @@ de: label_search_titles_only: Nur Titel durchsuchen label_visible_elements: Sichtbare Elemente setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/el.yml b/config/locales/crowdin/el.yml index 13716a120a..93e1bcb492 100644 --- a/config/locales/crowdin/el.yml +++ b/config/locales/crowdin/el.yml @@ -2881,8 +2881,9 @@ el: label_search_titles_only: Search titles only label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/es.yml b/config/locales/crowdin/es.yml index c02f6db389..23b86156fb 100644 --- a/config/locales/crowdin/es.yml +++ b/config/locales/crowdin/es.yml @@ -2983,8 +2983,9 @@ es: label_search_titles_only: Buscar solamente títulos label_visible_elements: Elementos visibles setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/et.yml b/config/locales/crowdin/et.yml index 013bab655a..954c60f0a7 100644 --- a/config/locales/crowdin/et.yml +++ b/config/locales/crowdin/et.yml @@ -2873,8 +2873,9 @@ et: label_search_titles_only: Ainult pealkirjadest label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/fa.yml b/config/locales/crowdin/fa.yml index ae9d0fbf4e..0adaae3e48 100644 --- a/config/locales/crowdin/fa.yml +++ b/config/locales/crowdin/fa.yml @@ -2879,8 +2879,9 @@ fa: label_search_titles_only: Search titles only label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/fi.yml b/config/locales/crowdin/fi.yml index 5566aaed61..6ed185f629 100644 --- a/config/locales/crowdin/fi.yml +++ b/config/locales/crowdin/fi.yml @@ -2872,8 +2872,9 @@ fi: label_search_titles_only: Hae vain otsikot label_visible_elements: Näkyvät elementit setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/fil.yml b/config/locales/crowdin/fil.yml index 80c8e71310..74a26365c9 100644 --- a/config/locales/crowdin/fil.yml +++ b/config/locales/crowdin/fil.yml @@ -2996,8 +2996,9 @@ fil: label_search_titles_only: Hanapin sa pamagat lamang label_visible_elements: Nakikita ang mga elemento setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/fr.yml b/config/locales/crowdin/fr.yml index ec354caad8..242283bb0a 100644 --- a/config/locales/crowdin/fr.yml +++ b/config/locales/crowdin/fr.yml @@ -2975,8 +2975,9 @@ fr: label_search_titles_only: Recherche uniquement de Titres label_visible_elements: Éléments visibles setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/he.yml b/config/locales/crowdin/he.yml index 89e44aa2a2..6b48dece97 100644 --- a/config/locales/crowdin/he.yml +++ b/config/locales/crowdin/he.yml @@ -2917,8 +2917,9 @@ he: label_search_titles_only: Search titles only label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/hi.yml b/config/locales/crowdin/hi.yml index 0ff22faf50..0000997b11 100644 --- a/config/locales/crowdin/hi.yml +++ b/config/locales/crowdin/hi.yml @@ -2895,8 +2895,9 @@ hi: label_search_titles_only: Search titles only label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/hr.yml b/config/locales/crowdin/hr.yml index ba3972bcad..16a0b25360 100644 --- a/config/locales/crowdin/hr.yml +++ b/config/locales/crowdin/hr.yml @@ -2928,8 +2928,9 @@ hr: label_search_titles_only: Pretraži samo naslove label_visible_elements: Vidljivi elementi setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/hu.yml b/config/locales/crowdin/hu.yml index 93cae64b18..26672f529b 100644 --- a/config/locales/crowdin/hu.yml +++ b/config/locales/crowdin/hu.yml @@ -2908,8 +2908,9 @@ hu: label_search_titles_only: Keresés csak a címekben label_visible_elements: Látható elemek setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/id.yml b/config/locales/crowdin/id.yml index 7c4b44397d..cca4a355d6 100644 --- a/config/locales/crowdin/id.yml +++ b/config/locales/crowdin/id.yml @@ -2875,8 +2875,9 @@ id: label_search_titles_only: Cari judul label_visible_elements: Element tampak setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/it.yml b/config/locales/crowdin/it.yml index c499d1f0a1..f64796a361 100644 --- a/config/locales/crowdin/it.yml +++ b/config/locales/crowdin/it.yml @@ -2981,8 +2981,9 @@ it: label_search_titles_only: Cerca solo nei titoli label_visible_elements: Elementi visibili setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/ja.yml b/config/locales/crowdin/ja.yml index f74a79dfbe..0a1aefd71a 100644 --- a/config/locales/crowdin/ja.yml +++ b/config/locales/crowdin/ja.yml @@ -2644,8 +2644,9 @@ ja: label_search_titles_only: 題名のみを検索 label_visible_elements: 表示する要素 setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/ko.yml b/config/locales/crowdin/ko.yml index 3fc8fc7c67..f6f50d6006 100644 --- a/config/locales/crowdin/ko.yml +++ b/config/locales/crowdin/ko.yml @@ -2739,8 +2739,9 @@ ko: label_search_titles_only: 제목만 검색 label_visible_elements: 표시되는 요소 setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/lt.yml b/config/locales/crowdin/lt.yml index 7f47215c5c..b72c7b04ea 100644 --- a/config/locales/crowdin/lt.yml +++ b/config/locales/crowdin/lt.yml @@ -2965,8 +2965,9 @@ lt: label_search_titles_only: Ieškoti tik pavadinimų label_visible_elements: Matomi elementai setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/lv.yml b/config/locales/crowdin/lv.yml index cdd4505e62..4366545fcc 100644 --- a/config/locales/crowdin/lv.yml +++ b/config/locales/crowdin/lv.yml @@ -2898,8 +2898,9 @@ lv: label_search_titles_only: Search titles only label_visible_elements: Redzamie elementi setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/nl.yml b/config/locales/crowdin/nl.yml index 8a10b7df7c..8c7e1b78ec 100644 --- a/config/locales/crowdin/nl.yml +++ b/config/locales/crowdin/nl.yml @@ -2944,8 +2944,9 @@ nl: label_search_titles_only: Alleen zoeken in titels label_visible_elements: Zichtbare elementen setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/no.yml b/config/locales/crowdin/no.yml index fbcc6ceee7..a66408e8f7 100644 --- a/config/locales/crowdin/no.yml +++ b/config/locales/crowdin/no.yml @@ -2882,8 +2882,9 @@ label_search_titles_only: Bare søk i titler label_visible_elements: Synlige elementer setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/pl.yml b/config/locales/crowdin/pl.yml index 632c2ec163..30b4025a71 100644 --- a/config/locales/crowdin/pl.yml +++ b/config/locales/crowdin/pl.yml @@ -2960,8 +2960,9 @@ pl: label_search_titles_only: Szukaj tylko w tytułach label_visible_elements: Elementy widoczne setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/pt-BR.yml b/config/locales/crowdin/pt-BR.yml index 8cfc18e87d..04aec35ebc 100644 --- a/config/locales/crowdin/pt-BR.yml +++ b/config/locales/crowdin/pt-BR.yml @@ -2920,8 +2920,9 @@ pt-BR: label_search_titles_only: Pesquisar somente títulos label_visible_elements: Elementos visíveis setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/pt.yml b/config/locales/crowdin/pt.yml index 63fa6156ab..3afd80e442 100644 --- a/config/locales/crowdin/pt.yml +++ b/config/locales/crowdin/pt.yml @@ -2949,8 +2949,9 @@ pt: label_search_titles_only: Pesquisar apenas títulos label_visible_elements: Elementos visíveis setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/ro.yml b/config/locales/crowdin/ro.yml index a6571d04e0..20303f5a2b 100644 --- a/config/locales/crowdin/ro.yml +++ b/config/locales/crowdin/ro.yml @@ -2956,8 +2956,9 @@ ro: label_search_titles_only: Căutare doar în titluri label_visible_elements: Elemente vizibile setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/ru.yml b/config/locales/crowdin/ru.yml index 0a4d8a0df1..97f1ac9f44 100644 --- a/config/locales/crowdin/ru.yml +++ b/config/locales/crowdin/ru.yml @@ -2970,8 +2970,9 @@ ru: label_search_titles_only: Искать только в названиях label_visible_elements: Видимые элементы setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/sk.yml b/config/locales/crowdin/sk.yml index ce2b08ba93..0daa126a00 100644 --- a/config/locales/crowdin/sk.yml +++ b/config/locales/crowdin/sk.yml @@ -2968,8 +2968,9 @@ sk: label_search_titles_only: Vyhľadať iba tituly label_visible_elements: Viditeľné prvky setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/sv-SE.yml b/config/locales/crowdin/sv-SE.yml index b83bd41a2b..2b4484e240 100644 --- a/config/locales/crowdin/sv-SE.yml +++ b/config/locales/crowdin/sv-SE.yml @@ -2881,8 +2881,9 @@ sv-SE: label_search_titles_only: Sök endast i titlar label_visible_elements: Synliga element setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/th.yml b/config/locales/crowdin/th.yml index e2a39098a1..b31428e787 100644 --- a/config/locales/crowdin/th.yml +++ b/config/locales/crowdin/th.yml @@ -2827,8 +2827,9 @@ th: label_search_titles_only: ค้นหาเฉพาะชื่อ label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/tr.yml b/config/locales/crowdin/tr.yml index cd9cafa359..cb1ed91f69 100644 --- a/config/locales/crowdin/tr.yml +++ b/config/locales/crowdin/tr.yml @@ -2888,8 +2888,9 @@ tr: label_search_titles_only: Sadece başlıkları ara label_visible_elements: Görünür öğeler setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/uk.yml b/config/locales/crowdin/uk.yml index fa65bdbf5b..708b909395 100644 --- a/config/locales/crowdin/uk.yml +++ b/config/locales/crowdin/uk.yml @@ -2935,8 +2935,9 @@ uk: label_search_titles_only: Search titles only label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/vi.yml b/config/locales/crowdin/vi.yml index bab4e7e99c..2f035e82c4 100644 --- a/config/locales/crowdin/vi.yml +++ b/config/locales/crowdin/vi.yml @@ -2890,8 +2890,9 @@ vi: label_search_titles_only: Search titles only label_visible_elements: Visible elements setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/zh-TW.yml b/config/locales/crowdin/zh-TW.yml index a7db530bed..f609901bf6 100644 --- a/config/locales/crowdin/zh-TW.yml +++ b/config/locales/crowdin/zh-TW.yml @@ -2653,8 +2653,9 @@ zh-TW: label_search_titles_only: 僅搜尋標題 label_visible_elements: 可見的元素 setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/crowdin/zh.yml b/config/locales/crowdin/zh.yml index 46cfa02643..0efcad8efa 100644 --- a/config/locales/crowdin/zh.yml +++ b/config/locales/crowdin/zh.yml @@ -2617,8 +2617,9 @@ zh: label_search_titles_only: 仅搜索标题 label_visible_elements: 可见的元素 setting_security_badge_displayed: Display security badge - text_notice_security_badge_displayed_html: 'Note: if enabled, this will display - a badge with your installation status in the %{information_panel_label} - administration panel, and on the home page. It is displayed to administrators - only. The badge will run a check of your current OpenProject version against the - official OpenProject release database to alert you of any updates or known vulnerabilities.' + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. diff --git a/config/locales/en.yml b/config/locales/en.yml index 8ae95b8657..6ed27c7c8d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1582,6 +1582,7 @@ en: label_view_diff: "View differences" label_view_revisions: "View revisions" label_watched_work_packages: "Watched work packages" + label_what_is_this: "What is this?" label_week: "Week" label_wiki_content_added: "Wiki page added" label_wiki_content_updated: "Wiki page updated" @@ -2113,6 +2114,7 @@ en: setting_per_page_options: "Objects per page options" setting_plain_text_mail: "Plain text mail (no HTML)" setting_protocol: "Protocol" + setting_security_badge_displayed: "Display security badge" setting_registration_footer: "Registration footer" setting_repositories_automatic_managed_vendor: "Automatic repository vendor type" setting_repositories_encodings: "Repositories encodings" @@ -2258,6 +2260,12 @@ en: text_no_configuration_data: "Roles, types, work package statuses and workflow have not been configured yet.\nIt is highly recommended to load the default configuration. You will be able to modify it once loaded." text_no_notes: "There are no comments available for this work package." text_notice_too_many_values_are_inperformant: "Note: Displaying more than 100 items per page can increase the page load time." + text_notice_security_badge_displayed_html: > + Note: if enabled, this will display a badge with your installation status in the %{information_panel_label} administration panel, + and on the home page. It is displayed to administrators only. +
+ The badge will check your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. + For more information on what the check provides, what data is needed to provide available updates, and how to disable this check, please visit the configuration documentation. text_own_membership_delete_confirmation: "You are about to remove some or all of your permissions and may no longer be able to edit this project after that.\nAre you sure you want to continue?" text_plugin_assets_writable: "Plugin assets directory writable" text_powered_by: "Powered by %{link}" diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index c52684c393..eefcf62da7 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -310,6 +310,21 @@ default: password: admin ``` +## Security badge + +OpenProject now provides a release indicator (security badge) that will inform administrators of an OpenProject +installation on whether new releases or security updates are available for your platform. + +If enabled, this option will display a badge with your installation status at Administration > Information right next to the release version, +and on the home screen. It is only displayed to administrators. + +The badge will match your current OpenProject version against the official OpenProject release database to alert you of any updates or known vulnerabilities. +To ensure the newest available update can be returned, the check will include your installation type, current version, database type, enterprise status and an anonymous unique ID of the instance. +To localize the badge, the user's locale is sent. + +To disable rendering the badge, uncheck the setting at Administration > System settings > General or pass +the configuration flag `security_badge_displayed: false` . + ## Email configuration * `email_delivery_method`: The way emails should be delivered. Possible values: `smtp` or `sendmail` diff --git a/lib/open_project/configuration.rb b/lib/open_project/configuration.rb index f6f40b1ff3..8168d0b704 100644 --- a/lib/open_project/configuration.rb +++ b/lib/open_project/configuration.rb @@ -124,8 +124,11 @@ module OpenProject # Allow in-context translations to be loaded with CSP 'crowdin_in_context_translations' => true, + 'registration_footer' => {}, + # Display update / security badge, enabled by default + 'security_badge_displayed' => true, 'installation_type' => "manual", 'security_badge_url' => "https://releases.openproject.com/v1/check.svg" } diff --git a/lib/open_project/static/links.rb b/lib/open_project/static/links.rb index 9fe4cb6ed2..98056005b7 100644 --- a/lib/open_project/static/links.rb +++ b/lib/open_project/static/links.rb @@ -117,6 +117,9 @@ module OpenProject client_credentials_code_flow: { href: 'https://oauth.net/2/grant-types/client-credentials/', label: 'oauth.flows.client_credentials' + }, + security_badge_documentation: { + href: 'https://github.com/opf/openproject/blob/dev/docs/configuration/configuration.md#security-badge' } } end