120 Commits

Author SHA1 Message Date
Andrew McMillan
606e7d6338 Move PreconditionFailed and MalformedRequest into $request methods. 2010-03-07 20:58:31 +13:00
Andrew McMillan
c6745c97b0 Tickets now working for PROPFIND requests, and maybe more... 2010-03-06 23:30:12 +13:00
Andrew McMillan
3320ec9a17 Start adding ticket support into request processing. 2010-03-06 00:22:09 +13:00
Andrew McMillan
1e717bf1fe Check we have actually got an XML body if we got a content-type XML. 2010-03-05 12:25:09 +13:00
Andrew McMillan
544a3949fc Minor formatting tweak. 2010-02-24 16:25:50 +13:00
Andrew McMillan
38d1d430a5 Strip redundant code from CalDAVRequest 2009-12-27 14:16:09 +13:00
Andrew McMillan
d7c004c85f Switch privileges to use the new model. 2009-12-27 09:44:45 +13:00
Andrew McMillan
ee45ccbd1e Fix implementation of need-privileges. 2009-12-26 11:52:44 +13:00
Andrew McMillan
9eb76822ce Fix cut and paste error. 2009-12-26 11:23:30 +13:00
Andrew McMillan
ebbec96269 Add NeedPrivilege() method to DAVResource and simplify request method. 2009-12-26 11:19:21 +13:00
Andrew McMillan
fe2db77266 Add a NeedPrivilege($href,$privilege) to build an error response. 2009-12-26 00:18:46 +13:00
Andrew McMillan
b76a9a6059 Make the supported-privilege-set response to match the new privileges. 2009-12-26 00:17:59 +13:00
Andrew McMillan
b15b589b90 Correct response to supported-report-set property. 2009-12-24 21:37:29 +13:00
Andrew McMillan
3cb5a13acd Advertise support for ACL method. 2009-12-23 23:32:35 +13:00
Andrew McMillan
9ecc95399b Force function parameter types for older PostgreSQL versions. 2009-12-21 22:18:54 +13:00
Andrew McMillan
19199d5f86 Replaced the old get_permissions() call with the new permissions model. 2009-12-21 13:04:25 +13:00
Andrew McMillan
8008dc3943 Add support for the X-HTTP-Method-Override header. 2009-11-23 15:14:45 +13:00
Andrew McMillan
dcb56e1696 Correct supported-report-set output. 2009-11-15 10:03:47 +13:00
Andrew McMillan
cfa9b42c1d Add expand-property report to the supported reports. 2009-11-14 17:36:47 +13:00
Andrew McMillan
865a2e499c Various changes preparing to switch PROPFIND implementation. 2009-11-12 00:39:18 +13:00
Andrew McMillan
a23ab2cf54 Add MOVE to the supported method set. 2009-11-04 08:51:44 +13:00
Andrew McMillan
3df6ccc4ba Getting 'MOVE' working has proven surprisingly complex. 2009-11-04 00:17:10 +13:00
Andrew McMillan
9d23250593 Add a dav_name() accessor for forward compatibility. 2009-11-02 22:21:02 +13:00
Andrew McMillan
b0b93fff28 Notify support for the DAV::sync-collection report 2009-11-02 22:20:20 +13:00
Andrew McMillan
532f06f981 Tweaking response to supported-methods 2009-11-02 11:47:09 +13:00
Andrew McMillan
1bfaca1d09 Finish support for supported-method/report-set & rename functions. 2009-11-02 10:04:28 +13:00
Andrew McMillan
4f885d055c Implementations of supported-report-set and supported-method-set. 2009-10-28 18:42:21 +13:00
Andrew McMillan
aea53f9da6 Change calculation of $this->overwrite to be a boolean. 2009-10-27 09:15:15 +13:00
Andrew McMillan
d70fd0fbd2 Create schedulei(in|out)box with correct resourcetypes. 2009-10-16 13:03:06 +13:00
Andrew McMillan
2ab1e94ecb Fix checking of IsCalendar and add IsAddressBook method as well. 2009-10-15 23:13:07 +13:00
Andrew McMillan
24a8971080 Initial support for draft-daboo-webdav-sync-01 2009-10-13 21:29:40 +13:00
Andrew McMillan
72452512a1 Fix garbage typos accidentally committed! 2009-10-11 15:02:11 -07:00
Andrew McMillan
e4460c6004 Initial (broken) support for supported-methods and supported-report-set 2009-10-09 01:16:19 -07:00
Andrew McMillan
bede1cba07 Correct supported-privilege-set response for enclosed privileges. 2009-10-08 08:15:57 +13:00
Andrew McMillan
7ecf24c123 Fix permissions handling, in particular supported-privilege-set response. 2009-10-07 09:09:44 -07:00
Andrew McMillan
abf596f7d8 Add an IsCalendar() method. 2009-10-06 14:33:30 +13:00
Andrew McMillan
45512950a0 Some tidy ups around scheduling inbox and passing collection type on. 2009-09-25 22:15:57 +12:00
Andrew McMillan
acbab43990 Minor cosmetic code changes. 2009-09-14 21:11:14 +12:00
Andrew McMillan
04daf91d32 Expand privileges since th iP-hone can't $%^& handle 'all' 2009-09-11 23:46:25 +12:00
Andrew McMillan
c97c489a52 Handle /principals/*/user requests as Depth: 0 on principal 2009-09-11 11:04:06 +12:00
Andrew McMillan
5265ed496f Fix header logging. 2009-09-11 08:42:07 +12:00
Andrew McMillan
a3676d3d40 Clean up some handling of URLs where the username is an e-mail address. 2009-08-29 17:20:54 +12:00
Andrew McMillan
989cc98b52 Ensure incoming URLs are decoded before we process them. 2009-08-24 12:09:17 +12:00
Andrew McMillan
6d10a23fc3 Add facility to debug log request/response in full. 2009-06-22 10:19:11 +12:00
Andrew McMillan
1f8b3a2af9 Move principal rendering into principal. 2009-06-14 21:20:36 +12:00
Wolfgang Herget
d58856528a Fix phpdoc comment. 2009-06-13 13:41:48 +12:00
Andrew McMillan
f65770b7f1 Add support for publicly readable calendars. 2009-04-17 01:03:54 +12:00
Andrew McMillan
a9a3709106 Logging. 2009-04-10 23:44:37 +12:00
Andrew McMillan
462a270264 Ensure Content-location headers are properly constructed URLs. 2009-02-26 23:40:16 +13:00
Andrew McMillan
1b75cdb024 Fix LOCK timeout handling. 2008-11-02 14:08:29 +13:00