Rebuild DEEG as a fifth installation, add stepped forms and a plugin system, and clear the review backlog

Forms gained steps, conditions, image choices, number fields with units and a
summary step; the DEEG price finder uses all of it. Plugins are manifest plus
Twig: blocks, settings, containers, routes, presets and theme packs, switched
per installation. The review backlog is done: archive pages render through the
normal page pipeline, forms and post lists work inside areas and sections,
repeated sections get their own ids, breakpoints and colours come from the
palette, backup and update work on MySQL and lock each other out.

The task worker no longer shortens a process that has no time limit:
set_time_limit() sets the limit instead of extending it, which turned an
unlimited CLI run into eighty seconds and killed the full test suite far away
from the scheduler.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
kantarciandClaude Opus 5 committed 2026-09-16 07:32:35 +02:00
1 parent 66ff68abf8
commit c8a8fa7460
74 files changed
+5352 -243

No files matched your search

+17 -1
View File
@@ -45,6 +45,22 @@ final class TaskWorkerSubscriber implements EventSubscriberInterface
return [KernelEvents::TERMINATE => ['onTerminate', -64]];
}
/**
* Hebt die Laufzeitgrenze an - und senkt sie nie.
*
* `set_time_limit()` setzt die Grenze, es verlaengert nicht: auf einem Prozess ohne Grenze
* (Konsole, Testlauf, Hoster mit `max_execution_time = 0`) macht ein fester Wert aus
* "unbegrenzt" plötzlich "noch so viele Sekunden" - und der Prozess stirbt spaeter an einer
* Stelle, die mit Aufgaben nichts zu tun hat.
*/
private function raiseTimeLimit(int $seconds): void
{
$current = (int) ini_get('max_execution_time');
if ($current > 0 && $current < $seconds) {
@set_time_limit($seconds);
}
}
public function onTerminate(TerminateEvent $event): void
{
$request = $event->getRequest();
@@ -73,7 +89,7 @@ final class TaskWorkerSubscriber implements EventSubscriberInterface
// Die Antwort ist raus; ein abgebrochener Aufruf soll die Arbeit trotzdem zu Ende
// bringen, sonst bliebe eine Aufgabe auf halbem Weg mit gesetzter Sperre liegen.
@ignore_user_abort(true);
@set_time_limit($this->budget + 60);
$this->raiseTimeLimit($this->budget + 60);
$this->scheduler->runDue($admin ? 'verwaltung' : 'besuch', $this->limit, $this->budget);
} catch (\Throwable) {
// Eine Aufgabe darf niemals eine Website kaputtmachen. Was schiefging, steht in der