Projects
Kolab:3.4
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 34
View file
roundcubemail-plugins-kolab.spec
Changed
@@ -23,7 +23,7 @@ %global roundcube_lib %{_var}/lib/roundcubemail Name: roundcubemail-plugins-kolab -Version: 3.1.9 +Version: 3.1.10 Release: 1%{?dist} Summary: Kolab Groupware plugins for Roundcube Webmail @@ -209,6 +209,9 @@ %attr(0770,root,%{httpd_group}) %{roundcube_lib}/plugins/odfviewer %changelog +* Thu Jan 9 2014 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.1.10-1 +- New upstream version + * Thu Dec 26 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.1.9-1 - New upstream version
View file
debian.changelog
Changed
@@ -1,3 +1,9 @@ +roundcubemail-plugins-kolab (1:3.1.10-0~kolab1) unstable; urgency=low + + * New upstream release + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Thu, 9 Jan 2014 18:41:13 +0200 + roundcubemail-plugins-kolab (1:3.1.9-0~kolab1) unstable; urgency=low * New upstream release
View file
roundcubemail-plugins-kolab-3.1.9.tar.gz/plugins/kolab_auth/kolab_auth.php -> roundcubemail-plugins-kolab-3.1.10.tar.gz/plugins/kolab_auth/kolab_auth.php
Changed
@@ -355,6 +355,7 @@ $ldap = self::ldap(); if (!$ldap || !$ldap->ready) { $args['abort'] = true; + $args['kolab_ldap_error'] = true; $message = sprintf( 'Login failure for user %s from %s in session %s (error %s)', $user,
View file
roundcubemail-plugins-kolab-3.1.9.tar.gz/plugins/libkolab/lib/kolab_storage_cache.php -> roundcubemail-plugins-kolab-3.1.10.tar.gz/plugins/libkolab/lib/kolab_storage_cache.php
Changed
@@ -29,7 +29,7 @@ protected $folder; protected $uid2msg; protected $objects; - protected $index = array(); + protected $index = null; protected $metadata = array(); protected $folder_id; protected $resource_uri; @@ -58,8 +58,10 @@ rcube::raise_error(array( 'code' => 900, 'type' => 'php', - 'message' => "No kolab_storage_cache class found for folder of type " . $storage_folder->type + 'message' => "No kolab_storage_cache class found for folder '$storage_folder->name' of type '$storage_folder->type'" ), true); + + return new kolab_storage_cache($storage_folder); } } @@ -104,7 +106,7 @@ $this->resource_uri = $this->folder->get_resource_uri(); $this->folders_table = $this->db->table_name('kolab_folders'); $this->cache_table = $this->db->table_name('kolab_cache_' . $this->folder->type); - $this->ready = $this->enabled; + $this->ready = $this->enabled && !empty($this->folder->type); $this->folder_id = null; } @@ -419,6 +421,10 @@ $this->folder_id ); + if ($this->db->is_error($sql_result)) { + return null; + } + while ($sql_arr = $this->db->fetch_assoc($sql_result)) { if ($uids) { $this->uid2msg[$sql_arr['uid']] = $sql_arr['msguid']; @@ -434,12 +440,12 @@ $filter = $this->_query2assoc($query); // use 'list' for folder's default objects - if ($filter['type'] == $this->type) { + if (is_array($this->index) && $filter['type'] == $this->type) { $index = $this->index; } else { // search by object type $search = 'UNDELETED HEADER X-Kolab-Type ' . kolab_format::KTYPE_PREFIX . $filter['type']; - $index = $this->imap->search_once($this->folder->name, $search)->get(); + $index = $this->imap->search_once($this->folder->name, $search)->get(); } // fetch all messages in $index from IMAP @@ -469,8 +475,6 @@ */ public function count($query = array()) { - $count = 0; - // cache is in sync, we can count records in local DB if ($this->synched) { $this->_read_folder_data(); @@ -481,14 +485,23 @@ $this->folder_id ); + if ($this->db->is_error($sql_result)) { + return null; + } + $sql_arr = $this->db->fetch_assoc($sql_result); - $count = intval($sql_arr['numrows']); + $count = intval($sql_arr['numrows']); } else { // search IMAP by object type $filter = $this->_query2assoc($query); $ctype = kolab_format::KTYPE_PREFIX . $filter['type']; - $index = $this->imap->search_once($this->folder->name, 'UNDELETED HEADER X-Kolab-Type ' . $ctype); + $index = $this->imap->search_once($this->folder->name, 'UNDELETED HEADER X-Kolab-Type ' . $ctype); + + if ($index->is_error()) { + return null; + } + $count = $index->count(); }
View file
roundcubemail-plugins-kolab-3.1.9.tar.gz/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php -> roundcubemail-plugins-kolab-3.1.10.tar.gz/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
Changed
@@ -174,6 +174,7 @@ { $prop['type'] = 'task' . ($prop['default'] ? '.default' : ''); $prop['active'] = true; // activate folder by default + $prop['subscribed'] = true; $folder = kolab_storage::folder_update($prop); if ($folder === false) {
View file
roundcubemail-plugins-kolab-3.1.9.tar.gz/plugins/tasklist/tasklist.js -> roundcubemail-plugins-kolab-3.1.10.tar.gz/plugins/tasklist/tasklist.js
Changed
@@ -1540,6 +1540,7 @@ } li.remove(); + delete listdata[id]; } /**
View file
roundcubemail-plugins-kolab-3.1.9.tar.gz/plugins/tasklist/tasklist.php -> roundcubemail-plugins-kolab-3.1.10.tar.gz/plugins/tasklist/tasklist.php
Changed
@@ -245,6 +245,10 @@ $this->driver->edit_task($child); } } + // update parent task to adjust list of children + if (!empty($oldrec['parent_id'])) { + $refresh[] = $this->driver->get_task(array('id' => $oldrec['parent_id'], 'list' => $rec['list'])); + } } if (!$success)
View file
roundcubemail-plugins-kolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail-plugins-kolab Binary: roundcubemail-plugins-kolab Architecture: all -Version: 1:3.1.9-0~kolab1 +Version: 1:3.1.10-0~kolab1 Maintainer: Christoph Wickert <wickert@kolabsys.com> Uploaders: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>, Paul Klos <kolab@klos2day.nl> Standards-Version: 3.9.3 @@ -10,5 +10,5 @@ Package-List: roundcubemail-plugins-kolab deb web extra Files: - 00000000000000000000000000000000 0 roundcubemail-plugins-kolab-3.1.9.tar.gz + 00000000000000000000000000000000 0 roundcubemail-plugins-kolab-3.1.10.tar.gz 00000000000000000000000000000000 0 debian.tar.gz
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.