LuminaWebsite/assets/js
Maaxxs 5aaf44eaec Consilium Elyseum: allied legions get their own view - own raids, calendar entries, member tab and shared live map sessions
Asked for: alliances ("Consilium Elyseum") with their own view, a member-list tab with the allied legions and their
members, an own raid area, a calendar that shows them only alliance entries, and live map sessions the legion can
share with them - watching only, or drawing only with an extra permission. There is one Discord role "Consilium
Elyseum" for all allies, so which legion each ally belongs to is stored on the website.

- Permissions consilium.view / consilium.draw / consilium.manage. An account with consilium.view but without
  dashboard.view is a guest of the Consilium (consilium_only(), sql_is_consilium_only()) and sees only the alliance
  area; raids, calendar and map stay restricted even with extra rights like raids.view or map.view.
- includes/consilium.php; consilium.php is the allies' start page instead of the dashboard (next raids and entries,
  legions, running shared map sessions); admin/consilium.php: setup hints, allied legions, member assignment.
  users.consilium_legion_id, table consilium_legions (schema 69); allies pick their legion under Mein Profil.
- Members: new tab "Consilium Elyseum" (legions with their members), the only tab allies see. Legion-only lists
  (dues, Lumipunkte, member pickers, raid and activity points) leave allies out.
- Raids: two areas, legion and Consilium, told apart by the Discord channel ("Consilium-Raids" under Verwaltung ->
  Discord-Bot, settings.consilium_raid_channel; the bot API returns channel_id). Allies only see and sign up for
  Consilium raids, which give no Lumipunkte; raids created in the Consilium area are posted to its channel.
- Calendar: audience "Consilium Elyseum". Allies see only those entries and the Consilium raids (also in their iCal
  subscription), their own entries are always Consilium entries; the public calendar shows no Consilium raids; the
  legion sees them marked with 🤝.
- Map: whoever may edit a public tactic shares its running live session with the Consilium (consilium_share, logged).
  The share lives in the bot's live relay and only for that session: it ends with "Freigabe beenden" or 60 s after
  the last legion member left; making the tactic private or deleting it ends it as well. Allies see only running
  shared sessions under Karte (and on their start page), join and watch; with consilium.draw they add strokes,
  areas, points and text - no figures, nothing moved, erased or undone, no tactics, steps, copies or history.
  Enforced in tactics_api.php (guest branch: shared tactics only, only live_token and shape_create) and in the relay
  (guest tickets, event whitelist, guests are disconnected when the share ends). Needs the bot update (api.py,
  database/db.py, live_tactics.py).
- Navigation, privacy page, patch note, README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 01:36:49 +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
consilium-map.js Consilium Elyseum: allied legions get their own view - own raids, calendar entries, member tab and shared live map sessions 2026-09-28 01:36:49 +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 Uploads: pictures no longer arrive black when the browser cannot shrink them (Firefox) 2026-09-27 23:17: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 Wiki: pictures open in the large view on click; the editor previews the page as it will look 2026-09-28 01:36:30 +02:00
live.js Premades: overview grouped by lead, collapsed by default; leads and their premades in the leadership's order 2026-09-27 02:37:17 +02:00
members.js Members: ranks keep their tag in the rank view, also a group with its own section like Brigadegeneral 2026-09-27 22:40:27 +02:00
nav.js Nav: group sidebar links, add mobile slide-out drawer 2026-09-20 01:37:12 +02:00
premades.js Premades: overview grouped by lead, collapsed by default; leads and their premades in the leadership's order 2026-09-27 02:37:17 +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 Consilium Elyseum: allied legions get their own view - own raids, calendar entries, member tab and shared live map sessions 2026-09-28 01:36:49 +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 Premades: overview grouped by lead, collapsed by default; leads and their premades in the leadership's order 2026-09-27 02:37:17 +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 Wiki: pictures open in the large view on click; the editor previews the page as it will look 2026-09-28 01:36:30 +02:00