LuminaWebsite/assets/js
Maaxxs 785eab611e Legion dues: an admin page tracks who paid, with a rhythm, exemptions and suspended cycles
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>
2026-09-26 23:33:22 +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.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 Premades: players can be reordered within the group (drag & drop, arrows on phones) 2026-09-26 01:00:40 +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