Hi,
Ralf Becker-2 wrote
I’d also be sad to see syncml be dropped completely. (I’m currently
working
on a SyncML Client for webOS, there is no CalDav client, that I know
of…)
If you are about to write a WebOS client, why write I for an old mostly
abandoned protocol. Go for CalDAV.
It’s more or less done… I already looked into what I could keep and what
not, if I was switching to CalDa. Many things could be reused (for example
iCal parsing/generation, integration into the webOS synergy framework).
My issue with CalDav as a client developer, is, that I could not find any
instructions or recommendations on how to sync. Everything sounds more
like simple data access… does the server have any sync logic at all? Or is
this all handed towards the client now? I’m currently looking into the
specification and it seems to be possible to implement, for me… sadly
there is no CalDav Javascript library. How much difference is there to add
if you have a WebDav engine?
In fact, I’m missing something like this:
http://community.egroupware.org/index.php?page_name=wiki&lang=&wikipage=SyncML
for CalDav. Just a simple write down of the steps to take. 
CalDAV is defined in RFC 4791:
https://tools.ietf.org/html/rfc4791
Basic CalDAV sync does the following (same is true for CardDAV):
- do a PROPFIND or REPORT to get url and etag of entries
- create diff to entries on your device
- delete ones not in PROPFIND
- request new or modified (different etag) entries via a multiget
REPORT in chunks of eg. 100 entries per request and update them on the
client
There’s an extension called CTag (collection tag) which helps to
minimize full updates:
https://trac.calendarserver.org/browser/CalendarServer/trunk/doc/Extensions/caldav-ctag.txt
–> you only run a sync, if CTag changes, which you query periodically
There’s a brand new WebDAV sync RFC 6578 which simplifies and speeds up
synchronisation via WebDAV and therefore CalDAV/CardDAV:
https://tools.ietf.org/html/rfc6578
I plan to implement it in EGroupware, but it’s not yet done. Most
clients nowerdays use a fallback mechanism to be compatible with most
servers:
- if server supports WebDAV sync use it
- if not, check if server supports CTag
- if not run a periodic PROPFIND or REPORT
A good starting point for what EGroupware supports in terms of CalDAV /
CardDAV is to visit it with a regular browser. There’s an automatic
index page showing all properties:
http(s)://your-domain.com/egroupware/groupdav.php/
There are a few people maintaining lists of relevant RFC and extensions:
http://trac.calendarserver.org/browser/CalendarServer/trunk/doc/Extensions/
But maybe that’s the wrong place to ask.
Our developers list or CalConnects caldevelopers list would make more sense.
Thanks for your reasoning. I can understand that from a developer POV.
Ralf Becker-2 wrote
CalDAV is already up and running with 1.8 and will definitely be
supported for the next years.
Now, from a user point of view: This is installed with the GroupDav
Application, is it? I have that installed for some time now… Are there
plans to add any configuration options for that? Like timezone selection for
the export or which calendar to export? Also a documentation page for client
settings would be handy… That’s why I currently like SyncML much more. It
gives much more control over what happens…
CalDAV / CardDAV in EGroupware also has a preference where you can
specify what addressbooks or calendars you want to sync and it has the
ablity to enable and show you a traffic log.
According to timezones all CalDAV server and clients are fully timezone
aware, so there’s absolute no need to configure a timezone for the
protocol. Of cause your device should let user define a timezone to use
for newly created (or floating) events.
Also: is there note support in 1.8.004 (I’m still running some older 1.8
version)? Or should I convert my notes into tasks? 
There’s currently no support for VJournal / notes in EGroupware via
CalDAV, but I plan to add it, once more clients use it. You can define
in CalDAV / CardDAV preferences which InfoLog types to sync as tasks.
Ralf
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
eGroupWare-users mailing list
eGroupWare-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-users