Commit Graph

1023 Commits

Author SHA1 Message Date
Aleksander Machniak
3488531b26 Fix PHP Warning: Use of undefined constant INTL_IDNA_VARIANT_UTS46 on servers without php-intl extension 2017-12-06 15:52:02 +01:00
Georgeto
161038ee87 Support additional connect parameters in PostgreSQL database wrapper (#6071)
Most notably this change enables you to specify whether or with what
priority a secure SSL TCP/IP connection will be negotiated with the
database server.
2017-12-06 08:16:59 +01:00
Aleksander Machniak
61a6666eee Small CS fixes 2017-12-04 09:16:21 +01:00
Aleksander Machniak
ca39a4e093 Fix PHP warning "idn_to_utf8(): INTL_IDNA_VARIANT_2003 is deprecated" with PHP 7.2 (#6075) 2017-12-03 10:41:41 +01:00
Aleksander Machniak
36638ec0c2 Fix untagged COPYUID responses handling - again (#5982) 2017-11-20 18:05:07 +01:00
Aleksander Machniak
9ce8948294 Get rid of the 2nd argument of include_stylesheet()
.. make the optional behavior default now.
2017-11-20 14:03:07 +01:00
Aleksander Machniak
1cf72fa2b6 Allow plugins to include Less files (#6051) 2017-11-20 13:48:07 +01:00
Aleksander Machniak
c6b2d8bead Merge branch 'dev-elastic' 2017-11-19 13:23:40 +01:00
Aleksander Machniak
4cb7713520 Fix checking table columns when there's more schemas/databases in postgres/mysql (#6047) 2017-11-18 10:06:28 +01:00
Aleksander Machniak
a6c37b7735 Fix broken long filenames when using imap4d server - workaround server bug (#6048) 2017-11-17 14:29:57 +01:00
Aleksander Machniak
eed4be3ba6 Display value of the SMTP message size limit in the error message (#6032) 2017-11-17 12:33:31 +01:00
Aleksander Machniak
4dc1f3b757 Use configured log_file_ext also for errors thrown by PHP (#6035) 2017-11-10 20:02:17 +01:00
Aleksander Machniak
910c735b87 Merge branch 'master' into dev-elastic 2017-11-08 15:00:53 +01:00
Aleksander Machniak
a0374f3c45 Fix mangled non-ASCII characters in links in HTML messages (#6028) 2017-11-08 12:38:19 +01:00
Aleksander Machniak
23af0b7f36 Merge branch 'master' into dev-elastic 2017-11-07 20:50:01 +01:00
Aleksander Machniak
0f4f85e097 Skip redundant INSERT query on successful logon when using PHP7
Since PHP 7.0 session_regenerate_id() will cause the old session data update.
This is redundant INSERT query and also produces a record for the session
we don't need anymore.
2017-11-04 10:42:24 +01:00
Aleksander Machniak
ef0982f1b8 Merge branch 'master' into dev-elastic 2017-10-28 18:24:54 +02:00
JohnDoh
515d496808 Replace display_version with display_product_info (#5904) 2017-10-21 08:52:03 +02:00
Aleksander Machniak
e21ab984bc Skip <span> wrappers in html_table that is a <ul> list 2017-10-20 18:55:58 +02:00
Aleksander Machniak
d815525c6a Merge branch 'master' into dev-elastic 2017-10-20 13:34:25 +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
3c1b78af48 Merge branch 'master' into dev-elastic 2017-10-02 16:58:38 +02:00
Aleksander Machniak
4223bed7e8 Add html_button class 2017-10-01 17:52:03 +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
3a77c906a1 Merge branch 'master' into dev-elastic 2017-09-10 13:28:47 +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
1c24c69a3b Fix path for css file existence check in include_stylesheet() 2017-08-09 08:03:24 +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
69f50b122d Add a way to include plugin stylesheets optionally only if the file exists 2017-08-06 19:46:22 +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