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

+39
View File
@@ -0,0 +1,39 @@
<?php
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20260915000100 extends AbstractMigration
{
public function getDescription(): string
{
return 'Plugins: eine Zeile je Erweiterung mit dem Schalter, ob sie aktiv ist.';
}
public function isTransactional(): bool
{
return false;
}
public function up(Schema $schema): void
{
// Was ein Plugin kann, steht in seinem Manifest im Ordner plugins/. Hier steht nur, ob der
// Betreiber es eingeschaltet hat - eine Entscheidung der Installation, nicht des Codes,
// und deshalb in der Datenbank statt in einer Datei, die ein Update ueberschreiben koennte.
$plugin = $schema->createTable('plugin');
$plugin->addColumn('name', 'string', ['length' => 40]);
$plugin->addColumn('active', 'boolean', ['default' => false]);
$plugin->addColumn('activated_at', 'datetime_immutable', ['notnull' => false]);
// Die Fassung, mit der es zuletzt eingeschaltet wurde - damit die Verwaltung sagen kann,
// dass ein Plugin seit dem Einschalten aktualisiert wurde.
$plugin->addColumn('version', 'string', ['length' => 32, 'default' => '']);
$plugin->setPrimaryKey(['name']);
}
public function down(Schema $schema): void
{
$schema->dropTable('plugin');
}
}
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20260916000100 extends AbstractMigration
{
public function getDescription(): string
{
return 'Plugins: die Einstellungen je Erweiterung, wie sie der Betreiber in der Verwaltung setzt.';
}
public function isTransactional(): bool
{
return false;
}
public function up(Schema $schema): void
{
// Was ein Plugin einstellbar macht, steht in seinem Manifest; was der Betreiber gewaehlt
// hat, hier - als JSON, weil jedes Plugin andere Schluessel hat. Eine Spalte, kein
// Tabellenneubau: auf SQLite ist ADD COLUMN eine Zeile im Katalog.
$schema->getTable('plugin')->addColumn('settings', 'text', ['default' => '{}']);
}
public function down(Schema $schema): void
{
$schema->getTable('plugin')->dropColumn('settings');
}
}