Projects
Kolab:Winterfell
roundcubemail-plugins-kolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 21
View file
roundcubemail-plugins-kolab.spec
Changed
@@ -24,7 +24,7 @@ Name: roundcubemail-plugins-kolab Version: 3.3 -Release: 0.20160225.git%{?dist} +Release: 0.20160226.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~dev20160225-0~kolab1) unstable; urgency=low +roundcubemail-plugins-kolab (1:3.3~dev20160226-0~kolab1) unstable; urgency=low * fix package version: we need epoch 1
View file
roundcubemail-plugins-kolab-3.3.tar.gz/plugins/kolab_delegation/kolab_delegation.js
Changed
@@ -188,8 +188,8 @@ } data.folders = {}; - $('input.read:checked').each(function(i, elem) { - data.folders[elem.value] = 1; + $('input.read').each(function(i, elem) { + data.folders[elem.value] = this.checked ? 1 : 0; }); $('input.write:checked').each(function(i, elem) { data.folders[elem.value] = 2;
View file
roundcubemail-plugins-kolab-3.3.tar.gz/plugins/kolab_delegation/kolab_delegation_engine.php
Changed
@@ -105,6 +105,9 @@ if ($r) { $storage->set_acl($folder_name, $uid, $r); } + else { + $storage->delete_acl($folder_name, $uid); + } if (!empty($folders) && isset($folders[$folder_name])) { unset($folders[$folder_name]); @@ -863,12 +866,10 @@ /** * Compares two ACLs (according to supported rights) * - * @todo: this is stolen from acl plugin, move to rcube_storage/rcube_imap - * * @param array $acl1 ACL rights array (or string) * @param array $acl2 ACL rights array (or string) * - * @param int Comparision result, 2 - full match, 1 - partial match, 0 - no match + * @param bool True if $acl1 contains all rights from $acl2 */ function acl_compare($acl1, $acl2) { @@ -884,12 +885,9 @@ $cnt1 = count($res); $cnt2 = count($acl2); - if ($cnt1 == $cnt2) - return 2; - else if ($cnt1) - return 1; - else - return 0; + if ($cnt1 >= $cnt2) { + return true; + } } /**
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~dev20160225-0~kolab1 +Version: 1:3.3~dev20160226-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
.