[Pkg-owncloud-commits] [php-sabredav] 08/42: Adding calendar-user-address-set to default principal property search.
David Prévot
taffit at moszumanska.debian.org
Wed Oct 29 20:52:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabredav.
commit 05f4c185a95f5c5ba2610e7696af7c8d790f3f03
Author: Evert Pot <evert at rooftopsolutions.nl>
Date: Mon Sep 29 12:26:20 2014 +0100
Adding calendar-user-address-set to default principal property search.
---
ChangeLog.md | 6 ++++++
lib/CalDAV/Plugin.php | 4 ++++
2 files changed, 10 insertions(+)
diff --git a/ChangeLog.md b/ChangeLog.md
index 10e5e24..9c6d30c 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,6 +1,12 @@
ChangeLog
=========
+2.1.0-alpha2 (????-??-??)
+-------------------------
+
+* Added: calendar-user-address-set to default principal search properties
+ list. This should fix iOS attendee autocomplete support.
+
2.1.0-alpha1 (2014-09-23)
-------------------------
diff --git a/lib/CalDAV/Plugin.php b/lib/CalDAV/Plugin.php
index b4cbde7..f8dcf0f 100644
--- a/lib/CalDAV/Plugin.php
+++ b/lib/CalDAV/Plugin.php
@@ -210,6 +210,10 @@ class Plugin extends DAV\ServerPlugin {
'{' . self::NS_CALENDARSERVER . '}notificationtype'
);
+
+ if ($aclPlugin = $server->getPlugin('acl')) {
+ $aclPlugin->principalSearchPropertySet['{' . self::NS_CALDAV . '}calendar-user-address-set'] = 'Calendar address';
+ }
}
/**
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list