LuminaWebsite/assets/js
Maaxxs f02b980a97 Legion dues: the bot reminds open members by DM; premades open in the leadership's order
Asked for: "bei den Legionsbeiträgen soll der bot auch die leute drauf erinnern dass ihr beitrag fällig ist ...
die nachricht ist frei definierbar über die website (mit markierungen und erwähnungen) ... eine standardnachricht,
welche zur Legion passt" and "es soll wenn man die seite aufruft standardmäßig die von uns definierte reihenfolge
angezeigt werden".

Dues reminders (includes/dues_reminders.php, admin/dues.php "Erinnerungen per Discord"):
- Who: everyone still open in the running cycle with a linked Discord - not who paid, is exempt or sits in a
  suspended cycle. Automatic (switch, off by default) at the start of the cycle and/or N days before its end, at
  a set hour (settings dues_remind_*); a missed moment is caught up for 24 hours at most, so switching it on in the
  middle of a cycle sends nothing. "Jetzt erinnern" for everyone open right now and "Testnachricht an mich" with
  the text from the form, saved or not.
- The text is free: Discord formatting, placeholders {name}, {erwähnung}, {betrag}, {zyklus}, {bis}, mentions of
  members and channels (channel list from the bot API), toolbar and live preview with the own values
  (assets/js/dues-remind.js). The default text greets with "Arieluma" and is stored empty so improvements arrive.
- Flow: the bot (new cogs/dues_reminders.py, already deployed) asks bot_api.php?action=dues_reminders every minute;
  the website queues due reminders in dues_reminders (at most once per member, cycle and kind) and hands out the
  waiting ones with the finished text, the bot sends them without pings and reports back via
  action=dues_reminders_done, then logs to the log channel. The text is dropped after sending, the log stays 90
  days. The section lists the runs of the running cycle with delivered and not deliverable (with reason).
- Schema version 64 (table also in sql/schema.sql); privacy policy (what is stored, the bot, retention), data export
  section, account deletion, data reset, audit log; patch notes and README.

Premades:
- The page opens in the order the leadership set: own premades are no longer pulled to the top. A chosen sort only
  lives in the address (?sort=) - it survives a reload, not a new visit; the former browser entry
  lumina_premades_sort is removed (and left the privacy policy). Patch notes of the sort and order entries adjusted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 01:32:43 +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 Raidplaner: tactics on the maps of all dungeons and raids, with tokens that move from step to step 2026-09-26 12:45:00 +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
dues-remind.js Legion dues: the bot reminds open members by DM; premades open in the leadership's order 2026-09-27 01:32:43 +02:00
dues.js Legion dues: an admin page tracks who paid, with a rhythm, exemptions and suspended cycles 2026-09-26 23:33:22 +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 Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
file-input.js Group icons: groups get an icon in front of their name, like the role icons in Discord 2026-09-25 12:35:02 +02:00
gear-admin.js Gear planner: skill icons are checked against the game client and replaced where aion2hub is wrong 2026-09-26 00:22:34 +02:00
gear-macro.js Gear planner: macro entries point to a key of the skill bar, like in the game 2026-09-26 22:50:09 +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 Gear planner: sets can be shared by link or build code and imported as your own 2026-09-26 01:44:52 +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 Members: the list is sorted by rank within its sections, the rank order is configurable 2026-09-26 01:23:48 +02:00
nav.js Nav: group sidebar links, add mobile slide-out drawer 2026-09-20 01:37:12 +02:00
premades.js Legion dues: the bot reminds open members by DM; premades open in the leadership's order 2026-09-27 01:32:43 +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 Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +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
tag-order.js Members: the list is sorted by rank within its sections, the rank order is configurable 2026-09-26 01:23:48 +02:00
tour.js Tour: the last card stays in the middle on phones instead of slipping off to the top left 2026-09-26 22:18:30 +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