Asked for: the legion collects dues in Kina; a separate, purely administrative page to set a cycle and an
amount, tick off who has paid, exempt members for one or more cycles and suspend a cycle for everyone. On
the site it is called "Legionsbeiträge" and the currency "Kina", like everywhere else.
- includes/dues.php: settings dues_amount/_unit/_every/_start/_anchor (every 1-12 weeks or months). The
cycles (dues_cycles) form a series from the anchor (months on the same day, in shorter months the last
one) and exist up to the running one plus the next. Until something is ticked or suspended, a new setting
rebuilds all cycles; afterwards a new amount applies to the coming cycles (optionally the running one) and
a new rhythm starts after the last cycle that has begun or has data. The amount also takes 500k, 1,5kk or
2 Mio.
- Who owes: every active account that was a member when the cycle started (Discord join, else account
creation), unless exempt or the cycle is suspended; a ticked payment always counts. Former members only
show up with payments in the visible cycles.
- admin/dues.php: key figures (running cycle, paid, collected of expected, arrears), a table of members x
the last six cycles with paging, a click toggles a payment (dues_entries with who and when; without
reload via assets/js/dues.js, the button sends the state it sets), search and filters (open, paid,
exempt, arrears), suspend/resume per cycle with an optional reason, exemptions (dues_exemptions:
members, from which cycle, 1-12 cycles or until further notice, reason; end or delete) and the settings.
On phones the table opens at the running cycle, the exemption list stacks.
- admin/dues_action.php: settings, toggle (JSON with the redrawn cell, column figures, arrears and key
figures), cycle, exempt_add/_end/_delete. Settings, suspensions and exemptions go to the audit log and the
Discord log channel, ticks only to the audit log (area "Legionsbeiträge"); ticking is exempt from the
general form rate limit.
- New right dues.manage (Administrator and the groups with roles.manage), menu item in the admin section
with a coins icon, schema version 61 (tables also in sql/schema.sql).
- Privacy: privacy policy (what is stored, only the leadership sees it, account deletion), data export
section legionsbeitraege, account deletion removes exemptions and keeps payments without the name, data
reset area.
- Patch notes (leadership) and README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Asked for: share a build with a link or build code, and an import tool that takes such a code.
- "Teilen" on an own set creates a link (gear.php?build=CODE) and the same code as build code: 10
characters without 0/O and 1/I/L, shown as K7QX2-M9FRT, stored in gear_sets.share_code (schema
version 59, unique; also in sql/schema.sql). Whoever opens it sees the set even if it is not on the
profile, always in its current state; the session remembers the code so tabs, slots and compare
work, and a renewed or withdrawn code ends that access. "Neuen Code erzeugen" and "Nicht mehr
teilen" invalidate the old one. The dialog reopens after creating (#teilen) with copy buttons.
- "Build importieren" on "Meine Sets" takes the code (with or without dash, any case) or the whole
link; viewing someone else's set (shared or on the profile) offers "In meine Sets übernehmen".
Both copy the set with gear, skills, macros and all planner pages via gear_set_copy() (also used
by "Kopieren" now); the copy is neither shared nor on the profile. Errors reopen the dialog (#import).
- Members only (gear.view). Opening any page without being logged in now brings you back to it after
the login (auth_login_return_target) - only for page views in the browser, not for background
requests like live updates or autosave.
- Privacy policy (shared sets), patch notes and README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Asked for: move members to another position inside a premade, not only between group and reserve.
The order lives in the bot (premade_members.position, already deployed with PUT
/api/premades/{id}/order), so it also applies to the premade overview in Discord.
- Edit mode: a group member dragged onto another member swaps places with them, dropped on a free
group slot it moves to the end; the lead always stays first, the reserve stays the reserve.
Without a mouse the small up/down arrows in the slot move a player one place (disabled at the ends).
- premade_action.php: new action "reorder" (target_user_id = swap, direction up/down/end) builds the
new group order from the bot's data and sends it via set_premade_member_order(); only the lead or
premades.manage may do it, leadership changes in foreign premades go to the audit log. No success
popup - the new order is visible right away and would get in the way of repeated arrow clicks.
- A bot without the endpoint (404/405 from FastAPI) gives "Der Discord-Bot kann die Reihenfolge noch
nicht speichern"; its own "Premade nicht gefunden" still comes through as is.
- build_premade_slots() keeps the bot's order in one pass, so pending invites keep their place.
- Moving and reordering jump back to the premade (#premade-ID) instead of the top of the page.
- Phones: the edit buttons sit in one compact group and the roster columns may shrink
(minmax(0, 1fr)), so cards no longer stick out of the panel in edit mode - long names get "...".
- chevron-up icon; hint text, README, patch notes and one word in the privacy policy (order in the
group).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Asked for in Discord: profession management within the legion for a good balance. Aion 2 has five
crafting professions (Blacksmithing, Armorsmithing, Handicrafting, Alchemy, Cooking) with the stages
Beginner, Expert and Master; gathering is one shared skill for six raw materials that players
specialize in with points. Professions belong to characters, so they are entered per character.
- includes/professions.php: PROFESSIONS (German name, client name, icon, products, weapon classes),
PROFESSION_STAGES, GATHERING_MATERIALS, loading/saving, counts per member, targets and "wanted".
German names are not confirmed by the German client yet; only keys are stored.
- New table character_professions (stage, optional level, main profession - at most one per
character) and member_characters.gathering (schema version 57, also in sql/schema.sql).
- Profile editor: per character a professions fieldset (stage, level, main-profession tick - a
single profession becomes the main one) and the gathering specialization; saved with the
character (member_action.php), invalid levels are rejected.
- Profile page shows them per character; the member list shows icons on the cards (main
profession with a gold ring), gets a "Beruf" filter and finds professions in the search.
- New page professions.php ("Berufe" in the menu, members.view): per profession how many members
have it as main profession and at all, characters per stage, which classes' weapons it makes and
how many members play them, everyone with stage; below the gathering specializations.
- New permission professions.manage (initially for groups with roles.manage): targets per
profession (professions_action.php, setting profession_targets, audit log). Professions below
their target show as "Gerade gesucht" on the page and in the profile editor.
- Hammer icon; live updates for the new page, the member list and profile pages; the data export
includes professions per character; privacy policy (as of 26.09.), patch notes and README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The hosting section (now "Hosting, Zugriffsdaten und E-Mail") says that the mailbox is at the
hoster too and what emails to us are used for, with the legal basis. The retention table lists them
("sobald dein Anliegen erledigt ist"). The hoster hint in admin/legal.php and the comment in
includes/legal.php mention the mailbox.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The legion is "Lumina Ascendens". The visible texts already had it right; the missing "n" was
only left in addresses.
- The default operator email (Impressum, privacy policy) is now info@lumina-ascendens.de instead
of the forwarding address of Online-Impressum.de. The privacy policy, the hint in
Verwaltung -> Impressum & Datenschutz and the README now say that the service only forwards
post.
- The placeholder in admin/legal.php and the HTTP_HOST fallbacks for map links and Twitch embeds
use lumina-ascendens.de.
- The link to online-impressum.de/lumina-ascendes stays: the page there still has that name
(/lumina-ascendens is a 404).
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>
- 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>
- 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>