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 )
5 years ago
Aleksander Machniak
e7ebff56df
PHPDoc fixes
5 years ago
Aleksander Machniak
b7b2ce7b91
Small code improvement
5 years ago
Aleksander Machniak
f3d16240f2
Fix bug where bmp images couldn't be displayed on some systems ( #6728 )
6 years ago
Aleksander Machniak
e3014de2ce
Simplify code around detected mimetype string
6 years ago
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
6 years ago
Aleksander Machniak
a6c37b7735
Fix broken long filenames when using imap4d server - workaround server bug ( #6048 )
7 years ago
Aleksander Machniak
9a63e40faf
Accept an array as $input argument of decode_address_list()
...
... to support a common case and to prevent from PHP warnings.
8 years ago
dfukagaw28
89a4134064
Add support for DelSp=Yes messages ( #5702 )
8 years ago
ka7
9a35768c26
spelling fixes ( #5690 )
8 years ago
Aleksander Machniak
81f67a4de2
Don't use each() deprecated in PHP 7.2
8 years ago
Jens Carl
de82576134
Add mime type detection under FreeBSD and Apache 2.4 ( #5560 )
8 years ago
Aleksander Machniak
3d0d5dbd0f
Performance improvements in format_flowed() and unfold_flowed()
9 years ago
Aleksander Machniak
7e3298753a
Use ternary operator where aplicable
9 years ago
Aleksander Machniak
a03233ceba
CS fixes
9 years ago
Aleksander Machniak
8447bae77c
Require Mbstring and OpenSSL extensions ( #1490415 ) - remove redundant code
10 years ago
Aleksander Machniak
f7427f151e
Get rid of Mail_mimeDecode package dependency ( #1490416 )
10 years ago
Aleksander Machniak
a958748947
CS fixes
10 years ago
Aleksander Machniak
13e0a6556f
Fix handling of some improper constructs in format=flowed text as per the RFC3676[4.5] ( #1490284 )
10 years ago
Aleksander Machniak
96a7f6cc1b
CS fixes
10 years ago
Aleksander Machniak
f01666a622
Fix handling of email addresses with quoted domain part ( #1490040 )
10 years ago
Thomas Bruederli
d7533442f3
Add default location for mime.types with nginx
10 years ago
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