32 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
25e8519b4b OPTIONS should be available to someone with any of the read permissions. 2010-08-24 14:44:41 +12:00
Andrew McMillan
20a47c5fb2 Rewrite OPTIONS response to use DAVResource. 2010-03-08 17:46:24 +13:00
Andrew McMillan
ecdf44ddd9 Use NeedPrivilege to respond to access denied. 2010-03-06 00:19:09 +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
d5a60406bf Switch to always sending an 'Allow:' header. 2009-11-05 16:20:01 +13:00
Andrew McMillan
3df6ccc4ba Getting 'MOVE' working has proven surprisingly complex. 2009-11-04 00:17:10 +13:00
Andrew McMillan
a1aa782c17 Limit scope of collections_always_exist to user's own folders. 2008-11-26 14:38:18 +13:00
Andrew McMillan
a92d7ebd2f Enable the scheduling extensions. 2008-10-29 08:45:31 +13:00
Andrew McMillan
5c8cfa4031 Rename @package to davical. 2008-09-18 12:03:00 +12:00
Andrew McMillan
bdc9c1a875 Restrict the OPTIONS response on the root. 2007-11-04 13:48:56 +13:00
Andrew McMillan
ca10fb50c1 Move the DAV: header to caldav.php, rather than only sending it for
the OPTIONS request.
2007-10-29 18:14:10 +13:00
Andrew McMillan
ae3e35d036 Update the URL of the scheduling extensions draft. 2007-10-26 21:14:12 +13:00
Maxime Delorme
ad685a490b Add PROPPATCH to our standard supported options. 2007-05-05 11:28:15 +12:00
Andrew McMillan
1be3e5d320 Apparently it is OK to use REPORT on normal collections. 2006-12-10 22:39:27 +13:00
Andrew McMillan
209bb99584 Since we're going to support the LOCK/UNLOCK methods we begin by pretending. 2006-12-03 23:15:30 +13:00
Andrew McMillan
f5fe854d9f Fix variable missing $. 2006-12-02 11:48:34 +13:00
Andrew McMillan
d3a71cd234 Return an honest set of OPTIONS in the normal case, and allow us to override
so we can see if clients will try and use the ones we don't support.
2006-12-02 00:08:42 +13:00
Andrew McMillan
4aca3489d2 Fix another bug in OPTIONS. 2006-11-27 09:12:42 +13:00
Andrew McMillan
02be51d765 OPTIONS now working with new structure. 2006-11-27 00:29:23 +13:00
Andrew McMillan
dd3774dde5 OK, so I hunted down the docs for this. I don't see any great reason to
do it any time soon though.
2006-11-19 18:49:20 +13:00
Andrew McMillan
0919a0b2fe Add a placeholder for the PROPPATCH command which I will now start working
on.
2006-11-19 12:06:05 +13:00
Andrew McMillan
aea03540b6 A setting more suitable for Mozilla/Evolution. 2006-11-19 12:04:42 +13:00
Andrew McMillan
3b5735faaf Much stricter implementation of the OPTIONS command. It is possible that
this will make Evolution and Mozilla fail, which I will need to fix before
this can be released.
2006-11-18 23:08:45 +13:00
Andrew McMillan
1639f0f1ca More code cleanups - adding phpdoc header to all caldav component parts. 2006-10-11 16:38:53 +13:00
Andrew McMillan
816147789d Reviewed, commented, and added a healthy dose of honesty. 2006-10-11 14:11:38 +13:00
Andrew McMillan
f649e1b49d Many changes to get user maintenance basically working, make the layout
all look somewhat nicer, and start to try and work with Mulberry, including
implementing MKCALENDAR and PROPFIND in at least a basic manner.
2006-10-01 20:46:28 +13:00
Andrew McMillan
db963fadf6 Now supports user create, view & edit with role assignment. Also starts to
support the PROPFIND request that Mulberry makes but does not fully support
Mulberry yet (their timezones are non-standard).
2006-09-27 09:53:34 +12:00
Andrew McMillan
2b8b67ab0b Kind of working now, with either Lighting or Evolution. 2006-09-24 17:08:39 +12:00
Andrew McMillan
d64d2b4000 Now storing events, including parsing them into further SQL. 2006-09-12 04:36:37 -05:00
Andrew McMillan
dc4526c3d7 Kinda working. Nearly packaged. 2006-09-11 22:30:00 +12:00
Andrew McMillan
792b1a5083 Initial commit 2006-09-04 23:11:31 +12:00