Commit Graph

1391 Commits

Author SHA1 Message Date
dsoares
5282cbaff9 Check against trusted_host_patterns in rcube_utils::parse_host() 2017-11-07 14:39:57 +00:00
dsoares
50a9c8f777 Add option trusted_host_patterns 2017-10-21 12:56:47 +01:00
JohnDoh
515d496808 Replace display_version with display_product_info (#5904) 2017-10-21 08:52:03 +02:00
Brendan Braybrook
4574870adc fix: unknown content-disposition type should be treated as attachment (#6002) 2017-10-19 08:38:43 +02:00
Aleksander Machniak
5e08a6ac59 Handle remote stylesheets the same as remote images, ask the user to allow them (#5994)
Fixes the issue where remote stylesheet could have been blocked
if the message contained no remote images and user have no way to
allow that content.
2017-10-13 12:48:13 +02:00
Aleksander Machniak
3196d656db Fix css conflicts in user interface and e-mail content (#5891)
... by adding prefix to element/class identifiers
Also cleaned up some code and removed global variable use.
2017-10-12 10:48:54 +02:00
Aleksander Machniak
403d8453c8 Fix issue caused by non-default session.cookie_lifetime setting (#5961) 2017-10-09 10:22:00 +02:00
Aleksander Machniak
f8fc01b800 Fix so untagged COPYUID responses are also supported according to RFC6851 (#5982) 2017-10-06 09:23:17 +02:00
Aleksander Machniak
5d3add78aa Add Message-ID to the sendmail log (#5871) 2017-10-03 08:49:17 +02:00
Aleksander Machniak
117c150b2f Fix bug where mail search could return empty result on servers without SORT capability (#5973) 2017-10-02 17:49:14 +02:00
Aleksander Machniak
5d16751ed8 Fix (again) bug where image data URIs in css style were treated as evil/remote in mail preview (#5580) 2017-10-01 11:58:11 +02:00
Thomas Bruederli
3723f3f178 Fix rcube_utils::random_bytes() to not throw exception for length=0 2017-09-29 15:35:12 +02:00
Lukas Erlacher
130f0cde3e Add host to IMAP login error
This simplifies debugging authentication failures in multi-host setups.
2017-09-21 11:28:42 +10:00
Aleksander Machniak
72fe97ddfc Fix bug where HTML messages could have been rendered empty on some systems (#5957)
Consistently use $nodeName instead of $tagName property.
2017-09-17 08:44:08 +02:00
Aleksander Machniak
ee6b5e9e58 Fix PHP 7.2 error: count(): Parameter must be an array or an object that implements Countable 2017-09-16 12:52:44 +02:00
Aleksander Machniak
fa3eb6813f Ignore rewind() warnings (#5950) 2017-09-16 08:57:34 +02:00
Aleksander Machniak
7fc626d527 Changed defaults for smtp_user (%u), smtp_pass (%p) and smtp_port (587) 2017-09-06 19:11:55 +02:00
Aleksander Machniak
cdcbad1879 Handle inline images also inside multipart/mixed messages (#5905) 2017-09-05 11:09:26 +02:00
Aleksander Machniak
2d608a799c Fix decoding message/rtf822 part body/size
When e.g. an encrypted message has one of it's sub-parts a part that is message/rfc822
part we need it's body and size, because it will be listed on the attachments list
and also can be downloaded.
2017-08-27 19:20:58 +02:00
Aleksander Machniak
1235dcf321 Encode JSON with JSON_UNESCAPED_SLASHES and JSON_UNESCAPED_UNICODE options 2017-08-22 09:41:44 +02:00
Thomas Bruederli
919338d4ba Escape textarea contents in Washtml 2017-08-18 09:49:54 +02:00
Aleksander Machniak
4a71847c98 Fix bug where last character of a filename extracted from TNEF could be truncated (#5799) 2017-08-08 08:48:08 +02:00
Aleksander Machniak
fc1a0a1f65 Fix bug where messages count was not updated after delete when imap_cache is set (#5872) 2017-07-20 13:27:40 +02:00
Aleksander Machniak
76adb49454 Support for IMAP folders that cannot contain both folders and messages (#5057) 2017-07-14 13:39:49 +02:00
Aleksander Machniak
b97e3b5cd7 Don't ignore (global) userlogins/sendmail logs in per_user_logging mode 2017-07-10 16:39:21 +02:00
Aleksander Machniak
e04f72d018 Fix PHP 7.2 warnings on count() use (#5845) 2017-07-09 13:20:57 +02:00
Aleksander Machniak
97bf251dc6 Don't use create_function() deprecated in PHP 7.2 2017-07-08 16:12:58 +02:00
Aleksander Machniak
86a4d78369 Merge branch 'dev-elastic' 2017-07-02 16:47:54 +02:00
Aleksander Machniak
05ea5a5548 Add ignore_errors option to rcube_db, so error logging can be disabled temporarily
Use ignore_errors to make sure the DDL upgrade errors are printed only once.
2017-07-02 11:51:05 +02:00
Aleksander Machniak
9d63b80873 Fix bug where errors were not printed when using bin/update.sh (#5834)
Don't pass errors to rcmail_install::raise_error() in CLI mode.
2017-07-02 11:35:11 +02:00
Aleksander Machniak
a8278d61cf Update changelog, CS fixes 2017-06-30 09:59:56 +02:00
Aleksander Machniak
8b7c7dd5a9 Merge branch 'issue-logfilename' of https://github.com/remicollet/roundcubemail into remicollet-issue-logfilename 2017-06-30 09:55:40 +02:00
Aleksander Machniak
21e7d873ce Fix so links over images are not removed in plain text signatures converted from HTML (#4473) 2017-06-29 09:15:08 +02:00
Aleksander Machniak
6a83c3cc18 Fix fatal error when using DMY- or MDY-based date format in PostgreSQL (#5808) 2017-06-28 08:34:43 +02:00
Aleksander Machniak
1fcf7bfab3 Fix bug where HTML messages with @media styles could moddify style of page body (#5811) 2017-06-28 08:26:05 +02:00
Aleksander Machniak
f0431c7475 Fix uninitialized string offset in rcube_utils::bin2ascii() and make sure rcube_utils::random_bytes() result has always requested length (#5788) 2017-06-27 17:16:56 +02:00
Aleksander Machniak
0bef84c410 Fix decoding non-ascii attachment names from TNEF attachments (#5646, #5799) 2017-06-27 15:25:01 +02:00
Remi Collet
6ca4eab399 add 'log_file_ext' configuration option 2017-06-27 13:35:01 +02:00
Aleksander Machniak
bcc6405552 Fix various issues when downloading files with names containing non-ascii chars, use RFC 2231 (#5772) 2017-06-26 16:27:10 +02:00
Thomas Bruederli
3bc8a30314 Translate old 'preview_pane' setting into new 'layout' property 2017-06-16 09:48:34 +02:00
Aleksander Machniak
27a621818d Make sure rcube_utils::resolve_url() does not add port 80 to the url
...which might have happened with reverse proxies
2017-06-06 11:47:44 +02:00
Aleksander Machniak
7c001260fa Simplified code to parse METADATA responses 2017-06-05 12:32:50 +02:00
Aleksander Machniak
76170baac0 Fix bug where it wasn't possible to set timezone to auto-detected value (#5782) 2017-06-03 19:00:00 +02:00
Aleksander Machniak
6ad4ebe431 Fix SQL syntax error on MariaDB 10.2 (#5774) 2017-05-28 20:23:13 +02:00
Aleksander Machniak
bb67757b5c Removed global $CONFIG variable 2017-05-26 10:27:08 +02:00
Aleksander Machniak
9a63e40faf Accept an array as $input argument of decode_address_list()
... to support a common case and to prevent from PHP warnings.
2017-05-23 09:32:26 +02:00
Aleksander Machniak
336a0cd87b strncasecmp() -> strcasecmp() 2017-05-19 14:41:25 +02:00
Aleksander Machniak
f7809af6e4 Support AUTHENTICATE LOGIN for IMAP connections (#5563)
Add imap_auth_type=IMAP to force use of LOGIN instead of AUTHENTICATE LOGIN.
In imap_auth_type=CHECK mode prefer LOGIN over AUTHENTICATE LOGIN (for performance reasons).
2017-05-19 10:50:51 +02:00
Aleksander Machniak
253aac5d9e Fix var name 2017-05-19 08:36:05 +02:00
Aleksander Machniak
0a7a95b714 Support LDAP GSSAPI authentication (#5703)
Requires https://git.kolab.org/rPNL1d87f98d300645e15b7ad2819fcffb19010a060f
2017-05-18 11:08:31 +02:00