1228 Commits

Author SHA1 Message Date
Andrew McMillan
4e12eb82e4 Update sync-collection REPORT to match -04 of draft. 2010-11-30 12:31:25 +13:00
Andrew McMillan
04ecf36c88 Replace index.php with caldav.php when we find it in our path. 2010-11-30 09:52:33 +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
77de9a024e Fix SQL for group handling from Michael Braun. 2010-11-21 00:57:14 +13:00
Andrew McMillan
ab875b3038 Add principal-collection-set to standard responses for DAVResource. 2010-11-21 00:52:47 +13:00
Andrew McMillan
9fdaef2bd1 Use the commit() method rather than a commit statement. 2010-11-21 00:51:20 +13:00
Andrew McMillan
7b966171cf Correct typo in POST handling. 2010-11-21 00:50:47 +13:00
Andrew McMillan
9470f0b9e0 Also update displayname if fullname is changed. 2010-11-20 22:13:28 +13:00
Andrew McMillan
844b7b2e94 Handle stuff like DTSTART;TZID=America/New_York:20101119T231307
Thanks to Matthias Althaus for pointing out that while the class
attempts to handle this kind of thing, it doesn't actually work.
2010-11-19 23:13:30 +13:00
Andrew McMillan
92bb66abe2 Actually fix that debug message properly. 2010-11-19 23:10:33 +13:00
Andrew McMillan
73d852225f Remove principal-collection-set response from here. Fix debug call. 2010-11-19 21:06:07 +13:00
Andrew McMillan
0915a78784 Don't let auth functions created duplicate home calendars. 2010-11-09 00:21:35 +13:00
Andrew McMillan
4614ae6449 Do old TODO and remove it. Nice. 2010-11-06 22:36:22 +13:00
Andrew McMillan
515a31bbc8 Add the ACL to the supported methods. 2010-11-06 19:02:55 +13:00
Andrew McMillan
cd6a609ea2 Always grant 'DAV::read' privilege from principal to group members.
Some clients want to read the group principal before they're happy
to access the group's calendar collections.  This grants them the
DAV::read privilege so they can do that.

Also see: https://bugzilla.mozilla.org/show_bug.cgi?id=610087
2010-11-06 15:12:35 +13:00
Andrew McMillan
0e9f299f45 Use expanded time specifiers in format since %Y doesn't work on Windows. 2010-11-05 11:58:00 +13:00
Andrew McMillan
a828daaecd Support recursive REPORT query if configured to allow it. 2010-11-05 09:54:18 +13:00
Andrew McMillan
dc7df3c506 Add @todo note. 2010-11-04 19:01:16 +13:00
Andrew McMillan
8a826f33c6 Add a new WritableCollection object which we will use for PUT. 2010-11-04 19:00:36 +13:00
Andrew McMillan
7d8c08cbef Use text/vcard rather than older text/x-vcard. 2010-11-04 08:41:41 +13:00
Andrew McMillan
0a59903259 Support event properties in changed part of sync-response. 2010-11-04 08:40:52 +13:00
Andrew McMillan
3e1451a5d0 Switch from regular expression which may not work in old/odd PHP. 2010-11-01 14:53:57 +13:00
Andrew McMillan
58b88437b3 Support getlastmodified property in REPORT requests. 2010-10-31 13:18:14 +13:00
Andrew McMillan
83ec11403a Fix typo in iTIP CANCEL handling. 2010-10-16 10:26:42 +13:00
Andrew McMillan
487693ffee Add knowledge of desired parallel AWL version to setup.
Also add caching of getUserByEmail() since we'll be doing more of
that in the scheduling code.
2010-10-14 21:15:16 -04:00
Andrew McMillan
344e3cb9a1 Ensure there are spaces in the SQL for CardDAV. 2010-10-10 01:51:31 -04:00
Andrew McMillan
57df0e140f Log item class, in case people are complaining about permission failures. 2010-10-09 09:02:31 -04:00
Andrew McMillan
3637c99298 Omit the <response> for event outside the time range - when expanded. 2010-10-09 09:00:11 -04:00
Andrew McMillan
0200ad8269 Minor restructuring. 2010-10-09 08:54:08 -04:00
Andrew McMillan
d75b525cf4 Don't supply freebusy for 0-duration events. 2010-10-07 17:27:21 -04:00
Andrew McMillan
7f63f12e57 Better display of bindings. 2010-10-07 15:25:30 -04:00
Andrew McMillan
7a39329472 Fix warning when using basic authentication fallback. 2010-10-07 15:20:57 -04:00
Andrew McMillan
499313c9ca Fix handling of iCalendar durations containing negative elements. 2010-10-07 15:18:47 -04:00
Andrew McMillan
60fea594ae Handle events which don't have either DTEND *or* DURATION. 2010-10-07 14:20:35 -04:00
Andrew McMillan
04f17a65af Rewrite __construct() method of RepeatRuleDateTimeZone to be more robust. 2010-10-07 13:43:07 -04:00
Andrew McMillan
356a69e56f Rename 'Import Calendars' to 'Tools' since LDAP is more likely. 2010-09-25 22:32:04 +12:00
Andrew McMillan
7b18b3edc2 Only display internal paths for bindings. 2010-09-25 22:28:32 +12:00
Andrew McMillan
7e4364c803 If we get NULL for a new sync token reset so we sync everything. 2010-09-25 22:27:49 +12:00
Andrew McMillan
193c2bba13 Make 412 error response consistent with PUT-vcard. 2010-09-25 22:26:43 +12:00
Andrew McMillan
4ef39d9d0b Only process to a resource in one place. Surround ETags with quotes. 2010-09-25 22:08:27 +12:00
Andrew McMillan
89f28302dd Leave the quotes around the ETag we receive for comparison. 2010-09-25 22:07:21 +12:00
Andrew McMillan
b80dd10c7b Add a configuration option to use the older 'sync-response' tag.
When the WebDAV sync draft first came out the responses were each
contained in a DAV::sync-response tag, but by -03 this has changed
to a DAV::response tag since the format of the tag contents now
match this existing tag structure.

Unfortunately some client software in the wild depends on this
being a DAV::sync-response so the config option is needed to
interoperate with this software.
2010-09-25 17:18:54 +12:00
Andrew McMillan
1e22e9a8a1 Provide correct getcontenttype property for addressbook resources. 2010-09-25 17:17:06 +12:00
Andrew McMillan
5ebbb198e9 Allow basic auth to supply credentials as well. 2010-09-24 23:33:43 +12:00
Andrew McMillan
79f7347c2d Display the bindings a principal has access to, also. 2010-09-24 23:25:33 +12:00
Andrew McMillan
014df24621 Tweak message to use existing translation strings. 2010-09-24 12:41:04 +12:00
Andrew McMillan
d8d42ab383 Convert error responses to use CalDAVRequest::PreconditionFailed() 2010-09-24 12:35:50 +12:00
Andrew McMillan
6d49488a7b Fix fetching of resource by path to work with addressbook resources also. 2010-09-24 12:14:05 +12:00
Andrew McMillan
dd1d3903ff Make the sync report work with non-calendar resources. 2010-09-23 23:21:11 +12:00
Andrew McMillan
606375e6f1 [principal/collection edit] Add display of tickets and bindings. 2010-09-21 12:15:16 +12:00