Projects
Kolab:Winterfell
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 32
View file
roundcubemail-plugins-kolab.spec
Changed
@@ -24,7 +24,7 @@ Name: roundcubemail-plugins-kolab Version: 3.3 -Release: 0.20160308.git%{?dist} +Release: 0.20160309.git%{?dist} Summary: Kolab Groupware plugins for Roundcube Webmail Group: Applications/Internet
View file
debian.changelog
Changed
@@ -1,4 +1,4 @@ -roundcubemail-plugins-kolab (1:3.3~dev20160308-0~kolab1) unstable; urgency=low +roundcubemail-plugins-kolab (1:3.3~dev20160309-0~kolab1) unstable; urgency=low * fix package version: we need epoch 1
View file
roundcubemail-plugins-kolab-3.3.tar.gz/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
Changed
@@ -1123,7 +1123,7 @@ { if (!isset($this->distlists)) { $this->distlists = $this->groupmembers = array(); - foreach ($this->storagefolder->get_objects('distribution-list') as $record) { + foreach ($this->storagefolder->select('distribution-list') as $record) { $record['ID'] = $this->uid2id($record['uid']); foreach ((array)$record['member'] as $i => $member) { $mid = $this->uid2id($member['uid'] ? $member['uid'] : 'mailto:' . $member['email']);
View file
roundcubemail-plugins-kolab-3.3.tar.gz/plugins/libkolab/lib/kolab_storage.php
Changed
@@ -232,7 +232,7 @@ * Execute cross-folder searches with the given query. * * @param array Pseudo-SQL query as list of filter parameter triplets - * @param string Object type (contact,event,task,journal,file,note,configuration) + * @param string Folder type (contact,event,task,journal,file,note,configuration) * @param int Expected number of records or limit (for performance reasons) * * @return array List of Kolab data objects (each represented as hash array) @@ -251,7 +251,7 @@ $folder->set_order_and_limit(null, $limit); } - foreach ($folder->select($query, '*') as $object) { + foreach ($folder->select($query) as $object) { $result[] = $object; } }
View file
roundcubemail-plugins-kolab-3.3.tar.gz/plugins/libkolab/lib/kolab_storage_folder.php
Changed
@@ -37,7 +37,6 @@ public $valid = false; protected $error = 0; - protected $resource_uri; @@ -54,7 +53,6 @@ $this->set_folder($name, $type, $type_annotation); } - /** * Set the IMAP folder this instance connects to * @@ -249,8 +247,9 @@ /** * Get number of objects stored in this folder * - * @param mixed Pseudo-SQL query as list of filter parameter triplets + * @param mixed Pseudo-SQL query as list of filter parameter triplets * or string with object type (e.g. contact, event, todo, journal, note, configuration) + * * @return integer The number of objects of the given type * @see self::select() */ @@ -266,34 +265,26 @@ return $this->cache->count($this->_prepare_query($query)); } - /** - * List all Kolab objects of the given type + * List Kolab objects matching the given query * - * @param string $type Object type (e.g. contact, event, todo, journal, note, configuration) - * @return array List of Kolab data objects (each represented as hash array) + * @param mixed Pseudo-SQL query as list of filter parameter triplets + * or string with object type (e.g. contact, event, todo, journal, note, configuration) + * + * @return array List of Kolab data objects (each represented as hash array) + * @deprecated Use select() */ - public function get_objects($type = null) + public function get_objects($query = array()) { - if (!$type) $type = $this->type; - - if (!$this->valid) { - return array(); - } - - // synchronize caches - $this->cache->synchronize(); - - // fetch objects from cache - return $this->cache->select($this->_prepare_query($type)); + return $this->select($query); } - /** - * Select *some* Kolab objects matching the given query + * Select Kolab objects matching the given query + * + * @param mixed Pseudo-SQL query as list of filter parameter triplets + * or string with object type (e.g. contact, event, todo, journal, note, configuration) * - * @param array Pseudo-SQL query as list of filter parameter triplets - * triplet: array('<colname>', '<comparator>', '<value>') * @return array List of Kolab data objects (each represented as hash array) */ public function select($query = array()) @@ -302,11 +293,6 @@ return array(); } - // check query argument - if (empty($query)) { - return $this->get_objects(); - } - // synchronize caches $this->cache->synchronize(); @@ -314,7 +300,6 @@ return $this->cache->select($this->_prepare_query($query)); } - /** * Getter for object UIDs only * @@ -395,7 +380,6 @@ return $this->cache->get_by_uid($uid); } - /** * Fetch a Kolab object attachment which is stored in a separate part * of the mail MIME message that represents the Kolab record. @@ -443,7 +427,6 @@ return null; } - /** * Fetch the mime message from the storage server and extract * the Kolab groupware object from it @@ -831,7 +814,6 @@ return $success; } - /** * */ @@ -849,7 +831,6 @@ return $result; } - /** * Restore a previously deleted object * @@ -875,7 +856,6 @@ return false; } - /** * Move a Kolab object message to another IMAP folder * @@ -914,7 +894,6 @@ return false; } - /** * Creates source of the configuration object message * @@ -1095,7 +1074,6 @@ return $message; } - /** * Triggers any required updates after changes within the * folder. This is currently only required for handling free/busy
View file
roundcubemail-plugins-kolab.dsc
Changed
@@ -2,7 +2,7 @@ Source: roundcubemail-plugins-kolab Binary: roundcubemail-plugins-kolab Architecture: all -Version: 1:3.3~dev20160308-0~kolab1 +Version: 1:3.3~dev20160309-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
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
.