Commit Graph

22 Commits

Author SHA1 Message Date
Thomas Bruederli
ddfdd8938d Extend fetched header block to 32K, require one of subjct, from or to headers 2013-04-25 13:01:13 +02:00
Thomas Bruederli
a021d6f187 Skip filename suffix check for embedded images; return blocked.gif instead of HTML warning when embedded (#1489029) 2013-04-10 23:12:23 +02:00
Aleksander Machniak
4fdaa02ac7 Fix handling of invalid characters in message headers and output (#1489032) 2013-04-06 19:28:47 +02:00
Aleksander Machniak
bd698341c4 Remove "HTML message" from attachments list while viewing a message in text mode (#1486939) 2013-04-03 09:17:03 +02:00
Aleksander Machniak
f111423755 Fix storing 'safe' flag on a message. The key for session value should include
folder name. A message with the same UID may exist in another folder.
2013-03-15 10:41:09 +01:00
Aleksander Machniak
0ef894ec29 Fix has_*_part() methods so they return same result no matter what
prefer_html option value is
2013-03-15 09:09:06 +01:00
Aleksander Machniak
574928200f Use $mime_parts not $parts in has_*_part() methods so detection is
correct no matter if prefer_html is enabled or not.
2013-03-14 13:20:28 +01:00
Aleksander Machniak
5c26bd49b1 Added rcube_message::has_text_part(), simplified has_html_part() so it always
works in "recursive mode" - removed $recursive argument.
2013-03-14 12:10:40 +01:00
Aleksander Machniak
567e45ba56 Fix HTML part detection for some specific message structures (#1488992) 2013-03-13 11:03:21 +01:00
Thijs Kinkhorst
8cfba1bb2a Test content_id with isset instead of a true/false value.
This broke html email in which one image had Content-ID: <0>, which is a
valid value but evaulates to false in this test.
2013-03-08 15:28:36 +01:00
Aleksander Machniak
ee89c6dff6 Display notice that message is encrypted also for application/pkcs7-mime messages (#1488526) 2013-03-02 16:13:08 +01:00
Thomas Bruederli
7ae7cdf195 Don't rely on Subject header only 2013-01-18 21:49:51 +01:00
Thomas Bruederli
4f9edbd799 Select 8 KB of message part for headers (to make sure we get them all) 2013-01-14 21:41:02 +01:00
Aleksander Machniak
cb0f030ae9 Support "multipart/relative" as an alias for "multipart/related" type (#1488886) 2012-12-30 13:09:52 +01:00
Aleksander Machniak
be72fb3597 Unified attachments filenames handling for message parts without a filename 2012-12-28 12:40:57 +01:00
Aleksander Machniak
66afd70b75 Framework'ize html2text class 2012-12-26 12:14:34 +01:00
Aleksander Machniak
c23dc87f2b Don't display message parts with unsupported text type, e.g. text/calendar 2012-12-19 13:01:45 +01:00
Aleksander Machniak
c5d7c941aa Add unsupported alternative parts to attachments list (#1488870) 2012-12-19 11:43:52 +01:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Thomas Bruederli
a8a72e2e7e Nicely render headers of message/rfc822 parts 2012-12-10 22:26:45 +01:00
Thomas Bruederli
dff2c713fb Add argument to fetch message parts only partially. Can be used for content mimetype detection without loading the entire file 2012-11-27 16:22:49 +01:00
Aleksander Machniak
ba6f21caeb Framework files moved to lib/Roundcube 2012-11-21 19:52:03 +01:00