Commit Graph
6 Commits
Author SHA1 Message Date
Pepe44DEVandClaude Sonnet 5 3ac8d9460d add dashboard pages for permission scanner, info panels, and ticket categories
Deploy Discord Bot / deploy (push) Successful in -1m11s
SonarQube / sonar (push) Successful in 0s
Bring the command-only permission scanner, info panel builder, and ticket
role/template config to the dashboard. Also fixes /settings silently
dropping brandingConfig/partnerConfig/galleryConfig/imageModerationConfig/
ticketConfig/lockdownConfig on save.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-04 01:28:18 +02:00
Pepe44DEVandClaude Sonnet 5 9943254aa4 add permission scanner, info panels, image QR scan, invite tracker, ticket templates
Five new features:
- /permissions scan: audits admin/ban roles, dangerous bot permissions,
  public channels, empty/duplicate/useless roles, too-many-admins warning.
- /panel create: fixed info panels (rules/support/bewerbung/partner/
  rollen/events/faq) with buttons wired into the existing ticket/
  register/partner flows, FAQ panels get a question dropdown.
- Image moderation: QR-code detection in message attachments via jimp+jsqr
  (pure JS, no native build deps) with a small scam-pattern check; opt-in
  toggle in dashboard settings since decoding costs per-message.
- Invite tracker extension: now resolves the inviter (not just the code),
  tracks suspicious joins per invite, and the dashboard growth page gets
  an invite breakdown + recent-joins table.
- Ticket categories: /ticketconfig lets each ticket topic get its own
  ping role and a modal question template shown before the channel is
  created; topics without config behave exactly as before.

Also fixes two rough edges found along the way: the welcome embed had
no way to attach an image despite the backend already supporting it
(added URL/file-upload fields + live preview), and Reaction Roles
required typing raw role IDs into a textarea (replaced with a proper
role picker). Incidentally repairs node_modules/.bin symlinks that were
committed as literal broken shell-script text instead of real symlinks.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-04 00:46:23 +02:00
Pepe44DEVandClaude Sonnet 5 54376fdad7 unify module-active toggle styling and regroup sidebar navigation
Extracts the accent-card toggle from Automod into a shared
ModuleActiveToggle component and applies it to every module's
"aktiv" switch (Statuspage, Dynamic Voice, Server Stats, Birthday,
Welcome) so they all match instead of the plain switch some pages
had. Also regroups the sidebar: Reaction Roles moves to Community
(it's member self-service, not moderation), and a new "Statistiken"
group splits Statuspage/Server Stats/Wachstum out of the catch-all
"Funktionen" section.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-03 23:48:44 +02:00
Pepe44DEVandClaude Sonnet 5 aa246cd7ea add badges, weekly plans, polls, suggestions, mod-case system, branding, partner system, alt-account detection, gallery, growth tracking
Deploy Discord Bot / deploy (push) Failing after -1m12s
SonarQube / sonar (push) Successful in 4s
Two feature batches plus a deploy fix:

Moderation & engagement: persistent ModCase history (retrofits ban/kick/
mute/timeout/tempban to record cases), /warn, /watch watchlist with
automatic alerts on deletions/tickets/automod hits, /case file lookup,
achievement badges (/badges, /profile) with message/streak/ticket/
birthday/event/booster triggers, /weekplan RSVP boards, /poll with
anonymous mode and scheduled auto-close, /suggest with vote/comment/
decide flow.

Branding & growth: /branding (per-guild embed color/logo/footer/bot
name/theme, applied across logging/ticket/register/embed-builder
embeds and the dashboard sidebar/accent color at runtime), two new
/setup server-type presets (Roleplay, Creator), /rules generate
(template-based rule sets), /partner apply/list/config with invite
validation and showcase posting, alt-account suspicion scoring on
join (account age, avatar, name pattern, join bursts, ban-list
similarity), /gallery submit with voting and weekly-winner scheduler,
invite-attributed join/leave tracking with a new Wachstum dashboard
page, and an expanded Admin dashboard (guild list, feature-usage
counters).

Also fixes production: the Docker container never ran `prisma migrate
deploy`, so schema changes never reached the live database. The
compose command now applies pending migrations on every start.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-03 23:15:35 +02:00
Pepe44DEVandClaude Sonnet 5 2ff54970e2 add setup wizard, lockdown, team tasks, embed builder; fix admin dashboard
Deploy Discord Bot / deploy (push) Successful in -1m11s
SonarQube / sonar (push) Successful in -3s
Four new independent features: /setup (guided onboarding wizard for
module/channel/automod-strength config), /lockdown (raid protection with
per-channel permission snapshot/restore and join-kick), /task (staff task
tracker with status buttons + dashboard view), /embed create (modal-driven
embed builder with optional link button). Also fixes the Admin dashboard,
which always showed "-" because loadAdminData() double-wrapped the overview
response and discarded activity data, plus mismatched field names against
adminService's actual shape (guildCount/activeGuilds24/uptimeMs).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-03 01:02:39 +02:00
Pepe44DEVandClaude Sonnet 5 e708cac790 overhaul automod escalation and register applications, restore orange theme
Deploy Discord Bot / deploy (push) Successful in -1m12s
SonarQube / sonar (push) Successful in -21s
Automod: per-filter actions (warn/timeout/kick/ban), channel/role exemptions,
regex/severity badword rules, and a strike/escalation system backed by a new
AutomodStrike table. Register: fixes missing answer labels, adds internal
reviewer notes and cross-form application history for a user, and exposes
form/status filters in the dashboard. Dashboard: overrides HeroUI's default
blue accent token with the bot's established orange (#f97316), which was
lost during the HeroUI v3 migration.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-03 00:21:20 +02:00