diff --git a/includes/patchnotes.php b/includes/patchnotes.php index 2042615..420d5c3 100644 --- a/includes/patchnotes.php +++ b/includes/patchnotes.php @@ -19,6 +19,15 @@ const PATCHNOTE_TYPES = [ ]; const PATCHNOTES = [ + [ + 'id' => '2026-11-06-a', + 'date' => '2026-11-06', + 'title' => 'Mehr Platz für Raid-Anforderungen', + 'summary' => 'Die Anforderungen eines Raids dürfen jetzt bis zu 500 Zeichen lang sein, mit Zeilenumbrüchen.', + 'changes' => [ + ['type' => 'verbessert', 'area' => 'Raids', 'text' => 'Beim Erstellen und Bearbeiten eines Raids passen in „Anforderungen“ jetzt 500 statt 80 Zeichen, Zeilenumbrüche bleiben erhalten – auf der Raid-Karte wie im Discord-Post. Gilt auch für Raid-Vorlagen und die Raids der Elyos Allianz.'], + ], + ], [ 'id' => '2026-11-05-a', 'date' => '2026-11-05', diff --git a/includes/raid_card.php b/includes/raid_card.php index 28f92e5..bcf4b8c 100644 --- a/includes/raid_card.php +++ b/includes/raid_card.php @@ -249,7 +249,7 @@ function render_raid_card(array $raid, array $ctx): void -

Anforderungen:

+

Anforderungen:

Gearscore:

@@ -278,7 +278,7 @@ function render_raid_card(array $raid, array $ctx): void
- +
diff --git a/includes/raids_api.php b/includes/raids_api.php index 9bf599f..b0ac35c 100644 --- a/includes/raids_api.php +++ b/includes/raids_api.php @@ -224,7 +224,7 @@ function raid_backend_request(int $raidId, string $method, string $path, ?array // Laengengrenzen der Raid-API (RaidCreate/RaidUpdate in api.py des Bots). const RAID_FIELD_LIMITS = [ 'title' => ['Titel', 60], - 'requirements' => ['Anforderungen', 80], + 'requirements' => ['Anforderungen', 500], // seit 11/2026 mit Zeilenumbruechen (vorher 80) 'gearscore' => ['Gearscore', 50], // neue Werte sind nur noch Zahlen (raid_normalize_gearscore) 'group_names' => ['Gruppennamen (zusammen)', 150], ]; diff --git a/raids.php b/raids.php index f9fc4f8..381a2da 100644 --- a/raids.php +++ b/raids.php @@ -191,7 +191,7 @@ include __DIR__ . '/includes/header.php';
- +