Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: radicale compatibility #2

Open
c-nv-s opened this issue Jan 14, 2023 · 3 comments
Open

question: radicale compatibility #2

c-nv-s opened this issue Jan 14, 2023 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@c-nv-s
Copy link

c-nv-s commented Jan 14, 2023

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

@c-nv-s c-nv-s changed the title question: radicle compatibility question: radicale compatibility Jan 14, 2023
@mrusme mrusme added the question Further information is requested label Jan 14, 2023
@mrusme
Copy link
Owner

mrusme commented Jan 14, 2023

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

@cwarden
Copy link

cwarden commented Jan 25, 2023

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:" />

@c-nv-s
Copy link
Author

c-nv-s commented Mar 6, 2023

can also confirm it is not working :-(

@mrusme mrusme added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers and removed question Further information is requested labels Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants