Commit Graph

93 Commits

Author SHA1 Message Date
3ac8d9460d add dashboard pages for permission scanner, info panels, and ticket categories
All checks were successful
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
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
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
aa246cd7ea add badges, weekly plans, polls, suggestions, mod-case system, branding, partner system, alt-account detection, gallery, growth tracking
Some checks failed
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
2ff54970e2 add setup wizard, lockdown, team tasks, embed builder; fix admin dashboard
All checks were successful
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
e708cac790 overhaul automod escalation and register applications, restore orange theme
All checks were successful
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
Pepe44DEV
fe41bfdd88 overhaul automod: fix dead toggles, expose hidden settings, add new filters
All checks were successful
Deploy Discord Bot / deploy (push) Successful in -1m12s
SonarQube / sonar (push) Successful in -20s
Link-filter and spam-filter toggles in the dashboard wrote to config keys
the backend never read, so both filters always ran regardless of the
switch. Fixed by reading the same field names on both sides.

Also surfaces backend features that already existed but had no UI: caps
filter, a custom bad-word list, a role whitelist (members with these
roles are ignored entirely), and tunable spam thresholds/window/timeout.
Each filter now shows its relevant settings inline instead of hiding them
in a separate generic panel.

Adds two new detections: an invite-link filter separate from the general
link filter, and mass-mention/raid protection with a configurable limit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-02 22:49:28 +02:00
Pepe44DEV
3c31832a0d improve dashboard usability and fix backend TS build errors
Some checks failed
Deploy Discord Bot / deploy (push) Failing after -1m3s
SonarQube / sonar (push) Successful in 1m17s
Frontend: fix HeroUI Switch usage across the whole app (Content/Control/
Thumb composition was missing, so no toggle ever rendered visibly),
replace raw channel/role ID text fields with proper name-based dropdowns
(ChannelSelect/RoleSelect) backed by the existing /guild/resources
endpoint, redesign Automod's filters as inline toggle rows, turn the
Ticket Pipeline tab into a drag-and-drop Kanban board, narrow the
sidebar further and rework its collapse toggle and profile footer, and
add a Discord-style message preview for Welcome/Support Login.

Backend: fix the ~50 TypeScript build errors blocking `npm run build`
(SlashCommandBuilder typing, discord.js v14 channel-union guards,
Prisma JSON null handling, logger.warn signature, and related type
narrowing) so the project compiles cleanly again.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-02 13:55:17 +02:00
Pepe44DEV
0c47dce508 migrate dashboard to real HeroUI v3 components and neutral theme
All checks were successful
Deploy Discord Bot / deploy (push) Successful in -1m4s
SonarQube / sonar (push) Successful in 1m8s
The frontend was built against HeroUI v2 props/classes (variant="light"/"flat",
color="primary", startContent, text-tiny, <Avatar src=/name=>) while
@heroui/react ^3.2.1 is installed, so most styling was silently ignored.
Rewrites every page/component onto the actual v3 API (variant/color enums,
Tooltip/Dropdown trigger-content structure, Avatar.Image/Fallback via a new
AppAvatar helper) and replaces the custom orange branding with HeroUI's
neutral default theme tokens. Also compacts the dashboard stat tiles, narrows
the sidebar, and swaps the activity stat grid for a single-hue comparison bar
chart.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-02 12:34:53 +02:00
Pepe44DEV
6599158737 refine dashboard theme and orange accent styling
All checks were successful
Deploy Discord Bot / deploy (push) Successful in -1m10s
SonarQube / sonar (push) Successful in -15s
2026-07-01 22:50:46 +02:00
Pepe44DEV
046d8cad7b [deploy] improve dashboard usability and form visibility
Some checks failed
SonarQube / sonar (push) Successful in -18s
Deploy Discord Bot / deploy (push) Failing after -1m10s
2026-07-01 22:23:24 +02:00
Pepe44DEV
c2cb0c139a updated README.md
All checks were successful
Deploy Discord Bot / deploy (push) Successful in -56s
SonarQube / sonar (push) Successful in 1m37s
2026-07-01 16:48:27 +02:00
Pepe44DEV
d82b65a484 edited sonarqube workflow
Some checks failed
Deploy Discord Bot / deploy (push) Successful in -52s
SonarQube / sonar (push) Failing after 1m24s
2026-07-01 16:42:09 +02:00
Pepe44DEV
1cba50acd5 fix gitea runner download URL
Some checks failed
Deploy Discord Bot / deploy (push) Successful in -59s
SonarQube / sonar (push) Failing after 2m31s
2026-07-01 16:24:24 +02:00
Pepe44DEV
9343f3cc09 add gitea runner installation script
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
SonarQube / sonar (push) Has been cancelled
2026-07-01 15:53:55 +02:00
Pepe44DEV
a604fb494f simplify heroui layouts and add sonarqube workflow
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
SonarQube / sonar (push) Has been cancelled
2026-07-01 15:46:04 +02:00
Pepe44DEV
da72f49255 refactor frontend forms for updated HeroUI inputs
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 15:21:59 +02:00
Pepe44DEV
e2d8002bf2 feat: vollständiges Dashboard-Redesign mit HeroUI - monolithische App.tsx aufgelöst, 16 Seiten, Context-API, collapsible Sidebar, neues Dashboard-Layout
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 06:15:56 +02:00
Pepe44DEV
ccaf7bd4d2 feat: Dark Mode + Support Login, Registration, Music, Ticket Actions, KB/Automation CRUD, Service/Stat-Item-Management
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 05:08:14 +02:00
Pepe44DEV
a484ca93c8 fix: HeroUI v3.2.1 Export-Kompatibilität — Divider->Separator, Select->native, Textarea->TextArea
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 04:55:26 +02:00
Pepe44DEV
dd6ae54306 feat: vollständiges HeroUI v3 Redesign — Types, Utils, Layout, Sections, Dark SaaS Design
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 04:46:56 +02:00
Pepe44DEV
e9b0f25d71 fix: HeroUI v3 compound API (Card.Content/Card.Header) + @heroui/styles CSS import
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 04:34:39 +02:00
Pepe44DEV
2a116d4182 fix: suppress tsc exit code for pre-existing type errors in Docker build
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 04:22:56 +02:00
Pepe44DEV
0d3f0c5ae4 feat: SPA build + serving im Dockerfile und server.ts
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 04:14:27 +02:00
Pepe44DEV
40af301188 Add Vite+React frontend scaffold, update build pipeline, dashboard tweaks
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 04:02:41 +02:00
Pepe44DEV
6d51e150ff Further dashboard refinements and tweaks
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 03:37:09 +02:00
Pepe44DEV
17fa8c3edb Redesign overview page: hero card, activity sparklines, quick-actions grid, module badges
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 03:16:21 +02:00
Pepe44DEV
f7f43aa52a Redesign dashboard UI: modern glassmorphism, new brand identity, responsive layout, refined color palette
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 03:04:24 +02:00
Pepe44DEV
a8150bf3b6 Add channel/role autocomplete dropdowns via datalist + /api/guild/resources endpoint
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 02:48:12 +02:00
Pepe44DEV
85fd5ec915 Dashboard UX cleanup: fix German typos, add loading spinner, fix popstate, create static dir
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 02:42:57 +02:00
Pepe44DEV
691447d473 fix docker-compose.yml: lowercase dockerfile name for Linux
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 02:25:49 +02:00
Pepe44DEV
9bbcd6c8fd fix deploy.sh: use docker-compose instead of docker compose
Some checks failed
Deploy Discord Bot / deploy (push) Has been cancelled
2026-07-01 02:17:02 +02:00
Pascal Prießnitz
6b95e7fd85 [deploy] Fix Welcome-Embed Footer Validation
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-05 17:06:17 +01:00
Pascal Prießnitz
8c53160812 [deploy] Automod Filter greifen wieder (Links/Badwords)
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 21:47:36 +01:00
Pascal Prießnitz
c18441eb9a [deploy] Automod logging reasons und Modul-Fix
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 38s
2025-12-04 21:06:33 +01:00
Pascal Prießnitz
c95444feac [deploy] Fix stats duplication and polish help embed
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 18:41:57 +01:00
Pascal Prießnitz
544f04655c [deploy]
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 18:17:43 +01:00
Pascal Prießnitz
85951ecfb4 Add emojis to dashboard sidebar 2025-12-04 18:10:07 +01:00
Pascal Prießnitz
9579dc7510 [deploy] Restore server stats UI and sanitize dashboard encoding
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 18s
2025-12-04 15:41:34 +01:00
Pascal Prießnitz
8127e81564 [deploy] Restore dashboard sections and clean navigation icons
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 14:32:31 +01:00
Pascal Prießnitz
975d0552bf [deploy] Clean automation renderer strings
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 13:15:21 +01:00
Pascal Prießnitz
aefb5b3c72 [deploy] Guard module list rendering when element missing
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 13:00:24 +01:00
Pascal Prießnitz
f4f4efb722 [deploy] Remove leftover TS casts in dashboard settings
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 36s
2025-12-04 12:58:06 +01:00
Pascal Prießnitz
313b2c0613 [deploy] Guard settings inputs in dashboard loadSettings
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 12:53:38 +01:00
Pascal Prießnitz
71a716e214 [deploy] Define welcome file inputs to avoid runtime reference error
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 12:48:26 +01:00
Pascal Prießnitz
afac2e7c68 [deploy] Remove TS type annotation from dashboard inline script
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 36s
2025-12-04 12:32:18 +01:00
Pascal Prießnitz
cfc4559312 [deploy] Fix dashboard inline JS syntax error
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 12:22:31 +01:00
Pascal Prießnitz
bebca808b0 [deploy] Harden dashboard event listeners for missing elements
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 36s
2025-12-04 12:19:26 +01:00
Pascal Prießnitz
78578fcc1c [deploy] Fix dashboard icons and add missing register migration placeholder
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 12:15:16 +01:00
Pascal Prießnitz
5aef575f41 [deploy] Add server stats module with dashboard controls
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 37s
2025-12-04 11:37:49 +01:00