16 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
58eb6fa7c0 Fix the logging so that we get the raw_post logged for !GET 2010-11-17 13:15:33 +13:00
Andrew McMillan
50fccc73d8 Working freebusy refactored to use a single core routine. 2010-08-30 18:55:23 +12:00
Andrew McMillan
f0964f7583 Move always.php into the webroot for easier setup.
Also add some 'search for the AWL includes' code into it for
even more easier setup.
2010-03-23 21:52:00 +13:00
Andrew McMillan
b1919850a1 Switch to HavePrivilegeTo() to ensure we catch tickets. 2010-03-07 20:57:33 +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
dd4fc3e412 Align freebusy parameter handling with proposed standard.
Also ensure all dates/times are returned in GMT relative,
in compliance with RFC2445.
2009-06-16 22:45:44 +12:00
Andrew McMillan
9683df685b Remove closing ?> 2008-10-26 22:16:53 +13:00
Andrew McMillan
7d563da031 Move debugging of headers to before http auth, making it more useful. 2008-01-24 21:55:35 +13:00
Andrew McMillan
6b1286cf5b Add a framework for supporting Digest authentication. 2007-08-07 22:42:27 +12:00
Andrew McMillan
1eb5308fc2 Separate the creation of the session object from the definition of it's class. 2007-05-30 22:52:58 +12:00
Andrew McMillan
441ec448fe Change freebusy to use the code we wrote for the free busy REPORT. 2006-12-22 09:02:51 +13:00
Andrew McMillan
2800808b90 Allow RSCDS to operate from a subdirectory within another virtual host,
rather than requiring it's own virtual host.
2006-11-30 18:09:38 +13:00
Andrew McMillan
58ac97191a Allow an e-mail address to be used with the freebusy.php functionality. 2006-11-23 20:19:12 +13:00
Andrew McMillan
eed763151f Implement basic freebusy support. 2006-11-21 21:56:22 +13:00
Andrew McMillan
b6ea0453da First release to attempt installation on another machine. 2006-09-13 11:57:30 +12:00