Commit Graph

29 Commits (371f7ca443081e6300e7971600b077ede4aec181)

Author SHA1 Message Date
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.
11 years ago
Aleksander Machniak 2b8f033bcb Improvement in handling invalid email address strings 11 years ago
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.
11 years ago
Thomas Bruederli 1ece73dc4e Fix mime.types parsing (#1489391) 11 years ago
Aleksander Machniak 0f15219a93 Fix text wrapping issue with long unwrappable lines (#1489371) 11 years ago
Thomas Bruederli 9e9d62d786 Respect (multiple) config dirs from RCUBE_CONFIG_PATH when reading configured mimetypes mapping 11 years ago
Aleksander Machniak 581a52b615 Fix performance regression in text wrapping function (#1489133) - don't use iconv here 12 years ago
Aleksander Machniak db108e3779 Fix another text wrapping issue (wrong handling of long unwrappable lines) 12 years ago
Aleksander Machniak c16bd50947 Catch warning on is_readable() failure (open_basedir restriction) 12 years ago
Aleksander Machniak fd0fd3b0a0 Fix handling of invalid email addresses in headers (#1489092) 12 years ago
Aleksander Machniak b92ec5c86d Fix bug where multi-level quoting was replaced with one-level quoted text after format=flowed wrapping 12 years ago
Aleksander Machniak 2ce01932fe Fix another text wrap issue (added test case) 12 years ago
Aleksander Machniak d2dff5e865 Fix Reply-To header handling in Reply-All action (#1489037) 12 years ago
Aleksander Machniak 1041aa46da Fix another text wrapping issue 12 years ago
Aleksander Machniak 7439d3ee14 Fix incorrect handling of leading spaces in text wrapping 12 years ago
Aleksander Machniak 99cfba2e26 Add some extension/mimetype aliases to fix some quirks in attachment type validation (#1488891) 12 years ago
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
12 years ago
Aleksander Machniak 02c9c931fe Make mime.types common locations list OS-aware 12 years ago
Aleksander Machniak d8270b66cc Fix wrapping of text lines with the same length as specified length limit 12 years ago
Aleksander Machniak 87a96809c7 Rtrim() quoted lines on conversion to flowed format (according to RFC2646) 12 years ago
Aleksander Machniak 7ebed11b05 More improvements to format=flowed handling + fix in wordwrap() used internally by format_flowed() 12 years ago
Aleksander Machniak aabd628286 Improve format=flowed text unfolding, add test for signature separator handling 12 years ago
Thomas Bruederli 6d41d8fd4b Fix format=flowed unfolding on quoted lines; added tests for rcube_mime::format_flowed() and rcube_mime::unfold_flowed() 12 years ago
Aleksander Machniak d2534c63f2 Cleanup, remove file paths from doc 12 years ago
Thomas Bruederli 3bb75a5cc7 Add default path for mime.types file; map jpg => image/jpeg in fallback list 12 years ago
Thomas Bruederli 0a83971d3e Clarify mime_magic config option; add new function to map mimetypes and filename extensions 12 years ago
Aleksander Machniak a92beb6bdb Define RCUBE_CHARSET in place of RCMAIL_CHARSET for naming consistency 12 years ago
Thomas Bruederli 9be2f43d02 Define more (uniquely prefixed) constants for Roundcube directories in order to enhance the interoperability of the Roundcube framework 12 years ago
Aleksander Machniak ba6f21caeb Framework files moved to lib/Roundcube 12 years ago