Commit graph

85 commits

Author SHA1 Message Date
Maaxxs
4fdae3f244 Gear-Planer Guide: [[Item:Name]] bzw. [[Fluegel:Name]] (oder die aion2hub-ID) zeigt einen Gegenstand mit Bild, Name in der Farbe der Seltenheit und Info-Blase; nachgeschlagen bei aion2hub beim Speichern des Guides
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 21:26:52 +02:00
Maaxxs
a3976d5172 Gear-Planer Guide: [[Skillname:1]] bzw. [[Skillname:II]] zeigt eine Spezialisierung (Stigmen: den Bonus) als Chip mit Nummer und Text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 20:39:42 +02:00
Maaxxs
15394a57ea Gear-Planer: Set mit einem Charakter aus dem Spiel abgleichen ("Aus dem Spiel") - Assistent mit Suche (Server waehlbar, Kaisinel vorgewaehlt, eigene verknuepfte Charaktere), Ladeanimation und Schritten Ausruestung (Verzauberung, Durchbruch, Manasteine, Seelenpraegung), Arcana (Karte, Aufwertung, Skills), Skills (selbst gesteigerte Stufe ohne bekannte Boni), Daevanion (Mini-Bretter) und Uebersicht; nur Angehaktes ersetzt den Stand im Set
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 19:54:32 +02:00
Maaxxs
a745968eac Gear-Planer Guide: mit Spielweisen keine Ansicht "Allgemein" mehr - Umschalter nur mit den Spielweisen, Details zeigen die Prioritaet je Spielweise; allgemeine Prioritaet heisst im Dialog "Standard"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:39:31 +02:00
Maaxxs
7ef3acad5c Gear-Planer Guide: Stigmen/Passive mit eigener Prioritaet in einer Spielweise gehoeren zu ihr - nur in Spielweisen mit eigener Zahl, nicht unter "Allgemein" und nicht in anderen Spielweisen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:34:47 +02:00
Maaxxs
813562d80f Gear-Planer Guide: Spielweisen uebernehmen die allgemeine Prioritaet, je Stigma/Passiv eigene Prioritaet oder "aus" (ausblenden); alternative Stigmen (in der Klasse, im Skill-Plan nicht gesteigert) mit Ziel-Stufe und Prioritaet je Spielweise, nur in deren Reihe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:23:36 +02:00
Maaxxs
55563e8139 Gear-Planer Guide: Spielweisen (z.B. Tank, DPS) mit eigener Prioritaet der Stigmen und Passiven - bis zu vier im Dialog "Skills & Tasten erklaeren" benennbar, je Stigma/Passiv ein Feld pro Spielweise; im Skill-Setup Umschalter "Allgemein"/Spielweisen, ohne eigene Reihe einer Art gilt die allgemeine
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 14:43:34 +02:00
Maaxxs
5f441b164f Gear-Planer Guide: eigene Prioritaet fuer Stigmen und passive Skills (1 = am wichtigsten) - im Dialog "Skills & Tasten erklaeren" einstellbar, im Skill-Setup je als Reihe "Stigma" bzw. "Passiv" in Prioritaets-Reihenfolge, in den Details als Stigma-/Passiv-Prioritaet; Steiger-Nummer in den Details heisst jetzt "Reihenfolge"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 14:25:48 +02:00
Maaxxs
efbc83be90 Gear-Planer: Skills in der Seelenpraegung (+1 auf aktive bzw. passive Skills der Klasse) aus aion2hub uebernehmen, im Slot-Editor waehlbar und als Bonus "Ausruestung" angerechnet; Spezialitaeten im Guide mit den Symbolen aus dem Spiel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 01:26:20 +02:00
Maaxxs
e443c7ae63 Gear-Planer Guide: alle Spezialitaeten mit Schild-Symbol wie bei wakayashi.gg (gewaehlte hervorgehoben, Prioritaet einstellbar); Administratoren zaehlen nicht mehr als Klassenmeister
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 19:59:21 +02:00
Maaxxs
e05f303719 Gear-Planer Guide: Stats-Prioritaet - allgemein als Reihenfolge und je Waffen, Ruestung, Schmuck und Manasteine, mit Hinweisen; Vorschlaege aus den Seelenpraegungen der Gegenstaende
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 19:25:45 +02:00
Maaxxs
d4c8d57251 Gear-Planer: oeffentliche Builds der Klassenmeister mit Klassenfilter, "Meine Builds" als eigener Reiter und ein Guide je Build
- Build-Liste mit Klassen-Kacheln (Rolle, Anzahl, Klassenmeister), Sortierung nach Aenderung, Gegenstandsstufe oder Name
- Neues Recht gear.publish (Klassenmeister): eigene Sets oeffentlich stellen, wird bei der Main-Klasse angezeigt
- Reiter "Guide": Schwierigkeit, Tags, Beschreibung, Staerken/Schwaechen, Skill-Setup mit Reihenfolge und Begruendung,
  Hotbar und Makro mit Erklaerung je Taste, Daevanion, Ausruestung und Tipps; [[Skillname]] wird zum Skill-Chip
- Skill-Chips und -Kacheln zeigen die Info-Blase mit den Werten bei der geplanten Stufe

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 19:01:33 +02:00
Maaxxs
07b5f505f0 Raids: Raid-Leitung kann Raids als wichtig markieren (Faehnchen auf der Karte) - orange hervorgehoben auf der Raid-Seite und dem Dashboard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 16:50:23 +02:00
Maaxxs
c24a80c245 Charaktere aus dem Spiel: Gearscore mehrmals abfragen und den hoechsten Wert (der letzten drei Tage) behalten - NCSoft liefert ihn oft zu niedrig
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 21:59:33 +02:00
Maaxxs
e840f151c8 Charaktere aus dem Spiel: unvollstaendige Antworten von NCSoft (Ausruestung/Skills/Werte fehlen) nachfragen und sonst den letzten vollstaendigen Stand behalten
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 21:54:35 +02:00
Maaxxs
dbc7a8110d Raid-Vorlagen nur fuer die Raid-Leitung (raids.manage) - wer nur Raids erstellen darf, sieht keine Vorlagen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 21:16:54 +02:00
Maaxxs
f4d3dd9ae5 Raids: Vorlagen fuer das Erstellen (Titel, Uhrzeit, Plaetze, Anforderungen, Lumipunkte, Gruppen samt Sperren) und Gruppen schon beim Erstellen sperren
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 20:47:28 +02:00
Maaxxs
023f1fde82 Charaktere aus dem Spiel: Abgleich beim Ansehen aktualisiert auch Name und Stufe der Karte, Speichern schreibt keine alte Stufe mehr zurueck, Abgleich nach 15 statt 60 Minuten
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 04:55:53 +02:00
Maaxxs
4e25365b4c Checkliste: persoenliche Notizen je Charakter und woechentliche Shop-Kaeufe
Notizfeld je Charakter auf der Checkliste (speichert beim Verlassen, eigene Tabelle checklist_notes,
nur fuer den Besitzer), Notiz auch im Charakter-Kaertchen im Dashboard. Neuer Abschnitt "Shop" unter
Woechentlich: Geiststein der Wiederbelebung, Event-Geiststein (bis 16.12.2026) und Seelenkristall.
Patchnotes, Datenauskunft und Datenschutz ergaenzt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 20:17:19 +02:00
Maaxxs
eae0dc381e Karte: Pets einzeln als erledigt abhaken (Popup am Pet-Symbol), erledigte blass mit Haken oder ausgeblendet
Ein Pet gilt an allen Fundorten auf allen Karten als erledigt (Kennung = Symbol-Datei). Gespeichert je Konto
in map_pets_done ueber map_pets_api.php (Recht map.view). Pet-Kategorien zeigen erledigt/gesamt,
Schalter "Erledigte Pets ausblenden". Patchnotes, Datenauskunft und Datenschutz ergaenzt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 07:21:59 +02:00
Maaxxs
3ab618fa32 Checkliste: taegliche und woechentliche Aion-2-Aufgaben je Charakter abhaken (eigene Seite und Karte im Dashboard)
Charaktere aus dem Profil (Hauptcharakter = Main, sonst Twink, je Charakter einstellbar oder ausblendbar),
Haken in der Datenbank (checklist_ticks) mit Reset taeglich 9 Uhr und mittwochs 9 Uhr, Countdown und
"Nur offene". Neues Recht checklist.view fuer alle Gruppen mit dashboard.view. Patchnotes, Tour,
Datenauskunft und Datenschutz ergaenzt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 06:54:06 +02:00
Maaxxs
8125489afb Live-Daten: Reiter Skills (aktiv, Stigma, passiv mit Stufe) und Daevanion (Board-Raster mit freigeschalteten Feldern und Effekten); Popup-Inhalt wird erst beim Oeffnen geladen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 10:38:38 +02:00
Maaxxs
eb86d62e61 Live-Daten auf der Profilseite kompakter: Kurzinfo (Stufe, Gearscore, Kampfkraft) an der Charakterkarte, alle Details im Popup; Kampfkraft als 98,9k
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 10:24:14 +02:00
Maaxxs
a4d08eefb6 Charaktere live aus dem Spiel: Profil-Charaktere mit Aion 2 verknuepfen, Profilseite zeigt Ausruestung, Kampfkraft, Werte und Daevanion (Daten von aion2.plaync.com ueber unseren Server)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 10:15:03 +02:00
Maaxxs
e4e7a4ede8 Persoenliche Nachrichten der Legionsleitung: Popup beim naechsten Besuch mit Dringlichkeit (Hinweis/Bald/Wichtig/Dringend), Lesebestaetigung in der Benutzerverwaltung
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 03:40:15 +02:00
Maaxxs
579a182ba4 Geheime PvP-Taktiken (nur Strategen sehen sie) und versteckte Premades (nur Mitglieder und Leitung)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 08:59:00 +02:00
Maaxxs
7594cf652f Aufnahmestopp: Startseite zeigt an, dass wir niemanden aufnehmen (schaltbar unter Wartung & Ankuendigung)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 20:53:15 +02:00
Maaxxs
4cc774fb64 Neues Recht roles.preview: Vorschau nutzen, ohne Berechtigungsgruppen bearbeiten zu koennen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 16:55:17 +02:00
Maaxxs
3fadef318f Berechtigungsgruppen: Vorschau - Website als Gruppe ansehen (nur zum Ansehen, Aenderungen gesperrt)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 16:46:25 +02:00
Maaxxs
7ea521c26d Kalender: Moderation kann Termine von Mitgliedern bearbeiten
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 15:47:47 +02:00
Maaxxs
e810a58577 Members: cards without characters say that the profile is not set up yet
Asked for: a visual sign in the member list whether someone has set up their profile - variant A of the proposals
(a hint where the characters would be).

- members.php: a card without characters shows a dashed gold hint instead of the empty spot - "Profil noch nicht
  eingerichtet" while the whole profile page is empty, "Noch keine Charaktere" when it already has something else
  (Über mich, a visible gallery picture or a gear set shown on the profile; one UNION query, empty on error like
  the characters). Grid and list view.
- style.css: .member-profile-missing - a pill on one line; in narrow cards (phones) it wraps into a rounded box with
  the icon on the first line.
- Patch note and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 19:26:30 +02:00
Maaxxs
9eb340684e Consilium: only accounts with consilium.view see it - normal legion members see nothing of it
Asked for: normal members must not see anything of the alliances - not the alliance member list, not their
calendar entries - and the alliance things out of the patch notes.

- consilium_can_view() is now consilium.view only (before: every legion member). Normal members get no menu entry,
  no Consilium page, no member-list tab, no Consilium raids (raids page, dashboard, calendar) and no share button
  or Consilium hints on the map (tactics_api.php: consilium flag and consilium_share need consilium.view).
- Calendar: Consilium entries only with consilium.view - calendar_can_view(), the iCal subscription, the "Für wen?"
  option and the moderation queue and its counter.
- member.php: profiles of allied members only for those who see the Consilium.
- Allies no longer counted in legion lists: Lumipunkte rank on the dashboard, premade invite candidates, class
  counts on the professions page.
- Map: normal members in a shared session see guests like other participants, without 🤝 and legion.
- Patch note about the Consilium removed; permission description updated (schema 70); admin setup hint and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 02:14:44 +02:00
Maaxxs
342301b082 Consilium: guests see only their shared tactic and go back to the session list when the share ends
Asked for: when the share for the Consilium ends, everyone from the Consilium is sent back to the live overview
(so far only the live view ended and the map stayed open); during the session they may not switch maps or see the
categories - really only the tactic.

- map_frame.php: Consilium guests get the map viewer only for a running shared session (?karte=...&taktik=...),
  otherwise the whole page goes back to the session list; the viewer gets LUMINA_GUEST.
- Viewer guest mode (body.guest-mode): no map picker, no markers or categories (not even loaded), no location
  sharing, no tactic list - only the tactic of the session (tactics_api.php ?taktik=).
- When the share ends (relay event, tactic gone, no ticket), TacticController.endGuestSession() sends the top page
  to map.php?beendet=stopped|ended with a note why; the page around the map also checks every 15 s.
- Calendar: no location picker for guests, meeting points are plain text for them (map_link_html()).
- README, patch note text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 02:04:24 +02:00
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
Maaxxs
719dc82fb5 Wiki: pictures open in the large view on click; the editor previews the page as it will look
Asked for: "wenn man eingebundene bilder anklickt, maximiert werden (Großansicht)" and "im editor eine Vorschau
haben. damit ich sehe wie es dann am ende aussieht".

- assets/js/lightbox.js: event delegation for containers with data-lightbox-images - every picture in a wiki page
  opens the gallery's large view, paging through all pictures of the page with the alt text as caption; a picture
  that is itself a link keeps following the link. wiki.php loads it for the page content.
- wiki_edit.php / assets/js/wiki-editor.js: view switch "Schreiben" / "Nebeneinander" / "Vorschau" (side by side is
  hidden below 900 px). The preview shows the page as the wiki will: same width next to a note instead of the table
  of contents, with path, number (new pages get the next free one), title and WIP mark from the form.
- 'eye' icon, styles, patch note, README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 01:36:30 +02:00
Maaxxs
27470d0fd7 Accounts: whoever leaves the Discord server is deactivated; on return the account waits for approval again
Asked for: "wenn ein mitglied die legion verlässt, soll das benutzerprofil deaktiviert werden" - decided: leaving the
Discord server (also kick or ban) counts as leaving the legion; a returning member goes back to "Wartet auf
Freischaltung".

- includes/discord_auth.php: discord_member_left() disables active/pending accounts (status disabled, users.left_server_at,
  session_epoch + 1, Discord groups removed, log entry "Automatisch (...)"); developers stay untouched.
  discord_member_returned() puts such accounts back to pending (left_server_at cleared); accounts disabled by hand
  stay locked. discord_live_check() calls both, so the session check and "Jetzt mit Discord abgleichen" deactivate too.
- bot_api.php for the new bot cog (cogs/legion_members.py): member_left, member_joined, legion_accounts (Discord IDs of
  active/pending accounts) and legion_sync (the ones the bot misses on the server). Other guilds are ignored; a sync
  that would disable more than half of the accounts is refused with a warning in the log (at most once a day).
- discord_callback.php: a Discord login of a returned member puts the account back to pending instead of "gesperrt".
- includes/auth.php: logout message says the account was deactivated.
- Admin: users list shows "Discord verlassen am ...", the user form a hint; setting the status by hand clears the mark.
- Schema version 67 (users.left_server_at); account deletion clears it.
- Privacy page (automatic deactivation, bot sync), patch note, README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 23:30:37 +02:00
Maaxxs
6e486b07ef Uploads: pictures no longer arrive black when the browser cannot shrink them (Firefox)
Asked for: a member's 4K screenshot (7.8 MB) arrived as a black picture in the gallery and as portrait - with Firefox;
the same file worked for others.

- assets/js/image-resize.js: the shrunken picture is checked before sending. The canvas is tested for readback first
  (fingerprinting protection returns placeholders), the result is sampled, and the encoded blob is decoded again. An
  empty, invisible or single-colour result gets a second try via WebGL, otherwise the original goes to the server,
  which shrinks it itself. The old code sent a 12 KB black JPEG in these cases.
- Transparent pictures stay PNG (as JPEG the transparent parts turned black). A broken alpha channel (almost all
  transparent, but a whole picture underneath - some games save screenshots like that) is read without the alpha
  channel through WebGL, since a 2D canvas loses the colours at transparent spots.
- includes/functions.php: store_uploaded_image() makes pictures with a broken alpha channel opaque before resampling
  (image_alpha_is_broken(), GD colorize with alpha -127) and, with $rejectBlank, refuses completely black or
  invisible pictures with a hint to try another browser (image_is_blank()); profile_store_upload() uses it for
  gallery, portraits, character pictures, backgrounds and premade banners.
- "Das Bild ist zu groß" names the webspace limit (upload_max_filesize, php_ini_bytes()).
- Patch note and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 23:17:37 +02:00
Maaxxs
9fe7b4d1db Members: ranks keep their tag in the rank view, also a group with its own section like Brigadegeneral
Asked for (Gurkenking via Discord): "bei mir gerne auch briga anzeigen, wie bei anderen auch tribun etc".

- members.php: sorted by rank, the list still hides the tags of groups with their own section, except groups that
  are also a rank (roles.rank_order) - those show their tag like Tribun or Centurio. Other sort orders and the
  profile pages show all tags as before.
- admin/roles.php: the Rangordnung now offers every group, also those with their own section in the member list
  (e.g. Brigadegeneral as the highest rank); the help text explains the tags. admin/role_form.php: the hint at
  "Reihenfolge in der Mitgliederliste" says the tag drops in the rank view unless the group is a rank.
- Takes effect once Brigadegeneral is added under Berechtigungsgruppen -> Rangordnung.
- Leadership patch note and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 22:40:27 +02:00
Maaxxs
406b7643cd Calendar: personal iCal subscription for Google, Outlook and Apple with the raids and entries you can sign up for
Asked for: Damaskar's proposal (iCalendar/webcal feed with a personal token URL in the profile, "Feed-URL neu
generieren", token blocked when a member leaves or is banned) - "da soll man aber nur die synchronisiert werden für
die man sich auch anmelden kann".

- calendar_feed.php + includes/calendar_feed.php: calendar_feed.php?t=<48 hex> returns an .ics (RFC 5545, UTC, folded
  lines, ETag/304) without login, also in maintenance mode. Content = what you can sign up for: active raids
  (raids.view + linked Discord) with your own state (signed up with class and group, bench, declined, invite pending),
  archived ones only if you were in; member entries where "Bin dabei" is possible (audience rules of
  calendar_audience.php), your own and joined ones. Past entries stay 90 days if you took part. No bot event
  reminders and no names of other members; TRANSP busy/free by participation.
- New table calendar_feeds (one per account, schema version 66): token in plain text so the profile can show it
  again, looked up by its SHA-256; bound to users.session_epoch like "Angemeldet bleiben" (forced logout, lock and
  deletion request invalidate it). Unknown address 404; invalid address, locked account or no rights 403; leaving the
  Discord server (checked at most hourly via discord_live_check) deletes the feed; 60 fetches per hour and feed
  (audit log entry); bot down 503 so the apps keep their last state. No lockout per IP - shared fetchers like Google
  would be hit by stale addresses.
- profile.php: "Kalender-Abo" panel - set up, copy, one-click links for Google Kalender, Outlook and webcal, manual
  steps per app, last fetch with the app type, new address / end subscription with confirmation; calendar.php links
  to it.
- Privacy page, data export (kalender_abo without the address), account deletion, patch note and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 14:11:43 +02:00
Maaxxs
42e3fede77 Premades: overview grouped by lead, collapsed by default; leads and their premades in the leadership's order
Asked for: "baue ein, dass die Premade-Übersicht in Web bei der Standardsortierung gestaffelt aufgereiht wird nach
nutzer. standartmäßig ist alles eingeklappt ... reihenfolge der benutzer und den premaids innerhalb des benutzers
können wir frei konfigurieren".

- premades.php: without a chosen sort, one collapsible row per lead (<details class="premade-group">: avatar, name,
  number of premades and how many have a free slot, "Du bist dabei" for own premades, open applications for those who
  decide on them), premades without a lead in their own group "Ohne Lead". With a sort chip the cards stand flat in
  #premade-list as before.
- includes/premade_order.php: premade_order_groups() groups by lead; new table premade_lead_order (Discord ID of the
  lead, 0 = without lead; schema version 65) next to premade_options.sort_order. Leads and premades without a place
  stand at the end. premade_action.php "order" saves lead_order[] and order[] (log entry lead by lead).
- Editor "Standard-Reihenfolge festlegen": nested list, leads with their premades below; assets/js/tag-order.js now
  orders every list of a form on its own (arrows, drag & drop), the roles page works as before.
- assets/js/premades.js: open groups are remembered in sessionStorage (premades-open) only for reloads (live update,
  after an action on the page, back/forward) - a new visit shows everything collapsed. The search opens the groups with
  hits and hides the others, afterwards the own state returns. Links to a premade (#premade-5, also the bot's
  "Bewerbung ansehen") open its group. assets/js/live.js ignores details with data-live-restore, so an open group
  does not block the automatic reload.
- Live fingerprint, data reset and account deletion include premade_lead_order; privacy page lists premades-open;
  patch note and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 02:37:17 +02:00
Maaxxs
5c986aac7a Gear planner: autosave gets its own rate limit; patch notes about the legion dues removed
Asked for: "was machen wir bezüglich des Aktionslimit ... wenn man den gearplaner nutzt stößt man schnell an das
limit" and "lösche alle patchnotes in bezug auf legionsbeiträge".

- includes/security.php: the gear planner saves every change at once (save_slot, save_skills, save_plan,
  save_macro in gear_action.php) - clicking through a Daevanion board or levelling skills filled the general limit
  of 120 actions in 5 minutes, and then nothing worked on the whole site for minutes. These actions now count in
  their own bucket "gear" with 1,200 in 5 minutes (SECURITY_GEAR_AUTOSAVE) and no longer against "post"; hitting
  it only pauses the planner (429 with a message in its status line, log entry "Tempolimit erreicht").
- includes/patchnotes.php: entry for the gear planner; the entries "Legionsbeiträge" (2026-09-26-h) and
  "Erinnerung an den Legionsbeitrag" (2026-09-27-e) are deleted.
- README: the limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 01:57:22 +02:00
Maaxxs
a7efc668f7 Premades: members may lead up to three premades instead of one
Asked for: "das limit für leitung in einer premade soll bei standard leuten von 1 auf 3 gehoben werden".

- includes/raids_api.php: PREMADE_LEAD_MAX = 3 and premade_may_lead_another() - fewer than three led premades, or
  premades.lead_multiple for any number.
- premade_action.php: founding (for oneself or by the leadership with a lead) and "Leitung übertragen" use it; for
  a transfer the website tells the bot allow_multiple_lead, since the bot only knows "no other" or "any".
- premades.php: founding form, lead picker and transfer candidates follow the same rule; texts name the limit.
- premades.lead_multiple now means more than three (description in includes/permissions.php, synced on the next
  page view). Patch notes and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 01:43:04 +02:00
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
Maaxxs
1c673a86f1 Premades: find players on the page, and a standard order the leadership sets by drag and drop
Asked for: "füge noch ein, dass man nach nutzern suchen kann" and "es soll zusätzlich eine standard sortierung
geben, da ist dann oben bei der sortierung nichts angewählt. diese standard sortierung kann von der gildenleitung
angepasst werden per drag und drop was die reihenfolge angeht".

- Search (premades.php, assets/js/premades.js): a search field above the sort chips finds players by the shown
  name, website and Discord name and the names of their characters (lead, members, reserve, open invitations)
  and premades by their name. Premades without a match are hidden; found players get a gold frame while the
  other places of the card step back (the gold lead would look like a hit otherwise). The term stays in the
  address (?q=) so it survives a reload; count and an empty note like on the raid page.
- Standard order (includes/premade_order.php): premade_options.sort_order per premade, schema version 63. The
  leadership (premades.manage) arranges it below the chips under "Standard-Reihenfolge festlegen" with the same
  list as the tag order (assets/js/tag-order.js: handle, arrows, unsaved note). premade_action.php "order" keeps
  premades founded meanwhile at the end, drops dissolved ones and logs before/after. Premades without a place
  follow in founding order. The server delivers the page in this order (own premades still first), each card
  carries data-sort-default.
- Sorting: no chip is active by default any more - then the standard order applies, and a second click on the
  active chip goes back to it.
- Live updates also watch sort_order, the data reset area mentions the order. Patch notes and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 00:56:11 +02:00
Maaxxs
867e1cd7fd Premades: the page can be sorted by founding, name, free places or members
Asked for: "baue bei der premaids seite eine sortierung ein".

- premades.php: chips above the list (from two premades on, hidden without JavaScript) - Älteste (founding
  order, as the server sends it), Neueste, Name, Freie Plätze (most free places in the group first, then a free
  reserve place) and Mitglieder (biggest first). Each card carries data-sort-name/-members/-free/-reserve and
  data-mine; the cards now sit in #premade-list.
- assets/js/premades.js: sorts the cards, the own premades (lead or member) stay on top in every order. The
  choice is kept in localStorage (lumina_premades_sort). After an action the page jumps to a premade
  (#premade-5) that may stand elsewhere after sorting, so a fresh navigation scrolls to it again; on a reload
  (also by the live updates) the browser restores the position.
- Privacy policy lists the new browser key, patch notes and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 00:39:37 +02:00
Maaxxs
1c0109264a Premades: apply for a place in the group or on the reserve, leads accept or decline on the website
Asked for: "füge ein, dass man sich für premaids auch bewerben kann" - every premade with a free place takes
applications unless its lead switches them off, and the bot sends DMs (a new application to the lead, a decline
to the applicant). Later: "man soll sich auch auf reserveplätze bewerben können".

- includes/premade_applications.php: the applications live on the website (premade_applications: premade ID and
  name, lead at that time, applicant, class, wished place group/reserve, message, status open/accepted/declined/
  withdrawn/closed, reason, who decided when; premade_options.applications_open). Rules: one open application
  per premade, at most 3 open in total, 7 days pause after a decline by the same premade, none while invited,
  when full or switched off. premade_applications_sync() matches them with the bot: applications of dissolved
  premades are closed, whoever is in the premade by now counts as accepted, name and lead stay current,
  decisions expire after 30 days.
- premades.php: "Bewerben" under every other premade with a free place. The popup asks for the place (group or
  reserve, taken places greyed out; the group is preselected unless it is full), the class (main preselected)
  and an optional message. "Meine Bewerbungen" lists the own ones with the answer for 14 days, withdrawing
  works there and on the card. Leads and the leadership (premades.manage) see open applications on the card,
  also outside the edit mode, with a "Reserve" tag and a confirmation that names the place; their number shows
  at the menu item "Premades" (premades without a lead count for the leadership). The edit mode switches
  applications off and on.
- premade_action.php: apply (checks the rules and the chosen place again), withdraw, application_accept (the
  bot puts the applicant on the wished place, on the other one if it was taken meanwhile; an open invitation
  becomes the membership on its place), application_decline (optional reason), applications_toggle. An
  invitation to someone with an open application carries its class, also when accepted in Discord.
  Dissolving a premade closes its applications, a new lead takes over the open ones.
- includes/raids_api.php: add_premade_member() passes the wished place and returns the place the bot gave;
  premade_free_slots().
- Bot (already deployed, with a backup): POST /api/premades/{id}/applications sends the DMs (to the lead with
  place, class, message and a link to the card; to the applicant with the reason), POST /members with source
  "application" tells the applicant where they ended up and, when the leadership accepted, the lead;
  add_premade_member() takes the wished place. If the bot cannot send a DM, the application is stored anyway.
- Live updates of the page and the menu number, schema version 62 (tables also in sql/schema.sql).
- Privacy: privacy policy (what is stored, who sees it, for how long), data export section premade_bewerbungen,
  account deletion, data reset area "Premade-Bewerbungen".
- Patch notes and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 00:25:13 +02:00
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
Maaxxs
247dad4cf4 Gear planner: macro entries point to a key of the skill bar, like in the game
Reported in the bug tracker: "Es stehen die einzelnen Skills zur Auswahl. Das ist so falsch. Richtig kann
man lediglich die Schnellzugriffstaste auswählen." In Aion 2 a macro entry chains buttons, not skills: it
points to a slot of the skill bar, and when the macro gets there, the game uses the skills stacked on that
slot (rows 0-3) one after another.

- Skill bar per skill preset (includes/gear_macro.php): the 12 slots of the game with their default keys
  (GEAR_MACRO_KEYS: 1-8, Q, E, left and right mouse button, in three groups of four) and up to
  GEAR_MACRO_KEY_ROWS = 4 active or stigma skills per key in rows 0-3 (row 0 is the one the bar shows).
  Drawn like the skill window: one column per key with rows 3 to 0 and the key below; on narrow screens
  (container query) two lines of six keys.
- A click on a field opens the skill picker below the bar: place, replace (a skill already on the key
  swaps rows), use earlier/later, remove. Skills that are already on a key carry its label. "Leiste von
  Preset N übernehmen" copies the bar of another preset (asks first if the bar is not empty). Without
  JavaScript the field submits cell=Key:Row and the page comes back with the picker open.
- Macro entries are {"k": key, "d": delay}. "Makro hinzufügen" and the icon of an entry open the key
  picker (the 12 keys with their row 0 skill and "+N" for the stacked ones, empty keys disabled). An entry
  shows the key, the row 0 skill and "dann ..." with the other skills of the key; "Als Text kopieren"
  writes each key with all its skills.
- gear_action.php save_macro: entries from key[] and delay[], new ops slot, unslot, slotup, slotdown and
  copybar; skills of other classes drop off the bar with a note.
- Stored in gear_set_plans "macro" as presets + bars. Macros from before (entries with a skill "s") are
  converted when read: each skill goes to the key where it already is in row 0, else to the next free key,
  and is saved that way with the next change.
- Patch notes (with thanks for the report) and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 22:50:09 +02:00
Maaxxs
03597f14ad Raidplaner: tactics on the maps of all dungeons and raids, with tokens that move from step to step
Asked for in Discord: "raidplan.io bitte einbauen für die harten Dungeons". raidplan.io has no Aion 2
(only WoW, FFXIV, Lost Ark, New World), so the map tactics got what it offers.

- Dungeon maps: the in-game map textures of 11 expeditions, 7 transcendence dungeons, the 3 sanctuaries
  (Ludra, Corroded Decontamination Facility, Chalice of Muspel), the 6 awakening towers and 3
  subjugations, as published by the DPS meter Waffle-ens/waffle_meter (dotnet/Assets/Maps, pinned
  commit). assets/map/dungeons/dungeons.json is kept by hand: groups, slugs (= tactics.map_slug),
  German names from the Global client (aion2.app), KR/TW-only dungeons marked as unavailable, boss
  hints for the awakening towers. scripts/download_dungeon_maps.py fetches the images, writes
  dungeons/<slug>.webp (2048 px, about 3 MB in total, in Git) and the previews, and finds the dungeon
  area (bounds) by comparing each map with the shared background of all maps. Two empty arenas
  (round, square) are drawn in code.
- Viewer: image maps and arenas next to the tile maps (MapView.drawImageMap/drawArena, half zoom
  steps, opens fitted to the dungeon beside the tactic panel), map picker with the tabs "Welt" and
  "Dungeons & Raids", each area remembers its last map, no category panel without markers. The mouse
  wheel zooms to the cursor.
- New page raidplan.php ("Raidplaner" in the menu, map.view) = map.php started in the dungeon area.
  Location links on dungeon maps point to /raidplan.php and are recognized in texts and by the
  calendar picker.
- Tokens (shape type 'token', TokenIcons.js): classes, roles, players 1-8, markers A-D and symbols,
  boss, add, danger, stack, spread, tower, orb, bomb. Colour and size come from the toolbar, numbers
  and letters count up while placing, tokens are drawn above areas. Server whitelist
  TACTIC_TOKEN_ICONS.
- Move tool (✥) with label/delete actions above the selected shape, double click and Del; new action
  shape_update in tactics_api.php (points and label, same permissions, snapshot before). Undo also
  reverts moves and labels. Rectangle and cone tools, saved as areas.
- Step transitions: tactic_shapes.ref is kept by "Kopie dieses Schritts", tactic copies and restores
  (existing shapes get s<id>), so the same shape glides to its new place when stepping or playing;
  play button (and space) runs through all steps. 🔗 copies a link to the tactic and step
  (?taktik=&schritt=), which opens it after loading.
- Live view: the bot relay only knows the old shape types and events, so placing tokens and moving
  send "changed" and the others reload - no bot deploy needed.
- Schema version 60 (tactic_shapes.icon, .ref, enum 'token'; also in sql/schema.sql), tour step on the
  dashboard, patch notes and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 12:45:00 +02:00
Maaxxs
525bd0d4b5 Gear planner: sets can be shared by link or build code and imported as your own
Asked for: share a build with a link or build code, and an import tool that takes such a code.

- "Teilen" on an own set creates a link (gear.php?build=CODE) and the same code as build code: 10
  characters without 0/O and 1/I/L, shown as K7QX2-M9FRT, stored in gear_sets.share_code (schema
  version 59, unique; also in sql/schema.sql). Whoever opens it sees the set even if it is not on the
  profile, always in its current state; the session remembers the code so tabs, slots and compare
  work, and a renewed or withdrawn code ends that access. "Neuen Code erzeugen" and "Nicht mehr
  teilen" invalidate the old one. The dialog reopens after creating (#teilen) with copy buttons.
- "Build importieren" on "Meine Sets" takes the code (with or without dash, any case) or the whole
  link; viewing someone else's set (shared or on the profile) offers "In meine Sets übernehmen".
  Both copy the set with gear, skills, macros and all planner pages via gear_set_copy() (also used
  by "Kopieren" now); the copy is neither shared nor on the profile. Errors reopen the dialog (#import).
- Members only (gear.view). Opening any page without being logged in now brings you back to it after
  the login (auth_login_return_target) - only for page views in the browser, not for background
  requests like live updates or autosave.
- Privacy policy (shared sets), patch notes and README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 01:44:52 +02:00