953 Commits

Author SHA1 Message Date
Andrew McMillan
aaebf97bee Enhance the exception handler to display a forward trace 2010-03-13 00:00:47 +13:00
Andrew McMillan
b4e2a14552 Fix RRULE expansion handling. 2010-03-12 18:32:46 +13:00
Andrew McMillan
c2b6398afe Minor adjustments to handling 'infinity' for timeout. 2010-03-12 18:32:11 +13:00
Andrew McMillan
4322e7137a Fix RRULE expansion typos. 2010-03-12 18:31:00 +13:00
Andrew McMillan
57920da746 Switch from AllowedTo() to HavePrivilegeTo() to support tickets. 2010-03-12 18:29:46 +13:00
Andrew McMillan
4be420e8ec RepeatRule bug fixes during testing. 2010-03-12 18:29:14 +13:00
Andrew McMillan
1c9c77e412 Add initial support for BIND method. 2010-03-12 11:29:27 +13:00
Andrew McMillan
f5a29a12e2 Add principal_id to PublicSession. 2010-03-12 11:28:20 +13:00
Andrew McMillan
a53991bb90 Migrate CalDAVPrincipal to AwlQuery. 2010-03-12 11:25:35 +13:00
Andrew McMillan
31e766c368 Migrate CalDAVRequest to AwlQuery. 2010-03-12 09:47:01 +13:00
Andrew McMillan
3e455c8543 Split dav_name into real_dav_name & bound_dav_name.
This is a first stage in disconnecting these two for an
implementation of WebDAV BIND which is going to arrive in
the next few days...
2010-03-11 23:59:18 +13:00
Andrew McMillan
9f3deeb416 Fix uninitialised variable errors in new scheduling code. 2010-03-11 23:58:37 +13:00
Andrew McMillan
701e96e1b2 Some updates to the caldav client library and an example script. 2010-03-11 23:40:47 +13:00
Andrew McMillan
cef7ecf74d require_once on PgQuery now it's not common elsewhere. 2010-03-11 23:22:24 +13:00
Andrew McMillan
70fbd72000 Update the correct always.php file and rebuild. 2010-03-11 23:09:40 +13:00
Andrew McMillan
c4c05bd46d Basic script to sync from another caldav calendar. 2010-03-11 14:00:19 +13:00
Andrew McMillan
6d6ea5a503 Nail the last (hopefully) missing reference to base_url. 2010-03-11 13:59:24 +13:00
Andrew McMillan
d642bcb6de When running a script we might run it in the DAViCal root, not webroot. 2010-03-11 13:54:18 +13:00
Andrew McMillan
8ab5d8a404 Set expiry to null when we get told 'infinity' for the timeout. 2010-03-11 13:53:27 +13:00
Andrew McMillan
2589fdc237 Return 'infinity' for ticket timeout when expires is null. 2010-03-11 13:53:03 +13:00
Andrew McMillan
20f3462673 Adding Upgrader class to AwlDatabase and tidying things somewhat. 2010-03-10 22:45:13 +13:00
Andrew McMillan
de1b96913c Switch to LGPLv3 license. 2010-03-10 14:32:16 +13:00
Rob Ostensen
5d2123f385 oops, don't write to resources we don't have privileges to 2010-03-10 13:46:51 +13:00
Rob Ostensen
3efbddd9bd Scheduling extentions working with iCal 4 2010-03-10 13:46:42 +13:00
Andrew McMillan
519edce1dd Migrate LOCK/UNLOCK to AwlQuery. 2010-03-10 11:08:37 +13:00
Andrew McMillan
e0393e182a Migrate GET to AwlQuery. 2010-03-10 08:01:17 +13:00
Andrew McMillan
d419e50465 Fully switched DELETE to AwlQuery now. 2010-03-09 09:19:45 +13:00
Andrew McMillan
20a47c5fb2 Rewrite OPTIONS response to use DAVResource. 2010-03-08 17:46:24 +13:00
Andrew McMillan
dd21172c69 AwlQuery::QDo() method for quick queries where we don't parse the resultset. 2010-03-08 17:44:56 +13:00
Andrew McMillan
4db6703c05 Support for DELTICKET completed. 2010-03-08 16:44:55 +13:00
Andrew McMillan
bd875029a1 Changes for ticketdiscovery. 2010-03-08 16:44:06 +13:00
Andrew McMillan
fd1a940237 Implementation of DELTICKET method. 2010-03-07 23:24:05 +13:00
Andrew McMillan
aeaf09a2d4 Check precondition to disallow creating collections in a schedule-inbox. 2010-03-07 20:59:08 +13:00
Andrew McMillan
606e7d6338 Move PreconditionFailed and MalformedRequest into $request methods. 2010-03-07 20:58:31 +13:00
Andrew McMillan
70c853df6c Correct misspelled __LINE__ references. 2010-03-07 20:56:49 +13:00
Andrew McMillan
c6745c97b0 Tickets now working for PROPFIND requests, and maybe more... 2010-03-06 23:30:12 +13:00
Andrew McMillan
2255e1fa6a Use NeedPrivilege() method to check privileges. 2010-03-06 23:27:49 +13:00
Andrew McMillan
ef77bc3d39 Fix namespacing. 2010-03-06 23:26:58 +13:00
Andrew McMillan
c8fc9f128a Fix order of parameters in Exec() calls. 2010-03-06 23:26:06 +13:00
Andrew McMillan
6560ea47a0 Check permission on move destination. 2010-03-06 23:25:30 +13:00
Andrew McMillan
2abf646429 Also send a Ticket: header in response to a MKTICKET. 2010-03-06 00:53:01 +13:00
Andrew McMillan
3320ec9a17 Start adding ticket support into request processing. 2010-03-06 00:22:09 +13:00
Andrew McMillan
c3cfc97fff Add an empty response to the DAV::group property. 2010-03-06 00:21:01 +13:00
Andrew McMillan
371666f04e All schedule-deliver privileges should be included in default. 2010-03-06 00:19:49 +13:00
Andrew McMillan
ecdf44ddd9 Use NeedPrivilege to respond to access denied. 2010-03-06 00:19:09 +13:00
Andrew McMillan
03ff39fa33 With readonly_webdav_collections set we should write nothing!
We were writing collection records to the database when the
configuration setting readonly_webdav_collections was set, even
though the actual events would not be written.
2010-03-05 14:26:58 +13:00
Andrew McMillan
31f8c6b17f MKTICKET handling is now working. 2010-03-05 12:29:54 +13:00
Andrew McMillan
1e717bf1fe Check we have actually got an XML body if we got a content-type XML. 2010-03-05 12:25:09 +13:00
Andrew McMillan
da6e9a07e2 Check XML is present, and also do need-privileges response. 2010-03-05 12:18:09 +13:00
Andrew McMillan
dc72ddf3a8 Correct setup of locale. 2010-03-05 11:00:55 +13:00