Commit graph

7 commits

Author SHA1 Message Date
Maaxxs
944935075a Premade banners: leads give their premade a banner, shown on the card, dashboard and raids
The lead of a premade (or the leadership with premades.manage) picks one of the landscapes or
uploads an own image in edit mode under "Banner" and moves the crop with a slider (live preview).

- Shown on top of the premade card (name on the banner), above the roster under "Meine
  Premade" on the dashboard, and behind the heading of the raid group that carries the
  premade's name (invited premade groups are named after it).
- New table premade_banners (per premade ID of the bot, with the name for the raid groups, the
  choice and the crop; schema 54, also in sql/schema.sql). Own images are member_gallery rows
  with is_background = 1 and the new column premade_id, so they go through the same
  moderation (badge "Premade-Banner"), data export and account deletion as gallery pictures.
  The own profile background and the profile reset ignore banner rows.
- premade_action.php: banner_save, banner_upload, banner_delete_upload; renaming updates the
  name, dissolving removes banner and upload. premade_banners_sync() on premades.php cleans up
  banners of premades that no longer exist. Leadership changes to other premades are logged.
- Live updates of the premades page include banner changes; privacy policy, patch notes and
  README mention the banners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 03:34:24 +02:00
Maaxxs
2a0e5c6fbc Own profile background image, hover borders on buttons, members below profile in the menu
- Profile background: upload an image only for the background (not part of the gallery),
  same moderation as gallery pictures, one per member, replace or delete it
- Hover border on buttons: black on gold buttons, gold on dark ones (dashboard points
  buttons keep their own effect)
- Sidebar: "Mitglieder" directly below "Mein Profil", tour follows the new order

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 09:57:53 +02:00
Maaxxs
9c955af902 Profile page: symmetric boxes and buttons, character level limited to 45
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 09:49:47 +02:00
Maaxxs
905e954118 Profile background selectable; picture page arrows centered, comment field side by side
- Members pick the background of their profile page: 11 landscapes or one of their own approved gallery pictures (users.profile_background, small preview images)
- Picture page: arrows as icons, centered on the image itself (not on image + caption)
- Comment field: avatar next to the input, normal font

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 22:45:34 +02:00
Maaxxs
c869f93152 Map: share locations and pick them for calendar entries
- Map links (/map.php?karte=…&x=…&y=…&zoom=…&ort=…) open the region at that spot with a pin
- "Share location" button on the map: click a spot, optional name, copy the link
- Calendar entries: "Pick location on the map" opens the map in a window, "Use this location" stores the meeting point
- Map links in comments, captions and descriptions render as "📍 Region – Location" and do not count as external links for moderation

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 22:33:26 +02:00
Maaxxs
e4f23fcde4 Audit log, abuse protection, gallery comments with moderation, safe image uploads, 404 page
- Audit log: every admin_log entry is also stored permanently in the database (admin/audit.php, audit.view)
- Rate limits per account, login throttling per IP (not per account), emergency lock after mass deletions, force logout / lock in user management
- Comments under gallery pictures (picture page, report button, owner can disable them)
- Moderation: new members, links, reported content and a "moderate everything" switch go to the approval list (moderation.php)
- Every uploaded image is re-encoded (strips appended code and EXIF data)
- Custom 404 page, also shown for pages without permission

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 21:57:34 +02:00
Maaxxs
5f8b86663f Member profiles with characters and gallery, member list search/filter/sort/view toggle, Discord join date
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 20:45:37 +02:00