mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 06:48:40 +01:00
disable sync-collection report for inbox and outbox, as the way they are created in EGw, we cant support sync-collection propperly
we filter by status unknown, but do not report event as deleted, when status changed to accepted
This commit is contained in:
parent
841182ff4e
commit
0af9ed0cd9
@ -1312,11 +1312,14 @@ class calendar_groupdav extends groupdav_handler
|
||||
'free-busy-query' => HTTP_WebDAV_Server::mkprop('supported-report',array(
|
||||
HTTP_WebDAV_Server::mkprop('report',array(
|
||||
HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'free-busy-query',''))))),
|
||||
// rfc 6578 sync-collection report
|
||||
'sync-collection' => HTTP_WebDAV_Server::mkprop('supported-report',array(
|
||||
HTTP_WebDAV_Server::mkprop('report',array(
|
||||
HTTP_WebDAV_Server::mkprop('sync-collection',''))))),
|
||||
);
|
||||
// rfc 6578 sync-collection report, not for inbox, as we dont report accepted events as deleted, because we filter!
|
||||
if (!preg_match('#/(inbox|outbox)/#', $path))
|
||||
{
|
||||
$props['supported-report-set']['sync-collection'] = HTTP_WebDAV_Server::mkprop('supported-report',array(
|
||||
HTTP_WebDAV_Server::mkprop('report',array(
|
||||
HTTP_WebDAV_Server::mkprop('sync-collection','')))));
|
||||
}
|
||||
$props['supported-calendar-data'] = HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'supported-calendar-data',array(
|
||||
HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'calendar-data', array('content-type' => 'text/calendar', 'version'=> '2.0')),
|
||||
HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'calendar-data', array('content-type' => 'text/x-calendar', 'version'=> '1.0'))));
|
||||
|
Loading…
Reference in New Issue
Block a user