Commit Graph

75 Commits

Author SHA1 Message Date
Aleksander Machniak
d340f18295 Fix display issues with mail subject that contains line-breaks (#7191) 2020-01-25 08:44:46 +01:00
Aleksander Machniak
1376b5a647 Fix bug where message parts with no Content-Disposition header and no name were not listed on attachments list (#7117) 2020-01-18 18:31:06 +01:00
Aleksander Machniak
66fab8cdb2 CS fixes, Avoid usused variables, fixed minor bugs 2019-10-05 19:44:39 +02:00
Aleksander Machniak
e7ebff56df PHPDoc fixes 2019-09-30 20:43:07 +02:00
Aleksander Machniak
1afa46d28d PHPDoc and CS fixes 2019-08-25 14:15:09 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
7b203cbc52 Fix bug where a message/rfc822 part without a filename wasn't listed on the attachments list (#6494) 2018-10-26 08:30:58 +02:00
Aleksander Machniak
5cdb54221f Fix listing the same attachment multiple times on forwarded messages 2018-09-01 09:47:25 +02:00
Aleksander Machniak
5e3868eb10 Fix so attachment without Content-ID is not an inline attachment (#5905) 2018-06-07 07:29:46 +02:00
Aleksander Machniak
71eec07d25 Fix regression where some non-inline attachments could be not listed (#6291) 2018-05-18 17:58:22 +02:00
Aleksander Machniak
8a6a9e86ae Fix handling of forwarded messages inside of a TNEF message (#5632) 2018-04-14 18:33:09 +02:00
Aleksander Machniak
fa3eb6813f Ignore rewind() warnings (#5950) 2017-09-16 08:57:34 +02:00
Aleksander Machniak
cdcbad1879 Handle inline images also inside multipart/mixed messages (#5905) 2017-09-05 11:09:26 +02:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Aleksander Machniak
fa32c2c471 Plugin API: Call message_part_structure hook for sub-parts of multipart/alternative message (#5678) 2017-03-06 11:35:09 +01:00
Aleksander Machniak
81f67a4de2 Don't use each() deprecated in PHP 7.2 2017-02-06 15:46:18 +01:00
Aleksander Machniak
dfd19206a4 sizeof() -> count() 2017-02-06 13:49:29 +01:00
Aleksander Machniak
9a2264ba0e Fix regression where messages with no text part (but e.g. application/zip) were not displayed as an attachment (#5357) 2016-07-15 09:47:07 +02:00
Aleksander Machniak
e8b6e726f6 Add message menu with viewsource and edit actions in message/rfc822 preview 2016-03-26 14:02:57 +01:00
Aleksander Machniak
ce3105c58f Reply/Reply-All/Forward/Change-format buttons for message/rfc822 preview 2016-03-24 17:07:31 +01:00
Aleksander Machniak
323fa20bc8 Message/rfc822 attachment preview (#5054) 2016-03-23 16:54:31 +01:00
Thomas Bruederli
4a408843b0 Protect download urls against CSRF using unique request tokens (#1490642)
Send X-Frame-Options headers with every HTTP response
2016-03-06 14:31:07 +01:00
Aleksander Machniak
4c0cb96a48 Enigma: Fix missing html/plain switch on multipart/signed messages (#1490649) 2016-02-07 13:30:48 +01:00
Aleksander Machniak
be346095a0 Fix handling of message/rfc822 attachments on replies and forwards (#1490607) 2015-12-17 09:12:06 +01:00
Thomas Bruederli
f7f75ff7d1 Unify detection of pgp/mime message part 2015-09-10 21:56:40 +02:00
Aleksander Machniak
63e7937d02 Change so rcube_message class does not depend on $_GET parameters 2015-09-10 08:53:11 +02:00
Aleksander Machniak
93e64008a6 Small code improvements 2015-08-05 09:30:51 +02:00
Aleksander Machniak
b92a66b3ee Make has_(html|text)_part and first_(html|text)_part methods consistent in arguments and functionality 2015-06-17 07:01:25 -04:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
59d11dce33 Small code improvement 2015-05-20 09:51:11 +02:00
Aleksander Machniak
5b737d9f8d Fix bug where some unrelated attachments in multipart/related message were not listed (#1490355) 2015-04-17 11:05:06 +02:00
Aleksander Machniak
d61d668b64 Remove useless code 2015-04-08 08:57:21 +02:00
Aleksander Machniak
292292df32 Fix so unrecognized TNEF attachments are displayed on the list of attachments (#1490351) 2015-04-08 08:56:42 +02:00
Aleksander Machniak
98e4614b0d Fix so text/calendar parts are listed as attachments even if not marked as such (#1490325) 2015-04-06 13:10:06 +02:00
Aleksander Machniak
9af8e22b8e Plugin API: added message_part_body hook, fixes around message structure handling by plugins 2015-03-08 10:51:19 +01:00
Thomas Bruederli
ef29153a32 Improve display of pgp/mime and s/mime messges. Reverts commit f4154d91 2015-01-16 16:13:15 +01:00
Aleksander Machniak
9e4246d957 Code improvements and fixes (mostly unused variables and methods) 2014-11-16 14:04:53 +01:00
Aleksander Machniak
2883fcba2b Move TNEF decoder class to the Roundcube Framework (#1490055)
So, for now all dependencies of the Framework can be installed
with composer and we need only lib/Roundcube folder.
des.inc was never required and is less important since we do
encryption using openssl or mcrypt extensions.
2014-11-04 15:28:27 +01:00
Aleksander Machniak
d93019125c Allways call rcube_imap::set_folder() before rcube_imap::get_message_part() 2014-10-28 07:20:00 -04:00
Aleksander Machniak
68c41f1dff Fix regresion that caused double charset conversion in some messages (#1490121) 2014-10-28 09:06:29 +01:00
Aleksander Machniak
2da8300fb7 Correctly detect charset of attachment names in TNEF messages 2014-10-26 09:34:24 +01:00
Aleksander Machniak
2268aa676d Fix handling of uuencoded messages if messages_cache is enabled (#1490108) 2014-10-22 19:02:23 +02:00
Aleksander Machniak
48ba4414b3 Fix download of attachments that are part of TNEF message (#1490091)
Rcube_message_part::body content should never be modified by code out of the rcube_message.
Added convenient rcube_message::get_part_body() method, making rcube_message::get_part_content() deprecated.
2014-10-22 14:29:44 +02:00
Thomas Bruederli
188247894f Make multi-folder message identifiers work with folders containing commas 2014-04-08 19:11:12 +02:00
Thomas Bruederli
1d1fdcbf8c Fix splitting message identifiers into UID and folder values 2014-04-08 11:32:51 +02:00
Thomas Bruederli
e8cb51669a More fixes for multi-folder search (#1485234) 2014-04-07 16:24:37 +02:00
Thomas Bruederli
f8101fff1e Accept text/html parts inside multipart/mixed parts as HTML contents 2013-11-15 18:58:32 +01:00
Thomas Bruederli
596301c10b Reset $part_orig_mimetype variable in for-loop. This avoids attachments along with message/rfc822 parts being listed twice 2013-11-14 20:11:13 +01:00
Aleksander Machniak
5a2d2a6f75 Fix HTML part detection when encapsulated inside multipart/signed (#1489372) 2013-10-14 08:53:34 +02:00
Aleksander Machniak
170702fd13 We've encountered (malformed) messages with more than
one text/plain or text/html part here. There's no way to choose
which one is better, so we'll display first of them and add
others as attachments (#1489358)
2013-09-27 14:42:46 +02:00