questions about calendars, iRony & freebusy / caldav

Thomas Brüderli bruederli at kolabsys.com
Fri Nov 14 11:06:48 CET 2014


Matthias Busch wrote:
> calendar and adressbook works fine
> unfortunately, the webclient is not able/willing to show caldav urls for
> tasks and notes

True, for the tasks module in the web client, that's a missing feature.
I just created a ticket for it:
https://issues.kolab.org/show_bug.cgi?id=3908

And notes are not synched with CalDAV, only via Activesync.
> 
> still .../iRony/calendars/email/Tasks gives me caldav for tasks. so
> there is "more" functionality available
> 
> and it all works just fine in the webclient. however, for
> none-webclients like thunderbird it really would be awesome to have the
> caldav urls for
> 
> - subfolders in tasks
> - shared tasks
> - tasks of other users that are shared with "me"
> - if possible: notes
> 
> my experiments with shots in the dark, curl profind and looking at
> sabredav/config files do not yield information that I am looking for.

The following curl command might help:

curl -s -XPROPFIND \
  http://localhost/iRony/calendars/john.doe@example.org/ \
  -u "john.doe at example.org:12345" \
  -H "Content-Type: text/xml" \
  -H "Depth:1" \
  -d '<D:propfind xmlns:D="DAV:">
  <D:prop>
    <D:displayname/>
    <D:resourcetype/>
    <B:supported-calendar-component-set
xmlns:B="urn:ietf:params:xml:ns:caldav"/>
    <B:supported-calendar-component-sets
xmlns:B="urn:ietf:params:xml:ns:caldav"/>
  </D:prop>
  </D:propfind>' | tidy -xml -i=4

Replace john.doe at example.org with your username and adjust the url
according to your environment.

Task folders are listed with <cal:comp name="VTODO" /> and the URL can
be found in the <d:href /> node.

> I might try with the folder uuid, but I have no idea how I get that...

With Kolab 3.3 / Cyrus 2.5 these folder uuids are already stored in IMAP
annotations. For older versions, they're generated on the first access
on the calendar listing via CalDAV.

The kolab shell utility can help you read them:

$ kolab list-mailboxes 'user/john.doe*@example.org'
$ kolab list-mailbox-metadata user/john.doe/Tasks at example.org

Look for /shared/vendor/cmu/cyrus-imapd/uniqueid or
/shared/vendor/kolab/uniqueid annotations.


Best,
Thomas


More information about the users mailing list