elementary / tasks

Synced tasks and reminders on elementary OS
https://elementary.io
GNU General Public License v3.0
84 stars 22 forks source link

CalDAV: Offline support for newly added task lists #328

Closed marbetschar closed 2 years ago

marbetschar commented 2 years ago

This PR goes in tandem with https://github.com/elementary/switchboard-plug-onlineaccounts/pull/241 and applies the sync configuration of the collection source (= account) to the newly created task list.

This basically means: Whenever the CalDAV account is configured using Switchboard Online Accounts, we get offline support for the new task list. To verify this PR works correctly, make sure you are creating a new CalDAV account using https://github.com/elementary/switchboard-plug-onlineaccounts/pull/241 (or modify an existing one).

Then start Tasks and create a new list. In Evolution (installed from *.deb) you will see the following properties set for the newly created task list:

165517505-52c0eca3-d9e2-44e7-995a-074a90146acb

marbetschar commented 2 years ago

Please note: To create a new task list, we still need to be online. However, once the task list is created we can manage the tasks without network connection.

This PR is related to https://github.com/elementary/tasks/issues/191