The report panel in Discord ("Mitglied melden", bot deployed with this change) now says what it is
for and how reports count: points per report (from the role weights, e.g. Veteranus 3), the mute
threshold, 48 hours on the "Stille Treppe" and that reports expire after 10 days. The bot updates
the panel by itself when the threshold or the role weights change here.
- Verwaltung -> Discord-Bot: when posting the report panel, pick the role that gets pinged
("Arieluma @Rolle!" above the panel - only that text pings) and the leadership role that is named
in the text (without ping). Both are sent as ping_role_id / lead_role_id, stored by the bot and
preselected next time; the audit log names them. Unknown roles are rejected.
- Texts say "Mitglied melden" instead of "Spieler melden"; the reports settings mention that the
panel follows threshold and weights.
- README and patch notes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In Berechtigungsgruppen -> Gruppe bearbeiten the new field "Symbol" takes an uploaded image or a
link to one, with a checkbox to remove it and a live preview in the tag.
- A link is downloaded once when saving (includes/role_icons.php): public http(s) addresses only,
nothing in the local network (redirects checked one by one, the checked IP is pinned), at most
2 MB, PNG/JPG/GIF/WEBP. Like uploads the image is re-encoded, scaled to 128 px and stored under
assets/uploads/roles/ (with .htaccess), so visitors never load anything from other servers and
expiring links (Discord attachments) don't break the icon.
- Shown in the group tags (member list, profile, group admin), the group filter chips and the
rank section headings of the member list, and the group badges on the dashboard.
- Replaced or removed icons and the icon of a deleted group are deleted from disk; the new file
is only stored once all other fields are valid and removed again if saving fails.
- New column roles.tag_icon (schema version 55, also in sql/schema.sql); README.
- file-input.js: "Entfernen" fires a change event, so previews of other scripts clear too.
- Live updates of the member list also react to changes of tag_bg2 and tag_icon.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The lead of a premade (or the leadership with premades.manage) picks one of the landscapes or
uploads an own image in edit mode under "Banner" and moves the crop with a slider (live preview).
- Shown on top of the premade card (name on the banner), above the roster under "Meine
Premade" on the dashboard, and behind the heading of the raid group that carries the
premade's name (invited premade groups are named after it).
- New table premade_banners (per premade ID of the bot, with the name for the raid groups, the
choice and the crop; schema 54, also in sql/schema.sql). Own images are member_gallery rows
with is_background = 1 and the new column premade_id, so they go through the same
moderation (badge "Premade-Banner"), data export and account deletion as gallery pictures.
The own profile background and the profile reset ignore banner rows.
- premade_action.php: banner_save, banner_upload, banner_delete_upload; renaming updates the
name, dissolving removes banner and upload. premade_banners_sync() on premades.php cleans up
banners of premades that no longer exist. Leadership changes to other premades are logged.
- Live updates of the premades page include banner changes; privacy policy, patch notes and
README mention the banners.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
In the user form (admin/user_form.php) a new section "Einzelne Berechtigungen" lists all
permissions, with the group-assign rights (roles.assign.<ID>) shown by group name as in the role
form. It opens by itself when the user already has some. A shield marks what the user already
gets through one of the ticked groups; the tooltip says who granted a permission and when.
- New table user_permissions (user, permission, granted_by, created_at; schema 52, also in
sql/schema.sql). user_has_permission() now resolves through user_permission_keys() (groups UNION
direct permissions, falls back to groups only while the table is missing), and
discord_ids_with_permission() and the raids.manage recipients in bot_api.php include direct
permissions too.
- New core permission users.permissions: only with it can someone grant or revoke direct
permissions, and only ones they have themselves (current_user_permission_ids()); others are
greyed out and ignored on the server even if submitted. Your own direct permissions can only be
changed by someone else (except developers). Without the right the section is a read-only list.
On update, groups with roles.manage get users.permissions.
- Saving applies only the changes, so the remaining entries keep who granted them and when.
Grants and revokes go into the audit log ("Einzelrechte erteilt/entzogen/jetzt").
- User list: "+N Einzelrechte" badge next to the groups (title lists them), searchable; the live
fingerprint of the page includes user_permissions.
- Data export gets a section "einzelrechte", account deletion removes them, and the privacy
policy mentions both. Patch notes, README and the roles page intro updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The info bubble in the warehouse and the Lumishop now shows only what an Aion 2 database says
about the item: name in the grade colour, grade, slot, type, binding, item level and required
level, description, base stats, item info (sockets, max stack, sell price, effect when used) and
the highest enchant. Stock, price, last movement and the gear-catalogue match are gone.
- includes/item_db.php finds the item on aion2hub by its name (/database?q=..., exact name, else
the bound variant), reads the item page and caches both: the values in item_db, the name -> item
id mapping in item_db_names (schema 51, also in sql/schema.sql). Data is fetched on the first
hover only, refreshed after 30 days; names not found are searched again after 7 days.
- At most 20 aion2hub pages per minute for the whole site (rate_limits, bucket aion2hub), only
names that exist in the warehouse or the shop, fetched via gear_source_fetch() like the gear
planner. aion2hub allows these pages in robots.txt, only /api/ is disallowed.
- item_info.php answers the bubble (JSON: ok, missing, busy, error), assets/js/item-tooltip.js
shows "Lade Spieldaten ..." until then and keeps the result for the page. Placeholders aion2hub
leaves unresolved in descriptions ({abe:...}) are shown as "...".
- Shop offers linked to a warehouse item are looked up under the warehouse name.
- includes/item_tooltip.php removed; patch notes and README updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Reports: the menu item shows how many reports are still open (not archived), for everyone with
reports.view. The reports live in the bot, so the count sits in settings.reports_nav_cache and is
fetched at most every 2 minutes with a short timeout (reports_nav_open()); the reports page
refreshes it right away, also after archiving. reports_api_request() takes a timeout.
- Moderation: the menu count now matches the "Freigabe" tab - waiting items plus reported items that
are still visible (moderation_open_counts(), internal calendar entries only for
calendar.leadership), with a title like "2 warten auf Freigabe, 1 gemeldet".
- Warehouse and Lumishop cards get an info bubble on mouse hover or keyboard focus (not on touch):
large image, category, stock, Lumishop price and the last movement in the warehouse; price,
availability, amount in open requests and whether the own Lumipunkte suffice in the shop. Weapons
and armour with the same name in the gear catalogue also show grade, level and base stats.
Content is rendered as a <template> per card (includes/item_tooltip.php), shown and placed by
assets/js/item-tooltip.js; the old native title on warehouse cards is gone.
- Patch notes and README updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With line, arrow, circle and area, the stroke being saved stayed the current draft until the save
finished, and every mouse movement in that moment sent it live again - after "saved" had gone out.
The others then saw the stroke with the drawer's name again until the bot dropped it after 20 s.
Drawing quickly (short breaks between strokes) hit this almost every time.
- A stroke that is being saved no longer follows the mouse and is never sent live again; the live
service also ignores updates for strokes it has already ended.
- Viewers remember finished strokes and ignore late updates for them. If someone leaves in the
middle of a stroke (reason "left"), the others reload once to get what was saved meanwhile.
- The bot (live_tactics.py) ignores late updates of finished strokes too, which also covers browsers
still running the previous map version - deployed on 2026-09-25.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Whoever has a tactic open sees the strokes of the others while they are being drawn (with the
name at the pen tip); saved and erased shapes appear at once, and after changes to steps or the
tactic the map reloads by itself. Several people can draw in parallel, also in the same step.
- The panel shows who is in the tactic (a click jumps to their step), dots in the step list show
who is where and blink while someone draws there; the step bar shows "✏️ Name" for the shown step.
- The Discord bot relays it (live_tactics.py in the bot repo, only in memory): tactics_api.php
issues a ticket (action live_token: account, display name, tactic, may draw, 30 minutes, signed
with raids_api.key via HMAC-SHA256, tactic_live_ticket() in includes/tactics.php). The browser
receives via Server-Sent Events and sends batched strokes (at most every 70 ms), saved/removed
shapes, changes and its own step via POST (assets/map/js/services/TacticLiveService.js).
Only who may edit the tactic may draw live. Saving still happens only on the website.
- On a lost connection the panel says so, the map reconnects with a fresh ticket (backoff up to
15 s), reloads the tactic and hands in what was drawn meanwhile. Reloads triggered by the live
view keep the current state on network errors instead of closing the tactic.
- Optional config raids_api.live_url for a public bot address that differs from raids_api.url.
- Privacy policy (live view: direct connection to the bot server, what others see, nothing stored),
patch notes and README updated.
Needs the matching bot update (live_tactics.py, api.py, main.py), deployed on 2026-09-25.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Every premade has a 6th slot, the reserve (bench). New players get a free slot in the group,
otherwise the reserve; the bot assigns it (premade_members.reserve). Pending invites count.
- In edit mode the lead / leadership drags players between group and reserve: onto the reserve a
previous reservist swaps into the group, the reservist dropped onto a member swaps with them, the
lead always stays in the group. Without a mouse the same works with the arrow button in the slot
(premade_action.php "move" -> PATCH /api/premades/{id}/members/{user_id} {reserve}).
- Players can be members of several premades: inviting and accepting no longer check other groups.
Leading stays limited to one premade unless the new permission premades.lead_multiple allows more
(founding, lead picked by the leadership, lead transfer; the website sends allow_multiple_lead).
discord_ids_with_permission() answers that for other players.
- The class in a premade is preselected with the main class from the Discord roles when founding,
inviting/assigning and accepting; members who joined in Discord get it on the next visit of the
premades page. The own slot has a swap icon that opens the class picker (replaces the separate
"Deine Klasse" tile).
- Dashboard lists all own premades (led ones first) with the reserve slot.
- Privacy policy (slot, preselected class), data export (platz), patch notes and README updated;
schema v50 syncs the new permission. The live reload waits while a drag is running.
Needs the matching bot update (reserve column, PATCH reserve, class on add, allow_multiple_lead),
deployed to the bot server on 2026-09-25.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New permission raids.create (granted on update to every group that has raids.view): whoever
creates a raid on the website becomes its raid lead (raid_settings.lead_user_id, schema v49),
shown with a crown on the raid card and in the signup list.
- The raid lead manages their own raid: edit, move players, invite premades, fill in the attendance
list and archive it. Restoring, deleting for good and the Lumipunkte stay with the leadership
(raids.manage, raids.points). Checked on the server via raid_can_manage() in every raid action.
- Raids created by a member without raids.points bring no automatic points (0/0) until the
leadership sets them when editing; raids of the leadership keep the fixed +1.
- The attendance reminder of the bot (bot_api.php) goes to the raid lead, even if not signed up;
raids without a lead (created in Discord) remind the signed-up raids.manage members as before.
- Core permission descriptions are cut to the 255 characters of the column when synced - a longer
one made the schema sync throw on every request (found while testing this change).
- Privacy policy (raid lead is visible to all), data export, patch notes, README and the tour updated;
raid_created_at() folded into raid_posted_at().
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Every open page in the member area asks live.php every 20 s while it is visible
(assets/js/live.js). The counts at the menu items and the own Lumipunkte are replaced in
place; header.php and live.php compute them with the same functions (nav_badges(),
nav_points() in includes/live_updates.php, links marked with data-badge).
- Dashboard, gallery, picture page, profile, member list, calendar, shop, shop orders,
Lumipunkte, warehouse, premades, bug reports, moderation, user management and wiki get a
fingerprint of the data they show (count, highest id, checksum of the shown columns - no
"last active"). When it changes, the page reloads - but only while nobody is typing, has a
form started, a dialog, lightbox or menu open or clicked in the last 8 s; otherwise a notice
"Es gibt Neues auf dieser Seite" with a reload button, and it reloads once things are quiet.
At most 3 automatic reloads per minute.
- Tools and forms (map, gear planner, edit pages) never reload on their own; the raid page keeps
its own live updates. The dashboard notices new raids and signups through the raid cache
(now also stores a fingerprint of dates, slots and signups); premades ask the bot with a 3 s
timeout (new timeout parameter for premades_api_request/fetch_premades).
- README and patch notes updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New permission site.homepage: in the gallery every picture gets a button to put it on the start
page or take it off again (gallery_home_action.php, logged); the filter "Startseite" shows the
current selection. Schema v48 so the permission gets synced (administrators get it).
- Members can no longer release pictures themselves: the checkboxes and their handling in
member_action.php are gone. Their selected pictures are marked "Startseite" in the profile
editor, with a hint to tell the leadership if they don't want that.
- Privacy policy: legitimate interest instead of consent, objection via the leadership. Patch note,
README, tour and comments updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Sidebar: number of upcoming raids next to "Raids" (all not archived, same as the dashboard
tile). Gold while a raid was posted since the last visit of the raid page (users.raids_seen_at,
schema v46; the posting time comes from the raid id = Discord message id). New raids are
marked "Neu" on the raid page, also in live updates; your own new raid is not. The raid ids
are cached in settings.raids_nav_cache: every raid fetch refreshes it, otherwise the sidebar
asks the bot after 5 minutes with a 3 s timeout and keeps the last state if it is down.
- Start page: the group photo alternates every 6 s with gallery pictures that members released
themselves ("Auf der Startseite zeigen", member_gallery.show_on_home, schema v47) - without
name or caption, only visible pictures of active members, with a pause button, only while
the photo is in view. Only the member can release a picture; leadership can only take it off
(logged).
- Dashboard: the tiles "Mitglieder" and "Berechtigungsgruppen" link to the user management and
the roles, like "Anstehende Raids".
- Tour: new steps for gallery, calendar, gear planner and patch notes; menu customization,
profile page, daily reward and the raid count mentioned.
- Privacy policy (activity, start page, withdrawal), account anonymization (resets
raids_seen_at), README and patch notes updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New menu item "Galerie" (gallery.php, permission members.view): all visible gallery pictures of active
members, 48 per page, without profile backgrounds.
- Sort by newest, oldest, most reactions or member (?sort=neu|alt|reaktionen|mitglied), optionally one
member only (?mitglied=ID, dropdown with picture counts).
- Lightbox through the page; comments and reactions only where the member allows them (like the profile).
- "Eigene Bilder hochladen" links to the gallery section of member_edit.php (#galerie).
- Two pictures per row on phones.
- Pictures by others since the last visit (users.gallery_seen_at, set when the page is opened, schema v45)
are marked "Neu", and their number shows in the sidebar; without a visit, the last 7 days count.
- Privacy policy (Aktivität), account anonymization (resets gallery_seen_at), README and a member patch
note are updated. Idea from the legion.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- account_anonymize() first calls the bot's new POST /api/privacy/anonymize (account_deletion_bot()):
- Running raid sign-ups and premade memberships are removed; a premade the member leads keeps going
without a lead.
- Archived raids, activity checks, own reports and created events keep the account number instead of the
Discord ID. Reports about the member stay and expire after 10 days as before.
- If the bot is unreachable, the job goes into the setting account_deletion_bot_queue and is retried on every
run (not in the same run, read straight from the DB because setting_get() caches per request); after a
week there is a warning in the log. The deletion log says whether the bot part is done or pending.
- Due deletions now run in a shutdown function after the response (session closed, fastcgi_finish_request),
like admin_log_flush, so no visitor waits for the bot.
- Privacy policy, admin page and README describe the bot part.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Data export (Art. 15/20 GDPR, includes/data_export.php): ZIP with daten.json, LIESMICH.txt and the
member's own images (avatar, characters, gallery, bug reports). It covers every table related to the
account plus, via the bot API, raid sign-ups, premades, created events and activity checks. Password hash,
tokens and player reports (they name the reporters) are left out. The ZIP is written by data_export_zip(),
so the PHP zip extension is not needed.
- Members find export and deletion under "Mein Profil" at the very bottom in a collapsed "Konto & Daten"
section (data_export.php, account_delete.php).
- Leadership: new icon "Daten & Löschung" in the user admin (admin/user_export.php, permission users.export).
It downloads the export or creates a download link for someone without access (datenauskunft.php?t=...,
7 days, 5 downloads, only the SHA-256 hash stored in data_export_links). The link page shows a button first,
so link previews don't use up downloads. It also works in maintenance mode.
- Account deletion (includes/account_deletion.php): the account is anonymized instead of removed.
- Deleted: profile, avatar, characters, gallery, gear sets, private tactics, groups, tokens, calendar
participations and bug report images.
- Contributions remain as "Ehemaliges Mitglied" without name or Discord ID.
- Requested by the member (type LÖSCHEN) or by the leadership (users.delete, also immediately).
- Executed after 7 days by account_deletion_run_due(); logging in before that cancels it and tells the member.
- The user admin shows "Löschung am ..." and "Gelöscht (unkenntlich)". Privacy policy, README and a
leadership patch note are updated. Schema v44 (users.deletion_scheduled_at, users.deleted_at, data_export_links).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- impressum.php (§ 18 MStV) and datenschutz.php, which describes what the website and the Discord bot
actually process: Discord login scopes, member area, bot data (raids, premades, player reports with the
automatic 48 h timeout, activity checks), cookies and browser storage keys, retention periods and rights.
Both stay reachable in maintenance mode and are noindex. Operator data defaults to the c/o address of the
Impressum service Online-Impressum.de (LEGAL_OPERATOR_DEFAULT), the hoster to Living-Bots; both can be
changed under Admin -> Impressum & Datenschutz (new permission site.legal, schema v43). The audit/Discord
log only records which fields changed, not the name or address.
- Links in the footer of all public pages, the start page footer, the sidebar and the maintenance page,
plus a short data notice on the login page.
- Wiki and profile texts: YouTube, Twitch and Vimeo players and images or video files from other servers
render as placeholders and load only after a click (embed_consent_html(), assets/js/embed-consent.js).
"immer direkt laden" is remembered per provider in localStorage and can be reset in the privacy policy.
Image URLs are now protected from inline formatting (e.g. _underscores_ in the address).
- map_frame.php only serves logged-in, active members.
- Deleting a user also removes the avatar file; audit_log entries older than 12 months are deleted
automatically (AUDIT_LOG_KEEP_MONTHS).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Skill and stigma tooltips show their values at the reached level (own level plus Daevanion/Arcana bonus)
and update live with - and +; values that grow with the level are green. The aion2.app import now also
stores the description template and the values per level (from the page's React data): equal ranges
become one value, German number format, time units (Sek./Min.), undivided ":divide1000" values fixed.
"nur fehlende" also fetches descriptions imported before, which lack the level values.
- Page background: a fixed layer of window height behind the content instead of cover over the whole page
height, which rescaled the image whenever the content height changed (e.g. Daevanion stats list).
- Start page: 150+ active members.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Skills and stigmas show their description on hover (icon or name): official German text from aion2.app
(damage type, range, tags, values at level 1). New admin import "Beschreibungen übernehmen" stores it in
gear_skills.info (schema v42) and fills the official German name and specialization texts where the
leadership has not entered their own.
- Daevanion boards are centered with a fixed width and their stats below, so selecting fields no longer
resizes the board; hovering a field shows what it gives, its cost and whether it can be activated.
- User admin: "Neuen Benutzer anlegen" and "Jetzt mit Discord abgleichen" share one width and height.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All five boards fill the same square (up to 640px, cells adapt to 11x11, 13x13 or 15x15). Specialization and
stigma bonus rows are two lines high (longer texts clamped, full text in the tooltip) and card heads have a fixed
height, so collapsed and expanded skill cards line up; wide single-column cards keep single-line rows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The faction toggle is removed; Asmodian-only decorations are hidden and no longer counted. This also fixes
switching the faction, which was lost when no decoration was placed yet (the plan counted as empty).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Active and passive skills are planned only up to level 10 (stigmas 20); the levels above come from the
Daevanion and Arcana pages and show as "+4 → 14" (effective level, also used for specializations and the
compare view). Skill points and stigma points are limited to aion2hub's budget at character level 45
(3,723 / 304), at most 4 stigmas can be leveled - checked in the page and on the server. Stored levels
above 10 are set to 10 by the schema update (v41).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Data (cards, enchant points, skill pools, sets, pets, genus insight, daevanion boards, pantheon decorations,
closet skins, stat names and units) is read from the build planner's JS chunks and recognised by content;
one admin import "Planer-Daten übernehmen" (also brings the specializations) plus "Bilder laden".
Plans are stored per set and page (gear_set_plans, schema v40), saved instantly, shown in the compare view,
copied with the set and transferable from another own set. The skills page shows the skill bonuses from
Daevanion and Arcana.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Each set has three pages (tabs with counters): equipment, skills (active and passive) and stigmas; the skill pages live in includes/gear_skills_view.php
- Specializations of active skills like in the aion2hub planner: collapsible list with unlock level and effect, three from level 8, one from 12, one from 16; one slot at 8, two at 12, three at 20; locked options are disabled, lowering the level drops options that no longer fit (checked on the server too, stored as bitmask gear_set_skills.specs)
- Stigmas: the chosen ones as the 4 slots on top, each stigma lists its four bonuses at 5/10/15/20 with effect, reached ones are highlighted
- Admin: "Spezialisierungen & Stigma-Boni übernehmen" reads the build planner page, finds the JavaScript file with the data set (one request per second, remembers the file) and stores the effects of all classes (gear_skills.spec_effects); new page "Namen & Spezialisierungen" (admin/gear_skills.php) for German skill names and texts
- Autosave sends level and specializations per skill card, the tab counter updates live; compare shows specializations, copies keep them
- Schema version 39 (gear_skills.name_de, spec_effects, spec_names; gear_set_skills.specs), patch notes, README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Berechtigungsgruppen -> edit: "Verlauf zu" adds a second background colour, the tag background runs from left to right into it (the border runs along); picking it also ticks the background, which is the start colour; live preview and admin log ("Verlauf #a–#b")
- Tags use --tag-fill for the gradient; only #rrggbb values are stored (roles.tag_bg2, schema version 38)
- Member list sorted by rank: tags of every group with a roster order (the sections) are hidden, not only the own section's; other sort orders and profile pages still show all tags
- README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Cards in a rank section (e.g. "Sedes Luminis") hide that group's tag, the other tags stay; a tag row with nothing left is hidden too
- With another sort order (name, class, ...) there are no sections, so the tag is shown again; profile pages and the group filter are unchanged
- role_tag_html() takes an extra CSS class
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Berechtigungsgruppen -> edit: "Farben des Tags (optional)" with separate background/text colour (each only with its checkbox, otherwise the default), live preview, change recorded in the admin log
- Tags in the member list, on profile pages and in the group overview use the colours (CSS variables --tag-bg / --tag-color, only #rrggbb values are stored)
- The gold dot in front of the tags is gone
- Schema version 37 (roles.tag_bg, roles.tag_color), README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Discord sync (login and live check) stores every class role of a member in users.classes (role names match the classes, German and English names are recognised); users.class_name is the main class: the one chosen in the profile (users.main_class) while the member still has it, otherwise the highest class role; no class role means no class
- The guild role list is fetched once per request and kept when the bot is briefly unreachable (it used to be emptied); nothing is changed while the role list is unknown
- Profile: the manual class select is gone; new "Klassen" card with the detected classes, main class choice for members with several classes and a "Jetzt mit Discord abgleichen" button (at most every 30 s and 10 per hour, new security bucket discord_sync with a log entry)
- Main class first on the profile page, in the member list (the class filter also finds secondary classes), in the raid signup and premade class pickers (own classes first, main preselected for new raid signups)
- Berechtigungsgruppen shows which Discord roles count as classes
- Schema version 36 (users.classes filled from class_name until the first sync, users.main_class), patch notes, README
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Skills per class come from the aion2hub class pages (Global client core list only, Korea/Taiwan extras left out): 12 normal actives, then Dodge (no levels, dropped), then the stigma skills - matches the Global client's mastery and stigma lists for all 8 classes
- New tables gear_skills and gear_set_skills (schema version 35), skill icons stored under assets/uploads/skills/ (existing files are reused on re-import)
- Admin: "Skills" section on admin/gear_items.php imports/compares all classes (one request per second), marks skills aion2hub no longer lists and can remove them
- Set page: skill grid (active / stigma / passive) with level select and instant save; normal skills 1-10 by skill points, above that only with bonuses (Daevanion up to +4, gear and Arcana up to 20); stigmas up to 20, at most 4 at once (checked on the server too); shows skill point and stigma shard costs
- Planned skills on set cards, the profile page and in the comparison; copies take the skills along, a class change keeps the old levels hidden
- Patch notes entry, README section for the gear planner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Raids: "Max. Spieler" only whole numbers up to groups x 5 (max. 10 groups / 50), gearscore only a number; fixed +1 Lumipunkt per participation, other values only with the new raids.points permission; pick an existing premade per group when creating a raid; unchanged legacy values no longer block editing
- Raid page updates itself every 15 s while visible (raids_live.php, cards rendered by includes/raid_card.php), open editors and confirm dialogs are kept
- Restore takes the new raid_id from the bot (archived messages are now deleted in Discord) and moves settings, attendance and awards; website signups send the server display name
- Premades: dissolve by leadership needs a reason, lead gets DMs on join/assign/decline/remove (source/actor_id sent to the bot), transfer picker skips players who already lead a group, website accept keeps the one-group rule, no commas in names
- Site-wide Lumina dialog (assets/js/confirm-dialog.js) replaces confirm/prompt/alert via data-confirm; error flashes are a dialog you confirm with OK
- Calendar: audience per entry (all / leadership takes part / internal) with the new calendar.leadership permission; day cells list all entries and scroll
- Gear planner: main-hand picker filtered by the set's class, mismatches marked, "keine Klasse" option, link to an external skill/Daevanion plan per set
- Map: correct kisk icons (Elyos on Verteron/Abyss, Altgard fixed), per-map max zoom and bounded panning, German texts, data source note
- Tactics: toolbar as a uniform grid, whole-tactic copy, automatic versions with restore and a 90-day trash, official tactics protected
- Global thin gold scrollbars, readable hover colours, "Sedes Luminis" spelling, patch notes and README, schema version 34
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Gear planner: slot changes save automatically (selects right away, numbers/text shortly after
typing) with a status instead of the save button; totals and slot tile update without a reload,
a different item reloads once for its fields; slot labels no longer uppercase (Füße, not FÜSSE)
- Menu editor: "+ Trennlinie" adds extra dividers (up to 10), removable with ×
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- "Menü anpassen" at the bottom of the sidebar starts an edit mode: drag items (and the divider)
with mouse or touch, save, reset to default or cancel; admin items stay in the admin section
- Order stored per member (users.sidebar_order) and applied via CSS order, no reflow on load
- Wiki chapter tiles get the same dark hover with gold border as the subpage tiles
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Activity check: configurable Lumipunkte for "Ich bin da", awarded once after the check is
closed (on the website right away, otherwise on the next dashboard/points/activity page load)
- Daily reward: 5 Lumipunkte on the first page view of the day, one shared award per day
- Lumishop: equal hero buttons, category box as tall as the item list, "Meine Anträge" as tiles,
spacing between the tabs and the order list in the management view
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Profile background: upload an image only for the background (not part of the gallery),
same moderation as gallery pictures, one per member, replace or delete it
- Hover border on buttons: black on gold buttons, gold on dark ones (dashboard points
buttons keep their own effect)
- Sidebar: "Mitglieder" directly below "Mein Profil", tour follows the new order
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Gear planner:
- Personal gear sets (18 slots) with enchant, exceed, soul imprint and manastones,
stat totals by source and side-by-side comparison of 2-4 sets
- Sets can be shown on the own profile page (read-only for other members)
- Admin catalog: import items from aion2hub.com (Global client), compare stored
values with the source one by one or all at once, at most one request per second
- New permissions gear.view (all with dashboard access) and gear.manage
Dashboard:
- Role badges ordered like the member list (roster_order)
- Stronger hover effect on "Rangliste & Verlauf" / "Zum Lumishop", no more blue
hover on secondary buttons
- "Anstehende Raids" box links to the raids page, next raids link to the raid
and to the calendar day
- Raid attendance only knows present/absent (old "excused" entries count as unset)
Bug reports:
- Up to 5 images per report, pasting copied images with Ctrl+V (also for the gallery)
- Images are only served to the reporter and bugs.manage via bug_image.php
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- New shared function member_picker() (includes/member_picker.php) on top of item-picker.js: round avatar, name, group and class
- Warehouse "Handed over by" / "To", attendance "Add member", premades "Transfer leadership"
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Member entries: avatar row with "+X" and "N attending", a click expands the list with avatar, name, profile link, "Host" and "You"
- Discord previews (events, activity check) have the bot color #206694 on the left instead of gold (CSS variable --bot-color)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Thin rail that fills with gold while scrolling, click jumps to that position, drag scrolls along
- Hidden when the page fits on the screen, browser scrollbar hidden (stays without JavaScript)
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Everywhere on the website "Legion" instead of "Gilde" (Legionsleitung, Legionsmitglieder, ...)
- Link buttons keep their text color on hover (previously gold on gold, e.g. "Zum Lumishop")
- Sidebar: scrollbar hairline-thin and only visible on hover, menu more compact on low screens
- Activity check: bot color #206694 is the first entry of the palette and the default
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- favicon.ico and favicon 16/32/48 plus apple-touch-icon generated from the new crest, links with a version tag against the browser cache
- Homepage: "Active members" 100+
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Website shows "Being closed …" and reloads itself until the bot has sent the DMs and role changes (previously the website timed out after 10 s even though the bot finished)
- Palette: new color dark blue #206694
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Activity check: created on the website (activity.php, activity.manage) or with /aktivitaetscheck; the bot posts "I'm in" / "I'm out" buttons; title, text, color, image and button labels are configurable with a live preview; deadline; consequences for non-responders (DM, remove/add role, optionally also for "I'm out"); close early or cancel; overview of in / out / pending
- Wiki: a video link alone on a line (YouTube incl. Shorts/start time, Twitch, Vimeo, .mp4/.webm) becomes an embedded player, plus a "Video" button in the editor
- Wiki: "Add contributor" as a search list with avatar, group and class instead of a dropdown
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Members pick the background of their profile page: 11 landscapes or one of their own approved gallery pictures (users.profile_background, small preview images)
- Picture page: arrows as icons, centered on the image itself (not on image + caption)
- Comment field: avatar next to the input, normal font
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Map links (/map.php?karte=…&x=…&y=…&zoom=…&ort=…) open the region at that spot with a pin
- "Share location" button on the map: click a spot, optional name, copy the link
- Calendar entries: "Pick location on the map" opens the map in a window, "Use this location" stores the meeting point
- Map links in comments, captions and descriptions render as "📍 Region – Location" and do not count as external links for moderation
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- calendar.php: raids and events live from the bot API (no duplicate data), recurring events projected forward, agenda list, mobile view with dots
- Optionally public (without login, titles and times only), linked on the homepage
- Members add their own entries (calendar_entries), participants via "I'm in", same protections as comments (filter, approval, report button, rate limit)
- Moderation also covers calendar entries
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Moderation page with tabs: approval, all comments (critical/suspicious flags, search, filters), swear word filter (mark / hold / block, maintained by mods, detects leetspeak)
- Discord-style emoji reactions on gallery pictures and comments (without reloading)
- Member list and profile: "last active" / online dot, sortable
- Map: all marker categories hidden at start
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Audit log: every admin_log entry is also stored permanently in the database (admin/audit.php, audit.view)
- Rate limits per account, login throttling per IP (not per account), emergency lock after mass deletions, force logout / lock in user management
- Comments under gallery pictures (picture page, report button, owner can disable them)
- Moderation: new members, links, reported content and a "moderate everything" switch go to the approval list (moderation.php)
- Every uploaded image is re-encoded (strips appended code and EXIF data)
- Custom 404 page, also shown for pages without permission
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The bot turns raid and event times into timestamps as German time, but
the website formatted them in the hoster's default timezone (UTC). A raid
set to 9:00 therefore showed as 7:00 during summer time. The edit form
was prefilled with that wrong time, so saving a raid again would really
move it.
PHP now uses Europe/Berlin, and each database connection sets the same
offset, so NOW() and CURRENT_TIMESTAMP match. The offset follows
summer/winter time automatically.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Members may now request more than is in stock (or items that are sold
out); only their points have to cover the full request. When approving,
the manager can approve fewer than requested. The quantity field is
prefilled with what is in stock, the cost updates as you type, and only
the approved part is charged and taken from stock. The order keeps the
requested quantity, so the member sees e.g. "3 von 10 bewilligt". The
order list also shows the current stock and flags when it isn't enough.
The column upgrade check now covers every table that has upgrades,
instead of only users and roles. Tables that are about to be created
fresh are skipped.
The dashboard gets a card with your Lumipunkte and your rank. In the
sidebar, the points move from under your name into a gold box above the
profile.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Members request items from the shop. Their points and the stock are
earmarked but not taken until someone with shop.manage approves. Approving
books a negative "Lumishop" entry in the Lumipunkte history and takes the
stock. For warehouse-backed items it also books a withdrawal to the member
in the warehouse. Approved orders are then marked as handed over in the
game, or can be reversed, which restores points, stock and the warehouse
withdrawal.
The management page handles categories and items (price, description,
stock). Stock is either the shop's own count, unlimited, or live from a
linked warehouse item. Items in stock can be imported from the warehouse,
and an item's own stock can be moved into the warehouse to link it there.
Warehouse cards show when an item is sold in the shop.
Shop bookings can't be deleted from the Lumipunkte page, only reversed in
the shop, so orders and points stay in sync. The new permissions go to the
Administrator group only, so the shop stays hidden until it is assigned.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Warehouse: Kina (the game currency) can be paid in and out, shown in its own
box with the in-game coin icon (Icon_Currency_Coin_GoldNonbinding from the
game client via aion2.app, since the wiki has none). It is a catalog item in
the new "Währung" category, kept out of the item cards and totals, and
allows up to a trillion per entry; warehouse_movements.quantity becomes
BIGINT for that. A leftover "Kinah" entry is merged into "Kina".
Beitragspunkte are renamed to Lumipunkte in every visible text, the coin is
now lumipunkt.svg, and the schema sync also updates the descriptions of
existing core permissions so the new name reaches the role editor.
The sidebar, login page and mobile top bar show the new Lumina Ascendens
logo, cropped and with its dark background made transparent.
Scripts and the stylesheet are included with a ?v=<mtime> query
(asset_url()), so browsers pick up new versions after an upload instead of
running stale JavaScript - the cause of raid points not being saved.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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>
Above the history, people with contributions.manage can switch "Verlauf für
alle sichtbar" (default on). Turned off, everyone else sees only the ranking,
without history and without links on the cards. Settings now carry their own
permission and return page, so the same action serves this switch and the
Discord unlink switch in the user list.
The sidebar, login page and mobile top bar show the previous logo again;
the new logo files are removed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Members can be awarded contribution points for raids, events and other
activities, shown with a golden heart-shaped coin. An award has an occasion,
reason, date and points per member; members are picked with search and
select all/none, and choosing a raid preselects its participants (signed up
in a group and linked to a website account), fills in reason and date and
names participants without an account. The + on a member's card awards to
that member alone, negative points deduct, and awards can be deleted whole
or per member. Balances are always computed from the awards.
The ranking shows members as cards with gold/silver/bronze for the top three
and the viewer's own balance in the header and sidebar. With only
contributions.view it lists the best 25 places plus the viewer's own place;
contributions.view_all or contributions.manage show everyone. The history of
awards is paginated, using pagination now shared with the warehouse.
The sidebar shows the new logo, and the login page and mobile top bar a
wordmark cut from it with soft edges.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The history shows 25 entries per page with "Einträge 51–75 von 130" and a
bar of page links (first, last and two around the current one, gaps as "…")
instead of only newer/older links. The item filter is kept while paging and
a page number past the end shows the last page.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
A new page records items handed in (item, quantity, when, and from whom -
a website account or a free-text name) and taken out (when, now or entered
by hand, and optionally to whom). Stock is always computed from the
movements, withdrawals can't exceed it, and a deposit can only be deleted
once nothing of it has been taken out. Stock is shown as cards with the item
picture and quantity, name and category below, plus search and a category
filter; the history lists every movement with who entered it.
The item list holds 2,301 weapons, armor pieces, accessories and consumables
read from the Aion 2 wiki's MediaWiki API, with each item's icon downscaled
to 128px under assets/images/warehouse/. It is loaded into the database on
first visit and again whenever the JSON changes. Unknown names can be added
as custom items after a confirmation, since the wiki lists no materials.
warehouse.view and warehouse.manage are new permissions. Missing core
permissions are now created automatically and granted to the Administrator
group, and the two tables are created like the other schema additions.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Besides the automatic check every five minutes during a session, the user
list gets "Jetzt mit Discord abgleichen" (all linked accounts, logged in or
not) and the user form "Jetzt abgleichen" (one account), both for users.edit.
They run the same check with the stored token, just without waiting for the
interval, and report how many accounts were synced, left the server, have an
expired Discord login, never logged in via Discord, or could not be reached.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The user list gets a switch "Mitglieder dürfen ihre Discord-Verknüpfung im
Profil lösen" (users.edit, default on). Turned off, the profile shows a note
instead of the button and discord_unlink.php refuses the request. The value
lives in a new settings table, created automatically like the other schema
additions (SCHEMA_VERSION 2).
The user and group tables were wider than the 1100px content column, so the
actions column (edit/delete/approve) scrolled out of view. Both pages now
use the wide container and the actions column sticks to the right edge.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The login page leads with "Mit Discord einloggen"; username/password stays
available below and can be allowed or refused per user. The Discord login
asks for identify + guilds.members.read, so the site itself can check that
the account is on the legion's server and read its roles - no bot token on
the webspace. Unknown accounts get a new user in the new status "pending",
Discord-only, who sees nothing but a "Freischaltung ausstehend" page and has
no permissions until approved from the user list.
Permission groups can be linked to a Discord role. Linked groups are granted
and revoked from the member's roles at every Discord login and then every
five minutes during a session, using the stored (refreshed) user token;
leaving the server removes them and ends a Discord session. Manual groups are
untouched, and several linked roles simply add up their groups.
New columns are added automatically on first request (includes/schema.php),
since the login page itself needs them; existing accounts keep password login.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The category panel gets "Alle anzeigen" / "Alle verstecken" buttons.
Tactics belong to a region and are split into steps, each its own drawing
layer: pen, arrow, line, area, circle, labelled point, text and eraser, with
colour, stroke width and undo. A new step can start empty or as a copy of the
current one, earlier steps can be shown faded underneath, and steps can be
renamed, reordered and deleted. Viewing needs map.view, editing map.tactics.
Drawings are stored per shape in world coordinates (the same as the markers)
through tactics_api.php in three new tables; the map page offers to create
them when they are missing. The viewer's own code only gains two hooks
(view change, map change) and the show/hide-all method.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The Karte page now embeds a standalone viewer (assets/map/) covering all ten
regions - Verteron, Altgard, Elthen, Morheim, Poeta, Ishalgen and the
Reshanta maps - with markers and category filters from interactivemap.app.
map.php loads it in an iframe because its stylesheet restyles body, button
and * globally and would otherwise break the site layout.
The tile, marker and icon data (~230 MB, ~39,000 files) is kept out of Git
and uploaded by FTP; the README explains where it comes from.
Removed with it: own markers and categories, tactic layers, the in-browser
map builder, the tile/stitch/viewer tools, the bundled Leaflet, the four map
tables in schema.sql and the map.manage / map.tactics permissions. Existing
databases keep their old map tables untouched.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pick an image, press "Karte bauen", done - no FTP, no command line tool.
The panel sits on the setup page while no map exists and under the map as
"Karte neu bauen" afterwards.
The tiles are cut in the browser and only the finished 256px JPEGs are
uploaded. That is the point: on ordinary shared hosting a 50MB map image
runs into upload_max_filesize, cutting it server side runs into memory_limit
and max_execution_time, and GD is not installed everywhere. This way the
server needs none of it - it validates small JPEGs and stores them.
Uploads go into a side folder <key>__build that only replaces the live map
once every tile has arrived, so an abort - by button, by error or by closing
the browser - leaves the existing map untouched.
The server trusts nothing from the client: the key must match a strict
pattern, tile coordinates must lie inside 2^z on their level, and each file
is checked with getimagesize for an actual JPEG within a size limit before it
is stored.
Verified against tools/make_map_tiles.php on the same source image: same zoom
levels, same per-level tile counts (1/4/12/40), same tile names, same
manifest.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
An installation that predates the map update has none of the four map
tables, so the first query threw an uncaught PDOException and the page
answered 500 with an empty body - no hint what was wrong.
map.php now checks for the tables up front and shows a setup page instead:
it names the missing tables and, for accounts with roles.manage, offers a
button that creates them. The statements are extracted from
sql/schema.sql at runtime, so the schema file stays the single source of
truth and cannot drift from what gets created. They are all CREATE TABLE IF
NOT EXISTS, so running it twice is harmless, and doing it by hand in
phpMyAdmin remains equivalent.
Reproduced against a database built from the pre-update schema: map.php
returned 500, now returns 200 with the setup page, the button creates all
four tables, and the map renders afterwards.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
New "Karte" tab: a tiled zoom/pan map of the game world with a category
sidebar (groups, per-category marker counts, show all / hide all, search)
and marker popups, plus tactic layers drawn on top of it.
Markers are placed by clicking the map (map.manage) and live in freely
editable two-level categories, each with its own emoji and colour. A tactic
(map.tactics) is a separate drawing layer that can be toggled on and off:
rally points, dashed routes, areas and text notes in any colour, finished by
double click, an explicit button or Enter, removed by clicking them.
Coordinates are stored as a fraction of the map's width/height rather than
in pixels, so re-tiling the map at a different resolution never moves
anything.
The map data lives entirely in the website database - the Discord bot is not
involved. tools/make_map_tiles.php slices a high-resolution image into the
zoom pyramid locally; the resulting folder is uploaded by FTP and picked up
automatically, one region per folder. Leaflet 1.9.4 is vendored under
assets/vendor/ so there is still no CDN and no build step.
New permissions map.view / map.manage / map.tactics and four new tables -
existing installs have to add both once (see README).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Mirrors the bot's event planner (/event_planen, /event_liste) on the
website: list all scheduled reminders with a filter for recurring/one-off,
create, edit and delete them. Both sides talk to the same bot database, so
a reminder scheduled in Discord shows up here right away and vice versa -
sending stays with the bot's background job.
Channel and role are real dropdowns pulled from the Discord server instead
of raw IDs (channels the bot cannot post in are disabled), and the form
shows a live preview of the later Discord message, like the bot does before
scheduling. The timestamp is sent as "TT.MM.JJJJ HH:MM" and converted on
the bot side, exactly like the raids, so both ends use the same timezone.
New permissions events.view / events.manage - existing installs have to
add and assign them once under Berechtigungsgruppen.
Needs the matching bot-side API additions (PATCH /api/events/{id},
GET /api/guilds/{id}/channels and /roles, next_run_raw on POST /api/events,
channel/role names in the event list), which live in the separate bot repo.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Native <select> cannot show per-option avatars or custom styling in the
popup list, so this replaces it with a button+panel component matching
the site's existing modal/picker language: trigger shows the current
selection (avatar + name, or a generic users icon for "all"), the
panel lists every reported user with their avatar, a gold highlight and
checkmark on the active one, opens/closes with a fade+scale animation,
and closes on outside click or Escape.
Fixed two bugs found while building it: the trigger button picked up
the generic button:hover gold fill (same class-vs-button:hover
specificity gap as .icon-button elsewhere), and the panel was rendering
behind the next .panel because that sibling's backdrop-filter creates
its own stacking context that traps z-index descendants - fixed by
giving the filter bar's own .panel a raised z-index of its own.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Only the "success" flash type moves to the new popup (a self-dismissing
centered overlay with an SVG checkmark that draws itself in, closes
automatically after ~2.8s or on click). Error/other flash types keep
the existing top banner, since those usually carry details worth
reading rather than a quick confirmation. header.php now splits
get_flashes() once into success vs. other so both the logged-in and
guest layouts pick up the same split.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds a per-role opt-out from the auto-mute mechanic (e.g. Gildenleitung):
members with an excluded role keep accumulating report points normally,
but the timeout itself is skipped, same as the existing server-owner
exemption. Configured the same way as the point weighting - a list of
currently-excluded roles plus a green "+ Rolle ausschliessen" popup for
adding more. Split reports.js into two independently-guarded modal
initializers so the weights and exclusions popups do not depend on each
other being present.
Also wires in the 7 new landscape images as page backgrounds
(web-optimized JPEGs generated via Pillow): raids gets landscape6 as
requested, and the rest are split out for Premades, Mitglieder,
Berechtigungsgruppen, Reports and the logged-out login/homepage view,
which previously had no themed background at all.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
New reports.php lists incoming Discord reports (active/archived/all
filter) with delete and archive actions, gated by new reports.view/
reports.manage permissions. Auto-mute weighting is now configurable
from the same page: a settings panel lets admins set the mute point
threshold and a per-Discord-role point value (a report counts as many
points as the highest-weighted role its reporter holds, unconfigured
roles default to 1). Talks to the bot's extended reports API via new
helpers in includes/raids_api.php.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Updates every remaining "Aion2 Gilde" reference (page title, logo alt
text, homepage heading, README, schema header, example config) to the
actual site name shown in the logo wordmark.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sidebar now separates Dashboard/Mein Profil/Mitglieder from Raids/
Premades with a thin divider, keeping the existing Admin section as its
own group below. On narrow screens the sidebar no longer collapses into
a horizontal icon strip - it becomes a full off-canvas drawer (same
layout and labels as desktop) toggled by a hamburger button in a new
mobile top bar, with a backdrop and Escape/backdrop-click/link-click to
close (assets/js/nav.js).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds a "Meine Premade" panel to the dashboard when the user belongs to
one, reusing the same 5-slot roster markup as the Premades page (read
only, links to /premades.php for management). Extracted the premade
name/avatar/slot-building helpers that premades.php already had into
includes/raids_api.php so both pages can share them instead of
duplicating the logic.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- premades.php sorts the list so the premade you're a lead/member of
always renders first, instead of arbitrary API order.
- Empty roster slots are no longer static placeholders for managers:
if there are invite-eligible linked members left, the slot becomes
an inline "+ Mitglied einladen" select that submits on change,
replacing the old separate invite dropdown in the manage panel
(redundant now that every empty slot doubles as one).
- Members can optionally self-declare which class they play; shown
under their name. Editable inline (auto-submit select) only on your
own slot, read-only text for everyone else's. New premade_action.php
action "set_class" re-validates that the caller actually belongs to
that premade before writing (never trusts the posted premade_id
alone). Extracted the class list shared with raids.php into
AION_CLASSES in functions.php instead of duplicating it.
- Requires the matching Aion2_RaidPlaner bot/API change (separate repo,
not tracked here): premade_members.class column, GET /api/premades
returning class per member, and a new PATCH .../members/{user_id}
endpoint - already implemented and saved to disk, bot needs a
restart to pick it up. The bot's own premade overview embed and
admin select menus were updated to show class too, so the Discord
side stays visually consistent with the website.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replaces the plain bordered-row list with pill-shaped chips (avatar +
name), matching the site's avatar system - shows a member's real
uploaded picture when they're a linked website account, otherwise the
usual letter placeholder. The lead now appears as a chip too (previously
only shown via a header badge) with a gold-tinted border and a crown
icon; pending invites get a dashed border. Dropped the now-redundant
"👑 owner" header badge since the lead's chip covers that.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The original logo.png (the full illustrated artwork) is now generated
into a proper favicon set (favicon.ico, 16/32/48px PNGs, apple-touch-
icon) and wired up via <link rel="icon"> tags - it was never used as
the browser tab icon before.
logo.png itself doesn't work as the actual site logo in the sidebar/
navbar: at 56px/40px tall it's illegible (dense illustration + small
wordmark). There's no image-generation tool available in this session,
so instead of a new illustrated piece, added assets/images/logo-mark.svg:
a hand-built vector wordmark ("LUMINA" + a gold sunburst/wing emblem
with a small center gem) in the site's existing gold/dark palette,
echoing the wings/sigil/gem motifs of the original artwork but
designed to stay crisp at small sizes. Replaces logo.png in both
sidebar-brand and navbar-brand; the original PNG is left in place
unreferenced, still the source the favicons were generated from.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
New members.view-gated page (members.php) lists all active guild
members with avatar and roles. Roles get a "Reihenfolge in der
Mitgliederliste" field in admin/role_form.php (roles.roster_order,
nullable int): a role with a number gets its own section on the
page, sorted ascending; members without any such role fall into a
general "Mitglieder" section at the end. A member with several
ordered roles is placed by whichever has the lowest number. Shown
alongside the existing role fields in admin/roles.php too.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The bot API now lets the website create raids without knowing a
Discord channel: POST /api/raids accepts guild_id and resolves the
target channel via the server's /set_raidchannel default. Adds a
"+ Neuer Raid" panel on raids.php (raids.manage only) with the same
title/date/max slots/gearscore grid and requirements textarea as the
edit form, plus the group-name row editor reused without its lock
toggle (data-locks="0" on .group-editor, since creation doesn't
support locked_groups) - one shared component instead of a second
implementation. Needs raids_api.guild_id in config.php, documented in
README.md.
Also updates the editor's "Speichern" flow for the API's other
change: PATCH /api/raids/{id} now auto-reposts the Discord message
(via sync_raid_message) if it was deleted manually, returning the new
raid_id. update_raid() now returns the API response instead of
discarding it, and raid_edit_action.php surfaces a distinct message
when the id changed - the page reload right after already picks up
the new id either way, since it re-fetches the raid list fresh.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Ports the bot's premade feature set (cogs/premades.py) to the
website using the raid API's existing, already-deployed premade
endpoints - no bot/API changes needed:
- Overview of all premades: lead, accepted members, open invites
- Found/rename/dissolve your own premade
- Invite a linked website member (sends the same Discord DM with
Accept/Decline buttons the bot itself sends), remove a member,
transfer leadership
- "Meine Einladungen": accept/decline invites addressed to you
- premades.manage lets admins manage any premade, not just their own,
mirroring the bot's admin-only "Admin-Verwaltung" flow
New permissions premades.view/premades.manage (view granted to the
default Mitglied role on fresh installs; existing installs need to
add them manually, documented in README.md). Every mutation is
re-validated server-side against the current premade list (ownership,
one-premade-per-person, can't remove the lead, accept/decline only
for an invite that's actually pending for that user) since the UI's
button visibility alone isn't an authorization check.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replaces the three raid action text-buttons with icon-only buttons
(archive box, restore arrow, trash can) using the existing
icon-button style; the label now only shows as a native tooltip on
hover via the title attribute. The delete button gets a new
icon-button-danger modifier so it still reads as destructive (red on
hover) instead of the default gold.
Also fixes a pre-existing bug this surfaced: .icon-button:hover only
set color/border-color, so the global button:hover rule's gold
background bled through on hover for every icon-button on the site
(edit toggle, modal close, etc.), not just the new ones.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Wires up the bot API's existing DELETE /api/raids/{id}/permanent
endpoint: archived raids now get an "Endgültig löschen" button next
to "Wiederherstellen" (raids.manage only), gated by a confirmation
dialog since it's irreversible - unlike the existing archive action,
which only soft-deletes.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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>
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>
The Discord CDN image is now paired with a hidden letter-placeholder
sibling; if the <img> fails to load (stale avatar hash, a tracking
blocker on cdn.discordapp.com, etc.) it swaps to the placeholder
instead of leaving a broken image icon. Also adds the same avatar,
at a larger size, next to the heading on the Mein Profil page.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds a discord_avatar column (captured from Discord's OAuth /users/@me
response and stored alongside discord_id/discord_username) and a new
avatar_html() helper: it renders the linked Discord avatar when one is
set, otherwise a circular placeholder with the display name's first
letter on a color picked deterministically per user from a palette
tuned for the dark/gold Lumina theme. Shown on the Startseite hero for
logged-in members and next to "Angemeldet als" in the sidebar footer.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Fixing the container frame (previous commit) wasn't enough - the
source PNGs have different content-to-canvas ratios and aspect
ratios, so object-fit: contain still rendered each icon at a
different effective size within an identically-sized box.
Cropped each icon to its actual non-transparent bounding box, then
centered it on a uniform 64x64 canvas at a consistent max content
size (46px). class_icon_url() now points at these normalized copies;
originals are untouched. Applies everywhere the function is used
(signup picker and raid member lists), verified via screenshot.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signup is now a single "Anmelden" button that opens a class-icon
picker + optional group choice. A new raid_wish_is_sensible() mirrors
the bot's exact role-cap algorithm (Tank/Heal 1, DPS 3 per 5-player
group, ROLE_MAPPING copied from teamplaner.py) to decide server-side
whether the requested group is honored or the request falls back to
the bot's own auto-assignment - with a message telling the member to
ping the raid lead if they wanted something specific. Verified the
cap logic with 7 synthetic cases (own-signup exclusion, full group,
role caps, bench always allowed) before wiring it up.
Admins get a per-raid edit-mode toggle (pencil icon) that reveals:
inline raid editing (title/date/requirements/gearscore/groups/slots/
group locks) via PATCH, a premade-invite mini-form via the new
premades endpoint, and native HTML5 drag-and-drop to move a signup
between groups/bench via PATCH .../signup/{user_id}.
New pieces: includes/raids_api.php gained move_signup(), update_raid(),
invite_premade(), fetch_premades(), fetch_raid_by_id() and the wish-
sensibility check; four new JSON action endpoints (raid_signup_action,
raid_move_action, raid_edit_action, raid_premade_invite_action) reusing
the session CSRF token via a new verify_csrf_token()/read_json_body()/
json_response() trio in functions.php; assets/js/raids.js drives the
modal, edit-mode, and drag-and-drop with plain fetch() (no framework).
Read-heavy parts (page render, class icons, signup-wish logic) verified
against real data/live API. Edit, move and premade-invite are NOT
tested against the live API yet since they'd mutate the real raid or
send real Discord DMs to guild members - flagging this for a
supervised live check before considering it fully verified.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Dashboard, Mein Profil, Raids and the admin pages (Benutzerverwaltung/
Berechtigungsgruppen) each get a distinct backdrop behind the panels,
via a page->background map in header.php and a dark gradient overlay
so text stays readable. Raids uses the darkest/most dramatic image as
requested.
Generated compressed 1920px-wide JPEG copies under Landscapes/web/
for actual use on the page - the original PNGs were up to 11.7MB
(landscape4), which would have made every page load painfully slow.
Originals are kept untouched alongside them.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Anzeigename and Passwort ändern now sit in a two-column grid (stacks
on narrow screens). The Discord section gets its own bordered card
with the official Discord mark (inline SVG, brand blurple accent) and
a clear Verbunden/Nicht verbunden status badge, replacing the plain
generic panel. Verified both connection states with a rendered
screenshot.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- New profile.php (display name, password, Discord link/unlink),
reachable from the sidebar; removed the duplicate Discord section
from the dashboard.
- Corrected class names/icon mapping to match the actual bot config
(Beschwörer, Kantor) instead of the guessed German terms used
earlier.
- raids.php now understands the bot's full group model: group 0 is
the bench ("Ersatzbank"), -1 is a decline ("Abgemeldet"), and class
"Ausstehend" marks a pending premade invite (now shown with an
hourglass instead of being silently dropped or mis-rendered). The
"X / max" counter matches the bot's own active-count logic (pending
invites don't count). Signup form also lets a member choose the
bench explicitly.
- A few more inline icons (profile, list) for general visual polish.
Verified grouping/active-count/icon logic with synthetic bench/
declined/pending signups, and the real raids.php flow (profile
update, sidebar nav) against a local DB plus the live raids API.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- 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>
Maps the class names the raid bot returns (a mix of English icon
filenames and German in-game terms like "Magier"/"Jäger") to the icon
files under assets/images/Classes via class_icon_url(), case- and
whitespace-insensitive. Classes without a matching file (e.g.
"Templer", or the "Ausstehend" placeholder) just keep the plain text
label instead of showing a broken image. Verified against live signup
data from the API.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Uses the bot's new ?status= query param on /api/raids. fetch_raids()
takes a status argument (whitelisted against active/archived/all,
falls back to active on anything else) and appends it to the request
URL. Archived raids get a dimmed card style and an "Archiviert" badge
using the new archived/archived_at fields. Verified all three filters
end-to-end against the live API.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
New raids.php shows upcoming raids (date, requirements, gearscore,
groups and their signups) pulled from https://api.maaxxs-coding.de/api/raids
via includes/raids_api.php (cURL + X-API-Key header), gated behind a
new raids.view permission so it fits the existing permission-group
model. Fresh installs seed raids.view onto Mitglied automatically;
existing installs need to add it once via the Berechtigungsgruppen UI
(documented in the README). API/network failures show a friendly
error instead of crashing the page.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Swaps the text link in the sidebar and the logged-out top bar for
the logo at assets/images/logo.png, sized via CSS (56px in the
sidebar, 40px in the top bar, 32px on the collapsed mobile bar).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Every "oe/ae/ue" spelling throughout the UI text and comments (fuer,
loeschen, koennen, ...) was my own typo, not an encoding bug - the
charset fix in the last commit was unrelated. Replaced all of them
with proper ö/ä/ü across every PHP file and the README.
Also fix table rows rendering inconsistently: `.actions` and the
status badges were applying `display:flex` directly to a <td>, which
fights the table layout model and renders unreliably across browsers.
Moved the flex layout into a wrapper <div> inside each cell instead,
and restyled row-level delete buttons as plain text links so they
match the height of the "Bearbeiten" link exactly. Tables also get a
horizontal-scroll wrapper so narrow viewports scroll instead of
squeezing cell content.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Explicitly set the Content-Type charset (PHP's default_charset can be
overridden by the host, which breaks oe/ae/ue even though the meta
tag says UTF-8) and add matching .htaccess/schema collation. Verified
end-to-end that umlauts round-trip correctly through the DB and render
correctly in the browser. Also replaced the dark blue-tinted palette
with true neutral grays; the gold accent stays.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replaces the top navbar with a fixed vertical sidebar (brand, nav
links with inline SVG icons, active-link highlighting, user info and
logout pinned to the bottom) for a more modern dashboard feel. Public
pages (login, install, logged-out landing) keep the simple top bar.
Collapses to an icon-only horizontal bar under 860px since there's no
JS toggle. Dashboard quick-links get matching icon badges.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
New users no longer get a manually typed password: admins get a
random one-time password shown once after creation, and the account
is flagged must_change_password. require_login() redirects anyone
with that flag to the new change_password.php page (except that page
and logout) until they set their own password. Admins can also toggle
the flag when editing an existing user to force a re-change.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Guild members only need a username/password, and nothing in the app
used email for anything (no notifications, no password reset). Drops
the column from the schema, the login lookup, install.php, and the
admin user list/form.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
RewriteEngine/RewriteRule without an <IfModule mod_rewrite.c> guard
breaks every request with a 500 when mod_rewrite isn't loaded. Replace
it with per-folder .htaccess deny rules (already used by includes/,
now added for sql/) that only depend on mod_authz_core/mod_access,
which are essentially universal on Apache.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Provides PHP/MySQL-based auth (sessions, CSRF), a permission-and-role
system (permission groups with per-permission keys), and an admin-only
user management area. Homepage left as a placeholder for later.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>