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

Specify components correcty (the type of calendar) #274

Open
tzugen opened this issue Sep 2, 2022 · 4 comments
Open

Specify components correcty (the type of calendar) #274

tzugen opened this issue Sep 2, 2022 · 4 comments

Comments

@tzugen
Copy link

tzugen commented Sep 2, 2022

I have added the CalDav calendars to Thunderbird.
Thunderbird lists both the ToDo and the Calendar lists in all sections.

It seems that the ICS Spec suggests, that you should specify which components the given iCalendar supports:

The "component" parameter conveys the type of iCalendar calendar
   component within the body part. If the iCalendar object contains more
   than one calendar component type, then multiple component parameters
   MUST be specified.

   The value for the "component" parameter is defined as follows:

        component       = ("VEVENT" / "VTODO" / "VJOURNAL" / "VFREEBUSY"
                        / "VTIMEZONE" / x-name / iana-token)

I would assume that if this component is specified correctly thunderbird would show only the ToDo lists in the ToDo sections and vice-versa with the calendars

@tasn
Copy link
Member

tasn commented Sep 2, 2022

Unlike caldav we separate vevent, vtodo and vjournal to separate items (and we don't support vfreebusy at the moment).
vevent is our calendar, vtodo is out task, and we don't support vjournal dircetly but rather have etesync notes instead.

@tzugen
Copy link
Author

tzugen commented Sep 2, 2022

But is there a way to mark those different lists as "this list supports only Todos" or "this list supports only calendar entries"?

@tasn
Copy link
Member

tasn commented Sep 2, 2022

It's already the case, we let thunderbird (and other clients) know that only that specific type is supported for that list.
Based on your question I assume there's an issue somewhere? Though if memory serves the problem was with Thunderbird being silly and not respecting the spec. Tbsync worked fine.

@tzugen
Copy link
Author

tzugen commented Sep 2, 2022

How does it work in code? I have compared two ics, one ToDo and one calendar, and didn't see any significant changes in the header section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants