LuminaWebsite/includes
Maaxxs fe1561f4f7 Raids: attendance list, automatic points on archive, reminder callback
Each raid gets an attendance list for raids.manage (present, absent, excused)
with quick actions, members added by hand and a "checked" mark with who and
when. The contribution form can now select a raid's present members for
points or its absent members for a deduction.

Raids can carry points for present members and a deduction for absent ones
(raid_settings). When a raid is archived - on the website or via the button
in Discord, detected on the next raid or contribution page view - the site
awards them once: by attendance if a list exists, otherwise to everyone in a
group without deduction, and not at all if points were already given for
that raid. Settings, attendance and awards follow a raid_id change when the
API re-posts a deleted message.

bot_api.php lets the bot ask which signed-up members have raids.manage when a
raid starts (shared key in config.php bot_callback.key); the bot then sends
them a DM with a link to the list. The bot side lives in the separate bot
repository (cogs/attendance.py).

Also fixes contribution_awards.raid_id being too small for Discord IDs (it
is widened automatically) and raid IDs losing precision in the contribution
form's JavaScript, which kept the raid preselection from ever matching.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 09:52:34 +02:00
..
data Lagerhaus: stock and history of the legion's items 2026-09-21 08:46:40 +02:00
.htaccess Fix 500 error from unguarded RewriteEngine directive in root .htaccess 2026-09-18 06:27:09 +02:00
auth.php Login: Discord first, pending approval, groups synced from Discord roles 2026-09-21 07:49:47 +02:00
bootstrap.php Admin: switch for unlinking Discord, keep table actions in view 2026-09-21 08:00:06 +02:00
contributions.php Beitragspunkte for members, new Lumina logo 2026-09-21 09:23:55 +02:00
db.php Use real German umlauts instead of ASCII transliterations 2026-09-18 07:16:15 +02:00
discord.php Login: Discord first, pending approval, groups synced from Discord roles 2026-09-21 07:49:47 +02:00
discord_auth.php Admin: sync Discord roles on demand 2026-09-21 08:06:51 +02:00
events_api.php Events: new tab for the bot's scheduled event reminders 2026-09-20 12:40:56 +02:00
footer.php Login: Discord first, pending approval, groups synced from Discord roles 2026-09-21 07:49:47 +02:00
forbidden.php Use real German umlauts instead of ASCII transliterations 2026-09-18 07:16:15 +02:00
functions.php Beitragspunkte for members, new Lumina logo 2026-09-21 09:23:55 +02:00
header.php Beitragspunkte: switch for public history, old logo back 2026-09-21 09:31:19 +02:00
permissions.php Beitragspunkte for members, new Lumina logo 2026-09-21 09:23:55 +02:00
raid_attendance.php Raids: attendance list, automatic points on archive, reminder callback 2026-09-21 09:52:34 +02:00
raids_api.php Reports: exclude roles from auto-mute; wire up new landscape backgrounds 2026-09-20 02:27:37 +02:00
schema.php Raids: attendance list, automatic points on archive, reminder callback 2026-09-21 09:52:34 +02:00
settings.php Beitragspunkte: switch for public history, old logo back 2026-09-21 09:31:19 +02:00
tactics.php Karte: tactics in steps drawn on the map, show/hide all categories 2026-09-21 07:21:45 +02:00
warehouse.php Beitragspunkte for members, new Lumina logo 2026-09-21 09:23:55 +02:00