CalDAV - Sync repeat tasks #1459

Open
opened 2023-04-02 19:54:12 +00:00 by dead10ck · 3 comments
Contributor

When using CalDAV with DAVx and Tasks.org on Android, it seems currently task repetition is not synced at all. New tasks created in Tasks end up on Vikunja, but do not have any repetition set. When repetition is set in Vikunja, they show up in Tasks, but with what appears to be a raw CalDAV property, e.g. FREQ=SECONDLY;INTERVAL=86400. Tasks does seem to still do the right thing and reschedule it correctly, despite the UI issue.

I'm not sure if this is a bug report or a feature request.

When using CalDAV with DAVx and Tasks.org on Android, it seems currently task repetition is not synced at all. New tasks created in Tasks end up on Vikunja, but do not have any repetition set. When repetition is set in Vikunja, they show up in Tasks, but with what appears to be a raw CalDAV property, e.g. `FREQ=SECONDLY;INTERVAL=86400`. Tasks does seem to still do the right thing and reschedule it correctly, despite the UI issue. I'm not sure if this is a bug report or a feature request.
Owner

The problem is, Vikunja only supports repeating a task every X seconds. But Tasks.org does not support that mode. Because of that, Vikunja ignores the repeating attribute sent by Tasks.org when syncing it back.

There is an item in the backlog, it's just a lot of work because the reminder model works differently in Vikunja than what Tasks.org assumes.

Related forum threads:

The problem is, Vikunja only supports repeating a task every X seconds. But Tasks.org does not support that mode. Because of that, Vikunja ignores the repeating attribute sent by Tasks.org when syncing it back. There is an item in the backlog, it's just a lot of work because the reminder model works differently in Vikunja than what Tasks.org assumes. Related forum threads: * https://community.vikunja.io/t/specific-weekdays-repeat-mode/639 * https://community.vikunja.io/t/yearly-repeat-mode/1165 * https://community.vikunja.io/t/more-repeating-intervals/1238/8 * https://community.vikunja.io/t/repeating-interval-for-the-last-day-of-the-month/1159
konrad added the
kind/feature
label 2023-04-02 20:32:16 +00:00
Contributor

Adding to the comment of @konrad: Vikunja does not read RRULE (for repeating tasks) from CalDAV, that's just not implemented.
However, it writes RRULE properties for its own tasks.
This may in part explain your findings in #1460. The current state of CalDAV implementation (referring to the unstable version) is described here: https://vikunja.io/docs/caldav/#supported-properties

Adding to the comment of @konrad: Vikunja does not read RRULE (for repeating tasks) from CalDAV, that's just not implemented. However, it writes RRULE properties for its own tasks. This may in part explain your findings in #1460. The current state of CalDAV implementation (referring to the unstable version) is described here: https://vikunja.io/docs/caldav/#supported-properties
Author
Contributor

I see, so feature request 🙂. Yeah, a recurrence model of a fixed number of seconds does not map well to real calendars. For example, you couldn't even do "every first of the month", because not every month is a fixed number of days.

I see, so feature request 🙂. Yeah, a recurrence model of a fixed number of seconds does not map well to real calendars. For example, you couldn't even do "every first of the month", because not every month is a fixed number of days.
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1459
No description provided.