943 Commits

Author SHA1 Message Date
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
Andrew McMillan
0fffd0e417 First (untested) cut at MKTICKET implementation. 2010-03-05 00:02:26 +13:00
Andrew McMillan
567ff944a0 Properly respond with <error> elements inside <responsedescription>
As specified in RFC3253 (WebDAV Versioning), section 1.6
2010-03-04 16:52:21 +13:00
Andrew McMillan
1959c30eed Validating user/collection names. Updating fullname/displayname. 2010-03-04 01:41:11 +13:00
Andrew McMillan
a6d692cde9 Switch always.php over to AwlQuery. 2010-03-04 01:39:40 +13:00
Andrew McMillan
4a0c65735e Migrate MKCOL script to AwlQuery wrapper. 2010-03-03 14:31:11 +13:00
Andrew McMillan
e2ff9b575b Add transaction helpers to query class. 2010-03-03 14:29:47 +13:00
Andrew McMillan
ecf57ce54e Updated collection / principal edit, with better l10n. 2010-03-02 14:39:57 +13:00
Andrew McMillan
0e1df68878 Correct allprop/include processing. 2010-02-28 22:39:02 +13:00
Andrew McMillan
d763312279 Use 'Revoke' rather than 'Delete' for grants, and 'Remove' for group members. 2010-02-28 20:13:10 +13:00
Andrew McMillan
d3c4d9d2de Hook the expansion code into the calendar query report. 2010-02-28 11:38:18 +13:00