Commit Graph

7175 Commits

Author SHA1 Message Date
Aleksander Machniak
2dccbf2879 Redis: Support connection to unix socket
Also handle exceptions thrown on connection and remove support for
specifying hosts with redis:// scheme.
2019-05-19 09:41:00 +02:00
Amir Caspi
6b5fa52ec1 Update rcube_utils::parse_host, fixes #6746
Updated regexps used in parse_host to ensure that %t, %d, %z do not cut off domain and return only tld when underlying host has no subdomain (i.e., is just domain.tld rather than mail.domain.tld).  Update fixes #6746, now returns nothing shorter than domain.tld.

Also removed backslash from character class, period does not need to be escaped within character class.
2019-05-19 08:32:26 +02:00
Aleksander Machniak
7c8ce07e8c Fix bug where bold/strong text was converted to upper-case on html-to-text conversion (6758) 2019-05-19 08:12:50 +02:00
Aleksander Machniak
0feb46574c Update languages list 2019-05-17 16:39:22 +02:00
Aleksander Machniak
a1301a78d6 Localization update 2019-05-17 15:59:41 +02:00
Aleksander Machniak
910505a361 Fix regression where drafts were not deleted after sending the message (#6756) 2019-05-16 08:04:48 +02:00
Aleksander Machniak
0c4d78aa11 Remove language code from charset name as per the RFC2231.5 2019-05-15 10:09:57 +02:00
Aleksander Machniak
86a9788083 Fix invalid path to blocked.gif when using assets_path setting (#6752) 2019-05-14 09:05:50 +02:00
Aleksander Machniak
9391a531ff Fix regexp 2019-05-11 16:22:30 +02:00
Aleksander Machniak
fe90903fa1 Fix bug in parsing vCard data using PHP 7.3 due to an invalid regexp (#6744)
Looks like \R is not allowed in character class, but \r\n is fine.
On PHP 7.3.5 it throws warnings and empty result from preg_replace(),
though I couldn't reproduce.
2019-05-10 21:08:18 +02:00
Aleksander Machniak
f3d16240f2 Fix bug where bmp images couldn't be displayed on some systems (#6728) 2019-05-06 19:57:29 +02:00
Aleksander Machniak
e3014de2ce Simplify code around detected mimetype string 2019-05-06 13:30:09 +02:00
Aleksander Machniak
cf51aead63 Larry: Fix regression where menu actions didn't work with keyboard (#6740)
For Elastic remove Space/Enter key handler on menus, so we use
default browser behaviour. Triggering a onclick programatically
causes popup window warning sometimes.
2019-05-05 12:36:40 +02:00
Aleksander Machniak
3719ce0653 Don't use :has selector 2019-05-05 11:01:16 +02:00
Aleksander Machniak
2c38460b09 Make sure an event triggered by Enter key press on a link is treated as a keyboard event 2019-05-05 10:06:54 +02:00
Aleksander Machniak
8c471478f7 Merge branch 'dev/elastic' 2019-05-05 07:46:56 +02:00
Aleksander Machniak
f76d9e0c09 Small fix 2019-05-03 19:58:29 +02:00
Aleksander Machniak
67f9f504a3 key ring -> keyring
...for consistence with other places
2019-05-03 19:56:50 +02:00
Aleksander Machniak
f3c9699817 Fix so advanced search dialog is not automatically displayed on searchonly addressbooks (#6679) 2019-05-03 07:07:32 +00:00
Aleksander Machniak
45a6ad1ba7 Fix so an error is logged when more than one attachment plugin has been enabled, initialize the first one (#6735) 2019-05-01 21:51:22 +02:00
Aleksander Machniak
593188559a Fix regression where non-terminating errors were sent to the browser 2019-05-01 21:45:46 +02:00
Aleksander Machniak
e67765b863 Fix bug where flag change could have been passed to a preview frame when not expected 2019-05-01 08:29:48 +02:00
Aleksander Machniak
55cca61134 Workaround more invalid HTML cases parsed incorrectly by Mastermind/HTML5 (#6713) 2019-04-28 12:43:10 +02:00
Aleksander Machniak
00ef5d05ef Merge branch 'master' into dev/elastic 2019-04-28 10:30:05 +02:00
Aleksander Machniak
ce9c52e65a Merge branch 'master' into dev/elastic 2019-04-27 10:53:46 +02:00
Aleksander Machniak
00f94a47bb Rephrase cookiesmismatch text 2019-04-25 14:20:38 +00:00
Aleksander Machniak
850d414443 Don't allow dragging .custom-control elements on folders list 2019-04-25 10:44:09 +00:00
Aleksander Machniak
187b51fd82 Fix bug where parent entry could be selected when clicking on a virtual entry 2019-04-25 10:30:42 +00:00
Aleksander Machniak
70a0976be1 Remove redundant error message 2019-04-22 09:49:53 +02:00
Aleksander Machniak
fbb5a5bc4f Small code simplification in raise_error() 2019-04-22 09:46:38 +02:00
Aleksander Machniak
02dc6ce41c Don't init the session in CLI mode
This prevents from PHP warnings when using CLI scripts e.g. installto.sh.
2019-04-22 09:34:53 +02:00
Aleksander Machniak
72ad567db6 Add new line at the end of error message in CLI mode 2019-04-22 09:32:30 +02:00
Aleksander Machniak
00173a7622 Update some code documentation 2019-04-21 09:36:09 +02:00
Aleksander Machniak
d8470c6c2b Remove useless "..." suffix 2019-04-19 11:40:41 +02:00
Aleksander Machniak
9c4e2eacab Don't log full session identifiers in userlogins log (#6625)
Log only 16-char prefix.
2019-04-19 11:37:41 +02:00
Aleksander Machniak
32612f0b8f Log some more info with session_debug 2019-04-19 10:49:01 +02:00
Aleksander Machniak
c87ac075ae Renamed 'log_session' option to 'session_debug' 2019-04-19 10:26:26 +02:00
Aleksander Machniak
f1a83f923d Added cookie mismatch detection, display an error message informing the user to clear cookies 2019-04-19 10:12:23 +02:00
Aleksander Machniak
5218b0193a Clarified 'address_book_type' option behavior (#6680) 2019-04-16 12:44:29 +02:00
Aleksander Machniak
57c67db029 Remove year(s) from copyright headers + some cleanup 2019-04-16 10:42:45 +02:00
Aleksander Machniak
69080457b1 Code simplification 2019-04-15 13:01:14 +02:00
Aleksander Machniak
92ed0154d5 Followup fix on handling HTML content w/o html/head/body tag (#6713) 2019-04-15 09:25:12 +02:00
Aleksander Machniak
03d56926d8 Fix bug in HTML parser that could cause missing text fragments when there was no head/body tag (#6713) 2019-04-14 09:53:02 +02:00
Aleksander Machniak
711e46a018 Force HIGHESTMODSEQ use on dovecot
This may fix some messages cache issues. Dovecot does not return
HIGHESTMODSEQ nor NOMODSEQ metadata on SELECT until it is "forced"
to switch to "permanent mod-seq mode". It can be done either by
ENABLE QRESYNC/CONDSTORE or by requesting the metadata explicitely
on SELECT/STATUS. We'll use STATUS for that.
2019-04-11 15:53:50 +02:00
Aleksander Machniak
f0811f6f50 DOn't use deprecated (and slow) selectors 2019-04-11 10:47:11 +02:00
Aleksander Machniak
8036bfafab Fix setting button state when registering it after onload
Also get rid of uibutton support, it's not used anymore.
2019-04-08 11:06:58 +02:00
Aleksander Machniak
6f479096d5 Merge branch 'wash-xml-namespace' of https://github.com/dsoares/roundcubemail into dsoares-wash-xml-namespace 2019-04-07 08:20:50 +02:00
Aleksander Machniak
b304782cbc Elastic: Various cross-browser fixes and improvements 2019-04-05 14:23:25 +02:00
Aleksander Machniak
a35699637d Fix PHP error when using Net_LDAP3 from master
get_entry() method signature has changed. We don't really needed
that override in rcube_ldap_generic, so it's now removed.
2019-04-02 12:35:25 +02:00
dsoares
00cc13a1b9 Fix bug where HTML messages with a xml:namespace tag were not rendered. 2019-03-26 15:10:43 +00:00