From f.pavlic at evice.de Wed Jul 1 00:15:15 2009 From: f.pavlic at evice.de (Frank Pavlic) Date: Wed, 1 Jul 2009 09:15:15 +0200 Subject: [Synckolab] no folders contacts or calendar In-Reply-To: <200907010011.54502.rainer.kohls@web.de> References: <200907010011.54502.rainer.kohls@web.de> Message-ID: <200907010915.15303.f.pavlic@evice.de> Rainer, did you subscribe the new folders in IMAP ? Mit freundlichen Gr?ssen evice GmbH Open Source-Systemhaus - Frank Pavlic Am Wednesday 01 July 2009 00:11:54 schrieb Rainer: > Hi, > > i've just installed thunderbird, synckolab and lightning, because the sync > with kmail in ubuntu 9.04 is not well working yet. > I've configured synckolab just like in the wiki, if I have to chosse the > contacts or calendar-folder I just see all the other folders on my > kolab/IMAP, but no contacts or calendar, in kmail I can see them. > What do I wrong? > It doesn't matter, if I chosse vcard/kolab1 or kolab2. > My kolab is in Version 2.2.2 > > can anybody help me? > greetings > rainer > > _______________________________________________ > Synckolab mailing list > Synckolab at mozdev.org > https://www.mozdev.org/mailman/listinfo/synckolab From rainer.kohls at web.de Wed Jul 1 00:50:41 2009 From: rainer.kohls at web.de (Rainer Kohls) Date: Wed, 01 Jul 2009 09:50:41 +0200 Subject: [Synckolab] no folders contacts or calendar Message-ID: <1498779940@web.de> Hi Frank, no, of course not :-D now everything is working fine. thank you. greetings rainer > Rainer, > did you subscribe the new folders in IMAP ? ________________________________________________________________ Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate f?r nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/ From f.pavlic at evice.de Wed Jul 1 02:42:04 2009 From: f.pavlic at evice.de (Frank Pavlic) Date: Wed, 1 Jul 2009 11:42:04 +0200 Subject: [Synckolab] [PATCH RESEND]: several SyncKolab fixes In-Reply-To: <4A4A8A93.8080005@vmartin.net> References: <4A4A8A93.8080005@vmartin.net> Message-ID: <200907011142.04613.f.pavlic@evice.de> Niko, I resend you the fixes with one patch . I already posted them last week in 3 patches Are there any problems with them or just a matter of workload? Patch contains following bug fixes (copy and paste from list archive ;-) ) : [Synckolab] PATCH: insertOrganizer also for XML - entries... Frank Pavlic [Synckolab] PATCH : modify Task status on Export to IMAP Server Frank Pavlic [Synckolab] PATCH: Fix Alarm Synchronisation for Tasks and Events Frank Pavlic I have made this patch against HEAD , so it should apply without any hunks. Thank you Mit freundlichen Gr?ssen evice GmbH Open Source-Systemhaus - Frank Pavlic Index: calTools.js =================================================================== RCS file: /cvs/synckolab/src/chrome/content/synckolab/calTools.js,v retrieving revision 1.76 diff -B -u -b -r1.76 calTools.js --- calTools.js 29 Jun 2009 15:26:59 -0000 1.76 +++ calTools.js 1 Jul 2009 07:37:24 -0000 @@ -536,7 +536,7 @@ case "ALARM": if (cur.firstChild) - event.alarmOffset = createDuration(decode4XML(cur.firstChild.data)); + event.alarmOffset = createDuration("-PT"+decode4XML(cur.firstChild.data)+"M"); break; case "SENSITIVITY": @@ -919,7 +919,7 @@ var xml = '\n'; if (syncTasks == true) { - xml += '\n' + xml += '\n'; // tasks have a status if (event.isCompleted || event.percentComplete == 100) { @@ -1375,6 +1375,9 @@ organizer.role = "CHAIR"; organizer.isOrganizer = true; modevent.organizer = organizer; + /* set task status to NONE if it is NULL */ + if (lsyncCalendar.syncTasks && !levent.status) + modevent.status="NONE"; lsyncCalendar.gCalendar.modifyItem(modevent, levent, lsyncCalendar.gEvents); return modevent; } Index: calendar.js =================================================================== RCS file: /cvs/synckolab/src/chrome/content/synckolab/calendar.js,v retrieving revision 1.60 diff -B -u -b -r1.60 calendar.js --- calendar.js 29 Jun 2009 16:37:11 -0000 1.60 +++ calendar.js 1 Jul 2009 07:37:24 -0000 @@ -687,17 +687,16 @@ { logMessage("nextUpdate really writes event:" + cur.id, LOG_CAL + LOG_DEBUG); // and now really write the message - + var clonedEvent = cur; + if (modifyEventOnExport) + clonedEvent = modifyEventOnExport(cur, this); var msg = null; if (this.format == "Xml") { - msg = event2kolabXmlMsg(cur, this.email, this.syncTasks); + msg = event2kolabXmlMsg(clonedEvent, this.email, this.syncTasks); } else { - var clonedEvent = cur; - if (modifyEventOnExport) - clonedEvent = modifyEventOnExport(cur, this); icssrv = Components.classes["@mozilla.org/calendar/ics-service;1"] .getService(Components.interfaces.calIICSService); Am Tuesday 30 June 2009 23:58:43 schrieben Sie: > Frank; > > I have not seen a nightly build from Niko that incorporates your fix for > my synchronization problem, and the problem is getting worse. I use two > machines and both event and task entries are missing on one system or > the other. Would you please send me the module you used to test your > fix so that I can run with it until Niko can formally integrate the fix? > > Van A. Martin From niko.berger at corinis.com Thu Jul 2 03:51:49 2009 From: niko.berger at corinis.com (Niko Berger) Date: Thu, 02 Jul 2009 12:51:49 +0200 Subject: [Synckolab] [PATCH RESEND]: several SyncKolab fixes In-Reply-To: <200907011142.04613.f.pavlic@evice.de> References: <4A4A8A93.8080005@vmartin.net> <200907011142.04613.f.pavlic@evice.de> Message-ID: <4A4C9145.9010909@corinis.com> Frank Pavlic schrieb: > Niko, > I resend you the fixes with one patch . I already posted them last week in 3 patches > Are there any problems with them or just a matter of workload? > > Patch contains following bug fixes (copy and paste from list archive ;-) ) : > > [Synckolab] PATCH: insertOrganizer also for XML - entries... Frank Pavlic > [Synckolab] PATCH : modify Task status on Export to IMAP Server Frank Pavlic > [Synckolab] PATCH: Fix Alarm Synchronisation for Tasks and Events Frank Pavlic > > I have made this patch against HEAD , so it should apply without any hunks. > > Thank you > > > Mit freundlichen Gr?ssen > > evice GmbH Open Source-Systemhaus - Frank Pavlic > > Index: calTools.js > =================================================================== > RCS file: /cvs/synckolab/src/chrome/content/synckolab/calTools.js,v > retrieving revision 1.76 > diff -B -u -b -r1.76 calTools.js > --- calTools.js 29 Jun 2009 15:26:59 -0000 1.76 > +++ calTools.js 1 Jul 2009 07:37:24 -0000 > @@ -536,7 +536,7 @@ > > case "ALARM": > if (cur.firstChild) > - event.alarmOffset = createDuration(decode4XML(cur.firstChild.data)); > + event.alarmOffset = createDuration("-PT"+decode4XML(cur.firstChild.data)+"M"); > break; > > case "SENSITIVITY": > @@ -919,7 +919,7 @@ > var xml = '\n'; > if (syncTasks == true) > { > - xml += '\n' > + xml += '\n'; > > // tasks have a status > if (event.isCompleted || event.percentComplete == 100) { > @@ -1375,6 +1375,9 @@ > organizer.role = "CHAIR"; > organizer.isOrganizer = true; > modevent.organizer = organizer; > + /* set task status to NONE if it is NULL */ > + if (lsyncCalendar.syncTasks && !levent.status) > + modevent.status="NONE"; > lsyncCalendar.gCalendar.modifyItem(modevent, levent, lsyncCalendar.gEvents); > return modevent; > } > Index: calendar.js > =================================================================== > RCS file: /cvs/synckolab/src/chrome/content/synckolab/calendar.js,v > retrieving revision 1.60 > diff -B -u -b -r1.60 calendar.js > --- calendar.js 29 Jun 2009 16:37:11 -0000 1.60 > +++ calendar.js 1 Jul 2009 07:37:24 -0000 > @@ -687,17 +687,16 @@ > { > logMessage("nextUpdate really writes event:" + cur.id, LOG_CAL + LOG_DEBUG); > // and now really write the message > - > + var clonedEvent = cur; > + if (modifyEventOnExport) > + clonedEvent = modifyEventOnExport(cur, this); > var msg = null; > if (this.format == "Xml") > { > - msg = event2kolabXmlMsg(cur, this.email, this.syncTasks); > + msg = event2kolabXmlMsg(clonedEvent, this.email, this.syncTasks); > } > else > { > - var clonedEvent = cur; > - if (modifyEventOnExport) > - clonedEvent = modifyEventOnExport(cur, this); > > icssrv = Components.classes["@mozilla.org/calendar/ics-service;1"] > .getService(Components.interfaces.calIICSService); > > > > Am Tuesday 30 June 2009 23:58:43 schrieben Sie: > >> Frank; >> >> I have not seen a nightly build from Niko that incorporates your fix for >> my synchronization problem, and the problem is getting worse. I use two >> machines and both event and task entries are missing on one system or >> the other. Would you please send me the module you used to test your >> fix so that I can run with it until Niko can formally integrate the fix? >> >> Van A. Martin >> > > > I included the patch (slightly modified) in the current nightly. Niko From van at vmartin.net Thu Jul 2 22:40:41 2009 From: van at vmartin.net (Van A. Martin) Date: Thu, 02 Jul 2009 22:40:41 -0700 Subject: [Synckolab] Synckolab has trouble with "All Day" events In-Reply-To: <4A3E11F9.9000300@corinis.com> References: <4A3C30E1.8020208@vmartin.net> <4A3D8333.7090008@corinis.com> <4A3D97B5.60008@vmartin.net> <4A3E11F9.9000300@corinis.com> Message-ID: <4A4D99D9.3090100@vmartin.net> Niko; I did a clean install with your nightly build and there is still a problem with All Day Events. At the moment it is 22:30 local Pacific time and I created an All Day Event and ran a sync. On the first pass I got the expected Added to Server. However, on every sync after that I get Update on Server. Also, my one day event turned into a two day event in the calendar. My guess is that the code is having trouble with the fact that an all day event has a date, but no times. One idea for a fix is that every time you pull in a calendar entry, put in an implied start time of 00:00 (local time) for the first day of the event and an implied end time of 00:00 for one day after the last day of the event. Since the iCal entry dates and times returned by the API are GMT, the dates will probably be correct, but the implied time will have to be changed to whatever 00:00 local is at GMT. Van A. Martin From f.pavlic at evice.de Fri Jul 3 08:08:20 2009 From: f.pavlic at evice.de (Frank Pavlic) Date: Fri, 3 Jul 2009 17:08:20 +0200 Subject: [Synckolab] Synckolab has trouble with "All Day" events In-Reply-To: <4A4D99D9.3090100@vmartin.net> References: <4A3C30E1.8020208@vmartin.net> <4A3E11F9.9000300@corinis.com> <4A4D99D9.3090100@vmartin.net> Message-ID: <200907031708.20925.f.pavlic@evice.de> Van, I am not able to reproduce your problem with the latest HEAD code. I tested it with ICAL and XML2 and both of them are syncing perfectly all day events. It would be helpful if you could turn on debugging on in SyncKolab, do a sync. If it is always updating the server then you should be able to find an entry like this: --------> cEvent==parsedEvent: true cEvent==foundEvent:false <-------- Right before this entry you will find 4 XML-Entries, these are the messages which are going to be compared and returning the value "false" , that is the comparison of 3th and 4th XML-Message. Send the output of these 4 XML-Debug Entries . That would help to understand what is going on with your entries. I'll send you another XPI-file you could try , that is the HEAD code with all fixes in until now and which is perfectly working, well at least for me ;-) Mit freundlichen Gr?ssen evice GmbH Open Source-Systemhaus - Frank Pavlic Am Friday 03 July 2009 07:40:41 schrieb Van A. Martin: > Niko; > > I did a clean install with your nightly build and there is still a > problem with All Day Events. At the moment it is 22:30 local Pacific > time and I created an All Day Event and ran a sync. On the first pass I > got the expected Added to Server. However, on every sync after that I > get Update on Server. Also, my one day event turned into a two day > event in the calendar. > > My guess is that the code is having trouble with the fact that an all > day event has a date, but no times. One idea for a fix is that every > time you pull in a calendar entry, put in an implied start time of 00:00 > (local time) for the first day of the event and an implied end time of > 00:00 for one day after the last day of the event. Since the iCal entry > dates and times returned by the API are GMT, the dates will probably be > correct, but the implied time will have to be changed to whatever 00:00 > local is at GMT. > > Van A. Martin From mrflannel at hotmail.com Wed Jul 8 01:19:26 2009 From: mrflannel at hotmail.com (Flannel Flannel) Date: Wed, 08 Jul 2009 08:19:26 -0000 Subject: [Synckolab] Synckolab has trouble with "All Day" events Message-ID: I too have this bug (and agree that it has to do with the 'time' of an all-day event), reported it (obviously this was with nightlies a few months ago): https://www.mozdev.org/bugs/show_bug.cgi?id=20452 Attached are the XML files from a few syncs back-and-forth. I'll see about installing a new nightly and getting a debug dump. Mr Flannel _________________________________________________________________ Lauren found her dream laptop. Find the PC that?s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290 -------------- next part -------------- An HTML attachment was scrubbed... URL: