Neue Seitenköpfe, global wählbar (0.48.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m29s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m31s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m36s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m33s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m56s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 12m35s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m58s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 50s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m13s

- PageHeader: Kopfband (Standard, kompakt), Kopfband mit Symbol, mit Symbol,
  kräftiger Titel – Einstellung page_header im Erscheinungsbild
- Symbol vom passenden Menüpunkt (aktiv oder per Adresse), Prop icon
- In Spalten (z. B. Downloads) schlichte Form statt Band
- Zurück-Links als breadcrumbs (IT-Service), Profil bearbeiten mit PageHeader
- Plugin-Assets: Fingerabdruck berücksichtigt Änderungszeiten der Dateien

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-28 20:05:37 +00:00
parent 36a58d4748
commit 800e267e1c
144 changed files with 524 additions and 390 deletions

View file

@ -98,9 +98,14 @@ class PluginAssets
public function publish(string $slug, PluginManifest $manifest): bool
{
$target = self::publicPath($slug).'/'.$manifest->version;
// Fingerabdruck des Builds: dist/inhaus.json nennt die Dateien mit Hash – ein neuer Build
// (auch bei gleicher Versionsnummer, z. B. während der Entwicklung) wird neu kopiert
$build = md5((string) @file_get_contents($manifest->path.'/'.self::MANIFEST));
// Fingerabdruck des Builds: Inhalt von dist/inhaus.json plus Änderungszeit der dort genannten
// Dateien (Seiten behalten ihren Namen) – ein neuer Build, auch bei gleicher Versionsnummer
// (z. B. während der Entwicklung), wird neu kopiert
$json = (string) @file_get_contents($manifest->path.'/'.self::MANIFEST);
$data = json_decode($json, true);
$listed = is_array($data) ? [...array_values((array) ($data['components'] ?? [])), ...(array) ($data['css'] ?? [])] : [];
$times = array_map(fn ($file) => is_string($file) ? (int) @filemtime($manifest->path.'/dist/'.$file) : 0, $listed);
$build = md5($json.'|'.implode(',', $times));
if (@file_get_contents($target.'/.complete') === $build) {
return true;