Commit Graph

10 Commits

Author SHA1 Message Date
cb2576fc37
Empty resource loader for messageview
MessageView does not currently load external resources (QTextBrowser by
default interprets all external resources as local file names and tries
to load them like that. This can, in the future, be implemented. For
example, if SOCKS (Tor) is used, the resource could be loaded through
the SOCKS too.

This commit is a skeleton for it that does not actually do anything and
can be filled with an implementation that does the loading.
2016-03-01 09:24:14 +08:00
375ff7128d
Clickable email and http links in plain text
Email addresses and URIs are now clickable when viewing a message in
plain text mode. Clicking an email address moves to the Send tab, while
clicking an URI has the same result as clicking an URI in html mode, it
will ask for confirmation before opening it in external handler.
2016-02-29 07:47:48 +08:00
2f7a386aaf
HTML parser updates
HTML parser wasn't correctly handling img tags.
Now it also by defaults disabled external schemas to prevent
deanonymisation (even though the renderer actually doesn't support
external schemas at the moment)

Addresses #178
2016-02-25 17:14:24 +08:00
mailchuck
550de529fc
Zooming info percent based an single step
Zooming in message body view / compose works in single steps
irrespective of wheel sensitivity, and info about zoom level is
displayed in percent rather than font pixel size.
2016-01-23 09:55:24 +01:00
mailchuck
d09efca9f0
Clicks in empty message shouldn't produce an error 2016-01-10 17:46:26 +01:00
mailchuck
376b755acc
Allow zooming of message body
Uses default system zoom settings (Ctrl-Wheel).
Fixes #163
2016-01-04 11:13:45 +01:00
mailchuck
0c817755f2
Link follow warning
The message box should be a warning rather than a simple question.
2015-12-15 11:12:09 +01:00
mailchuck
3bc09f3c9f
Lazy rendering of message contents
Message will render as user is scrolling down. This prevents interface
freezes on long messages (such as inline img in text mode). Fixes
Bitmessage##366

Also a minor fix in text mode rendering.
2015-12-15 03:51:38 +01:00
mailchuck
66569fc893
Message has safe link opening
Links in message body (if in HTML mode) now open, but it asks for a
confirmation in a dialog box.

Fixes #27
2015-12-15 01:24:26 +01:00
mailchuck
ca4ab87f7d
HTML detector and switcher
HTML messages are detected and if present, the top of the message
textedit displays a clickable area that switches HTML rendering on and
off.

Fixes #13
2015-12-14 19:49:02 +01:00