caldr icon indicating copy to clipboard operation
caldr copied to clipboard

question: radicale compatibility

Open c-nv-s opened this issue 2 years ago • 4 comments
trafficstars

has this been tested for compatibility with https://radicale.org/v3.html ?

c-nv-s avatar Jan 14 '23 02:01 c-nv-s

Not yet, feel free to do so if you happen to run radicale.

mrusme avatar Jan 14 '23 04:01 mrusme

I'm testing it against against an old version of radicale (0.9) that I use with DAVx⁵. Finding calendars doesn't work nor does fetching events (if I explicitly set a calendar in dav.New).

I'm not very familiar with the caldav protocol, but here's what I'm seeing.

DAVx⁵ requests a list of events:

<?xml version='1.0' encoding='UTF-8' ?>
<CAL:calendar-query xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav">
  <prop>
    <getetag />
  </prop>
  <CAL:filter>
    <CAL:comp-filter name="VCALENDAR">
      <CAL:comp-filter name="VEVENT">
        <CAL:time-range start="20221027T125139Z" />
      </CAL:comp-filter>
    </CAL:comp-filter>
  </CAL:filter>
</CAL:calendar-query>

then uses the response.href values to fetch batches of them:

<?xml version='1.0' encoding='UTF-8' ?>
<CAL:calendar-multiget xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav">
  <prop>
    <getcontenttype />
    <getetag />
    <CAL:schedule-tag />
    <CAL:calendar-data />
  </prop>
  <href>/path/to/event/1</href>
  <href>/path/to/event/2</href>
...
</CAL:calendar-multiget>

caldr's REPORT request:

<?xml version="1.0" encoding="UTF-8"?>
<calendar-query xmlns="urn:ietf:params:xml:ns:caldav">
  <prop xmlns="DAV:">
    <calendar-data xmlns="urn:ietf:params:xml:ns:caldav">
      <comp xmlns="urn:ietf:params:xml:ns:caldav" name="">
        <prop xmlns="urn:ietf:params:xml:ns:caldav" name="UID"></prop>
        <allcomp></allcomp>
      </comp>
    </calendar-data>
    <getlastmodified xmlns="DAV:"></getlastmodified>
    <getetag xmlns="DAV:"></getetag>
  </prop>
  <filter xmlns="urn:ietf:params:xml:ns:caldav">
    <comp-filter xmlns="urn:ietf:params:xml:ns:caldav" name=""></comp-filter>
  </filter>
</calendar-query>

radicale returns

<?xml version="1.0"?>
<multistatus xmlns="DAV:" />

cwarden avatar Jan 25 '23 14:01 cwarden

can also confirm it is not working :-(

c-nv-s avatar Mar 06 '23 17:03 c-nv-s

I am considering switching off of Radicale to use caldr, but what clients are supported?

Ahwxorg avatar Sep 17 '24 13:09 Ahwxorg