Skip to content

feat: opt-in Discord log submission from standalone tray - #8

Merged
Refilewski merged 4 commits into
mainfrom
feature/discord-log-report
Oct 18, 2026
Merged

Refilewski merged 4 commits into
mainfrom
feature/discord-log-report

Conversation

@Refilewski

Copy link
Copy Markdown
Owner

What changed

  • Adds Send logs to Discord... to the standalone tray menu.
  • Shows a scrollable, read-only preview and requires pressing Send to Discord; there is no automatic upload.
  • Filters recent diagnostic lines, redacts Windows profile names and common sensitive patterns.
  • Posts through a public HTTPS relay endpoint; the Discord webhook is stored as a secret in Supabase Vault, not hardcoded in the app.
  • HTTPS timeout, friendly error handling and server-side rate limits and payload cap.
  • Includes a non-network sanitizer assertion in standalone smoke test.
  • Documents privacy/security and compatibility. FH2ML DLL is not changed.

Backend

Separate Supabase Edge Function azimuthrpc-log-relay in existing FH2Mods project; limited to 2 per 10 minutes/IP digest, 8 per 24h/IP, and 60 per 24h total. Request body is not stored in Postgres; only IP hashes used for short-lived rate accounting.

Validation

  • Windows CI build + smoke.
  • Live GUI test: preview, cancellation, consent, successful send.
  • Confirm Discord attachment and redaction using non-sensitive sample logs.

Not included: no automatic log sharing, no webhooks inside the executable, no native FH2ML shutdown/network changes, no direct modifications to the pending car-detection PR #5.

@Refilewski
Refilewski merged commit 5927b90 into main Oct 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant