[dev] Allow syncronization of multiple calendars with SyncMl

Gonçalo Queirós goncalo.queiros at portugalmail.net
Fri Jan 27 20:04:07 UTC 2012


Hi there dev.

Attached is a patch that changes the Kronolith API so its possible to
synchronize multiple calendars between Kronolith and Outlook, and
respect the calendar-event relation.
I used the Funambol connector, so some code is only related with Funambol.
The code is not 100% perfect, since there are some minor issues (some
times you need to sync twice to actually sync), but i hope to fix that
next week.
I'm very interested in knowing if you guys think this can go to the code.

The major features are:
- Respect the event/calendar relation.
- Automatically creates the calendars on Outlook/Kronolith when
synchronizing
- Move an event between two calendars on Kronolith, will also update the
info on Outlook (event move between calendars in Outlook is not possible)
- Rename the calendar on Outlook/Kronolith, will update the other side
calendar name
- All add/delete/edit are synchronized, no matter to what calendar the
event belongs to

Possible drawbacks:
- Removing a calendar on Kronolith/Outlook will only erase all events
from that calendar on the other side, not the calendar itself
- I didn't tested with recursive events (although there's some code
specific to these kind of events), so i don't know yet if they are
synchronizing, no matter the calendar they belong to.

I also assumed that the Outlook default calendar should sync with
Kronolith default calendar, but that can easily be changed.

Best regards,

-- 
Gonçalo Queirós
Eng. Software
*m.* 913918777

*Portugalmail* | plataformas de inovação
*w.* http://www.portugalmail.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-Syncml-to-sync-multiple-calendars.patch
Type: text/x-patch
Size: 10559 bytes
Desc: not available
URL: <http://lists.horde.org/archives/dev/attachments/20120127/59f80430/attachment.bin>


More information about the dev mailing list