From abedc4badfdaf7aa77a6af4163ae4d82738f4260 Mon Sep 17 00:00:00 2001 From: "Kirill.Sybin" Date: Wed, 4 Sep 2024 23:43:39 +0200 Subject: [PATCH] Remove badge enabling switch in settings Remove frontend elements for this switch, as badges API get authenticated access. Downstream change of https://github.com/DependencyTrack/dependency-track/pull/4059 Signed-off-by: Kirill.Sybin --- src/i18n/locales/de.json | 1 - src/i18n/locales/en.json | 1 - src/i18n/locales/es.json | 1 - src/i18n/locales/fr.json | 1 - src/i18n/locales/hi.json | 1 - src/i18n/locales/it.json | 1 - src/i18n/locales/ja.json | 1 - src/i18n/locales/pl.json | 1 - src/i18n/locales/pt-BR.json | 1 - src/i18n/locales/pt.json | 1 - src/i18n/locales/ru.json | 1 - src/i18n/locales/uk-UA.json | 1 - src/i18n/locales/zh.json | 1 - .../administration/configuration/General.vue | 23 ------------------- 14 files changed, 36 deletions(-) diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json index 3c77dd31f..10c31ba5d 100644 --- a/src/i18n/locales/de.json +++ b/src/i18n/locales/de.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Überschreiben der Standardvorlage aktivieren", "enable_email": "E-Mail aktivieren", "enable_index_consistency_check": "Regelmäßige Konsistenzprüfungen aktivieren", - "enable_svg_badge": "SVG-Badge-Unterstützung aktivieren (nicht authentifiziert)", "enabled": "Aktiviert", "enabled_for_tags": "Aktiviert für Tags", "experimental": "Experimentell", diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index e91978073..8ea1db59b 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Enable default template override", "enable_email": "Enable email", "enable_index_consistency_check": "Enable periodic consistency check", - "enable_svg_badge": "Enable SVG badge support (unauthenticated)", "enabled": "Enabled", "enabled_for_tags": "Enabled for tags", "experimental": "Experimental", diff --git a/src/i18n/locales/es.json b/src/i18n/locales/es.json index 8fbc6d0d3..cc367dbfc 100644 --- a/src/i18n/locales/es.json +++ b/src/i18n/locales/es.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Habilitar anulación de plantilla predeterminada", "enable_email": "Habilitar correo electrónico", "enable_index_consistency_check": "Habilitar la verificación periódica de coherencia", - "enable_svg_badge": "Habilitar la compatibilidad con insignias SVG (sin autenticar)", "enabled": "Activado", "enabled_for_tags": "Habilitado para etiquetas", "experimental": "Experimental", diff --git a/src/i18n/locales/fr.json b/src/i18n/locales/fr.json index 676df0418..6ec0849e9 100644 --- a/src/i18n/locales/fr.json +++ b/src/i18n/locales/fr.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Activer le remplacement du modèle par défaut", "enable_email": "Activer l'envoi de courriels", "enable_index_consistency_check": "Activer le contrôle de cohérence périodique", - "enable_svg_badge": "Activer la prise en charge des badges SVG (non authentifiés)", "enabled": "Activé", "enabled_for_tags": "Activé pour les balises", "experimental": "Expérimental", diff --git a/src/i18n/locales/hi.json b/src/i18n/locales/hi.json index 10278624b..6828777f8 100644 --- a/src/i18n/locales/hi.json +++ b/src/i18n/locales/hi.json @@ -96,7 +96,6 @@ "enable_default_template_override": "डिफ़ॉल्ट टेम्पलेट ओवरराइड सक्षम करें", "enable_email": "ईमेल सक्षम करें", "enable_index_consistency_check": "आवधिक संगतता जांच सक्षम करें", - "enable_svg_badge": "SVG बैज समर्थन सक्षम करें (अप्रमाणित)", "enabled": "सक्रिय", "enabled_for_tags": "टैग के लिए सक्षम", "experimental": "प्रयोगात्मक", diff --git a/src/i18n/locales/it.json b/src/i18n/locales/it.json index 165853bf8..e9ef37bc5 100644 --- a/src/i18n/locales/it.json +++ b/src/i18n/locales/it.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Abilita l'override del modello predefinito", "enable_email": "Abilita e-mail", "enable_index_consistency_check": "Abilita il controllo periodico della coerenza", - "enable_svg_badge": "Abilita il supporto del badge SVG (non autenticato)", "enabled": "Abilitato", "enabled_for_tags": "Abilitato per i tag", "experimental": "Sperimentale", diff --git a/src/i18n/locales/ja.json b/src/i18n/locales/ja.json index fb2c66b9a..62aa17bc2 100644 --- a/src/i18n/locales/ja.json +++ b/src/i18n/locales/ja.json @@ -96,7 +96,6 @@ "enable_default_template_override": "デフォルトのテンプレートのオーバーライドを有効にする", "enable_email": "メールを有効にする", "enable_index_consistency_check": "定期的な整合性チェックを有効にする", - "enable_svg_badge": "SVG バッジのサポートを有効にする (認証なし)", "enabled": "有効", "enabled_for_tags": "タグに対して有効化", "experimental": "実験的", diff --git a/src/i18n/locales/pl.json b/src/i18n/locales/pl.json index 7e54fcb75..00e11bfb6 100644 --- a/src/i18n/locales/pl.json +++ b/src/i18n/locales/pl.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Włącz domyślne zastąpienie szablonu", "enable_email": "Włącz pocztę e-mail", "enable_index_consistency_check": "Włącz okresową kontrolę spójności", - "enable_svg_badge": "Włącz obsługę plakietek SVG (nieuwierzytelnione)", "enabled": "Włączony", "enabled_for_tags": "Włączono dla tagów", "experimental": "Eksperymentalny", diff --git a/src/i18n/locales/pt-BR.json b/src/i18n/locales/pt-BR.json index ae05147c2..321c98542 100644 --- a/src/i18n/locales/pt-BR.json +++ b/src/i18n/locales/pt-BR.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Habilitar substituição de modelo padrão", "enable_email": "Ativar e-mail", "enable_index_consistency_check": "Habilitar verificação periódica de consistência", - "enable_svg_badge": "Ativar suporte para emblema SVG (não autenticado)", "enabled": "Habilitado", "enabled_for_tags": "Ativado para tags", "experimental": "Experimental", diff --git a/src/i18n/locales/pt.json b/src/i18n/locales/pt.json index 564354594..6086b3277 100644 --- a/src/i18n/locales/pt.json +++ b/src/i18n/locales/pt.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Habilitar substituição de modelo padrão", "enable_email": "Ativar e-mail", "enable_index_consistency_check": "Habilitar verificação periódica de consistência", - "enable_svg_badge": "Ativar suporte para emblema SVG (não autenticado)", "enabled": "Habilitado", "enabled_for_tags": "Ativado para tags", "experimental": "Experimental", diff --git a/src/i18n/locales/ru.json b/src/i18n/locales/ru.json index e72be8c17..77fb31a98 100644 --- a/src/i18n/locales/ru.json +++ b/src/i18n/locales/ru.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Включить переопределение шаблона по умолчанию", "enable_email": "Включить электронную почту", "enable_index_consistency_check": "Включить периодическую проверку согласованности", - "enable_svg_badge": "Включить поддержку значков SVG (без аутентификации)", "enabled": "Включено", "enabled_for_tags": "Включено для тегов", "experimental": "Экспериментальный", diff --git a/src/i18n/locales/uk-UA.json b/src/i18n/locales/uk-UA.json index 6afd42cb9..5ff79546e 100644 --- a/src/i18n/locales/uk-UA.json +++ b/src/i18n/locales/uk-UA.json @@ -96,7 +96,6 @@ "enable_default_template_override": "Увімкнути заміну шаблону за замовчуванням", "enable_email": "Увімкнути електронну пошту", "enable_index_consistency_check": "Увімкнути періодичну перевірку узгодженості", - "enable_svg_badge": "Увімкнути підтримку значка SVG (не автентифіковано)", "enabled": "Увімкнено", "enabled_for_tags": "Увімкнено для тегів", "experimental": "Експериментальний", diff --git a/src/i18n/locales/zh.json b/src/i18n/locales/zh.json index eb5b50811..ef30b4977 100644 --- a/src/i18n/locales/zh.json +++ b/src/i18n/locales/zh.json @@ -96,7 +96,6 @@ "enable_default_template_override": "启用默认模板覆盖", "enable_email": "启用电子邮件", "enable_index_consistency_check": "启用定期一致性检查", - "enable_svg_badge": "启用 SVG 徽章支持(未经身份验证)", "enabled": "已启用", "enabled_for_tags": "为标签启用", "experimental": "实验性的", diff --git a/src/views/administration/configuration/General.vue b/src/views/administration/configuration/General.vue index e4f6f4b35..76922f251 100644 --- a/src/views/administration/configuration/General.vue +++ b/src/views/administration/configuration/General.vue @@ -10,13 +10,6 @@ v-model="baseUrl" tooltip="This URL is used to construct links back to Dependency-Track from external systems." /> - {{ $t('admin.enable_svg_badge') }} {{ @@ -27,10 +20,8 @@