Commit Graph

1041 Commits

Author SHA1 Message Date
laodc
edeb5d7ab4 Add support for PostgreSQL schemas in DSN (#6150)
If schema is set in the dsn, set search_path to the schema value.

Example:

$config['db_dsnw'] = 'pgsql://user:pass@localhost/dbname?schema=exampleschema';
2018-01-30 07:51:54 +01:00
Aleksander Machniak
4793ec753a Remove double-quotes in filename* parameter of the Content-Disposition of downloads (#5857) 2018-01-14 10:10:20 +01:00
Aleksander Machniak
55e99398e1 Fix possible information leak - add more strict sql error check on user creation (#6125) 2018-01-11 16:13:13 +01:00
Aleksander Machniak
ce338164e3 Fix bug where contacts search could skip some records (#6130) 2018-01-10 11:52:35 +01:00
Richard Hillmann
59bbf6c081 Fix preg_match in guess_type function (#6123) 2018-01-07 08:47:59 +01:00
Aleksander Machniak
b172fb505c Improve trusted_host_patterns code 2018-01-01 11:10:53 +01:00
Aleksander Machniak
4a5ca74724 Merge branch 'trusted-host-patterns' of https://github.com/dsoares/roundcubemail into dsoares-trusted-host-patterns 2018-01-01 10:26:09 +01:00
Daniel Kesselberg
a8d5547163 Update idn convertion methods (#6115)
* Add more test cases
* Update phpdoc
2017-12-31 13:22:48 +01:00
Aleksander Machniak
63a7d2313f Improve SMTPUTF8 support and fix relaxed email validation issues 2017-12-31 13:14:31 +01:00
Aleksander Machniak
5665344673 Merge branch 'smtputf8' of https://github.com/jprjr/roundcubemail into jprjr-smtputf8 2017-12-31 12:18:05 +01:00
Aleksander Machniak
a2875cdda9 - Fix searching contacts by address in LDAP source (#6084) 2017-12-26 08:34:21 +00:00
Aleksander Machniak
c0959bd619 Sanity checks for header data length in FETCH (#6087)
Where we know what expected data length is we truncate the input.
2017-12-13 09:06:40 +01:00
Aleksander Machniak
3cdc8af297 Fix possible performance issue when parsing malformed and long Date header (#6087) 2017-12-12 21:22:22 +01:00
johndoh
05d1b1947e Check for minified CSS files (#6089) 2017-12-12 19:51:17 +01:00
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
dsoares
5282cbaff9 Check against trusted_host_patterns in rcube_utils::parse_host() 2017-11-07 14:39:57 +00: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
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
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