Repository navigation
NotifyTrap v1.2.0
Added
- Email Viewport Switcher & Dark Client Simulation:
- Added Desktop, Tablet (
768px), and Mobile (375px) preview width controls above the sandboxed HTML email viewer (EmailInspectorView.vue). - Added an opt-in Dark Client simulator (
emailSandbox.ts) inverting light-coded HTML email canvases while preserving photo luminance without loosening the strict zero-network offline CSP (script-src 'none',connect-src 'none').
- Added Desktop, Tablet (
- Inline
cid:Image Hydration & Safe Attachment Preview/Download:- Updated backend HTML sanitization (
html_sanitizer.rs) to preserve sanitizedcid:inline image references while still blocking externalhttp://andhttps://tracking pixels. - Added Tauri command
get_notification_attachmentreturning base64-encoded MIME attachment bytes scoped by attachment ID. - Added inline
cid:data:URI resolution in HTML previews (attachmentPreview.ts), safe raster-image (PNG/JPEG/WEBP/GIF) and syntax-highlighted text (TXT/CSV/JSON/HTML/XML) preview modal (EmailAttachmentModal.vue), SVG XSS exclusion, and local file downloads.
- Updated backend HTML sanitization (
- Offline Email Audit & Diagnostics Tab:
- Added deterministic offline checks (
emailAudit.ts) reporting payload size (> 100 KBGmail clipping warning), subject presence, multipart plain-text fallback coverage, missing imagealtattributes, blocked remote tracking pixels, unresolvedcid:references, relative/empty links, andList-Unsubscribeheader presence.
- Added deterministic offline checks (
- SMS GSM-7 / UCS-2 Segment Counter & Push Device Previews:
- Added accurate SMS encoding detection and segment calculation (
smsAnalyzer.ts: GSM-7 basic + extension septet counting with160/153split limits andUCS-2UTF-1670/67limits) alongside a mobile SMS message preview (SmsInspectorView.vue). - Added iOS, Android, and Web Push lock-screen / desktop notification card mockups (
PushInspectorView.vue).
- Added accurate SMS encoding detection and segment calculation (
- Notification Diff Viewer:
- Added Compare modal (
NotificationDiffModal.vue) and LCS line-diff engine (textDiff.ts) comparing formatted payloads, raw payloads, or metadata across captured notifications.
- Added Compare modal (
- Bilingual & Quality Coverage:
- Added full
en(LTR) andfa(RTL) translations for all Inspector Pro tools, audit findings, and diff modes. - Added unit tests (
tests/phase2InspectorPro.spec.ts) and Rust sanitizercid:unit tests.
- Added full
Cross-platform desktop installers for Linux (.deb, .rpm, .AppImage), Windows (.exe, .msi), and macOS (.dmg), plus signed updater artifacts.