Automatische Updates, Browser-Tests, CI grün (0.63.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Has been skipped
CI / PHP 8.4 / mariadb:10.6 (pull_request) Has been skipped
CI / PHP 8.3 / mariadb:11.4 (pull_request) Has been skipped
CI / PHP 8.4 / mariadb:11.4 (pull_request) Has been skipped
CI / PHP 8.3 / mysql:8.0 (pull_request) Has been skipped
CI / PHP 8.4 / mysql:8.0 (pull_request) Has been skipped
CI / PHP 8.3 / mysql:8.4 (pull_request) Has been skipped
CI / PHP 8.4 / mysql:8.4 (pull_request) Has been skipped
CI / Browser-Tests (pull_request) Failing after 7m34s
CI / PHP 8.3 / mysql:8.4-1 (pull_request) Successful in 11m55s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 16m43s
CI / Build-Artefakte aktuell (pull_request) Successful in 13m17s

- Opt-in „Updates automatisch installieren“ (AutoUpdate, alle 10 Minuten)
- Playwright-Tests in tests/Browser, CI-Job „Browser-Tests“
- CI: volle Matrix nur auf main, PRs mit einem MySQL-Job
- MySQL-JSON-Reihenfolge in zwei Tests, QM-Suchausschnitt ohne <mark>, h1 auf Startseite/Editor

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-10-07 17:29:20 +00:00
parent 3027a60275
commit e211db9f30
158 changed files with 774 additions and 378 deletions

View file

@ -54,6 +54,8 @@ const appRight = computed(() => known.value.filter((widget) => !LEFT.includes(wi
<template>
<AppLayout title="Startseite" :header="false">
<!-- Ohne Seitenkopf: Überschrift für Screenreader (die einfache Ansicht zeigt eine sichtbare) -->
<h1 v-if="!isSimple" class="sr-only">Startseite</h1>
<template v-if="content">
<div v-if="preview" class="mb-6 flex flex-wrap items-center gap-x-4 gap-y-2 rounded-lg border border-amber-300 bg-amber-50 px-4 py-2.5 text-sm text-amber-900 dark:border-amber-800 dark:bg-amber-950/50 dark:text-amber-100">
<Eye class="size-4 shrink-0" />

View file

@ -25,11 +25,12 @@
</style>
<script>
function updater({ csrf, progress, channel }) {
function updater({ csrf, progress, channel, auto }) {
return {
csrf,
progress,
channel,
auto,
result: null,
error: null,
checking: false,
@ -129,6 +130,11 @@
}, 2000);
},
async changeAuto() {
const data = await this.post('/admin/update/auto', { enabled: this.auto });
this.error = data.ok ? null : (data.message ?? 'Einstellung konnte nicht gespeichert werden.');
},
async changeChannel() {
const data = await this.post('/admin/update/channel', { channel: this.channel });
this.result = null;
@ -154,6 +160,7 @@
csrf: @js(csrf_token()),
progress: @js($progress),
channel: @js($activeChannel),
auto: @js($autoUpdate),
})"
x-init="init()"
>
@ -173,6 +180,11 @@
</select>
</label>
</div>
<label class="ih-row" style="gap: .5rem; margin-top: 1rem">
<input type="checkbox" class="fi-checkbox-input" x-model="auto" @change="changeAuto()">
<span>Updates automatisch installieren</span>
<span class="ih-muted">– für Test-Instanzen: Neue Versionen des Kanals werden ohne Klick installiert (Prüfung alle zehn Minuten).</span>
</label>
</x-filament::section>
{{-- Suche und Installation --}}