Commit Graph

11 Commits

Author SHA1 Message Date
Samuel Georges 7a8867f00b Improve Event log formatting for emails
If an email is seen (Message-ID:) then convert newlines to <br> unless within <html> tags. Also place the contents inside an iframe so the CSS rules don't leech out.
Fixes #3032
2018-08-31 11:09:20 +10:00
Samuel Georges 991f7fc3b8 Fixes styling formatted content as raw
Refs #2390
2016-10-13 06:35:34 +11:00
Dave Shoreman 67e682f4ff Format the formatted tab for mail logs
The default markup is built by the jQuery plugin, meaning the formatted tab just shows raw data.

This checks for a Message-ID: string in the source to identify email logs, and uses the unescaped content of the raw tab to show a formatted email.
2016-09-25 04:10:53 +01:00
Samuel Georges 3499db5e53 Unescaped raw content is an oxymoron 2016-09-25 11:59:03 +10:00
Samuel Georges 45fe9b3e88 Styling improvements to the exception beautifier
Recompile assets
2016-05-28 15:10:29 +10:00
Jérémy Gaulin 69d8449a7d Reverted to HTML source cached fot the popup to prevent select bug 2016-05-27 01:15:28 +02:00
Jérémy Gaulin a888fe6e47 Fix the double-popup animation effect due to bad nesting (#2058) 2016-05-27 08:53:17 +10:00
Jérémy Gaulin c2e621e504 Improved exception beautifier plugin
- Keep the raw message in another tab
- Added a button to show/hide the stacktrace
- Fixes Windows paths
2016-05-25 13:54:09 +02:00
Samuel Georges 30f7c03718 Fixes colorpicker when used inside a popup
Fixes #1145
Refs #1021
2016-05-25 06:37:03 +10:00
Jérémy Gaulin 873ed8b90e Improved exception beautifier plugin. Fix naming conventions. 2016-05-24 04:57:55 +02:00
Jérémy Gaulin 38ec5d109a Javascript plugin to beautify exceptions on the backend event log page (#2035) 2016-05-24 06:03:31 +10:00