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>
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>
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>