From 3d4d45f7114e6e3bc353b8d6c5fdbcac4cb2460f Mon Sep 17 00:00:00 2001 From: Thorsten Rossner Date: Wed, 30 Aug 2023 09:48:20 +0000 Subject: [PATCH] fix(xwiki): Theming and language of central navigation --- helmfile/apps/xwiki/helmfile.yaml | 2 +- helmfile/apps/xwiki/values.yaml | 12 ++++-------- helmfile/environments/default/images.yaml | 5 +++-- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/helmfile/apps/xwiki/helmfile.yaml b/helmfile/apps/xwiki/helmfile.yaml index 81335587..ec4880f4 100644 --- a/helmfile/apps/xwiki/helmfile.yaml +++ b/helmfile/apps/xwiki/helmfile.yaml @@ -10,7 +10,7 @@ repositories: releases: - name: "xwiki" chart: "xwiki-repo/xwiki" - version: "1.1.2" + version: "1.1.3" wait: true timeout: 600 values: diff --git a/helmfile/apps/xwiki/values.yaml b/helmfile/apps/xwiki/values.yaml index 6316c90b..c6aea897 100644 --- a/helmfile/apps/xwiki/values.yaml +++ b/helmfile/apps/xwiki/values.yaml @@ -2,9 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 --- image: - name: "git.xwikisas.com:5050/xwikisas/swp/xwiki" - tag: "0.4-mariadb-tomcat" - pullPolicy: "Always" + pullPolicy: "IfNotPresent" ingress: # enabled: true @@ -32,9 +30,9 @@ mariadb: properties: "property:xwiki:XWiki.XWikiPreferences^XWiki.XWikiPreferences.colorTheme": "FlamingoThemes.Iceberg" - "property:xwiki:XWiki.XWikiPreferences^XWiki.XWikiPreferences.default_language": "de" + "property:xwiki:XWiki.XWikiPreferences^XWiki.XWikiPreferences.default_language": "de_DE" "property:xwiki:XWiki.XWikiPreferences^XWiki.XWikiPreferences.timezone": "Europe/Berlin" - "property:xwiki:XWiki.XWikiPreferences^XWiki.XWikiPreferences.languages": "de" + "property:xwiki:XWiki.XWikiPreferences^XWiki.XWikiPreferences.languages": "de_DE" "property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.link-color": "@brand-primary" "property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.btn-primary-bg": "@brand-primary" "property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-color": "@brand-primary" @@ -44,9 +42,7 @@ properties: "property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.navbar-default-link-active-color": "@brand-primary" # yamllint disable-line rule:line-length - "property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.lessCode": "'.navbar-default { background-color: white; border-bottom: 1px solid grey; height: 64px; } #menuview .navbar-brand img { padding: 5px; } div#companylogo { width: 96px; height: auto; padding-top: 6px; padding-left: 5px; } li#tmWorkplaceServices { padding-left: 16px; padding-top: 5px; } .navbar-right { padding-top: 8px; } button { background-color: #ffffff; } .drawer-nav, .drawer-brand { background-color: #ffffff; } #footerglobal { background-color: #ffffff; }'" - # yamllint disable-line rule:line-length - # "property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.lessCode": "'@list-group-active-border: @list-group-border; @gray-light: #727272; @text-muted: @gray; @xwiki-drawer-menu-item-hover-bg: @list-group-hover-bg; @xwiki-drawer-menu-item-hover-color: @list-group-link-hover-color; @well-bg: @body-bg; .navbar-default { background-color: #ffffff; border-bottom: 1px solid #dddddd !important; height: 64px; } #menuview .navbar-brand img { padding: 5px; } div#companylogo { width: 96px; height: auto; padding-top: 6px; padding-left: 5px; } li#tmWorkplaceServices { padding-left: 16px; padding-top: 5px; } .navbar-right { padding-top: 8px; } #globalsearch .btn { background-color: #ffffff; color: @brand-primary; }'" + "property:xwiki:FlamingoThemes.Iceberg^FlamingoThemesCode.ThemeClass.lessCode": " li#tmWorkplaceServices { padding-left: 16px; padding-top: 5px; } .navbar-right { padding-top: 8px; } .navbar { border-bottom: 1px solid #ddd; height: 64px; } div#companylogo { width: 90px; height: auto; padding-top: 7px; padding-left: 9px; }" "property:xwiki:XWiki.AuthService.Configuration^XWiki.AuthService.ConfigurationClass.authService": "oidc" ## Fields to search in when importing users from the administration UI (not completely in scope for now) diff --git a/helmfile/environments/default/images.yaml b/helmfile/environments/default/images.yaml index 9f24956a..0b56c922 100644 --- a/helmfile/environments/default/images.yaml +++ b/helmfile/environments/default/images.yaml @@ -124,7 +124,8 @@ images: repository: "library/nginx" tag: "1.23" xwiki: + # repository: "xwikisas/swp/xwiki" + # tag: "0.10-mariadb-tomcat" repository: "xwikisas/swp/xwiki@sha256" - # tag: "0.9-mariadb-tomcat" - tag: "b77d83613a8f70d8d0f6ef784eb6186d13fcc28ff327a8fcfe22c06128b69836" + tag: "02f0ff6407ccdd8dab17814202e28991fe0aa8d44fa106ba171cff5249eaf58f" ...