LuminaWebsite/includes
Maaxxs 40d8bec259 Add raid creation from the website and handle auto-repost on save
The bot API now lets the website create raids without knowing a
Discord channel: POST /api/raids accepts guild_id and resolves the
target channel via the server's /set_raidchannel default. Adds a
"+ Neuer Raid" panel on raids.php (raids.manage only) with the same
title/date/max slots/gearscore grid and requirements textarea as the
edit form, plus the group-name row editor reused without its lock
toggle (data-locks="0" on .group-editor, since creation doesn't
support locked_groups) - one shared component instead of a second
implementation. Needs raids_api.guild_id in config.php, documented in
README.md.

Also updates the editor's "Speichern" flow for the API's other
change: PATCH /api/raids/{id} now auto-reposts the Discord message
(via sync_raid_message) if it was deleted manually, returning the new
raid_id. update_raid() now returns the API response instead of
discarding it, and raid_edit_action.php surfaces a distinct message
when the id changed - the page reload right after already picks up
the new id either way, since it re-fetches the raid list fresh.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 08:09:20 +02:00
..
.htaccess Fix 500 error from unguarded RewriteEngine directive in root .htaccess 2026-09-18 06:27:09 +02:00
auth.php Replace Discord avatar sync with self-service profile picture upload 2026-09-19 07:34:47 +02:00
bootstrap.php Use real German umlauts instead of ASCII transliterations 2026-09-18 07:16:15 +02:00
db.php Use real German umlauts instead of ASCII transliterations 2026-09-18 07:16:15 +02:00
discord.php Replace Discord avatar sync with self-service profile picture upload 2026-09-19 07:34:47 +02:00
footer.php Redesign the logged-in area with a left icon sidebar layout 2026-09-18 06:52:19 +02:00
forbidden.php Use real German umlauts instead of ASCII transliterations 2026-09-18 07:16:15 +02:00
functions.php Turn Archivieren/Wiederherstellen/Endgültig löschen into icon buttons 2026-09-19 07:51:56 +02:00
header.php Add a Premades management page mirroring the Discord bot's /premade 2026-09-19 08:00:45 +02:00
permissions.php Add a Premades management page mirroring the Discord bot's /premade 2026-09-19 08:00:45 +02:00
raids_api.php Add raid creation from the website and handle auto-repost on save 2026-09-19 08:09:20 +02:00