Commit graph

3 commits

Author SHA1 Message Date
Rosie Val
fdf41cfcbc GhostWipe report: chronological order, mobile layout, Ruby branding
Messages within each channel now sort oldest-first (history()/purge()
return newest-first, which read backwards). Added a real mobile layout:
below 700px the sidebar stacks above the message view and its channel
list becomes a horizontally-scrolling chip strip instead of a cramped
vertical column. Report title/footer and the Discord log embeds now
carry Ruby branding alongside the GhostWipe module name.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 18:41:36 +01:00
Rosie Val
039e85d65a Fix GhostWipe report: render server-side, embed avatar, cut purge latency
The HTML report was entirely JavaScript-driven — stats/sidebar/messages only
populated from an embedded JSON blob after load. Viewers that don't execute
scripts (or block network access for local files) showed a blank 0/0/0
skeleton even though the purge worked correctly. Now every stat, the channel
list, and every message are rendered directly into the HTML by Python; JS is
only a progressive enhancement for search. Avatar is downloaded and embedded
as a base64 data URI instead of a live CDN link, so it always renders. Also
parallelized archived-thread lookups, skip the rate-limit pause on channels
with nothing to delete, and post an immediate placeholder log message that
gets edited with the final results instead of the channel sitting silent.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 18:32:30 +01:00
Rosie Val
309d0e3ea7 Add GhostWipe cog: auto-purge departing member's messages + HTML audit log
Deletes a member's messages server-wide the moment they leave, are kicked,
or are banned (all fire on_member_remove; audit log classifies which).
Generates a self-contained HTML report with channel-switching, search, and
attachment previews, alongside per-guild config for triggers, exemptions,
scan scope, dry-run mode, and report retention.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 17:52:18 +01:00