50 Commits

Author SHA1 Message Date
Andrew McMillan
00cce278ef Fix parent-set response on collections. 2010-03-19 10:31:55 +13:00
Andrew McMillan
a1c720d92b Catch the privileges on resources via a bound ticket. 2010-03-18 20:01:24 +13:00
Andrew McMillan
8fc2a76cea Add support for resource-id and parent-set properties. 2010-03-18 13:21:19 +13:00
Andrew McMillan
e8c6aa2abf Add an extra resourcetype to a binding to indicate it's a binding.
This is not in the spec, but makes things easier if you need
to know whether this is a binding or not.  You could also
request a parent-set property and thus know this too, but
we'll do this temporarily and decide if maybe it's a bad
idea later.
2010-03-18 10:44:55 +13:00
Andrew McMillan
65e6eb2eff GET now working with bound resources. 2010-03-15 14:55:06 +13:00
Andrew McMillan
4d674c4f92 Getting bindings to work as seamlessly as possible. 2010-03-15 00:31:16 +13:00
Andrew McMillan
0a1b3c2d59 All regression tests passing again with BIND for PROPFIND. 2010-03-14 12:16:12 +13:00
Andrew McMillan
f78655e952 Fixing up various minor regressions after restructuring PROPFIND. 2010-03-14 01:48:55 +13:00
Andrew McMillan
ed055722e9 Working BIND and PROPFIND of bound resources. 2010-03-14 00:22:43 +13:00
Andrew McMillan
3e455c8543 Split dav_name into real_dav_name & bound_dav_name.
This is a first stage in disconnecting these two for an
implementation of WebDAV BIND which is going to arrive in
the next few days...
2010-03-11 23:59:18 +13:00
Andrew McMillan
2589fdc237 Return 'infinity' for ticket timeout when expires is null. 2010-03-11 13:53:03 +13:00
Andrew McMillan
bd875029a1 Changes for ticketdiscovery. 2010-03-08 16:44:06 +13:00
Andrew McMillan
c6745c97b0 Tickets now working for PROPFIND requests, and maybe more... 2010-03-06 23:30:12 +13:00
Andrew McMillan
c3cfc97fff Add an empty response to the DAV::group property. 2010-03-06 00:21:01 +13:00
Andrew McMillan
0fffd0e417 First (untested) cut at MKTICKET implementation. 2010-03-05 00:02:26 +13:00
Andrew McMillan
0e1df68878 Correct allprop/include processing. 2010-02-28 22:39:02 +13:00
Andrew McMillan
023e4db443 DAV::owner should be wrapped with DAV::property in DAV::ace response. 2009-12-28 13:17:48 +13:00
Andrew McMillan
6269980fd5 Add support for principal-search-property-set REPORT per RFC3744 2009-12-27 23:29:57 +13:00
Andrew McMillan
45e1222a9d Refactor the construction of DAV::acl and report owner acl 2009-12-27 23:28:40 +13:00
Andrew McMillan
38d1d430a5 Strip redundant code from CalDAVRequest 2009-12-27 14:16:09 +13:00
Andrew McMillan
5055d28c07 Revert misguided namespacing change on Not Found properties. 2009-12-27 14:15:04 +13:00
Andrew McMillan
e742238e9a Move response for supported-lock and supported-privilege-set into DAVResource.php 2009-12-27 14:14:06 +13:00
Andrew McMillan
67c8be1f2a Reply to denied/notfound properties with a namespace-aliased response. 2009-12-26 13:27:55 +13:00
Andrew McMillan
f33de018f3 Deny visibility of DAV::current-user-principal-set and DAV::acl as appropriate. 2009-12-26 12:37:02 +13:00
Andrew McMillan
c7c5c1d784 Ensure privileges are in decimal form. 2009-12-26 12:36:26 +13:00
Andrew McMillan
ebbec96269 Add NeedPrivilege() method to DAVResource and simplify request method. 2009-12-26 11:19:21 +13:00
Andrew McMillan
e0e5887762 Implementation of inherited-acl-set property. 2009-12-26 10:43:35 +13:00
Andrew McMillan
921926acf5 Add support for the DAV::acl-restrictions property. 2009-12-26 00:14:34 +13:00
Andrew McMillan
7e4b8c33c3 Add support for the <acl> property. 2009-12-26 00:13:51 +13:00
Andrew McMillan
99a61bf835 This could be anywhere with expand-property. 2009-12-25 00:38:03 +13:00
Andrew McMillan
b15b589b90 Correct response to supported-report-set property. 2009-12-24 21:37:29 +13:00
Andrew McMillan
f2b20bc191 Move caldav:calendar-timezone into the collection table. 2009-12-23 23:30:07 +13:00
Andrew McMillan
9ecc95399b Force function parameter types for older PostgreSQL versions. 2009-12-21 22:18:54 +13:00
Andrew McMillan
1eb677de16 Make some of those unused functions really not be used! 2009-12-21 21:41:37 +13:00
Andrew McMillan
f3ec8622e9 Restore support for current-user-principal property. 2009-12-08 09:23:48 +13:00
Andrew McMillan
8644cec3fb Add default privileges setting. Move privileges functions out of DAVResource.php 2009-11-22 22:28:27 +13:00
Andrew McMillan
b451f9d9d9 Don't expect an active column on principal. 2009-11-22 00:22:01 +13:00
Andrew McMillan
2737557070 Add support for supported-method-set / suported-report-set 2009-11-15 10:04:22 +13:00
Andrew McMillan
2c418c4545 Move URL deconstruction into DeconstructURL function. 2009-11-14 17:35:10 +13:00
Andrew McMillan
865a2e499c Various changes preparing to switch PROPFIND implementation. 2009-11-12 00:39:18 +13:00
Andrew McMillan
0e6be2613e Slightly improved initialisation from row. 2009-11-08 20:32:11 +13:00
Andrew McMillan
3df6ccc4ba Getting 'MOVE' working has proven surprisingly complex. 2009-11-04 00:17:10 +13:00
Andrew McMillan
67b7ec52ff Fix cut and paste typo. 2009-11-02 23:40:29 +13:00
Andrew McMillan
eff60f67c3 Untested, but functionally sufficient for MOVE method now. 2009-11-02 22:21:32 +13:00
Andrew McMillan
ff4d9092bb Now with fewer syntax errors! 2009-10-28 18:41:59 +13:00
Andrew McMillan
b182c334db Starting to take shape. 2009-10-27 09:36:49 +13:00
Andrew McMillan
1f5961e1b1 Under development. 2009-10-26 00:10:18 +13:00
Andrew McMillan
3d70853e15 Non-working code to respond to calendar-data request. 2009-10-14 21:39:40 +13:00
Andrew McMillan
24a8971080 Initial support for draft-daboo-webdav-sync-01 2009-10-13 21:29:40 +13:00
Andrew McMillan
4c65e6ce9e Start of a DAVResource object. 2009-10-11 15:05:10 -07:00