Commit Graph

216 Commits

Author SHA1 Message Date
Aleksander Machniak
0485275a75 Merge branch 'dev/drop-legacy-browsers' 2016-08-20 10:50:54 +02:00
Aleksander Machniak
94f8ce3334 Make html::parse_attrib_string() more robust
Fixes PHP Error: Expression parse error on: ($app->config->get('preview_pane',rcube_utils::get_boolean('')) == true ? ' checked=checked' : ')
2016-08-12 10:37:40 +02:00
Aleksander Machniak
829442a4cd Removed legacy_browsr plugin 2016-08-04 08:48:20 +02:00
Aleksander Machniak
dcabc1d814 Merge remote-tracking branch 'upstream/master'
Conflicts:
	tests/Framework/Washtml.php
2016-07-31 09:26:19 +02:00
Aleksander Machniak
906cf101c3 Better time handling in rcube_utils::clean_datestr() 2016-07-29 12:40:15 +02:00
Aleksander Machniak
ed35267b9b Managesieve: Fix parsing of vacation date-time with non-default date_format (#5372)
Added new method rcube_utils::format_datestr() to convert date_format date
into ISO date format.
2016-07-29 05:42:18 -04:00
Aleksander Machniak
d91bad5975 Fix handling of blockquote tags with mixed case on html2text conversion (#5363) 2016-07-21 16:47:47 +02:00
Aleksander Machniak
bf5b3072c4 Fix MathML test on older PHP versions 2016-07-18 11:19:53 +02:00
Aleksander Machniak
edfd9da42a Support MathML in HTML message preview (#5182) 2016-07-17 11:15:37 +02:00
Aleksander Machniak
6737e293bb Wash position:fixed style in HTML mail for better security (#5264) 2016-05-29 17:09:41 +02:00
Aleksander Machniak
afd090672c Small performance optimization 2016-05-08 11:52:54 +02:00
Aleksander Machniak
ca9ad75d96 Add some more tests for HREF attribute washing 2016-05-08 10:06:24 +02:00
Aleksander Machniak
6652367d65 Fix XSS issue in href attribute on area tag (#5240, #5241) 2016-05-06 08:28:15 +02:00
Aleksander Machniak
a0f38f5fd8 Small code style improvements 2016-04-12 13:46:30 +02:00
Aleksander Machniak
e8ab3d96bd Fix converting mail addresses with @www. into mailto links (#5197) 2016-04-12 11:53:04 +02:00
Aleksander Machniak
ed1d212ae2 Improved SVG cleanup code 2016-01-16 09:03:51 +01:00
Aleksander Machniak
cbe701ac4a Fix rcube_utils::words_match() to work with mixed/invalid/binary content (T844) 2015-11-18 13:27:00 +01:00
Aleksander Machniak
9234903287 Fix HTML sanitizer to skip <!-- node type X --> in output (#1490583) 2015-11-05 08:46:43 +01:00
Aleksander Machniak
26086981a2 Improve randomness of security tokens (#1490529) 2015-09-08 17:38:19 +02:00
Aleksander Machniak
a63f14ec40 Emoticons-related code refactoring
- Emoticons: All emoticons-related functionality is handled by the plugin now
- Emoticons: Added option to switch on/off emoticons in compose editor (#1485732)
- Emoticons: Added option to switch on/off emoticons in plain text messages
- Plugin API: Added disabled_plugins an disabled_buttons options in html_editor hook
- Plugin API: Added html2text hook
2015-08-29 07:52:57 +02:00
Aleksander Machniak
7a42173a16 Simplify rcube_utils::check_ip() 2015-08-13 09:04:19 +02:00
Aleksander Machniak
f4c512336d Fix "washing" of style elements wrapped into many lines 2015-08-10 10:17:05 +02:00
Aleksander Machniak
1b39d9a6c7 PHP7: Fixed some E_WARNING errors that previously were E_STRICT 2015-08-08 09:32:24 +02:00
Aleksander Machniak
1b8ca08e5b Added GSSAPI/Kerberos authentication plugin - krb_authentication 2015-08-06 13:23:50 +02:00
Aleksander Machniak
2d73205ec8 Skip rcube_ldap_generic test if Net_LDAP3 is not available 2015-08-02 11:32:41 +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
25c8fe4eeb Fix handling of non-break spaces in html to text conversion (#1490436) 2015-06-17 14:03:13 +02:00
Aleksander Machniak
ff40683404 Fix so links with href == content aren't added to links list on html to text conversion (#1490434) 2015-06-17 09:30:44 +02:00
Thomas Bruederli
c5ca818118 Adapt washtml test to pass with different versions of iconv (i.e. on CentOS7) 2015-06-04 17:06:45 +02:00
Thomas Bruederli
7eefdc8149 Adapt charset cleanup tests to pass with different versions of iconv propucing slightyl different output 2015-06-01 13:43:54 +02:00
Thomas Bruederli
9311fea09b Add utility functiion to get an elemet's text content also when running tests in PhantomJS 2015-05-26 13:55:39 +02:00
Aleksander Machniak
3994b3a26c Installer: Use openssl_random_pseudo_bytes() (if available) to generate des_key (#1490402) 2015-05-23 09:42:11 +02:00
Thomas Bruederli
68ca963319 Use the right syntax for group assignments 2015-05-19 19:16:17 +02:00
Thomas Bruederli
b5f64294a8 Tag more tests with @mbstring 2015-05-19 19:14:37 +02:00
Thomas Bruederli
0bfc862283 Specify test groups for inclusion/exclusion 2015-05-19 18:53:50 +02:00
Aleksander Machniak
c4ad7edd53 Fix font artifacts in text2html conversion (#1490353)
Use white-space:nowrap elements instead of unicode word-joiner character
2015-05-19 10:54:16 +02:00
Thomas Bruederli
91f2171e85 Use the right properties from rcube_db::parse_dsn() result 2015-05-13 17:19:45 +02:00
Thomas Bruederli
2fece8372e Allow selenium tests to use explicit login credentials 2015-05-13 17:14:16 +02:00
Thomas Bruederli
0d4d43375c Support tests running with an sqlite database 2015-05-12 16:43:22 +02:00
Thomas Bruederli
28b1cb04b6 Add more utility functions to prepare the IMAP account used for testing 2015-05-11 14:37:30 +02:00
Thomas Bruederli
f7c5f44ffb Populate IMAP test account with sample message and test its listing in Selenium tests 2015-05-07 17:42:18 +02:00
Aleksander Machniak
389f70996c Skip some tests on PHP 5.3.3 2015-05-05 10:37:19 -04:00
Aleksander Machniak
f7565da34b Add some more tests for rcube_charset::clean() 2015-05-05 16:01:45 +02:00
Aleksander Machniak
eb58b6c537 Fix failing rcube_utils::strtotime() test if system timezone was different than expected 2015-05-05 12:40:17 +02:00
Aleksander Machniak
d86ff98339 Fix font artifact in Google Chrome on Windows (#1490353) 2015-04-09 15:55:30 +02:00
Aleksander Machniak
53cbebf8ad Fix handling spaces after <br> on html2text conversion 2015-04-09 10:11:00 +02:00
Aleksander Machniak
496972bf95 Fix backtick character handling in sql queries (#1490312) 2015-03-12 09:44:31 +01: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
786aa0725e Fix XSS issue in style attribute handling (#1490227) 2015-01-13 09:41:41 +01:00