Commit Graph
8 Commits
Author SHA1 Message Date
Andy Dixon 5e731d5d11 Report the client IP nginx forwards, not the Docker bridge
REMOTE_ADDR inside the container is 172.17.0.1. When the peer is a
private or loopback address, use X-Real-IP (or the first hop of
X-Forwarded-For) that nginx sets. Public peers cannot spoof it.
2026-09-12 19:21:13 +01:00
Andy Dixon b3da9fbb25 Render email metadata as real tables and redesign the shell
Metadata blocks were divs styled with display:table. Nested blocks and
orphan cells created phantom columns that squeezed the value column to
a character or two. Every metadata block is now a real <table>/<tr>/<td>,
which mail clients lay out reliably, and the value column always fills
the remaining width.

The shared shell gets a gradient hero header, timestamp pill, dark
frame, and refreshed section, card, and code-block styling.
2026-09-12 18:47:20 +01:00
Andy Dixon c1ec1adf85 Redesign landing page, JSON caller response, shared email shell
- docs.htm: dark single-page redesign in plain CSS, live URL builder,
  all four parsers documented, Bootstrap CDN dependency dropped
- index.php: respond with pretty-printed JSON (success and 400 error);
  email "Parsed Variables" block uses JSON instead of print_r
- parsers/helpers.php: emailShell() provides one stylesheet, header and
  footer for every email template; five duplicated stylesheets removed
2026-09-11 18:23:25 +01:00
Andy Dixon f3f58dbf95 Set webhook email sender identity 2026-09-11 18:10:16 +01:00
Andy Dixon ae3e3f8488 Break parsers into subfolder 2026-01-22 17:18:35 +00:00
Andy Dixon 1d336e4cac Add Webex Interact webhook parser
- Added wxinteractParse() function supporting all SMS API events:
  * Outbound SMS (submitted, delivered, failed)
  * Shortlink clicked
  * Inbound SMS received
  * SMS opt out
  * Contacts callback
- Helper functions for each event type with formatted HTML
- Test samples file for all event types
- Updated README with Webex Interact documentation
- Follows existing parser style and security guidelines
2026-01-22 16:57:55 +00:00
Andy Dixon 861c9dddde Additional Parsers, improve design of email 2026-01-22 16:24:19 +00:00
Andy Dixon 80a89306a3 first commit 2025-11-10 15:35:40 +00:00