LuminaWebsite/includes
Maaxxs 17ccd3e26f Discord bot as overview: everything is managed on the website, raid signup in one click
The bot (Aion2_RaidPlaner, deployed 2026-09-25) has no slash commands any more. Raids,
premades, events, activity checks and reports are created and managed only here; in Discord
members sign up for raids, answer invitations and activity checks and report players.

- Raid signup works the same in Discord and here: the bot assigns the group (perform_signup),
  the website only sends the wish (raid_signup(..., $wish)) and shows the reason when it did
  not fit (locked, role full, raid full). raid_wish_is_sensible() and the role constants are
  gone. Declining ("Abmelden") now keeps the player under "Abgemeldet" (raid_decline, new bot
  endpoint .../decline) like in Discord; the raid card shows "Du hast dich abgemeldet" with
  "Doch anmelden". Class input is checked against AION_CLASSES.
- The Discord message shows the raid lead and the Lumipunkte: raid_create_action/raid_edit_action
  send lead_id/lead_name/points_text, raid_sync_extras() on raids.php pushes them for raids
  where the bot is missing them (at most 3 per page view, follows changed raid IDs).
- bot_api.php?action=member: main class (profile choice) and whether the person has an
  (active) account - the bot preselects the class and hints that Lumipunkte need an account.
- New page Verwaltung -> Discord-Bot (admin/bot.php, includes/discord_bot.php, permission
  bot.manage, on update granted to groups with raids.manage; schema 53): raid, log and report
  channel, post the premade overview (updates itself) and the report panel (the bot replaces
  the previous one), resync all raid messages (reposted raids move their settings via
  raid_rename_id). Audit area "Discord-Bot", sidebar entry with a new bot icon.
- Reports: after picking a player in the filter, delete all of their reports at once
  (DELETE /api/reports/user/{id}), which also lifts the auto-mute.
- Calendar and raid logs no longer count declined players as signed up / on the bench.
- Texts that mentioned bot commands (events, activity check, config example, README) updated;
  privacy policy mentions the main-class lookup and that declines stay visible. Patch notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 03:15:55 +02:00
..
data Wiki with the beginner guide: chapters, editor with preview, history, contributors, guide import 2026-09-21 20:33:17 +02:00
.htaccess Fix 500 error from unguarded RewriteEngine directive in root .htaccess 2026-09-18 06:27:09 +02:00
account_deletion.php Permissions per person: grant single permissions to users in addition to their groups 2026-09-25 02:20:58 +02:00
activity_api.php "Gilde" -> "Legion", button hover fix, subtle sidebar scrollbar, bot color as the activity check default 2026-09-22 02:23:48 +02:00
activity_points.php Lumipunkte for activity checks and a daily reward, Lumishop layout polish 2026-09-22 10:25:56 +02:00
admin_log.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
auth.php Data export and account deletion (anonymization) with a grace period 2026-09-24 17:02:42 +02:00
bootstrap.php Account deletion also anonymizes the member at the Discord bot, runs after the response 2026-09-24 17:10:27 +02:00
bugs.php Gear planner, dashboard polish, images on bug reports 2026-09-22 09:27:09 +02:00
calendar_audience.php Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
calendar_entry.php Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
contributions.php Lumipunkte for activity checks and a daily reward, Lumishop layout polish 2026-09-22 10:25:56 +02:00
data_export.php Permissions per person: grant single permissions to users in addition to their groups 2026-09-25 02:20:58 +02:00
data_reset.php Gear planner: skill planner - skills of the set's class with planned level, stigma limit, point/shard costs, import from aion2hub 2026-09-23 17:17:59 +02:00
db.php Use German time for PHP and the database session 2026-09-21 11:05:27 +02:00
discord.php Raid groups: no wrapping for long names; show website display names synced from the Discord server nickname 2026-09-21 20:57:56 +02:00
discord_auth.php Classes come from Discord: all class roles are taken over automatically, members pick their main class, the main class is listed first everywhere 2026-09-23 17:34:37 +02:00
discord_bot.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
events_api.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
footer.php Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00
functions.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
gear.php Gear planner: skill planner - skills of the set's class with planned level, stigma limit, point/shard costs, import from aion2hub 2026-09-23 17:17:59 +02:00
gear_planner.php Pantheon: no faction choice, only decorations Elyos can place (the legion is Elyos-only) 2026-09-24 00:40:36 +02:00
gear_planner_source.php Skill tooltips with values at the planned level, page background no longer zooms, 150+ members 2026-09-24 01:44:44 +02:00
gear_planner_view.php Skill descriptions from the German client, hover info, centered Daevanion board, aligned user admin buttons 2026-09-24 01:16:39 +02:00
gear_skills.php Skill tooltips with values at the planned level, page background no longer zooms, 150+ members 2026-09-24 01:44:44 +02:00
gear_skills_view.php Skill tooltips with values at the planned level, page background no longer zooms, 150+ members 2026-09-24 01:44:44 +02:00
gear_source.php Skill tooltips with values at the planned level, page background no longer zooms, 150+ members 2026-09-24 01:44:44 +02:00
header.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
item_db.php Item tooltips show the game data from aion2hub instead of warehouse and shop details 2026-09-25 02:03:23 +02:00
legal.php Members create raids as raid lead; points, restore and deletion stay with the leadership 2026-09-25 00:04:53 +02:00
live_updates.php Permissions per person: grant single permissions to users in addition to their groups 2026-09-25 02:20:58 +02:00
map_links.php Map: share locations and pick them for calendar entries 2026-09-21 22:33:26 +02:00
member_picker.php Member selection as a search list with avatar instead of a dropdown (warehouse, attendance, premades) 2026-09-22 02:50:11 +02:00
member_profile.php Own profile background image, hover borders on buttons, members below profile in the menu 2026-09-22 09:57:53 +02:00
moderation.php Menu counts for open reports and moderation, item tooltips in warehouse and Lumishop 2026-09-25 01:48:08 +02:00
not_found.php 404 page as an image card: lonely tower under the moon, floating gold 404, twinkling stars 2026-09-22 08:20:29 +02:00
patchnotes.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
permissions.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
raid_attendance.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
raid_card.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
raids_api.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
reactions.php Moderation: all comments with flags, swear word filter; reactions on pictures and comments; last active in member list; map starts with categories hidden 2026-09-21 22:12:10 +02:00
schema.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
security.php Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
settings.php Calendar: raids and events as a monthly view plus member entries with "I'm in" 2026-09-21 22:26:17 +02:00
shop.php Lumishop partial approval, Lumipunkte on dashboard and in sidebar box 2026-09-21 10:56:59 +02:00
shop_order_row.php Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
site_notice.php Data export and account deletion (anonymization) with a grace period 2026-09-24 17:02:42 +02:00
tactics.php Map tactics live: strokes appear for everyone while they are drawn, several people can draw at once 2026-09-25 01:16:19 +02:00
warehouse.php Modern item picker (image, category, stock, keyboard) for deposit, withdraw, history search and shop management; category chips for the stock 2026-09-21 21:31:52 +02:00
wiki.php Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00