mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
Add support for supported-method-set & supported-report-set.
This commit is contained in:
parent
4fada3c2c8
commit
379747180a
@ -61,6 +61,8 @@ foreach( $request->xml_tags AS $k => $v ) {
|
||||
case 'DAV::allprop': /** limited support, needs to be checked for correctness at some point */
|
||||
case 'DAV::group-member-set': /** limited support, at the moment used for caldav proxy */
|
||||
case 'DAV::group-membership': /** limited support, at the moment used for caldav proxy */
|
||||
case 'DAV::supported-method-set': /** Should work fine */
|
||||
case 'DAV::supported-report-set': /** Should work fine */
|
||||
|
||||
/**
|
||||
* Handled CalDAV properties
|
||||
@ -297,6 +299,14 @@ function add_general_properties( &$prop, &$denied, $record ) {
|
||||
$reply->DAVElement( $prop, 'supported-privilege-set', privileges( $request->SupportedPrivileges(), 'supported-privilege') );
|
||||
}
|
||||
|
||||
if ( isset($prop_list['DAV::supported-method-set']) ) {
|
||||
$reply->DAVElement( $prop, 'supported-method-set', $request->BuildSupportedMethods() );
|
||||
}
|
||||
if ( isset($prop_list['DAV::supported-report-set']) ) {
|
||||
$reply->DAVElement( $prop, 'supported-report-set', $request->BuildSupportedReports() );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user