8 Commits

Author SHA1 Message Date
Andrew McMillan
e70bcd80d1 Fix caching problems.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 17:00:03 +13:00
Andrew McMillan
20ee255898 Refactor fetching of Principal records from database.
This is a significant refactoring, replacing the old getUserBy*()
functions with a new Principal class, and replacing the old
CalDAVPrincipal class with a new DAVPrincipal class which extends
the Principal class.

At this point all regression tests pass (again) but there could
well be issues for people who use alternative authenticators
such as LDAP, although I have endeavoured to resolve those
potential issues.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-03 10:16:43 +13:00
Andrew McMillan
606e7d6338 Move PreconditionFailed and MalformedRequest into $request methods. 2010-03-07 20:58:31 +13:00
Andrew McMillan
c8fc9f128a Fix order of parameters in Exec() calls. 2010-03-06 23:26:06 +13:00
Andrew McMillan
d718e818dc Basic support for the ACL method. Working, but needs work. 2009-12-28 23:40:13 +13:00
Andrew McMillan
ebbec96269 Add NeedPrivilege() method to DAVResource and simplify request method. 2009-12-26 11:19:21 +13:00
Andrew McMillan
633da890d7 Work in progress. 2009-12-24 20:38:20 +13:00
Andrew McMillan
2f621b23d1 Basic framework for starting on ACL method handler. 2009-12-23 18:54:12 +13:00