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
0c4d78aa11
Remove language code from charset name as per the RFC2231.5
2019-05-15 10:09:57 +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
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
55cca61134
Workaround more invalid HTML cases parsed incorrectly by Mastermind/HTML5 ( #6713 )
2019-04-28 12:43:10 +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
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
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
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
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
Aleksander Machniak
ab7eeb3daa
CS fixes
2019-03-19 09:06:26 +01:00
Aleksander Machniak
d8488aae32
Disable spellcheker (hide button) if the list of languages is empty
...
Better handling of uninitialized (not installed) spellchecker engine.
Also prevent from PHP fatal error if enchant ext is not installed.
2019-03-19 09:03:19 +01:00
Aleksander Machniak
641a67fe75
Elastic: Fix unintentional layout preference overwrite ( #6613 )
...
This is actually skin-independent mechanism that prevents overwriting
of skin-specific preferences by ajax requests (that until now were
not aware of skin config).
2019-02-08 11:19:09 +01:00
Aleksander Machniak
82974289b9
Fix typo
2019-01-24 10:41:20 +01:00
Aleksander Machniak
fe5b4fd81d
fputs() -> fwrite()
2019-01-23 18:35:38 +01:00
Aleksander Machniak
61eb78ad64
Fix so ANY record is not used for email domain validation, use A, MX, CNAME, AAAA instead ( #6581 )
2019-01-16 16:40:37 +01:00
Aleksander Machniak
5693b4f31c
Fix bug in parsing some IMAP command responses that include unsolicited replies ( #6577 )
2019-01-04 09:17:51 +01:00
Aleksander Machniak
a7df28093f
Make rcube_session::unserialize() public method
2019-01-01 18:37:38 +01:00
Aleksander Machniak
881b344fba
Fix regression in vcard parser
2018-12-29 14:41:57 +01:00
Aleksander Machniak
35e2bffb90
Support simple field labels (e.g. LetterHub examples) in csv imports ( #6541 )
2018-12-29 14:25:38 +01:00
Aleksander Machniak
32a0ad6778
Force session.gc_probability=1 when using custom session handlers ( #6560 )
2018-12-29 10:05:01 +01:00
Aleksander Machniak
d3c65d752b
Remove useless "return null;" at the end of function block
2018-12-27 11:03:47 +01:00
Stuart Henderson
98349c19f6
Fix typo LOG_EMERGE ( #6566 )
2018-12-22 08:22:27 +01:00
Aleksander Machniak
7a49b48dc1
Fix handling of empty entries in vCard import ( #6564 )
2018-12-21 13:21:16 +01:00
Aleksander Machniak
b0c83111de
Fix rcube_imap_cache in mode set to MESSAGE only
2018-12-13 16:23:28 +00:00
Aleksander Machniak
aa7e2febd1
Add 'required' to the list of boolean attributes
2018-12-18 12:46:23 +01:00
Aleksander Machniak
36485dfc34
Prevent from using deprecated timezone names from jsTimezoneDetect
...
For better interoperability of plugins such as Calendar, for example
issue see: https://git.kolab.org/T2666 .
2018-12-16 12:31:21 +01:00
Aleksander Machniak
943de28d2a
Log IMAP/SMTP connection time in debug mode
2018-12-05 12:02:41 +01:00
Aleksander Machniak
c1aa2169f6
Plugin API: Added 'ldap_connected' hook
2018-11-26 09:43:43 +01:00
Aleksander Machniak
edd9c31d6c
Skip registering session handlers when session already exists
...
.. for a specific use case when I want to create additional rcube_session object
for discrete operations on another session.
2018-11-23 15:35:10 +00:00
Aleksander Machniak
afc68aae63
FIx temp_filename() regressions, update changelog, add note in UPGRADING
2018-11-07 16:51:25 +01:00
PhilW
e024f133fa
give all temp files a constant prefix
2018-11-06 07:11:04 +00:00
Aleksander Machniak
2935b3a66a
Fix malformed message saved into Sent folder when using big attachments and low memory limit ( #6498 )
2018-10-27 12:52:16 +02:00
Aleksander Machniak
7b203cbc52
Fix bug where a message/rfc822 part without a filename wasn't listed on the attachments list ( #6494 )
2018-10-26 08:30:58 +02:00
Aleksander Machniak
3dad8c5908
Fix incorrect IMAP SASL GSSAPI negotiation ( #6308 )
2018-10-24 12:29:50 +02:00
Aleksander Machniak
c4916a8fe3
Simplify code that uses setError() followed by return
2018-10-24 12:13:13 +02:00