LuminaWebsite/includes
Maaxxs 08db95f3a3 Replace Discord avatar sync with self-service profile picture upload
Drops the Discord-derived avatar entirely (discord_avatar,
discord_refresh_token, discord_avatar_synced_at and the background
refresh via OAuth refresh token) in favor of members uploading their
own picture. "Mein Profil" now shows a larger (120px) avatar with a
pencil button pinned to its top-right corner; picking a file uploads
it immediately. Uploads are validated by actual image content
(getimagesize, not the original filename/extension) and stored under
a randomly generated name in assets/uploads/avatars/, which ships
with its own .htaccess disabling script execution so a disguised
upload can never run as PHP. Falls back to the existing letter
placeholder when no picture is set.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 07:34:47 +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 Replace Discord avatar sync with self-service profile picture upload 2026-09-19 07:34:47 +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