Commit graph

291 commits

Author SHA1 Message Date
Maaxxs
5deae39ef7 Gear-Planer Guide: Vorschlaege der Stats-Prioritaet ueber die Spiel-Slots der Gegenstaende (Torso, Necklace …) zuordnen - bisher kamen nur die Manasteine
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 19:26:33 +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
3d31df9adf Gear-Planer Guide: Skill-Setup zeigt die erreichte Stufe samt Boni aus Daevanion und Arcana (wie der Skills-Reiter), Herkunft im Detailfeld
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 19:16:22 +02:00
Maaxxs
6c9bf5667a Gear-Planer Guide: Tasten auch ohne geplante Skills erklaeren - eigener Knopf in "Hotbar & Makro", leerer Kopf nur mit Tasten-Erklaerungen wird zum Hinweis "Erklaere deinen Build"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 19:08:54 +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
188f2e6189 Raids: "wichtig" auch in der Discord-Nachricht (Nezekan: oranger Rand, "WICHTIGER RAID") - Markieren schickt es an den Bot, der Abgleich holt es nach
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 17:38:47 +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
ca451b59d2 Checkliste: woechentlich 7h Abyss
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 19:01:01 +02:00
Maaxxs
ba48b8b12e Karte: Markerdaten immer beim Server nachfragen, damit neue Daten (z. B. Pet-Namen) ohne Neuladen-Trick ankommen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 18:09:57 +02:00
Maaxxs
50f6171452 Karte: Pets zeigen ihren Namen aus dem Spiel (z. B. Kuru Worker) statt Kuerzel wie Kuru 01
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 18:05:15 +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
8574969394 Charakterkarten einheitlich: Hauptcharakter nur noch mit Krone am Namen statt eigenem Rahmen und Abzeichen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 10:42:22 +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
e62d6c7149 Verknuepfte Charakterkarte ist komplett klickbar (oeffnet das Popup), ohne eigenes Portrait zeigt sie das Portrait aus dem Spiel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 10:29:36 +02:00
Maaxxs
cd51e04ca9 Kurzinfo der Live-Daten als ein einziges klickbares Kaestchen statt "Details"-Link
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 10:26:42 +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
e5cf44f4ea Datenschutz: neuer Hoster MC-HOST24 fuer Website und Bots, Postfach weiter bei Living-Bots, Fehlerprotokolle 14 Tage
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
03b8cef5ba Elyos Allianz: versehentlich angelegte eigene Legion entfernt der Abgleich wieder
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:48:44 +02:00
Maaxxs
20a68921aa Benutzerverwaltung: Reiter Legion und Elyos Allianz; Legionsrolle stellt unsere Leute in die Allianz-Liste
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:44:39 +02:00
Maaxxs
dd4c2b4e47 Elyos Allianz: unsere Legion auch bei anders geschriebener Rolle erkennen
Eine Legionsrolle, deren Konten mehrheitlich zur Legion gehören, gilt als Lumina Ascendens und wird
nicht als verbündete Legion angelegt. Mitglieder der Legion bekommen nie eine verbündete Legion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:23:18 +02:00
Maaxxs
156c681542 Elyos Allianz: Legion folgt der Legionsrolle auf Discord (von Siel gemeldet)
Siel meldet über bot_api.php?action=consilium_legions, wer welche Legionsrolle hat. Die
Website ordnet diese Mitglieder ohne Login der passenden Legion zu (neue Legionen werden
angelegt, Lumina Ascendens übergangen). Im Profil und in der Verwaltung ist die Legion
dann gesperrt, bis die Rolle wegfällt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 09:11:07 +02:00
Maaxxs
74fdf2bbf8 Elyos Allianz: Raids, Kanäle und Rollen kommen von Siel
Neue Raids der Elyos Allianz postet Siel (config.php: siel_api), die Website holt die Raids
beider Bots und schickt Anfragen zu einem Raid an den Bot, der ihn gepostet hat. Kanäle und
Rollen des Servers der Elyos Allianz liefert Siel. Premades nur noch bei Legions-Raids.
Ohne siel_api-Block bleibt alles wie vorher bei Nezekan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 07:58:44 +02:00
Maaxxs
3a27c214c6 Elyos Allianz: DACH Elyos heißt jetzt Elyos Allianz, mit eigenem Logo in der Allianz-Ansicht
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 06:41:44 +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
8b59cb503b DACH Elyos: the Consilium Elyseum is now called DACH Elyos across the website
Asked for: "das consilium elyseum wurde umbenannt zu DACH Elyos. pass das bitte an auf der website".

- CONSILIUM_NAME is 'DACH Elyos', and every visible text follows it: sidebar, the alliance page, member tab, raid
  area, calendar audience and badge, iCal note, map live sessions and share buttons, admin pages (Verwaltung ->
  DACH Elyos, Discord-Bot, Berechtigungsgruppen), flash messages, log entries, permission descriptions (synced to
  the database by schema_sync_core_permissions()) and the privacy page.
- The name takes no article, so the sentences around it changed too: "von DACH Elyos", "in DACH Elyos", "für DACH
  Elyos" instead of "des Consiliums", "im Consilium", "für das Consilium". The bot channel label is now
  "Raid-Kanal DACH Elyos".
- Internal names stay "consilium": permission keys, tables, settings, files and URLs (?bereich=consilium,
  ?tab=consilium), so nothing in the database or in existing links changes. includes/consilium.php says so.
- README: section renamed to "DACH Elyos" (anchor #dach-elyos).
- No patch note (alliance topics stay out of them). The bot's two "Consilium" error texts in live_tactics.py never
  reach the page - the map only reads the status code - so the bot needs no update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 14:15:10 +02:00
Maaxxs
db47b1ad2e Consilium: room under the headings, legion rows on one line
Reported: too little space between the headings and the legions (also in the member list), and editing the
legions looked shifted.

- Space between a panel heading and its content on the Consilium page (legions, raids, entries, live sessions)
  and in the member list sections (legion and Consilium tab).
- Legion rows in Verwaltung -> Consilium Elyseum on one line (forms are columns site-wide, the rename button
  wrapped under the field); the member count has a fixed width so all name fields line up. "Legion hinzufügen" and
  the legion choice in the allies' profile on one line as well.
- Empty member list of the Consilium admin page names the Consilium server instead of the old Discord role.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 03:22:43 +02:00
Maaxxs
a62dc8cb25 Developers: Damaskar is a developer of the website too
Asked for: give Damaskar the developer tag. The tag comes with developer status (DEVELOPER_DISCORD_IDS): always all
permissions, account editable only by developers, approved right away at the Discord login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 03:08:41 +02:00
Maaxxs
81274e70d7 Discord sync: wait briefly and retry when Discord rate-limits, and name the real reason when a sync fails
Reported: the manual Discord sync said "Discord war gerade nicht erreichbar". Since the Consilium has its own server,
every sync asks Discord twice in a row (legion and Consilium server), and setting up linked groups triggers extra
syncs - most likely Discord answered 429.

- discord_fetch_member(): on 429 wait retry_after (up to 5 s) and try once more; if Discord still refuses, a clear
  message ("Discord bremst gerade zu viele Abfragen - in N Sekunden noch einmal versuchen").
- discord_live_check() remembers the reason (discord_last_error(), only own messages, no database errors) and writes
  it to the error log; the manual sync in the user form and in the profile show it instead of "nicht erreichbar".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 03:06:18 +02:00
Maaxxs
b96bbd1780 Consilium: own Discord server - its roles decide who sees the Consilium; rights for Consilium raids and entries
Asked for: the alliances move to their own Discord server with the roles Force Commander, Legion Lead, Legion
Officer and Legionär. Decided: everyone with a role there sees the Consilium (our members too), no role per legion
(assignment stays on the website), new accounts are approved by our admins, rights per role as planned, a
permission for Consilium calendar entries that is assigned later. Server ID 1553882046793777283.

- Two Discord servers: settings.consilium_guild_id (seeded, Verwaltung -> Discord-Bot with a check whether the bot
  is there); a group's role lies on one of them (roles.discord_guild_id, NULL = legion, schema 71). Login and the
  periodic sync read both memberships (discord_fetch_memberships/discord_apply_memberships) and sync groups per
  server; name, avatar, joined date and classes come from the legion server, for allies from the Consilium server.
- Leaving: whoever leaves a server loses its groups; an account is deactivated only when it is on neither
  (discord_member_left_guild; bot_api.php takes in_guilds from the bot, the sync checks all servers, older bot
  versions cannot deactivate Consilium members). Logout text no longer names a server.
- Group form lists the roles of both servers, the group list marks Consilium roles; Consilium-Raids channel is
  chosen from the Consilium server's channels.
- Rights per area: consilium.raids / consilium.raids.manage for Consilium raids (create, manage, restore, delete),
  raids.create / raids.manage only for legion raids (raid_area_can_create, raid_area_can_manage_all,
  raid_can_manage asks the raid's area). consilium.calendar: only with it Consilium calendar entries (allies without
  it cannot add entries; legion members with it get "Für wen?" with legion/Consilium).
- Consilium member list: everyone with a role on the Consilium server - our legion as its own section, allied legions,
  without legion - with the Consilium ranks as tags; legion list and profiles leave the Consilium groups out for
  those who do not see the Consilium. Allies pick their class in the profile.
- Consilium admin page: setup checklist for the new structure with the groups of the Consilium server and their
  rights (setup only for roles.manage). Privacy page, README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 02:55:59 +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