45 Commits

Author SHA1 Message Date
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
Andrew McMillan
a6fccffb86 When listing users we should not list users that we have no access to. 2006-11-22 21:07:04 +13:00
Andrew McMillan
94617522a7 Ensure that permissions and path prefixes are being correctly applied. 2006-11-09 14:33:29 +13:00
Andrew McMillan
c59097ce7b Rudimentary support for DAV:ACL and DAV:SUPPORTED-PRIVILEGE-SET. 2006-10-26 00:31:01 +13:00
Andrew McMillan
1639f0f1ca More code cleanups - adding phpdoc header to all caldav component parts. 2006-10-11 16:38:53 +13:00
Andrew McMillan
60ffd152aa Removal of warnings, adding of permissions. 2006-10-08 00:30:01 +13:00
Andrew McMillan
0ed02b6c2e Rewrite of REPORT handling to use XML library and generally much improve
the structure of it.  Major hacking on PROPFIND so that we can now work
with Mulberry.  Join todo & event tables into calendar_item table because
having them separate was getting very silly.  Remove XMLElement.php which
is now in the standard libraries.
2006-10-05 00:37:25 +13:00
Andrew McMillan
f649e1b49d Many changes to get user maintenance basically working, make the layout
all look somewhat nicer, and start to try and work with Mulberry, including
implementing MKCALENDAR and PROPFIND in at least a basic manner.
2006-10-01 20:46:28 +13:00
Andrew McMillan
db963fadf6 Now supports user create, view & edit with role assignment. Also starts to
support the PROPFIND request that Mulberry makes but does not fully support
Mulberry yet (their timezones are non-standard).
2006-09-27 09:53:34 +12:00