- Applied fixes from trunk up to r5202

release-0.6
alecpl 13 years ago
parent d96dc639fc
commit a7c51ac2d0

@ -1,6 +1,8 @@
CHANGELOG Roundcube Webmail
===========================
- Fix text-overflow:ellipsis issues on messages list in FF7 and Webkit (#1488061)
- Fix handling of links with IP address
- Fix bug where message list filter was reset on folder compacting (#1488076)
RELEASE 0.6-RC

@ -1,3 +1,5 @@
- Fixed import from Horde-INGO (#1488064)
* version 4.3 [2011-07-28]
-----------------------------------------------------------
- Fixed handling of error in Net_Sieve::listScripts()

@ -349,7 +349,8 @@ class rcube_sieve
$name = array();
// Squirrelmail (Avelsieve)
if ($tokens = preg_split('/(#START_SIEVE_RULE.*END_SIEVE_RULE)\r?\n/', $script, -1, PREG_SPLIT_DELIM_CAPTURE)) {
if (preg_match('/(#START_SIEVE_RULE.*END_SIEVE_RULE)\r?\n/', $script)) {
$tokens = preg_split('/(#START_SIEVE_RULE.*END_SIEVE_RULE)\r?\n/', $script, -1, PREG_SPLIT_DELIM_CAPTURE);
foreach ($tokens as $token) {
if (preg_match('/^#START_SIEVE_RULE.*/', $token, $matches)) {
$name[$i] = "unnamed rule ".($i+1);
@ -366,9 +367,10 @@ class rcube_sieve
}
}
// Horde (INGO)
else if ($tokens = preg_split('/(# .+)\r?\n/i', $script, -1, PREG_SPLIT_DELIM_CAPTURE)) {
else if (preg_match('/(# .+)\r?\n/', $script)) {
$tokens = preg_split('/(# .+)\r?\n/', $script, -1, PREG_SPLIT_DELIM_CAPTURE);
foreach($tokens as $token) {
if (preg_match('/^# (.+)/i', $token, $matches)) {
if (preg_match('/^# (.+)/', $token, $matches)) {
$name[$i] = $matches[1];
$content .= "# rule:[" . $name[$i] . "]\n";
}

@ -37,7 +37,7 @@ class rcube_string_replacer
{
// Simplified domain expression for UTF8 characters handling
// Support unicode/punycode in top-level domain part
$utf_domain = '[^?&@"\'\\/()\s\r\t\n]+\\.([^\\x00-\\x40\\x5b-\\x60\\x7b-\\x7f]{2,}|xn--[a-z0-9]{2,})';
$utf_domain = '[^?&@"\'\\/()\s\r\t\n]+\\.([^\\x00-\\x2f\\x3b-\\x40\\x5b-\\x60\\x7b-\\x7f]{2,}|xn--[a-z0-9]{2,})';
$url1 = '.:;,';
$url2 = 'a-z0-9%=#@+?&\\/_~\\[\\]-';

@ -320,7 +320,6 @@ function rcube_webmail()
}
if (this.gui_objects.qsearchbox) {
this.enable_command('search', 'reset-search', 'moveto', true);
$(this.gui_objects.qsearchbox).select();
}
if (this.contact_list && this.contact_list.rowcount > 0)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 470 B

After

Width:  |  Height:  |  Size: 322 B

@ -632,7 +632,7 @@ body.messagelist
#messagelist thead tr td.sortedASC,
#messagelist thead tr td.sortedDESC
{
background-position: 0 -22px;
background-position: 0 -26px;
}
#messagelist thead tr td.sortedASC a
@ -824,7 +824,6 @@ body.messagelist
#messagelist tbody tr td.subject a
{
cursor: default;
display: inline-block;
vertical-align: middle;
}

Loading…
Cancel
Save