4 Commits

Author SHA1 Message Date
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
f5a29a12e2 Add principal_id to PublicSession. 2010-03-12 11:28:20 +13:00
Andrew McMillan
cf5e93c9f5 Allow freebusy query to be public for freebusy URLs at least. 2009-10-07 09:07:50 -07:00
Andrew McMillan
06549086a1 Reads to /public.php/... will work if the collection is publicly_readable. 2009-04-17 01:04:43 +12:00