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>
- 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>
- 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>
- 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>
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>
- 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>
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>
- Category list below each other with counts, active category highlighted in gold, sticky while scrolling; on phones a swipeable row
- Search field in the same round style as elsewhere, with a "x of y" count
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>
- 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>
- map_frame.php serves the viewer with ?v=<mtime> on scripts and stylesheet; map page and calendar picker use it
- Tapping on phones/tablets counts as a click up to 10 px of finger movement (was 2 px), so picking a location works on touch devices
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>
- 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>
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>
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>
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>
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>