Bug 52666 - CalDAV: support tasks = VTODO
Summary: CalDAV: support tasks = VTODO
Status: RESOLVED FIXED
Alias: None
Product: SyncEvolution
Classification: Unclassified
Component: SyncEvolution (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: SyncEvolution Community
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 14:55 UTC by Patrick Ohly
Modified: 2012-08-09 18:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Patrick Ohly 2012-07-29 18:36:00 UTC


---- Reported by patrick.ohly@intel.com 2012-02-13 14:55:20 +0000 ----

The CalDAV backend is limited to exchanging VEVENTs. It might also not handle collections well (or at all) that contain both VEVENTs and VTODOs.

The main reason for this is that none of the servers that SyncEvolution is tested with support VTODO. Apparently sogo as server supports it.

For someone who isn't afraid of touching and
recompile the source code it wouldn't be hard to add.

A new class very similar to src/backends/webdav/CardDAVSource.h/cpp
would be needed. The implementation of the WebDAVSource callbacks would
be almost identical to CalDAVSource, the only difference is that the
class needs to pick collections containing VTODO, whereas CalDAVSource
picks collections containing VEVENT.

The rest of such a CalDAVTodoSource would be much simpler (= as in
CardDAVSource) because each item can contain only one VTODO, in contrast
to the multiple VEVENTs that can be in a calendar item.



--- Bug imported by patrick.ohly@gmx.de 2012-07-29 20:36 UTC  ---

This bug was previously known as _bug_ 24893 at https://bugs.meego.com/show_bug.cgi?id=24893
Comment 1 Patrick Ohly 2012-08-07 07:54:42 UTC
Implemented:

commit 5bc01e79901ade98269ee9a244f52f9544ec13b1
Author: Patrick Ohly <patrick.ohly@intel.com>
Date:   Tue Jun 12 17:41:46 2012 +0200

    CalDAV: support VJOURNAL + VTODO (BMC #24893)
    
    The new backend property values "CalDAVTodo" and "CalDAVJournal"
    select tasks resp. memos stored in a CalDAV collection. "CalDAV"
    continues to select events.

    ...
Comment 2 Karel Mácha 2012-08-09 15:43:46 UTC
That is great, does this mean we have working tasks-sync over CalDAV for N900 ? In which version of Syncevolution was this feature implemented ? I really would like to sync tasks between my Owncloud server and my N900 which was not possible yet.

(In reply to comment #1)
> Implemented:
> 
> commit 5bc01e79901ade98269ee9a244f52f9544ec13b1
> Author: Patrick Ohly <patrick.ohly@intel.com>
> Date:   Tue Jun 12 17:41:46 2012 +0200
> 
>     CalDAV: support VJOURNAL + VTODO (BMC #24893)
> 
>     The new backend property values "CalDAVTodo" and "CalDAVJournal"
>     select tasks resp. memos stored in a CalDAV collection. "CalDAV"
>     continues to select events.
> 
>     ...
Comment 3 Patrick Ohly 2012-08-09 18:33:36 UTC
(In reply to comment #2)
> That is great, does this mean we have working tasks-sync over CalDAV for N900 ?

Sorry, no, there is no task backend for SyncEvolution on the N900.

Ove is currently considering to add that for the N9 port but I don't think he has intentions to also do it for N900, which would be different (and more) work.

> In which version of Syncevolution was this feature implemented ?

1.2.99.1, see https://syncevolution.org/blogs/pohly/2012/syncevolution-12991-released


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.