LuminaWebsite/includes
Maaxxs 4d4a030b95 Add a Premades management page mirroring the Discord bot's /premade
Ports the bot's premade feature set (cogs/premades.py) to the
website using the raid API's existing, already-deployed premade
endpoints - no bot/API changes needed:

- Overview of all premades: lead, accepted members, open invites
- Found/rename/dissolve your own premade
- Invite a linked website member (sends the same Discord DM with
  Accept/Decline buttons the bot itself sends), remove a member,
  transfer leadership
- "Meine Einladungen": accept/decline invites addressed to you
- premades.manage lets admins manage any premade, not just their own,
  mirroring the bot's admin-only "Admin-Verwaltung" flow

New permissions premades.view/premades.manage (view granted to the
default Mitglied role on fresh installs; existing installs need to
add them manually, documented in README.md). Every mutation is
re-validated server-side against the current premade list (ownership,
one-premade-per-person, can't remove the lead, accept/decline only
for an invite that's actually pending for that user) since the UI's
button visibility alone isn't an authorization check.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 08:00:45 +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 a Premades management page mirroring the Discord bot's /premade 2026-09-19 08:00:45 +02:00