Commit graph

7 commits

Author SHA1 Message Date
Simon Ser
b3f98de1da
plugins/viewhtml: add opt-in query param to load remote resources
Loading remote resources by default has privacy implications.
2020-02-25 16:13:10 +01:00
Simon Ser
a8a3c82579
plugins/viewhtml: add image proxy 2020-02-25 15:45:43 +01:00
Simon Ser
8c4fd20e27
Revert "plugins/viewhtml: convert mailto links"
This reverts commit 02faf6174b.

This commit doesn't work, because it's applied to <img> tags. Making it
handle <a> tags doesn't work either because bluemonday will strip any
target="_blank" attributes, making the compose form open in the
<iframe>. Let's just revert this whole commit for now.
2020-02-25 15:37:47 +01:00
Simon Ser
02faf6174b
plugins/viewhtml: convert mailto links 2020-02-25 14:06:10 +01:00
Simon Ser
62660f8d1d
plugins/viewhtml: add support for inline Content-Id images
Closes: https://todo.sr.ht/~sircmpwn/koushin/33
2020-02-25 10:47:38 +01:00
Simon Ser
c3e323161a
plugins/viewhtml: add sanitizer struct 2020-02-25 09:51:57 +01:00
Simon Ser
8299617ebc
Turn message part viewers into plugins 2020-02-12 15:41:00 +01:00
Renamed from plugins/base/sanitize_html.go (Browse further)