838 Commits

Author SHA1 Message Date
Andrew McMillan
d718e818dc Basic support for the ACL method. Working, but needs work. 2009-12-28 23:40:13 +13:00
Andrew McMillan
645d7b71bb Improve logging of parameterised queries. 2009-12-28 23:38:43 +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
678b00a927 Return 406 Not Acceptable for invalid XML request. 2009-12-28 13:17:02 +13:00
Andrew McMillan
28214a7db8 Refactor principal-property-search REPORT. 2009-12-28 00:27:18 +13:00
Andrew McMillan
2a99d12275 Use calendar-user-address-set for search rather than CS extension. 2009-12-28 00:26:23 +13:00
Andrew McMillan
8f87ef4ff9 Move DAVResource inclusion to REPORT wrapper. 2009-12-28 00:25:31 +13:00
Andrew McMillan
cb8cd84d81 Comment out debugging messages for peformance. 2009-12-28 00:23:48 +13:00
Andrew McMillan
baf629e272 Fix problems with logging of failed queries. 2009-12-28 00:23:25 +13:00
Andrew McMillan
4fc13bcb6f Add pass-through for PDO ErrorInfo() method. 2009-12-28 00:23:07 +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
ddb45c8158 Move MKCOL/MKCALENDAR to NeedPrivilege() 2009-12-27 14:17:25 +13:00
Andrew McMillan
1457f6066b Correct log facility. 2009-12-27 14:16:55 +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
5e4bfe1053 Fix logic for calculating by_email 2009-12-27 14:10:48 +13:00
Andrew McMillan
1a0f6984f9 New style privilege checking. 2009-12-27 09:47:26 +13:00
Andrew McMillan
4e535a8dee Switch to NeedPrivilege() method for checking privileges. 2009-12-27 09:46:51 +13:00
Andrew McMillan
d7c004c85f Switch privileges to use the new model. 2009-12-27 09:44:45 +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
ee45ccbd1e Fix implementation of need-privileges. 2009-12-26 11:52:44 +13:00
Andrew McMillan
f580d5ba47 Ensure privileges is binary rather than string. 2009-12-26 11:51:57 +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
e0e5887762 Implementation of inherited-acl-set property. 2009-12-26 10:43:35 +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
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
edd9c99df5 Limit recursion to a single layer with expand-property. 2009-12-25 00:38:55 +13:00
Andrew McMillan
99a61bf835 This could be anywhere with expand-property. 2009-12-25 00:38:03 +13:00
Andrew McMillan
fbab01fbfe Debugging comments. 2009-12-25 00:35:12 +13:00
Andrew McMillan
6c7fb15da1 Remove obsolete & unsupported notifications-URL. 2009-12-25 00:34:30 +13:00
Andrew McMillan
f5bbff82c9 Updated version string. 2009-12-24 22:15:20 +13:00
Andrew McMillan
b15b589b90 Correct response to supported-report-set property. 2009-12-24 21:37:29 +13:00
Andrew McMillan
633da890d7 Work in progress. 2009-12-24 20:38:20 +13:00
Andrew McMillan
3fb0b392fa Move the Allow response back into OPTIONS where it really belongs. 2009-12-24 20:37:43 +13:00
Andrew McMillan
d09ac0d004 Deny setting of deprecated free-busy-set. 2009-12-24 20:36:50 +13:00
Andrew McMillan
3cb5a13acd Advertise support for ACL method. 2009-12-23 23:32:35 +13:00
Andrew McMillan
f2b20bc191 Move caldav:calendar-timezone into the collection table. 2009-12-23 23:30:07 +13:00
Andrew McMillan
2f621b23d1 Basic framework for starting on ACL method handler. 2009-12-23 18:54:12 +13:00
Andrew McMillan
1834333d59 COMMIT with the same DB connection we BEGAN on! 2009-12-23 18:52:23 +13:00
Andrew McMillan
a9d95014a2 Remove irrlevant functionality to CreateDefaultRelationships.
A stub is retained in case external organisations have written
some auth plugin which does use it.
2009-12-23 15:23:50 +13:00
Andrew McMillan
4695353b1a Clarify menu wording. Remove relationships page (yay!). 2009-12-21 22:28:24 +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