Commit Graph
4 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Opus 4.7 04d31ec038 refactor(host-locale): introduce HOST_CS + HOST_LANG, replace hardcoded UTF-8
group_vars/all/00_general.yml gains:
- HOST_CS:   "UTF-8"                          (POSIX codeset / character encoding)
- HOST_LANG: "{{HOST_LL_CC}}.{{HOST_CS}}"     (full LANG env value, e.g. en_GB.UTF-8)

Replaces the corresponding hardcoded literals at the call sites:
- dev-locales/locale.conf.j2:    LANG/LANGUAGE -> {{ HOST_LANG }}
- dev-locales/locale.gen.j2:     active locale entry -> {{ HOST_LANG }} {{ HOST_CS }}
                                 (also fixes the en_US/en_GB drift against HOST_LL_CC)
- sys-ctl-alm-email/script.sh.j2: MIME charset -> {{ HOST_CS }}
- web-svc-legal/imprint.html.j2: <meta charset=...> -> {{ HOST_CS }}
- web-app-discourse/vars/main.yml: DISCOURSE_LOCAL "C.UTF-8" -> "C.{{ HOST_CS }}"
                                   (keeps the C-locale prefix that the container needs)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 20:47:22 +02:00
kevinveenbirkenbach 93c2fbedd7 Added setting of timezone 2025-10-15 02:24:25 +02:00
kevinveenbirkenbach 231fd567b3 feat(frontend): rename inj roles to sys-front-*, add sys-svc-cdn, cache-busting lookup
Introduce sys-svc-cdn (cdn_paths/cdn_urls/cdn_dirs) and ensure CDN directories + latest symlink.

Rename sys-srv-web-inj-* → sys-front-inj-*; update includes/templates; serve shared/per-app CSS & JS via CDN.

Add lookup_plugins/local_mtime_qs.py for mtime-based cache busting; split CSS into default.css/bootstrap.css + optional per-app style.css.

CSP: use style-src-elem; drop unsafe-inline for styles. Services: fix SYS_SERVICE_ALL_ENABLED bool and controlled flush.

BREAKING CHANGE: role names changed; replace includes and references accordingly.

Conversation: https://chatgpt.com/share/68b55494-9ec4-800f-b559-44707029141d
2025-09-01 10:10:23 +02:00
kevinveenbirkenbach 25e4a50974 Cleaning up of gen roles 2025-07-11 19:19:24 +02:00