Commit Graph

63 Commits

Author SHA1 Message Date
Aleksander Machniak
e2187b8f2d Fix various PHP 8.1 warnings 2021-08-27 16:52:54 +02:00
Aleksander Machniak
b60e6188f3 Fix so addr-spec with missing closing angle bracket can be parsed (#8164) 2021-08-15 10:51:24 +02:00
Aleksander Machniak
0d4a395464 Fix PHP 8.1 deprecation warnings 2021-07-31 07:53:14 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
79b5343563 Fix handling of address groups in email headers by ignoring their names (#7663) 2021-02-06 16:41:50 +01:00
Aleksander Machniak
66ca4f0f72 CS fixes, PHP8 fixes, short array syntax, tests 2020-11-30 14:03:11 +01:00
Aleksander Machniak
0cbe4a4acc PHP8 fixes, CS fixes, short array syntax, added more tests 2020-11-22 12:03:02 +01:00
Aleksander Machniak
bde383d051 PHP8: Fix various issues
for now only these I found by running our unit tests, there will be much more
2020-10-11 10:32:41 +02:00
Aleksander Machniak
a5c2b4360c Fixes in context of undefined variables, and code style 2020-08-15 12:13:31 +02:00
Aleksander Machniak
30610e867e Merge branch 'fix_encode' of https://github.com/shirosaki/roundcubemail into shirosaki-fix_encode
Refactor the new code
2020-06-13 12:53:31 +02:00
Aleksander Machniak
4e00237cc4 Allow opening application/octet-stream attachments according to filename extension (#6821) 2020-06-07 10:45:33 +02:00
Aleksander Machniak
97e6065897 Extract RFC2231 attachment name from message headers (#6729) (#6783)
* Extract RFC2231 attachment name from message headers (#6729)
* Workaround for attachments with invalid content type (e.g. PDF) (#6816)
2020-01-19 18:46:02 +01:00
Hiroshi Shirosaki
d9667295d8 Fix wordwrap with ISO-2022-JP
A message with ISO-2022-JP-MS characters currupts by wordwrap.
Use ISO-2022-JP-MS charset in wordwrap.
Add a unit test.
2019-12-03 17:35:02 +09:00
Aleksander Machniak
e7ebff56df PHPDoc fixes 2019-09-30 20:43:07 +02:00
Aleksander Machniak
b7b2ce7b91 Small code improvement 2019-06-30 11:19:01 +02:00
Aleksander Machniak
f3d16240f2 Fix bug where bmp images couldn't be displayed on some systems (#6728) 2019-05-06 19:57:29 +02:00
Aleksander Machniak
e3014de2ce Simplify code around detected mimetype string 2019-05-06 13:30:09 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
a6c37b7735 Fix broken long filenames when using imap4d server - workaround server bug (#6048) 2017-11-17 14:29:57 +01:00
Aleksander Machniak
9a63e40faf Accept an array as $input argument of decode_address_list()
... to support a common case and to prevent from PHP warnings.
2017-05-23 09:32:26 +02:00
dfukagaw28
89a4134064 Add support for DelSp=Yes messages (#5702) 2017-03-22 08:30:36 +01:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Aleksander Machniak
81f67a4de2 Don't use each() deprecated in PHP 7.2 2017-02-06 15:46:18 +01:00
Jens Carl
de82576134 Add mime type detection under FreeBSD and Apache 2.4 (#5560) 2016-12-13 08:32:13 +01:00
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