From patrick.ohly at intel.com Fri Oct 23 15:11:15 2015 From: patrick.ohly at intel.com (Patrick Ohly) Date: Fri, 23 Oct 2015 17:11:15 +0200 Subject: [SyncEvolution] URL with ? and & In-Reply-To: <56043F78.9060904@web.de> References: <56026428.8020608@web.de> <1443118400.1794.29.camel@intel.com> <56043F78.9060904@web.de> Message-ID: <1445613075.3287.121.camel@intel.com> On Thu, 2015-09-24 at 20:22 +0200, h_m wrote: > > Am 24.09.2015 um 20:13 schrieb Patrick Ohly: > >> Now I want to add another sync. The server uses CGI. But the syncURL > >> contains ? and &, e.g. https://silly.com/cgi?user=name&bla=blub . > >> > >> These special characters are interpreted by syncevolution to different > >> options. > Hello Patrick, > > > > Are you using SyncML or WebDAV? > > I'm using WebDAV. I have a similar configuration with a "normal" URL > which works fine. The Problem occurs with the parameter > > database=URL/cgi?user=name > > If I remove the questionmark I get the "right" error 'host not found'. I'm afraid there's currently no workaround. The code in the WebDAV backend will have be changed. I remember that the original intention was to only filter out the "SyncEvolution" parameter, but as it is implemented now, other parameters are treated as error instead of preserving them. I can try to fix this in 1.5.1. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. From t.leiser at gmx.de Wed Oct 7 12:03:58 2015 From: t.leiser at gmx.de (Thorsten Leiser) Date: Wed, 7 Oct 2015 14:03:58 +0200 Subject: [SyncEvolution] contact sync from owncloud failed after upgrade syncevo from 1.4 to latest 1.5 Message-ID: <56150A2E.7070405@gmx.de> Hi, I configured the CalDAV/CardDAV bridge with the syncevo http server. SyncEvo version is the 1.4-1ubuntu4 from Ubuntu 14.04 LTS. The owncloud and local storage is configured like this: syncevolution --configure \ --template webdav \ username=nokiaphone \ password=***** \ syncurl="https://owncloud.local/owncloud" \ SSLVerifyServer=0 \ deviceId=jongleur \ target-config at owncloud syncevolution --configure \ database=https://owncloud.local/owncloud/remote.php/caldav/calendars/nokiaphone/defaultcalendar/ \ backend=caldav \ target-config at owncloud calendar syncevolution --configure \ database=https://owncloud.local/owncloud/remote.php/caldav/calendars/nokiaphone/defaultcalendar/ \ backend=caldavtodo \ target-config at owncloud todo syncevolution --configure \ database=https://owncloud.local/owncloud/remote.php/carddav/addressbooks/jsmith/contacts/ \ backend=carddav \ target-config at owncloud contacts syncevolution --configure \ --template SyncEvolution_Client \ sync=none \ syncURL=local://@owncloud \ username= \ password= \ peerIsClient=1 \ owncloud syncevolution --configure \ sync=refresh-from-remote \ backend=calendar \ database="Pers?nlich" \ owncloud calendar syncevolution --configure \ sync=refresh-from-remote \ backend=evolution-tasks \ database="Pers?nlich" \ owncloud todo syncevolution --configure \ sync=refresh-from-remote \ backend=contacts \ database="Pers?nlich" \ owncloud contacts Everything works fine, but I noticed a time shift of 1 hour when syncing calendar entries to my nokia s40. So i decided to do an upgrade with the repository "deb https://download.01.org/syncevolution/apt stable main". Now the time shift is away. ;-) But when refreshing the contacts from my owncloud, i don't see "adding ",... anymore. I see "adding ". The refresh from my owncloud runs through without errors and the number of contacts is correct. But when syncing now my contacts to my nokia it fails. Is this a bug or have I to change something when upgrading syncevolution from 1.4 to latest 1.5? Regards Thorsten _______________________________________________ SyncEvolution mailing list SyncEvolution at syncevolution.org https://lists.syncevolution.org/mailman/listinfo/syncevolution From patrick.ohly at intel.com Fri Oct 23 10:30:02 2015 From: patrick.ohly at intel.com (Patrick Ohly) Date: Fri, 23 Oct 2015 12:30:02 +0200 Subject: [SyncEvolution] contact sync from owncloud failed after upgrade syncevo from 1.4 to latest 1.5 In-Reply-To: <56150A2E.7070405@gmx.de> References: <56150A2E.7070405@gmx.de> Message-ID: <1445596202.3287.112.camel@intel.com> On Wed, 2015-10-07 at 14:03 +0200, Thorsten Leiser wrote: > Everything works fine, but I noticed a time shift of 1 hour when syncing > calendar entries to my nokia s40. > So i decided to do an upgrade with the repository "deb > https://download.01.org/syncevolution/apt stable main". > Now the time shift is away. ;-) > But when refreshing the contacts from my owncloud, i don't see "adding > ",... anymore. I see "adding ". What kind of N and FN properties do you get from OwnCloud? You can check with "syncevolution --export - target-config at owncloud contacts". > The refresh from my owncloud runs through without errors and the number > of contacts is correct. > But when syncing now my contacts to my nokia it fails. I assume you do that over Bluetooth with SyncEvolution? Please run with "loglevel=4" once and check in the HTML log file whether contacts have correct N and FN properties. FN (= full name) should be a single string, whereas N has multiple components, like this: FN:John Doe N:Doe;John;;; > Is this a bug or have I to change something when upgrading syncevolution > from 1.4 to latest 1.5? You shouldn't have to change anything. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter.