* remove unneeded var
authorWilfried Göesgens <willi@citadel.org>
Thu, 10 Sep 2009 20:39:10 +0000 (20:39 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 10 Sep 2009 20:39:10 +0000 (20:39 +0000)
* add prototypes for templated dav replies

webcit/roomops.h
webcit/static/t/dav_propfind_groupdav.xml [new file with mode: 0644]
webcit/static/t/dav_propfind_top.xml [new file with mode: 0644]

index 19ceba3640080714fc8e7f0eba7151826e4fdcaa..2f7cb66541b27f6e6804fbde7e785b666d5e5f62 100644 (file)
@@ -64,7 +64,6 @@ typedef struct _folder {
        int QRFlags2;    /* Bitbucket NO2 */
 
        long RAFlags;
-///    StrBuf *ACL;    /* access Control list... */
 
        int view;       /* whats its default view? inbox/calendar.... */
        int defview;
diff --git a/webcit/static/t/dav_propfind_groupdav.xml b/webcit/static/t/dav_propfind_groupdav.xml
new file mode 100644 (file)
index 0000000..8722e0f
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>"
+<multistatus xmlns="DAV:" xmlns:G"http://groupdav.org/">"
+<response>
+<href>
+<?DAV:HOSTNAME>/
+</href>
+<propstat>
+<status>HTTP/1.1 200 OK</status>
+<prop>
+<displayname>GroupDAV</displayname>
+<resourcetype><collection/></resourcetype>
+<getlastmodified>
+<?DATE:NOW:STR>
+</getlastmodified>
+</prop>
+</propstat>
+</response>
diff --git a/webcit/static/t/dav_propfind_top.xml b/webcit/static/t/dav_propfind_top.xml
new file mode 100644 (file)
index 0000000..c24605c
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>"
+<multistatus xmlns="DAV:" xmlns:G"http://groupdav.org/">"
+<response>
+<href>
+<?DAV:HOSTNAME>/
+</href>
+<propstat>
+<status>HTTP/1.1 200 OK</status>
+<prop>
+<displayname>/</displayname>
+<resourcetype><collection/></resourcetype>
+<getlastmodified>
+<?DATE:NOW:STR>
+</getlastmodified>
+</prop>
+</propstat>
+</response>