LuminaWebsite/includes
Maaxxs 8c703f0e1f Add Discord account linking and raid signup/management from the website
- Class name on raid signups now shows only as an icon tooltip instead
  of trailing text (falls back to text when no icon matches).
- Discord OAuth2 linking (discord_login.php/discord_callback.php,
  includes/discord.php): members connect their Discord account from
  the dashboard, storing discord_id/discord_username so raid signups
  can be attributed to their real Discord identity. Needs a Discord
  application's client_id/client_secret in config.php.
- raids.php gets self-service signup/withdraw controls (class + group
  picker, upsert semantics) for members with a linked Discord account,
  plus archive/restore controls gated behind a new raids.manage
  permission. New action scripts raid_signup.php, raid_unsignup.php,
  raid_archive.php, raid_restore.php call the corresponding
  includes/raids_api.php functions.
- Archive/restore already work today (verified live against the bot's
  API - archived and restored the one active raid, signups intact).
  Signup/withdraw are fully wired on the website side but need two new
  bot-side endpoints (POST .../signup, DELETE .../signup/{user_id})
  that don't exist yet - contract documented in the README.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 13:25:41 +02:00
..
.htaccess Fix 500 error from unguarded RewriteEngine directive in root .htaccess 2026-09-18 06:27:09 +02:00
auth.php Add Discord account linking and raid signup/management from the website 2026-09-18 13:25:41 +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 Add Discord account linking and raid signup/management from the website 2026-09-18 13:25:41 +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 Map Templar/Templer to the new class icon 2026-09-18 13:05:48 +02:00
header.php Add a Raids page fed by the guild's external raids API 2026-09-18 12:44:17 +02:00
permissions.php Add Discord account linking and raid signup/management from the website 2026-09-18 13:25:41 +02:00
raids_api.php Add Discord account linking and raid signup/management from the website 2026-09-18 13:25:41 +02:00