Commit Graph

443 Commits

Author SHA1 Message Date
Aleksander Machniak
7a269a2b84 Replace get_input_value() with get_input_string() where appropriate 2021-09-13 19:31:49 +02:00
Aleksander Machniak
97d93e0494 Fix test regression 2021-09-11 09:38:43 +02:00
Aleksander Machniak
c96951c480 Fix test 2021-08-30 21:25:01 +02:00
Aleksander Machniak
e6a8bb28a4 Investigate test issue 2021-08-30 21:19:51 +02:00
Aleksander Machniak
1de93a8f46 Add tests for spellchecker enchant driver 2021-08-30 19:41:55 +02:00
Aleksander Machniak
2668965e67 Fix browser test regarding spellcheck settings 2021-08-29 18:16:38 +02:00
Aleksander Machniak
cd2e531092 Fix spellchecker tests (again) 2021-08-29 17:54:42 +02:00
Aleksander Machniak
81ed20e829 Fix spellchecker tests 2021-08-29 17:47:23 +02:00
Aleksander Machniak
00521bf617 Switch spellcheck tests from googie to pspell 2021-08-29 17:25:30 +02:00
Aleksander Machniak
d7338a4203 Add option to purge deleted mails older than 30, 60 or 90 days (#5493) 2021-08-29 11:06:04 +02:00
Aleksander Machniak
cb37d14c5c Support responses (snippets) in HTML format (#5315) 2021-08-28 19:17:19 +02:00
Aleksander Machniak
2c0db244bc Generate QR-code in svg format if there's xmlwriter extension installed
I think xmlwriter is more likely to be installed than imagick.
The size of the png and svg output is almost identical.
2021-08-28 09:29:03 +02:00
Aleksander Machniak
20533a1d28 GA: Exclude tests connecting to spell.roundcube.net 2021-08-26 08:54:21 +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
9c91580ab5 Browser tests: Force imap reconnection often 2021-08-04 13:02:03 +02:00
Nico Antkowiak
12c7ea581d Add option to control links handling behavior on html to text conversion (#6485)
Co-authored-by: NAN <antkowiak@dionera.com>
2021-08-04 10:37:14 +02:00
Aleksander Machniak
6f435ecb52 Fix fatal error/warning on invalid input to user parameter (#8152)
Added a new utility method: rcube_utils::get_input_string()
2021-08-01 10:31:09 +02:00
Aleksander Machniak
1aa52f89cb Dropped support for strftime-like format (with % sign) in date and time format configuration 2021-08-01 10:11:26 +02:00
Aleksander Machniak
766189f524 Fix PHP 8.1 deprecation warnings 2021-07-31 08:38:47 +02:00
Aleksander Machniak
0d4a395464 Fix PHP 8.1 deprecation warnings 2021-07-31 07:53:14 +02:00
Aleksander Machniak
6fcf15df0b Migrate phpunit.xml from a deprecated schema 2021-07-26 10:32:45 +02:00
Aleksander Machniak
89e54718ca Migration to PHPUnit v9 2021-07-25 11:07:56 +02:00
Aleksander Machniak
a832a6943e Fix converting >1MB of HTML content into plain text (#8137) 2021-07-16 12:37:44 +02:00
Aleksander Machniak
25214753cb Support displaying RTF content (including encapsulated HTML) from a TNEF attachment 2021-07-11 09:31:09 +02:00
Aleksander Machniak
d0eb1eebb8 GA: Skip one flaky browser test 2021-07-10 08:31:44 +02:00
Aleksander Machniak
bafac71432 GA: Ignore some failing browser tests that were also failing on Travis 2021-07-04 10:57:44 +02:00
Sebastian Brückner
1d2ad936a7 Fix parsing aud jwt claim (#8096) 2021-06-11 09:58:06 +02:00
Aleksander Machniak
655e7c7159 Add RFC2231 support to rcube_mime_decode (#7390) 2021-06-05 08:46:16 +02:00
Aleksander Machniak
24fc958f03 Improve template conditionals parsing
The old method with big regexps was buggy as described in #8065.
2021-05-19 19:49:57 +02:00
Aleksander Machniak
7efb2de611 Add test for bug #8065 2021-05-18 19:04:23 +02:00
Aleksander Machniak
de3d901156 Add a copule of test cases 2021-05-14 15:54:30 +02:00
Aleksander Machniak
bc531e4668 Fix various actions on folders with angle brackets in name (#8037) 2021-05-05 17:37:52 +02:00
Aleksander Machniak
df5c9a94c3 Fix test regressions 2021-05-02 12:28:58 +02:00
Aleksander Machniak
4b5e9c10f9 Fix handling of multiple link references with the same index in plain text message (#8021)
Second attempt that should work on all supported PHP versions
2021-04-25 10:57:17 +02:00
Thomas P
0044673e11 Add config options for subject prefixes (#7929) 2021-04-25 09:41:08 +02:00
Aleksander Machniak
dc89e18a0f Revert "Fix handling of multiple link references with the same index in plain text message (#8021)"
This reverts commit 2be7e1cb61.

The code used a PHP>=7.4 feature.
2021-04-25 09:15:05 +02:00
Aleksander Machniak
2be7e1cb61 Fix handling of multiple link references with the same index in plain text message (#8021) 2021-04-25 09:05:51 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
2f42fa2eaf Fix HTML5 parser issue with a messy HTML code from Outlook (#7356) 2021-04-05 10:39:00 +02:00
Aleksander Machniak
f74bc3fd80 Fix bug where invalid non-unicode characters in JSON output could make the UI unresponsive (#7955) 2021-03-27 09:19:18 +01:00
Aleksander Machniak
0df8e97476 Small code improvement + tests 2021-03-22 16:11:38 +01:00
Aleksander Machniak
12562a7b0e Remove redundant code from rcube_charset::clean() 2021-03-22 08:36:19 +01:00
Aleksander Machniak
b913d2fbde Add IDN homograph attack (spoofing) detection [CVE-2019-15237] (#6891) 2021-03-21 09:25:57 +01:00
Aleksander Machniak
5ec509f87e FIX PHP8 fatal error and some warnings (#7931) 2021-03-10 18:24:18 +01:00
Aleksander Machniak
5b8a3e77cc Fix test regression 2021-02-24 15:45:36 +01:00
Aleksander Machniak
9f19b931e3 Fix cross-site scripting (XSS) via HTML messages with malicious CSS content
and improve css parsing code.

Thanks to Mateusz Szymaniec (CERT Polska) for reporting the issue.
2021-02-08 13:42:12 +01: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
d258f845ab Fix PHP8 Fatal error: Uncaught ValueError: mb_convert_encoding() (#7850)
Also, bring back iconv() fallback, it supports much more charsets than mbstring.
2021-01-30 15:51:23 +01:00
johndoh
1eebfd723b Improve detection of external urls for redirect (#7823) 2021-01-23 10:15:09 +01:00
Aleksander Machniak
6a12cb7b67 Remove browser compatibility check
Improved code style, localized some more errors.
Added tests for utils/error action
2021-01-10 11:46:47 +01:00