mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
allow storing and retrieval of following CalDAV properties: default-alarm-vevent-date, default-alarm-vevent-datetime
This commit is contained in:
parent
944b538e92
commit
078fa987d4
@ -609,7 +609,8 @@ class groupdav extends HTTP_WebDAV_Server
|
||||
foreach((array)$GLOBALS['egw_info']['user']['preferences']['groupdav'] as $name => $value)
|
||||
{
|
||||
list($prop,$prop4path,$ns) = explode(':', $name, 3);
|
||||
if ($prop4path == $path && !in_array($ns,self::$ns_needs_explicit_named_props))
|
||||
if ($prop4path == $path && (!in_array($ns,self::$ns_needs_explicit_named_props) ||
|
||||
isset(self::$proppatch_props[$prop]) && self::$proppatch_props[$prop] === $ns))
|
||||
{
|
||||
$props[] = self::mkprop($ns, $prop, $value);
|
||||
//error_log(__METHOD__."() arbitrary $ns:$prop=".array2string($value));
|
||||
@ -951,6 +952,7 @@ class groupdav extends HTTP_WebDAV_Server
|
||||
//'DAV:owner' => 'Owner',
|
||||
//'DAV:current-user-privilege-set' => 'current-user-privilege-set',
|
||||
//'DAV:getcontentlength' => 'Size',
|
||||
//'DAV:sync-token' => 'sync-token',
|
||||
);
|
||||
$n = 0;
|
||||
foreach($files['files'] as $file)
|
||||
@ -1161,6 +1163,8 @@ class groupdav extends HTTP_WebDAV_Server
|
||||
'addressbook-description' => self::CARDDAV,
|
||||
'calendar-color' => self::ICAL, // only mentioned that old prefs still work
|
||||
'calendar-order' => self::ICAL,
|
||||
'default-alarm-vevent-date' => self::CALDAV,
|
||||
'default-alarm-vevent-datetime' => self::CALDAV,
|
||||
);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user