Commit Graph

1855 Commits

Author SHA1 Message Date
Aleksander Machniak
5208400bcd Fix handling of message/rfc822 parts that are small and are multipart structures with a single part (#8458) 2022-03-08 19:53:09 +01:00
Aleksander Machniak
78b3049ce5 Fix PHPDoc 2022-02-18 19:19:07 +01:00
Aleksander Machniak
00c5a585db FIx PHP8 warnings (#8437) 2022-02-07 14:33:21 +01:00
Arkadiusz Miśkiewicz
03e8c51c7f Fix regression in showing attachments (#8425). (#8430)
a5c2b4360c started initializing
$this->got_html_part always but this check wasn't updated.
2022-01-31 18:09:34 +01:00
Aleksander Machniak
e38d4e1eac Fix setting HTML mode on reply/forward of a signed message (#8405)
Simplify and unify has_html_part() and has_text_part() methods.
2022-01-30 09:17:45 +01:00
Aleksander Machniak
06b6089767 Fix handling of RFC2231-encoded attachment names inside of a message/rfc822 part (#8418) 2022-01-29 10:16:48 +01:00
Aleksander Machniak
819afeff29 Fix a couple of PHP8 warnings (#8420) 2022-01-29 08:35:50 +01:00
Aleksander Machniak
ac9b91f4c7 Strip HTML tags in URL logged with an error 2022-01-23 09:43:01 +01:00
Aleksander Machniak
f546d7216c Fix setting HTML mode on reply/forward of a signed message (#8405) 2022-01-22 15:31:26 +01:00
Aleksander Machniak
ca5ba9550f Fix bug where small message/rfc822 parts could not be decoded (#8408) 2022-01-22 09:43:01 +01:00
Aleksander Machniak
f429b26810 Fix various PHP8 warnings (#8392) 2022-01-11 19:04:24 +01:00
Aleksander Machniak
a5fd211712 Improve/Fix wrapping of plain text messages on preview and reply (#6974, #8391, #8378, #8289)
In short, we always wrap, but we detect patches/diffs in the text and make them unwrappable.
2022-01-09 16:29:09 +01:00
Aleksander Machniak
953be4bbe1 Fix so PHP warnings are ignored when resizing a malformed image attachment (#8387) 2022-01-08 09:16:43 +01:00
Aleksander Machniak
751abb6119 Fix PHP Warning: Undefined array key "value" on PHP8 (#8382) 2022-01-08 08:32:34 +01:00
Aleksander Machniak
693b7f0ecb Security: Fix cross-site scripting (XSS) via HTML messages with malicious CSS content 2021-12-29 19:02:43 +01:00
Aleksander Machniak
41d1873f38 Fix in_array_nocase() regression 2021-12-17 18:58:13 +01:00
Aleksander Machniak
c331431521 Fix some PHP8 compatibility issues (#8363) 2021-12-17 18:54:37 +01:00
Aleksander Machniak
7b81a71393 Don't use TLS by default (#8359)
Also unify the common code with a new rcube_utils::parse_host_uri() method
2021-12-11 09:52:23 +01:00
Aleksander Machniak
893216cb29 Unified and simplified services connection options (#8310) 2021-12-07 15:07:54 +01:00
Aleksander Machniak
688320b4c6 readBytes() never returns null 2021-11-29 09:59:44 +01:00
Aleksander Machniak
74b89fffde Improve performance of fetching mail bodies
Read response in 1MB chunks, instead of lines.
2021-11-29 09:30:05 +01:00
Aleksander Machniak
3fd9e2faf6 Small improvements to rcube_charset::detect() 2021-11-27 09:38:38 +01:00
Aleksander Machniak
bbde830be2 Improve precision of charset detection on vCard import 2021-11-27 09:26:21 +01:00
Aleksander Machniak
9871b04b13 Fix an infinite loop when parsing environment variables with float/integer values (#8293) 2021-11-06 15:08:49 +01:00
Aleksander Machniak
6f7e19b2f0 Fix fetching headers of multiple message parts at once in rcube_imap_generic::fetchMIMEHeaders() (#8282) 2021-11-03 08:16:52 +01:00
Aleksander Machniak
b987892524 Fix openssl_encrypt() warning on PHP 7.3 2021-10-29 16:14:32 +02:00
Aleksander Machniak
e00795b48b Add workaround for the HTML5 parser performance issue, remove the size limit 2021-10-29 11:01:58 +02:00
Aleksander Machniak
13da16b36f Fix charset conversion errors on PHP < 8 for charsets not supported by mbstring (#8252) 2021-10-28 14:09:29 +02:00
Aleksander Machniak
a9e096e87f Fix database initialization if db_prefix is a schema prefix (#8221) 2021-10-24 12:07:54 +02:00
Aleksander Machniak
6e5bbf2e55 Fix PHP8 warning 2021-10-23 09:29:19 +02:00
Aleksander Machniak
c2fc0b64c4 Fix bug where new messages were not added to the list on refresh if skip_deleted=true (#8234) 2021-10-23 09:25:20 +02:00
Aleksander Machniak
2536e847d5 Fix one more warning 2021-10-21 19:54:41 +02:00
Aleksander Machniak
38f519659c Fix some PHP8 warnings (#8239) 2021-10-21 19:52:04 +02:00
Aleksander Machniak
263003d006 Fix importing contacts with no email address (#8227) 2021-10-19 15:25:49 +02:00
Aleksander Machniak
c445e19484 Fix security issues regarding server name and trusted_host_patterns setting 2021-10-17 10:59:54 +02:00
Aleksander Machniak
df7d8f1178 Improve auto-wrapping of plain text messages on preview and reply (#6974)
- fix auto-wrapping of some specific cases
- do not auto-wrap non-format=flowed content on preview
- do not auto-wrap content on reply
2021-10-15 10:44:02 +02:00
Aleksander Machniak
9c6979f17a Fix PHP8 warnings 2021-10-09 17:23:02 +02:00
Aleksander Machniak
81cc8ac0e0 Purge also subfolders of Trash (and/or messages in them) on logout (#1037) 2021-10-09 16:55:28 +02:00
Aleksander Machniak
318d6d0859 Simplify code according to the minimum PHP version supported 2021-10-05 19:29:57 +02:00
Thomas Bruederli
2a055b7e14 Bring back spell.roundcube.net as integrated spelling service but disable by default (#8182)
This partially reverts commit 92757f5543.
2021-10-04 22:14:00 +02:00
Aleksander Machniak
6ed101f5e1 Add support for encryption with AEAD ciphers, e.g. aes-256-gcm (#7097) 2021-10-04 19:22:34 +02:00
Aleksander Machniak
48fbf110af SQLite: Use foreign keys, require SQLite >= 3.6.19 (#8159) 2021-10-03 12:10:14 +02:00
Aleksander Machniak
626332d42a Don't use is_resource() where not needed 2021-10-02 08:40:56 +02:00
Chris Osgood
af2ccbdac9 SMTP: If requested use TLS also without authentication (#4590) (#8111)
This fixes the long-standing issue where STARTTLS would only be issued if user
authorization was done.
2021-09-29 19:56:47 +02:00
Aleksander Machniak
800832612c Fix PHP8 warning 2021-09-22 11:38:46 +02:00
Aleksander Machniak
f2688ba492 Use ?? operator where applicable 2021-09-21 19:12:06 +02:00
Aleksander Machniak
63056eb803 Fix PHP8 warnings (#8175) 2021-09-11 08:59:15 +02:00
Aleksander Machniak
1de93a8f46 Add tests for spellchecker enchant driver 2021-08-30 19:41:55 +02:00
Aleksander Machniak
98a84a5527 Fix PHP8.1 warnings 2021-08-29 18:39:50 +02:00
Aleksander Machniak
4d233b5c65 Fix strpos(): empty needle warning (#8184) 2021-08-29 18:27:06 +02:00