From 225da157b6dfbf798d20bbac610b33728cda0a74 Mon Sep 17 00:00:00 2001 From: helge Date: Wed, 1 Jun 2005 21:12:42 +0000 Subject: [PATCH] added some comments git-svn-id: http://svn.opengroupware.org/SOPE/trunk@818 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/NGObjWeb/WebDAV/README | 21 +++++++++++++++++++ .../NGObjWeb/WebDAV/SoObject+SoDAV.m | 1 + 2 files changed, 22 insertions(+) diff --git a/sope-appserver/NGObjWeb/WebDAV/README b/sope-appserver/NGObjWeb/WebDAV/README index c3a121f1..40b84b7a 100644 --- a/sope-appserver/NGObjWeb/WebDAV/README +++ b/sope-appserver/NGObjWeb/WebDAV/README @@ -100,6 +100,18 @@ ZideLook. Those will call Its discouraged to use bulk queries, since they are non-standard. +In case no specific property names are requested ( or a propfind +without a body), the toolkit is going to query the available property set +using: + + - (NSArray *)defaultWebDAVPropertyNamesInContext:(WOContext *)_context; + TODO: check for soClass slots + +Note that this is just the set used for allprop queries, you can still support +more properties than that (not sure whether that would be valid WebDAV though). + + + Special Features ================ @@ -118,6 +130,15 @@ REPORT extended ops: ACL, CHECKOUT etc +- check for default property names (allprop) in SoClass slots + +- add support for DAV:supportedlock property + +- add support for property level 404 status + - currently we just deliver empty tags or none (if the brief header is set) + +- add Apache2 like typing namespaces on DAV:creationdate and + DAV:getlastmodified Notes ===== diff --git a/sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.m b/sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.m index ae28a059..4c663685 100644 --- a/sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.m +++ b/sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.m @@ -45,6 +45,7 @@ @implementation NSObject(SoObjectSoDAVImp) - (NSArray *)defaultWebDAVPropertyNamesInContext:(id)_ctx { + // TODO: check for set in SoClass slots static NSArray *defNames = nil; if (defNames == nil) { defNames = [[[NSUserDefaults standardUserDefaults] -- 2.39.5