Active Topics

 



Notices


Reply
Thread Tools
Posts: 115 | Thanked: 19 times | Joined on Jun 2010
#181
Also contacts can be syncronized via CardDAV with the Yahoo template.
 

The Following 2 Users Say Thank You to narcisgarcia For This Useful Post:
Posts: 54 | Thanked: 47 times | Joined on Dec 2012
#182
Originally Posted by narcisgarcia View Post
Also contacts can be syncronized via CardDAV with the Yahoo template.
Could you explain how to use that with gmail contacts?
It's important after the winter cleanning.

I couldn't make it work.
I couldn't even configure it following the howto wiki

I was able to configure Carddav with version 1.2.2 only.

I used:
Code:
syncevolution --configure \
              username=user@gmail.com \
              password=<password> \
              addressbook/backend=carddav \
              addressbook/database=https://google.com//m8/carddav/principals/__uids__/user@gmail.com/lists/default/ \
              target-config@webdav \
              addressbook

syncevolution --configure \
              --template SyncEvolution_Client \
              syncURL=local://@webdav \
              username= \
              password= \
              webdav \
              addressbook
then I disabled the SSL certificates verification in
Code:
sed -i 's/.*SSLVerifyServer.*/SSLVerifyServer = 0/' /home/user/.config/syncevolution/*/peers/*/config.ini
syncevolution version >= 1.2.99 fails at configuration

what works is to configure with 1.2.2 , then updgrade to 1.3, then make the first sync...

It doesn't sync images...

Last edited by xvan; 2013-04-22 at 06:00.
 

The Following User Says Thank You to xvan For This Useful Post:
Posts: 115 | Thanked: 19 times | Joined on Jun 2010
#183
I don't know if Gmail is compatible with CardDAV protocol. If so, the procedure should be the same as I described.
 

The Following User Says Thank You to narcisgarcia For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#184
Google uses CalDAV and CardDAV v3 right now, v2 is marked as deprecated but not omitted for now...
 

The Following User Says Thank You to don_falcone For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#185
I read this morning CalDAV API is being removed later this year by Google - http://www.theregister.co.uk/2013/03...etires_reader/ - any possibility of Google Calendar API being used on SyncEvolution?
 

The Following User Says Thank You to For This Useful Post:
Posts: 54 | Thanked: 47 times | Joined on Dec 2012
#186
It doesn't matter what Google winter cleaning says. c*dav should stay because there are a lot of old iphones still around.

I finally put together some dark magic and made Google Carddav work again...

The SSL bug prevents the configuration connection to be made from the phone... so the trick is to set up the configuration in another place (a pc), then copy it to the phone.

IN THE PC tested with syncevolution 1.3.99.3
Code:
syncevolution --keyring=no --configure \
              username=<user>@gmail.com \
              password=<password> \
              addressbook/backend=carddav \
              addressbook/database=https://google.com//m8/carddav/principals/__uids__/default/lists/default/ \
              target-config@webdav \
              addressbook
Then copy the folder in the pc ~/.config/syncevolution/webdav to the same same place in your phone... with openssh you can make.
Code:
scp -r ~/.config/syncevolution/webdav  user@<wifi-phone-ip>:/home/user/.config/syncevolution/webdav
IN THE PHONE tested with syncevolution 1.3.99.3
Code:
syncevolution --configure \
              --template SyncEvolution_Client \
              syncURL=local://@webdav \
              username= \
              password= \
              webdav \
              addressbook
Then disable the certificate verification:
Code:
sed -i 's/.*SSLVerifyServer.*/SSLVerifyServer = 0/' /home/user/.config/syncevolution/*/peers/*/config.ini
Backup all your conctacts.

Open the Syncevolution-Frontend.
Open the webdav configuration, go to "edit service", configure the sync to Refresh-from-server (slowsync failed for me twice).
Upon success, you can configure it to "normal-sync".

Other combinations of syncevolution versions (pc - phone), might work, because each one fails at a different step.

I took the last pc version from here.
I also had to compile the 1.3.99 version for maemo. Until the repository is updated, you can download syncevolution from here.

Last edited by xvan; 2013-04-22 at 09:54.
 

The Following 2 Users Say Thank You to xvan For This Useful Post:
nokiabot's Avatar
Posts: 1,974 | Thanked: 1,834 times | Joined on Mar 2013 @ india
#187
Good job
 
Posts: 54 | Thanked: 47 times | Joined on Dec 2012
#188
Old Google carddav database url:
Code:
addressbook/database=https://google.com//m8/carddav/principals/__uids__/default/lists/default/
Doesn't work anymore. It has to be replaced by:
Code:
addressbook/database=https://google.com/carddav/v1/principals/[username]%40gmail.com/lists/default/
where [username] is the gmail user.

I sniffed it from IOS6.1, so it should last for a while
 
Posts: 752 | Thanked: 2,808 times | Joined on Jan 2011 @ Czech Republic
#189
Hey, thanks for this tutorial - it's very appreciated.

However, I have one little note:

I tried to follow the tutorial on the N9 and it went fine - I skipped the step where you disable certificate verification and it synchronized all the contacts without any problems (I even didn't have to use the computer).

On the N900 it fails if I don't disable the verification (as expected).

So does N9 have a newer certificate for Google services than N900? Could it be imported?

Last edited by nodevel; 2013-08-31 at 09:19.
 
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#190
I wasted now 2 hours with this stuff...

...was anyone able to sync adressbook and calendar to fruux.com using SyncEvolution?
 
Reply

Tags
calendar sync, maemo 5


 
Forum Jump


All times are GMT. The time now is 11:04.