Hello community,
here is the log from the commit of package roundcubemail for openSUSE:Factory checked in at 2013-09-09 09:53:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/roundcubemail (Old)
and /work/SRC/openSUSE:Factory/.roundcubemail.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "roundcubemail"
Changes:
--------
--- /work/SRC/openSUSE:Factory/roundcubemail/roundcubemail.changes 2013-08-30 11:48:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.roundcubemail.new/roundcubemail.changes 2013-09-09 09:54:00.000000000 +0200
@@ -1,0 +2,23 @@
+Sun Sep 8 19:16:28 UTC 2013 - wr@rosenauer.org
+
+- Update to version 0.9.4
+ * Make identities matching case insensitive
+ * Fix issue where too big message data was stored in cache causing
+ sql errors
+ * Fix iframe scrollbars on webkit desktop browsers
+ * Fix issue where legacy config was overriden by default config
+ * Fix newmail_notifier issue where favicon wasn't changed back to
+ default
+ * Fix setting of Junk and NonJunk? flags by markasjunk plugin
+ * Fix lack of Reply-To address in header of forwarded message body
+ * Fix bugs when invoking contact creation form when read-only
+ addressbook is selected
+ * Fix identity selection on reply
+ * Fix so additional headers are added to all messages sent
+ * Fix display issue after moving folder in Folder Manager
+ * Fix handling of non-default date formats
+ * Fix unquoted path in PREG expression on Windows
+ * Fix Junk folder icon alignment when it's nested in inbox folder
+ * Fix wrong close tag in /template/mail.html
+
+-------------------------------------------------------------------
Old:
----
roundcubemail-0.9.3.tar.gz
New:
----
roundcubemail-0.9.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ roundcubemail.spec ++++++
--- /var/tmp/diff_new_pack.Vrko75/_old 2013-09-09 09:54:01.000000000 +0200
+++ /var/tmp/diff_new_pack.Vrko75/_new 2013-09-09 09:54:01.000000000 +0200
@@ -21,7 +21,7 @@
License: GPL-3.0+ and GPL-2.0 and BSD-3-Clause
Group: Productivity/Networking/Email/Clients
Url: http://www.roundcube.net/
-Version: 0.9.3
+Version: 0.9.4
Release: 0
BuildRequires: apache2-devel
%if 0%{suse_version} >= 1100
++++++ roundcubemail-0.9.3.tar.gz -> roundcubemail-0.9.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/CHANGELOG new/roundcubemail-0.9.4/CHANGELOG
--- old/roundcubemail-0.9.3/CHANGELOG 2013-08-21 19:26:20.000000000 +0200
+++ new/roundcubemail-0.9.4/CHANGELOG 2013-09-06 14:20:48.000000000 +0200
@@ -1,6 +1,24 @@
CHANGELOG Roundcube Webmail
===========================
+RELEASE 0.9.4
+-------------
+- Make identities matching case insensitive (#1485480)
+- Fix issue where too big message data was stored in cache causing sql errors (#1489316)
+- Fix iframe scrollbars on webkit desktop browsers (#1489306)
+- Fix issue where legacy config was overriden by default config (#1489288)
+- Fix newmail_notifier issue where favicon wasn't changed back to default (#1489313)
+- Fix setting of Junk and NonJunk flags by markasjunk plugin (#1489285)
+- Fix lack of Reply-To address in header of forwarded message body (#1489298)
+- Fix bugs when invoking contact creation form when read-only addressbook is selected (#1489296)
+- Fix identity selection on reply (#1489291)
+- Fix so additional headers are added to all messages sent (#1489284)
+- Fix display issue after moving folder in Folder Manager (#1489293)
+- Fix handling of non-default date formats (#1489294)
+- Fix unquoted path in PREG expression on Windows (#1489290)
+- Fix Junk folder icon alignment when it's nested in inbox folder (#1489292)
+- Fix wrong close tag in /template/mail.html (#1489295)
+
RELEASE 0.9.3
-------------
- Fix setting refresh_interval to "Never" in Preferences (#1489286)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/config/main.inc.php.dist new/roundcubemail-0.9.4/config/main.inc.php.dist
--- old/roundcubemail-0.9.3/config/main.inc.php.dist 2013-08-21 19:26:20.000000000 +0200
+++ new/roundcubemail-0.9.4/config/main.inc.php.dist 2013-09-06 14:20:48.000000000 +0200
@@ -436,7 +436,8 @@
$rcmail_config['date_format'] = 'Y-m-d';
// give this choice of date formats to the user to select from
-$rcmail_config['date_formats'] = array('Y-m-d', 'd-m-Y', 'Y/m/d', 'm/d/Y', 'd/m/Y', 'd.m.Y', 'j.n.Y');
+// Note: do not use ambiguous formats like m/d/Y
+$rcmail_config['date_formats'] = array('Y-m-d', 'Y/m/d', 'Y.m.d', 'd-m-Y', 'd/m/Y', 'd.m.Y', 'j.n.Y');
// use this format for time display (date or strftime format)
$rcmail_config['time_format'] = 'H:i';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/index.php new/roundcubemail-0.9.4/index.php
--- old/roundcubemail-0.9.3/index.php 2013-08-21 19:26:20.000000000 +0200
+++ new/roundcubemail-0.9.4/index.php 2013-09-06 14:20:48.000000000 +0200
@@ -2,7 +2,7 @@
/*
+-------------------------------------------------------------------------+
| Roundcube Webmail IMAP Client |
- | Version 0.9.3 |
+ | Version 0.9.4 |
| |
| Copyright (C) 2005-2013, The Roundcube Dev Team |
| |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/plugins/additional_message_headers/additional_message_headers.php new/roundcubemail-0.9.4/plugins/additional_message_headers/additional_message_headers.php
--- old/roundcubemail-0.9.3/plugins/additional_message_headers/additional_message_headers.php 2013-08-21 19:26:20.000000000 +0200
+++ new/roundcubemail-0.9.4/plugins/additional_message_headers/additional_message_headers.php 2013-09-06 14:20:48.000000000 +0200
@@ -15,29 +15,32 @@
*/
class additional_message_headers extends rcube_plugin
{
- public $task = 'mail';
-
function init()
{
- $this->add_hook('message_outgoing_headers', array($this, 'message_headers'));
+ $this->add_hook('message_before_send', array($this, 'message_headers'));
}
function message_headers($args)
{
- $this->load_config();
+ $this->load_config();
+
+ $headers = $args['message']->headers();
+ $rcube = rcube::get_instance();
// additional email headers
- $additional_headers = rcmail::get_instance()->config->get('additional_message_headers',array());
- foreach($additional_headers as $header=>$value){
+ $additional_headers = $rcube->config->get('additional_message_headers', array());
+ foreach ((array)$additional_headers as $header => $value) {
if (null === $value) {
- unset($args['headers'][$header]);
- } else {
- $args['headers'][$header] = $value;
+ unset($headers[$header]);
+ }
+ else {
+ $headers[$header] = $value;
}
}
+ $args['message']->_headers = array();
+ $args['message']->headers($headers);
+
return $args;
}
}
-
-?>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/plugins/additional_message_headers/package.xml new/roundcubemail-0.9.4/plugins/additional_message_headers/package.xml
--- old/roundcubemail-0.9.3/plugins/additional_message_headers/package.xml 2013-08-21 19:26:20.000000000 +0200
+++ new/roundcubemail-0.9.4/plugins/additional_message_headers/package.xml 2013-09-06 14:20:48.000000000 +0200
@@ -13,11 +13,10 @@
<email>email@example.org</email>
<active>yes</active>
</lead>
- <date>2010-01-16</date>
- <time>18:19:33</time>
+ <date>2013-08-25</date>
<version>
- <release>1.1.0</release>
- <api>1.1.0</api>
+ <release>1.2.0</release>
+ <api>1.2.0</api>
</version>
<stability>
<release>stable</release>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/plugins/markasjunk/markasjunk.php new/roundcubemail-0.9.4/plugins/markasjunk/markasjunk.php
--- old/roundcubemail-0.9.3/plugins/markasjunk/markasjunk.php 2013-08-21 19:26:20.000000000 +0200
+++ new/roundcubemail-0.9.4/plugins/markasjunk/markasjunk.php 2013-09-06 14:20:49.000000000 +0200
@@ -19,6 +19,7 @@
$rcmail = rcmail::get_instance();
$this->register_action('plugin.markasjunk', array($this, 'request_action'));
+ $this->add_hook('storage_init', array($this, 'storage_init'));
if ($rcmail->action == '' || $rcmail->action == 'show') {
$skin_path = $this->local_skin_path();
@@ -38,24 +39,36 @@
}
}
+ function storage_init($args)
+ {
+ $flags = array(
+ 'JUNK' => 'Junk',
+ 'NONJUNK' => 'NonJunk',
+ );
+
+ // register message flags
+ $args['message_flags'] = array_merge((array)$args['message_flags'], $flags);
+
+ return $args;
+ }
+
function request_action()
{
$this->add_texts('localization');
- $GLOBALS['IMAP_FLAGS']['JUNK'] = 'Junk';
- $GLOBALS['IMAP_FLAGS']['NONJUNK'] = 'NonJunk';
-
- $uids = get_input_value('_uid', RCUBE_INPUT_POST);
- $mbox = get_input_value('_mbox', RCUBE_INPUT_POST);
-
- $rcmail = rcmail::get_instance();
- $rcmail->storage->unset_flag($uids, 'NONJUNK');
- $rcmail->storage->set_flag($uids, 'JUNK');
-
+ $uids = rcube_utils::get_input_value('_uid', rcube_utils::INPUT_POST);
+ $mbox = rcube_utils::get_input_value('_mbox', rcube_utils::INPUT_POST);
+
+ $rcmail = rcmail::get_instance();
+ $storage = $rcmail->get_storage();
+
+ $storage->unset_flag($uids, 'NONJUNK');
+ $storage->set_flag($uids, 'JUNK');
+
if (($junk_mbox = $rcmail->config->get('junk_mbox')) && $mbox != $junk_mbox) {
$rcmail->output->command('move_messages', $junk_mbox);
}
-
+
$rcmail->output->command('display_message', $this->gettext('reportedasjunk'), 'confirmation');
$rcmail->output->send();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/plugins/markasjunk/package.xml new/roundcubemail-0.9.4/plugins/markasjunk/package.xml
--- old/roundcubemail-0.9.3/plugins/markasjunk/package.xml 2013-08-21 19:26:20.000000000 +0200
+++ new/roundcubemail-0.9.4/plugins/markasjunk/package.xml 2013-09-06 14:20:49.000000000 +0200
@@ -13,11 +13,10 @@
<email>roundcube@gmail.com</email>
<active>yes</active>
</lead>
- <date>2010-03-29</date>
- <time>13:20:00</time>
+ <date>2013-08-29</date>
<version>
- <release>1.1</release>
- <api>1.1</api>
+ <release>1.2</release>
+ <api>1.2</api>
</version>
<stability>
<release>stable</release>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/plugins/newmail_notifier/newmail_notifier.js new/roundcubemail-0.9.4/plugins/newmail_notifier/newmail_notifier.js
--- old/roundcubemail-0.9.3/plugins/newmail_notifier/newmail_notifier.js 2013-08-21 19:26:20.000000000 +0200
+++ new/roundcubemail-0.9.4/plugins/newmail_notifier/newmail_notifier.js 2013-09-06 14:20:49.000000000 +0200
@@ -30,9 +30,9 @@
function newmail_notifier_stop(prop)
{
// revert original favicon
- if (rcmail.env.favicon_href && (!prop || prop.action != 'check-recent')) {
+ if (rcmail.env.favicon_href && rcmail.env.favicon_changed && (!prop || prop.action != 'check-recent')) {
$('<link rel="shortcut icon" href="'+rcmail.env.favicon_href+'"/>').replaceAll('link[rel="shortcut icon"]');
- rcmail.env.favicon_href = null;
+ rcmail.env.favicon_changed = 0;
}
}
@@ -47,7 +47,10 @@
var link = $('<link rel="shortcut icon" href="plugins/newmail_notifier/favicon.ico"/>'),
oldlink = $('link[rel="shortcut icon"]', w.document);
- rcmail.env.favicon_href = oldlink.attr('href');
+ if (!rcmail.env.favicon_href)
+ rcmail.env.favicon_href = oldlink.attr('href');
+
+ rcmail.env.favicon_changed = 1;
link.replaceAll(oldlink);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/program/include/iniset.php new/roundcubemail-0.9.4/program/include/iniset.php
--- old/roundcubemail-0.9.3/program/include/iniset.php 2013-08-21 19:26:21.000000000 +0200
+++ new/roundcubemail-0.9.4/program/include/iniset.php 2013-09-06 14:20:49.000000000 +0200
@@ -21,7 +21,7 @@
*/
// application constants
-define('RCMAIL_VERSION', '0.9.3');
+define('RCMAIL_VERSION', '0.9.4');
define('RCMAIL_START', microtime(true));
if (!defined('INSTALL_PATH')) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/program/include/rcmail.php new/roundcubemail-0.9.4/program/include/rcmail.php
--- old/roundcubemail-0.9.3/program/include/rcmail.php 2013-08-21 19:26:21.000000000 +0200
+++ new/roundcubemail-0.9.4/program/include/rcmail.php 2013-09-06 14:20:49.000000000 +0200
@@ -257,6 +257,23 @@
/**
+ * Return identifier of the address book object
+ *
+ * @param rcube_addressbook Addressbook source object
+ *
+ * @return string Source identifier
+ */
+ public function get_address_book_id($object)
+ {
+ foreach ($this->address_books as $index => $book) {
+ if ($book === $object) {
+ return $index;
+ }
+ }
+ }
+
+
+ /**
* Return address books list
*
* @param boolean True if the address book needs to be writeable
@@ -958,6 +975,10 @@
'options' => $options,
));
+ if ($plugin['abort']) {
+ return isset($plugin['result']) ? $plugin['result'] : false;
+ }
+
$from = $plugin['from'];
$mailto = $plugin['mailto'];
$options = $plugin['options'];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/roundcubemail-0.9.3/program/js/app.js new/roundcubemail-0.9.4/program/js/app.js
--- old/roundcubemail-0.9.3/program/js/app.js 2013-08-21 19:26:21.000000000 +0200
+++ new/roundcubemail-0.9.4/program/js/app.js 2013-09-06 14:20:49.000000000 +0200
@@ -19,9 +19,9 @@
new rcube_list_widget(this.gui_objects.identitieslist,{multiselect:!1,draggable:!1,keyboard:!1}),this.identity_list.addEventListener("select",function(a){b.identity_select(a)}),this.identity_list.init(),this.identity_list.focus(),this.env.iid&&this.identity_list.highlight_row(this.env.iid)):this.gui_objects.sectionslist?(this.sections_list=new rcube_list_widget(this.gui_objects.sectionslist,{multiselect:!1,draggable:!1,keyboard:!1}),this.sections_list.addEventListener("select",function(a){b.section_select(a)}),
this.sections_list.init(),this.sections_list.focus()):this.gui_objects.subscriptionlist&&this.init_subscription_list();break;case "login":a=$("#rcmloginuser"),a.bind("keyup",function(a){return rcmail.login_user_keyup(a)}),""==a.val()?a.focus():$("#rcmloginpwd").focus(),window.jstz&&!bw.ie6?(a=jstz.determine(),a.name()&&$("#rcmlogintz").val(a.name())):$("#rcmlogintz").val((new Date).getStdTimezoneOffset()/-60),$("form").submit(function(){$("input[type=submit]",this).prop("disabled",!0);rcmail.clear_messages();
rcmail.display_message("","loading")}),this.enable_command("login",!0)}this.env.contentframe&&!$("#"+this.env.contentframe).is(":visible")&&(this.env.contentframe=null);bw.ie&&$("input[type=file]").keydown(function(a){"13"==a.keyCode&&a.preventDefault()});this.loaded=!0;this.pending_message&&this.display_message(this.pending_message[0],this.pending_message[1],this.pending_message[2]);this.gui_objects.folderlist&&(this.gui_containers.foldertray=$(this.gui_objects.folderlist));this.gui_objects.filedrop&&
-(this.env.filedrop&&(window.XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.sendAsBinary||window.FormData))&&($(document.body).bind("dragover dragleave drop",function(a){return l.document_drag_hover(a,"dragover"==a.type)}),$(this.gui_objects.filedrop).addClass("droptarget").bind("dragover dragleave",function(a){return l.file_drag_hover(a,"dragover"==a.type)}).get(0).addEventListener("drop",function(a){return l.file_dropped(a)},!1));this.triggerEvent("init",{task:this.task,action:this.env.action});
-for(var f in this.onloads)if("string"===typeof this.onloads[f])eval(this.onloads[f]);else if("function"===typeof this.onloads[f])this.onloads[f]();this.start_refresh();this.start_keepalive()}};this.log=function(a){window.console&&console.log&&console.log(a)};this.command=function(a,b,d,e){var f,g,h,k;d&&d.blur&&d.blur();if(this.busy)return!1;if(d&&(d.href&&0>String(d.href).indexOf("#"))&&rcube_event.get_modifier(e))return!0;if(!this.commands[a])return this.is_framed()&&parent.rcmail.command(a,b),
-!1;if("mail"==this.task&&"compose"==this.env.action&&0>$.inArray(a,this.env.compose_commands)&&this.cmp_hash!=this.compose_field_hash()&&!confirm(this.get_label("notsentwarning")))return!1;if("function"===typeof this.command_handlers[a])return f=this.command_handlers[a](b,d),void 0!==f?f:d?!1:!0;if("string"===typeof this.command_handlers[a])return f=window[this.command_handlers[a]](b,d),void 0!==f?f:d?!1:!0;this.triggerEvent("actionbefore",{props:b,action:a});f=this.triggerEvent("before"+a,b);if(void 0!==
+this.env.filedrop&&(window.XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.sendAsBinary||window.FormData)&&($(document.body).bind("dragover dragleave drop",function(a){return l.document_drag_hover(a,"dragover"==a.type)}),$(this.gui_objects.filedrop).addClass("droptarget").bind("dragover dragleave",function(a){return l.file_drag_hover(a,"dragover"==a.type)}).get(0).addEventListener("drop",function(a){return l.file_dropped(a)},!1));this.triggerEvent("init",{task:this.task,action:this.env.action});
+for(var f in this.onloads)if("string"===typeof this.onloads[f])eval(this.onloads[f]);else if("function"===typeof this.onloads[f])this.onloads[f]();this.start_refresh();this.start_keepalive()}};this.log=function(a){window.console&&console.log&&console.log(a)};this.command=function(a,b,d,e){var f,g,h,k;d&&d.blur&&d.blur();if(this.busy)return!1;if(d&&d.href&&0>String(d.href).indexOf("#")&&rcube_event.get_modifier(e))return!0;if(!this.commands[a])return this.is_framed()&&parent.rcmail.command(a,b),!1;
+if("mail"==this.task&&"compose"==this.env.action&&0>$.inArray(a,this.env.compose_commands)&&this.cmp_hash!=this.compose_field_hash()&&!confirm(this.get_label("notsentwarning")))return!1;if("function"===typeof this.command_handlers[a])return f=this.command_handlers[a](b,d),void 0!==f?f:d?!1:!0;if("string"===typeof this.command_handlers[a])return f=window[this.command_handlers[a]](b,d),void 0!==f?f:d?!1:!0;this.triggerEvent("actionbefore",{props:b,action:a});f=this.triggerEvent("before"+a,b);if(void 0!==
f){if(!1===f)return!1;b=f}f=void 0;switch(a){case "login":this.gui_objects.loginform&&this.gui_objects.loginform.submit();break;case "mail":case "addressbook":case "settings":case "logout":this.switch_task(a);break;case "about":this.redirect("?_task=settings&_action=about",!1);break;case "permaurl":if(d&&d.href&&d.target)return!0;this.env.permaurl&&(parent.location.href=this.env.permaurl);break;case "extwin":"compose"==this.env.action?($("input[name='_action']",this.gui_objects.messageform).val("compose"),
this.gui_objects.messageform.action=this.url("mail/compose",{_id:this.env.compose_id,_extwin:1}),this.gui_objects.messageform.target=this.open_window("",1100),this.gui_objects.messageform.submit()):this.open_window(this.env.permaurl,900);break;case "menu-open":case "menu-save":return this.triggerEvent(a,{props:b}),!1;case "open":if(g=this.get_single_uid())return d.href=this.url("show",{_mbox:this.env.mailbox,_uid:g}),!0;break;case "close":this.env.extwin&&window.close();break;case "list":b&&""!=b&&
this.reset_qsearch();"compose"==this.env.action&&this.env.extwin?window.close():"mail"==this.task?(this.list_mailbox(b),this.set_button_titles()):"addressbook"==this.task&&this.list_contacts(b);break;case "sort":k=this.env.sort_order;g=this.env.disabled_sort_col?this.env.sort_col:b;this.env.disabled_sort_order||(k=this.env.sort_col==g&&"ASC"==k?"DESC":"ASC");this.set_list_sorting(g,k);this.list_mailbox("","",g+"_"+k);break;case "nextpage":this.list_page("next");break;case "lastpage":this.list_page("last");
@@ -51,9 +51,9 @@
$(this.get_folder_li(b)).removeClass("droptarget")};this.drag_move=function(a){if(this.gui_objects.folderlist&&this.env.folder_coords){var b,d,e,f,g;d="draglayernormal";a=rcube_event.get_mouse_pos(a);f=this.env.folderlist_coords;e=bw.ie?-document.documentElement.scrollTop:this.initialBodyScrollTop;var h=this.initialListScrollTop-this.gui_objects.folderlist.parentNode.scrollTop;this.contact_list&&this.contact_list.draglayer&&(g=this.contact_list.draglayer.attr("class"));a.y+=-h-e;if(a.x