After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 359745 - Support CalDAV for VTODO and VJOURNAL resources
Support CalDAV for VTODO and VJOURNAL resources
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Tasks
2.8.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: Milan Crha
Evolution QA team
evolution[caldav]
: 361349 511535 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-04 23:16 UTC by Andrew McMillan
Modified: 2008-11-28 10:43 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
eds part (7.93 KB, text/plain)
2007-11-28 16:18 UTC, Milan Crha
  Details
evo part (930 bytes, text/plain)
2007-11-28 16:20 UTC, Milan Crha
  Details
proposed eds patch (10.19 KB, patch)
2008-11-05 18:24 UTC, Milan Crha
committed Details | Review
proposed evo patch (8.36 KB, patch)
2008-11-05 18:50 UTC, Milan Crha
committed Details | Review

Description Andrew McMillan 2006-10-04 23:16:10 UTC
Hi,

The Calendar supports CalDAV for VEVENT resources, but it seems that VTODO and VJOURNAL resources, which have straightforward analogues in Evolution, are not supported even though all the CalDAV backend is basically there.

Thanks,
Andrew McMillan
Comment 1 Håvard Wigtil 2006-11-06 20:28:18 UTC
*** Bug 361349 has been marked as a duplicate of this bug. ***
Comment 2 Milan Crha 2007-11-28 16:18:09 UTC
Created attachment 99782 [details]
eds part
Comment 3 Milan Crha 2007-11-28 16:20:12 UTC
Created attachment 99783 [details]
evo part

evo part

Both above patches enable CalDAV for tasks and memos, but it shares event between these too, so it want to be improved much more than I did here.
Comment 4 Christian Kellner 2008-03-20 13:25:09 UTC
Its not really hard to fix that, let me have a look today in the evening.
Comment 5 Milan Crha 2008-03-20 14:17:30 UTC
Thanks gicmo.
Comment 6 Milan Crha 2008-09-08 14:01:33 UTC
*** Bug 481185 has been marked as a duplicate of this bug. ***
Comment 7 Jelle de Jong 2008-11-04 12:12:36 UTC
i am using pool/main/e/evolution/evolution_2.22.3.1-1_i386.deb on debian sid, and am doing some testing on shared caldav calendar support. I can confirm that I can not share tasks and memo with my caldav calender accounts, i also have multiple caldav calendar so an implementation should also do something useful with this.

I would like to see full caldav support in evolution, i am willing to donate some dutch stroopwafels or other kind of reward for the developer(s) that will fix it.
Comment 8 Matthew Barnes 2008-11-04 12:38:49 UTC
*** Bug 511535 has been marked as a duplicate of this bug. ***
Comment 9 Jelle de Jong 2008-11-04 17:24:02 UTC
Is it possible to add the following features to this:
- VEVENT
- VTODO
- VTIMEZONE
- VJOURNAL
- VFREEBUSY

I would like to be able to invite other caldav user to an appointment/event and see if they are free or busy.

Thank in advance
Comment 10 Milan Crha 2008-11-04 17:28:52 UTC
VTIMEZONE? It uses it already, even it's quite new thing. See bug #537718.
Comment 11 Andrew McMillan 2008-11-04 22:22:16 UTC
VFREEBUSY is supported by evolution, but not in respect of CalDAV. It's a different kind of thing though, and should be covered under a separate bug seeking support for a free-busy enquiry against a user's scheduling outbox. I've filed bug #559345 for that support now.

VTIMEZONE is a component which is already handled by Evolution in an appropriate manner.

The VEVENT component (i.e. appointment/meeting) is handled just fine by Evolution, +/- any bugs that may currently exist.

Which is why I filed this bug specifically for VTODO (i.e. task) and VJOURNAL (i.e. activity record/note)... :-)

Cheers,
Andrew.
Comment 12 Milan Crha 2008-11-05 18:24:35 UTC
Created attachment 122044 [details] [review]
proposed eds patch

for evolution-data-server;

It really wasn't so hard, as gicmo said.
Comment 13 Milan Crha 2008-11-05 18:50:24 UTC
Created attachment 122046 [details] [review]
proposed evo patch

for evolution;

I changed there 3 things, see the ChangeLog entry. (Actually four, but that other one is quite minor thing.) Refresh options copied from webcal plugin.

I will try to not forget to increase the eds requirement in configure.in if/when will commit it, but no promises.
Comment 14 Andrew McMillan 2008-11-08 05:50:46 UTC
It is great to see this implementation arrive, so I've applied your patches (with minor fiddling) against the 2.22.3.1 in current Debian Sid, and it works well.

I guess it might be an architectural thing in Evolution, but it seems odd to have to create the CalDAV calendar in each component separately.  Is there any way that when the CalDAV calendar is created in one component that it is then present in all of them?

Anyway, the approach here certainly works for me.  I've also read through the patches and I can't see anything unreasonable about the changes.

Cheers,
Andrew McMillan.
Comment 15 Peteris Krisjanis 2008-11-08 20:52:56 UTC
Andrew, could you put out your modified patches somewhere for 2.22.3.1 for Debian? I would like to try to patch it for Hardy. This is essential feature for me and I would like to try it out asap.
Comment 16 Andrew McMillan 2008-11-09 04:38:53 UTC
I don't think I should add my versions of the patches here, because they aren't appropriate for trunk, so I've put them onto my server here:

http://debian.mcmillan.net.nz/packages/evolution/

Just to make it absolutely clear, the modifications I made were only to make the patches apply against the older release.  I'm sure mcrha would appreciate further confirmation that this works though, and it would be really good if we can get it into trunk before December in time for the 2.25.2 release ... :-)

Cheers,
Andrew.
Comment 17 Peteris Krisjanis 2008-11-09 21:37:34 UTC
Thanks, managed to compile it for Hardy and using original patches for Intrepid. Let's have fun with sharing tasks :) And thanks Milan for actually delivering this.
Comment 18 Peteris Krisjanis 2008-11-20 10:43:16 UTC
Wanted to mention that I share tasks between three computers using DAViCal and patched Evolution. Patched both Hardy and Intrepid Evos, works like charm.
Comment 19 Milan Crha 2008-11-28 10:43:40 UTC
eds part committed to trunk. Committed revision 9781.
evo part committed to trunk. Committed revision 36820.

I didn't touch configure.in because the version requirement on eds was the current one already.

Thanks for testing.