58 Commits

Author SHA1 Message Date
Andrew McMillan
98654043c5 Efficiency improvements from bypassing get_permissions() call in query. 2008-01-26 16:54:04 +13:00
Andrew McMillan
2cacc8aa1c Almost entirely switched to root-relative URLs now. 2007-11-25 13:31:35 +13:00
Andrew McMillan
6d3a0abd4c Write & use utility function for URL construction. 2007-11-25 12:57:54 +13:00
Andrew McMillan
78ce98b8de Consistently use URL without protocol://host:port prefix. 2007-11-25 12:42:40 +13:00
Andrew McMillan
75ef6cc105 Remove iCal hack to escape displaynames with spaces. iCal 3.0.1 doesn't need this. 2007-11-25 00:41:28 +13:00
Andrew McMillan
552bb6f0e8 Debugging namespace change, with updated regression results. 2007-11-23 23:32:05 +13:00
Andrew McMillan
ad17ee8a2b Use wrapper functions to construct tag namespaces. 2007-11-23 23:01:47 +13:00
Andrew McMillan
73c00d5b78 Migrate caldav namespace handling to new structure. 2007-11-16 09:08:37 +13:00
Andrew McMillan
ec949297c3 Restructure the way that we handle namespaces. This will move to XMLElement
in due course.
2007-11-16 08:50:24 +13:00
Andrew McMillan
60383ef3c2 Improved formatting of namespace details for arbitrary properties. 2007-11-15 16:35:29 +13:00
Andrew McMillan
2108144edf Don't duplicate the collection response when we get Depth: infinity 2007-11-06 00:28:49 +13:00
Andrew McMillan
501a6e215c Return the session user's home-url when called on / 2007-11-05 23:41:49 +13:00
Andrew McMillan
3c3990546a Final changes to really get iCal working. 2007-11-04 23:10:52 +13:00
Andrew McMillan
2e64a4fc8e Tidy up the response. 2007-11-04 13:49:22 +13:00
Andrew McMillan
ee43bf9b9b Add not_found / denied to item response. 2007-11-04 13:28:13 +13:00
Andrew McMillan
1436dbc88e Now works with iCal 3.0. Most notably because we replace ' ' with '_'
in the response to requests for the displayname property.
2007-11-04 12:39:22 +13:00
Andrew McMillan
2d456cadd5 Handle the case where we are called with a null path. 2007-11-03 20:44:59 +13:00
Andrew McMillan
ee1ea4c950 Refactoring of the principal into an object class. 2007-11-03 10:14:05 +13:00
Andrew McMillan
00fb075f22 Some of the principal properties are available anywhere. 2007-11-01 14:49:34 +13:00
Andrew McMillan
91b4570997 Some changes to PROPFIND handling for iCal 3 support (not yet). 2007-10-30 12:07:50 +13:00
Andrew McMillan
1083970df8 Some vague changes in the hope that it might work better with
iCal.  I really need to spend some time with a Mac to make this
work, I think...
2007-10-28 20:40:39 +13:00
Andrew McMillan
f8b0f0383e Initial support for DAV::PRINCIPAL-URL and CalDAV calendar-home-set 2007-10-26 21:12:26 +13:00
Andrew McMillan
613fcb4417 Use the right variable name. 2007-10-25 22:46:32 +13:00
Andrew McMillan
6444803cbb Add support for some server-defined values which we know we support. 2007-08-14 21:02:59 +12:00
Andrew McMillan
7ec3ae5d93 Session needs to be global here. 2007-03-08 09:18:36 +13:00
Andrew McMillan
a5203098c5 Hide PRIVATE events if the person enquiring has no rights to see them. 2007-03-06 17:03:20 +13:00
Andrew McMillan
c22318578f Allow someone with freebusy permissions to see the hierarchy of collections
but not the items within them.
2007-02-16 11:35:24 +13:00
Andrew McMillan
de3f11b695 Allow PROPFIND to find arbitrary properties. 2006-12-23 20:58:39 +13:00
Andrew McMillan
0d127289eb Add return of resourcetype when collection is also a principal. 2006-12-11 10:25:03 +13:00
Andrew McMillan
3a1bd3f4a9 Add support for DAV::allprop 2006-12-11 09:07:59 +13:00
Andrew McMillan
9be75391d3 Finially tracked down what resourcetype RFC2518 specifies for resources... 2006-12-10 23:08:38 +13:00
Andrew McMillan
bd17bed542 Add in all of the properties for DAV an CalDAV, even if we don't reply
to them yet.
2006-12-10 22:47:41 +13:00
Andrew McMillan
5ae599c027 Some basic support for the getcontentlanguage property. 2006-12-10 22:18:38 +13:00
Andrew McMillan
dfad00f938 Since we may not always get a creation date out of the iCalendar entry we
sometimes need to use the database creation time of the entry.
2006-12-10 18:56:49 +13:00
Andrew McMillan
e0d34558de Enforce ORDER on results. 2006-12-10 18:52:16 +13:00
Andrew McMillan
940e1d0460 Use summary for displayname of resources. 2006-12-10 18:31:22 +13:00
Andrew McMillan
facbb99318 PROPFIND now working for individual resources. 2006-12-10 16:22:09 +13:00
Andrew McMillan
77f3e798ad Correct date formats for last modified and creation dates. 2006-12-10 14:41:50 +13:00
Andrew McMillan
a6d4c843d7 Working towards RFC2518 compliance. 2006-12-10 13:27:35 +13:00
Andrew McMillan
1ecea41298 Pretend we support all of the DAV properties. 2006-12-09 22:47:26 +13:00
Andrew McMillan
cfdf6b073b Add support for creationdate property. 2006-12-09 22:04:39 +13:00
Andrew McMillan
d061c96198 Move handling of unsupported requests into CalDAVRequest 2006-12-09 21:56:18 +13:00
Andrew McMillan
6c50015eef Change to use 422 when we have an unsupported, but syntactically correct,
request.
2006-12-09 15:38:16 +13:00
Andrew McMillan
72be8944ec Allow processing of supportedlock property to identify we can handle
exclusive write locks now.
2006-12-09 15:04:31 +13:00
Andrew McMillan
83e6f20e86 Consistency of XML response is probably a good idea. 2006-12-04 13:30:21 +13:00
Andrew McMillan
e4f10270b7 Use defined canonicalisation base URL. 2006-12-04 11:34:03 +13:00
Andrew McMillan
bd6bee3744 Correct reference to displayname field. 2006-12-02 11:56:39 +13:00
Andrew McMillan
c26ae36b93 Remove exit(0) which is no longer necessary. 2006-11-27 09:21:13 +13:00
Andrew McMillan
6a6f147f75 Converted PROPFIND to new request object. 2006-11-27 01:01:09 +13:00
Andrew McMillan
378e6fc97b Now we've fixed the DB function we don't need to check we are us as well. 2006-11-23 22:55:08 +13:00