Commit Graph

39 Commits

Author SHA1 Message Date
Aleksander Machniak
3d0d5dbd0f Performance improvements in format_flowed() and unfold_flowed() 2016-05-08 14:27:56 +02:00
Aleksander Machniak
7e3298753a Use ternary operator where aplicable 2015-11-14 10:08:07 +01:00
Aleksander Machniak
a03233ceba CS fixes 2015-10-07 09:14:18 +02:00
Aleksander Machniak
8447bae77c Require Mbstring and OpenSSL extensions (#1490415) - remove redundant code 2015-06-28 12:27:48 +02:00
Aleksander Machniak
f7427f151e Get rid of Mail_mimeDecode package dependency (#1490416) 2015-06-27 15:05:17 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
13e0a6556f Fix handling of some improper constructs in format=flowed text as per the RFC3676[4.5] (#1490284) 2015-02-19 16:39:48 +01:00
Aleksander Machniak
96a7f6cc1b CS fixes 2014-11-02 10:57:33 +01:00
Aleksander Machniak
f01666a622 Fix handling of email addresses with quoted domain part (#1490040) 2014-08-21 18:08:26 +02:00
Thomas Bruederli
d7533442f3 Add default location for mime.types with nginx 2014-08-07 08:56:35 +02:00
Aleksander Machniak
eda92ed4c0 Improved display of plain text messages and text to HTML conversion (#1488937)
Now instead of <pre> we use <div class="pre"> styled with monospace
font. We replace whitespace characters with non-breaking spaces where
needed. I.e. plain text is always unwrappable, until it uses format=flowed,
in such a case only flowed paragraphs are wrappable.

Also conversion of text to HTML in compose editor was modified in the same way.
2014-05-11 11:03:45 +02:00
Aleksander Machniak
2b8f033bcb Improvement in handling invalid email address strings 2014-02-23 14:20:43 +01:00
Aleksander Machniak
5140c31064 Remove quotes around addressee name in case they are encoded.
Some clients encode quotes with name using base64/quoted-printable
encoding. Quotes were removed only for unencoded strings. Now also
encoded names are handled this way.
So, recipient/sender strings are displayed without quotes around
and e.g. saving to addressbook does not save these redundant quotes.
2014-01-24 12:36:48 +01:00
Thomas Bruederli
1ece73dc4e Fix mime.types parsing (#1489391) 2013-10-22 20:21:58 +02:00
Aleksander Machniak
0f15219a93 Fix text wrapping issue with long unwrappable lines (#1489371) 2013-10-12 13:03:31 +02:00
Thomas Bruederli
9e9d62d786 Respect (multiple) config dirs from RCUBE_CONFIG_PATH when reading configured mimetypes mapping 2013-09-07 19:16:40 +02:00
Aleksander Machniak
581a52b615 Fix performance regression in text wrapping function (#1489133) - don't use iconv here 2013-05-30 09:19:22 +02:00
Aleksander Machniak
db108e3779 Fix another text wrapping issue (wrong handling of long unwrappable lines) 2013-05-23 08:59:27 +02:00
Aleksander Machniak
c16bd50947 Catch warning on is_readable() failure (open_basedir restriction) 2013-05-22 09:07:14 +02:00
Aleksander Machniak
fd0fd3b0a0 Fix handling of invalid email addresses in headers (#1489092) 2013-05-10 09:35:24 +02:00
Aleksander Machniak
b92ec5c86d Fix bug where multi-level quoting was replaced with one-level quoted text after format=flowed wrapping 2013-05-03 09:26:13 +02:00
Aleksander Machniak
2ce01932fe Fix another text wrap issue (added test case) 2013-05-03 08:24:26 +02:00
Aleksander Machniak
d2dff5e865 Fix Reply-To header handling in Reply-All action (#1489037) 2013-05-01 11:11:39 +02:00
Aleksander Machniak
1041aa46da Fix another text wrapping issue 2013-04-22 10:22:16 +02:00
Aleksander Machniak
7439d3ee14 Fix incorrect handling of leading spaces in text wrapping 2013-04-21 17:08:12 +02:00
Aleksander Machniak
99cfba2e26 Add some extension/mimetype aliases to fix some quirks in attachment type validation (#1488891) 2013-03-24 09:06:29 +01:00
Aleksander Machniak
4f693e9daa Workaround for some versions/systems where finfo_open() with second
argument doesn't do the same as with no 2nd argument as it should
2013-03-20 10:31:37 +01:00
Aleksander Machniak
02c9c931fe Make mime.types common locations list OS-aware 2013-03-19 13:53:49 +01:00
Aleksander Machniak
d8270b66cc Fix wrapping of text lines with the same length as specified length limit 2013-03-18 19:51:32 +01:00
Aleksander Machniak
87a96809c7 Rtrim() quoted lines on conversion to flowed format (according to RFC2646) 2013-01-21 12:00:24 +01:00
Aleksander Machniak
7ebed11b05 More improvements to format=flowed handling + fix in wordwrap() used internally by format_flowed() 2013-01-21 11:56:06 +01:00
Aleksander Machniak
aabd628286 Improve format=flowed text unfolding, add test for signature separator handling 2013-01-21 11:55:57 +01:00
Thomas Bruederli
6d41d8fd4b Fix format=flowed unfolding on quoted lines; added tests for rcube_mime::format_flowed() and rcube_mime::unfold_flowed() 2013-01-18 21:26:18 +01:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Thomas Bruederli
3bb75a5cc7 Add default path for mime.types file; map jpg => image/jpeg in fallback list 2012-12-08 15:36:55 +01:00
Thomas Bruederli
0a83971d3e Clarify mime_magic config option; add new function to map mimetypes and filename extensions 2012-11-27 15:55:42 +01:00
Aleksander Machniak
a92beb6bdb Define RCUBE_CHARSET in place of RCMAIL_CHARSET for naming consistency 2012-11-27 08:43:43 +01:00
Thomas Bruederli
9be2f43d02 Define more (uniquely prefixed) constants for Roundcube directories in order to enhance the interoperability of the Roundcube framework 2012-11-25 17:35:53 +01:00
Aleksander Machniak
ba6f21caeb Framework files moved to lib/Roundcube 2012-11-21 19:52:03 +01:00