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

@ -6,6 +6,7 @@ use App\Http\Controllers\Controller;
use App\Support\Audit;
use App\Support\License\ServerError;
use App\Support\License\ServerMessages;
use App\Support\Update\AutoUpdate;
use App\Support\Update\Channels;
use App\Support\Update\Migrations;
use App\Support\Update\UpdateCheck;
@ -68,6 +69,15 @@ class UpdateController extends Controller
return response()->json(['ok' => true, 'channel' => $validated['channel']]);
}
public function auto(Request $request, AutoUpdate $auto): JsonResponse
{
$enabled = $request->boolean('enabled');
$auto->setEnabled($enabled);
Audit::log('update.auto_changed', ['enabled' => $enabled]);
return response()->json(['ok' => true, 'enabled' => $enabled]);
}
public function migrations(Migrations $migrations): JsonResponse
{
@set_time_limit(0);