LuminaWebsite/includes
Maaxxs 1c9aa0761f Auto-refresh Discord username/avatar via OAuth refresh token
Previously the stored Discord identity only updated when a member
manually unlinked and relinked their account, so a changed Discord
avatar never showed up. The OAuth exchange now also captures the
refresh_token; discord_sync_avatar_if_stale() uses it to silently
pull the current username/avatar (throttled to once per hour) and is
called from profile.php, so opening "Mein Profil" keeps it current
without any re-consent flow. Adds discord_refresh_token and
discord_avatar_synced_at columns.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 07:26:02 +02:00
..
.htaccess Fix 500 error from unguarded RewriteEngine directive in root .htaccess 2026-09-18 06:27:09 +02:00
auth.php Auto-refresh Discord username/avatar via OAuth refresh token 2026-09-19 07:26:02 +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 Auto-refresh Discord username/avatar via OAuth refresh token 2026-09-19 07:26:02 +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 Add onerror fallback for avatars and show a large one on Mein Profil 2026-09-19 07:20:33 +02:00
header.php Add profile pictures: Discord avatar or a letter placeholder 2026-09-19 07:12:45 +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 Overhaul raid signup/management to match the Discord bot's full feature set 2026-09-18 18:36:04 +02:00