Repository navigation
Replies: 1 comment 1 reply
|
Hi, I think this would be a great addition, as a lot of people already use Fossify Calendar. Right now we are really focused into stabilizing DAVx⁵ and doing huge code refactoring, so new features development can be delayed a bit. However, since it would be an OpenTasks-compatible ContentProvider, I think the work on DAVx⁵'s side won't be very big, so maybe we can manage it in a reasonable amount of time. In any case, we have to wait at least until Fossify releases a working version of the provider, and then we can work on the DAVx⁵ side of the implementation. At that point, maybe you can help with a PR, and we can just review it and try to ship it in the least amount of time. Thank you for your suggestion, and keep us up to date with the status on Fossify Calendar's side. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi DAVx⁵ team,
Fossify Calendar users have long asked for CalDAV task support (FossifyOrg/Calendar#36). The cleanest way I found is for Fossify Calendar to expose an OpenTasks-compatible ContentProvider and for DAVx⁵ to sync into it like it does for jtx Board, Tasks.org and OpenTasks. Since DAVx⁵ only syncs into the providers listed in
TaskProvider.ProviderName, that needs a change on your side. Before opening a PR, I'd like to know if you'd accept it.What the DAVx⁵ change looks like (~95 lines, no new sync logic):
ProviderName.FossifyCalendarentry (authorityorg.fossify.calendar.tasks, packageorg.fossify.calendar,minVersionCode= the first Fossify release with the provider), added last so automatic tasks-app selection for existing users doesn't change;FossifyCalendarSyncAdapterServicewith its sync-adapter XML, and the matchingSyncDataType/BaseSyncWorker/TasksAppManagerwiring;DebugInfoGenerator.The provider side (in Fossify) implements the parts of the contract DAVx⁵ uses: TaskLists, Tasks (including
load_propertiesjoins) and Properties (alarms, categories, relations, unknown properties). It follows OpenTasks semantics: sync-adapter writes don't set_dirty, local deletes are soft deletes until purged, account scoping and renames work, andapplyBatchis transactional. It doesn't implement Instances or task exceptions, which DAVx⁵ doesn't use.Tested end to end on Android 16 with DAVx⁵ built from my branch against Radicale:
coreandsynctoolsunit tests and lint pass.Branch: https://github.com/maujogue/davx5-ose/tree/fossify-calendar-tasks (the second commit is for testing against Fossify's debug build only and wouldn't be part of the PR)
The Fossify side isn't merged yet (proposal and discussion: FossifyOrg/Calendar#36 (comment)), so the PR would wait for a Fossify release that includes the provider. Would you be open to this? I'm happy to adapt naming or placement to your plans. (Disclosure: I built this with substantial help from an AI coding assistant; the design decisions and testing were mine to direct and verify.)
All reactions