LuminaWebsite/assets/js
Maaxxs c8c9ca2285 Item tooltips show the game data from aion2hub instead of warehouse and shop details
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>
2026-09-25 02:03:23 +02:00
..
activity.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
admin-users.js User management and raids: search field; user management also has status filters and sorting 2026-09-21 21:03:17 +02:00
calendar.js Map: versioned scripts (map_frame.php) against stale browser cache, touch taps with tolerance 2026-09-21 22:37:37 +02:00
confirm-dialog.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
contributions.js Lumipunkte ranking shows the top 24, leadership can expand the rest 2026-09-22 10:18:44 +02:00
copy-button.js Data export and account deletion (anonymization) with a grace period 2026-09-24 17:02:42 +02:00
embed-consent.js Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00
events.js Events: new tab for the bot's scheduled event reminders 2026-09-20 12:40:56 +02:00
file-input.js Gear planner, dashboard polish, images on bug reports 2026-09-22 09:27:09 +02:00
gear-admin.js Skill descriptions from the German client, hover info, centered Daevanion board, aligned user admin buttons 2026-09-24 01:16:39 +02:00
gear-plans.js Skill descriptions from the German client, hover info, centered Daevanion board, aligned user admin buttons 2026-09-24 01:16:39 +02:00
gear.js Skill tooltips with values at the planned level, page background no longer zooms, 150+ members 2026-09-24 01:44:44 +02:00
home-photos.js Start page pictures are chosen by the leadership (site.homepage), not by the members 2026-09-24 23:30:12 +02:00
image-resize.js Member profiles with characters and gallery, member list search/filter/sort/view toggle, Discord join date 2026-09-21 20:45:37 +02:00
item-picker.js Activity check (website + bot), videos in the wiki, contributor search list 2026-09-22 01:11:49 +02:00
item-tooltip.js Item tooltips show the game data from aion2hub instead of warehouse and shop details 2026-09-25 02:03:23 +02:00
lightbox.js Audit log, abuse protection, gallery comments with moderation, safe image uploads, 404 page 2026-09-21 21:57:34 +02:00
live.js Premades: reserve slot with drag & drop, membership in several premades, class preselected from Discord 2026-09-25 00:42:14 +02:00
members.js Group tags: optional gradient background like Discord, rank view hides the tags of all groups that have a member list order 2026-09-23 17:55:33 +02:00
nav.js Nav: group sidebar links, add mobile slide-out drawer 2026-09-20 01:37:12 +02:00
premades.js Premades: reserve slot with drag & drop, membership in several premades, class preselected from Discord 2026-09-25 00:42:14 +02:00
raid-search.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
raids.js Classes come from Discord: all class roles are taken over automatically, members pick their main class, the main class is listed first everywhere 2026-09-23 17:34:37 +02:00
reactions.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
reports.js Reports: replace the table with a styled card list 2026-09-20 02:56:32 +02:00
scroll-progress.js Custom scroll bar: gold progress rail on the right instead of the browser scrollbar 2026-09-22 02:26:59 +02:00
shop.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
sidebar-editor.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
success-popup.js Show success flashes as a centered popup with an animated checkmark 2026-09-20 02:32:23 +02:00
tour.js Dashboard onboarding tour for new members, restartable from the profile 2026-09-21 18:46:21 +02:00
warehouse.js Member selection as a search list with avatar instead of a dropdown (warehouse, attendance, premades) 2026-09-22 02:50:11 +02:00
wiki-editor.js Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00