20 Commits

Author SHA1 Message Date
Andrew McMillan
775ccceb58 Move debug logged password behind specific 'password' debug setting.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-04 23:22:49 +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
9f8d4b4346 Actually use new calculated per principal auth_realm.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-30 18:59:19 +13:00
Andrew McMillan
5c0dd64d68 Let auth realm be 'per Principal' to work around Mozilla #247486
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-30 12:41:49 +13:00
Andrew McMillan
413618749c Be pedantic about checking user is active before we let them in. 2010-11-27 16:42:22 +13:00
Andrew McMillan
f644a31f9b Avoid potential unassigned variable warning. 2010-06-27 19:06:27 +12:00
Andrew McMillan
b296151724 Re-read local database record if the remote auth did not supply principal_id 2010-06-21 10:56:01 +12:00
Andrew McMillan
8958e99d37 Inactive users should not still be able to access their calendars. 2010-04-13 03:45:00 +12:00
Andrew McMillan
5bc17b0acd Switch to AwlQuery library. 2010-03-17 20:20:33 +13:00
Andrew McMillan
a6d692cde9 Switch always.php over to AwlQuery. 2010-03-04 01:39:40 +13:00
Andrew McMillan
3df6ccc4ba Getting 'MOVE' working has proven surprisingly complex. 2009-11-04 00:17:10 +13:00
Andrew McMillan
a4aedbef05 Add option for auth hook optionality - patch from Wolfgang Herget. 2009-10-06 18:17:17 +13:00
Andrew McMillan
066ae3f4e3 Release 0.9.6 2008-11-01 23:08:41 +13:00
Andrew McMillan
ff87efdc1d Use @todo: everywhere for phpdocumentor syntax. 2008-11-01 19:27:33 +13:00
Andrew McMillan
3acdc1eb7f Allow authentication to be configured as optional. 2008-10-25 16:52:20 +13:00
Andrew McMillan
5c8cfa4031 Rename @package to davical. 2008-09-18 12:03:00 +12:00
Andrew McMillan
8aebded95d Allow for authentication to happen externally to DAViCal. 2008-07-12 23:12:54 +12:00
Andrew McMillan
83cabf87ce Fix to work with FastCGI installation. 2008-01-21 16:01:32 +13:00
Andrew McMillan
1d1f987233 Ensure that we have a default auth mode. 2007-10-25 15:20:18 +13:00
Andrew McMillan
6b1286cf5b Add a framework for supporting Digest authentication. 2007-08-07 22:42:27 +12:00