Connectors for Lightning/Sunbird

Revision as of 03:28, 19 January 2007 by Michael-fig (talk | contribs)

As of Lightning/Sunbird version 0.3, there are three supported remote calendar protocols:

1. WCAP (Sun ONE's XML/RPC calendar protocol), which is implemented in Sunbird's mozilla/calendar/providers/wcap sources. It uses plain-old GET and POST commands, and its online specification is at Overview and Commands.

2. iCalendar, which uses the PUT method to send the complete updated calendar to the same Zimbra URL. This could get very inefficient with large calendars, and then Zimbra would have to delete events from the calendar folder to make sure there aren't duplicates. It also uses a PROPFIND, which is rejected by Tomcat.

3. CalDAV, which uses the REPORT method to get a listing of calendar entries, and PUT to update them (neither of which are supported by Tomcat). [Edit: I don't think this is true. "Cosmo is a CALDAV server, based on tomcat." Indicates Tomcat has everything needed to do CalDAV.]

michael-fig writes: It looks like WCAP is the way to go. It's apparently more work to add REPORT and PUT to Tomcat than to implement the WCAP interface. So, I'm writing a servlet to implement WCAP. I'll keep updating this page with progress.

You can download the project files from my site.

2006-10-20 - Took an all-night crash course in Java and Tomcat. Now the http://ZIMBRA-SERVER/service/wcap URL is responding to requests.

2007-01-18 - Got authentication working. I thought I was doing the right thing to get appointment listings, but they just return empty calendars. Thunderbird complains that it cannot find the primary calendar owner, either.

2007-01-19 - Fixed some bugs and upgraded my Lightning WCAP to the latest nightly build. Now I can view events from any of the Zimbra user's subscribed calendars.

Priorities:

1) storeevents from Thunderbird to Zimbra.

2) handle recurrences.

3) get_freebusy to make scheduling appointments possible.

Jump to: navigation, search