http://www.politiker-stopp.de/gfx/politiker-stopp-print.png

Benjamin Schieder

[TECH] CARDDAV PLUGIN 0.2 FOR ROUNDCUBE 0.5.1

2011 April 06 | 15 comments

This is a follow-up to the release of the carddav plugin for roundcube 0.1.

I've just finished version 0.2 which includes full write access. You can get it at http://blog.crash-override.net//img/carddav_0.2.tar.gz.

Update: Changed title to clarify versions.

EOF

Category: blog

Tags: Tech


15 Comments

From: wynni
2011-04-08 08:38:17 +0200

Does this plugin also work with roundcube 0.5.1??
0.2 is out of date.
thx

From: blindcoder
2011-04-08 09:32:56 +0200

Okay, I admit that the title is misleading.
The version of the carddav plugin is 0.2 but it is for the latest release of Roundcube.

From: bogdan
2011-04-09 13:13:12 +0200

How should it be configured for Snow Leopard Server 10.6.7?
It would be amazing if we could get a cardav web implementation, since atmail's is broken since 10.6.4.
Thanks in advance,
Bogdan.

From: wynni
2011-04-09 07:48:00 +0200

Habe leider noch ein Problem mit dem Plugin.
Kann es zwar einbinden doch es kommt der Fehler im Roundcube sobald ich auf CARDDAV klicke: Serverfehler! (OK)
Log von Roundcube sagt leider gar nichts...
Log von Webserver:
87.5.xxx.xxx - - [09/Apr/2011:07:34:17 +0200] "GET /mail/?_task=addressbook&_remote=1&_action=list&_source=CardDAV&_page=1&_=1302327257564&_unlock=loading1302327257563 HTTP/1.1" 200 473 "https://mail.example.org/mail/?_task=addressbook" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0) Gecko/20100101 Firefox/4.0"
87.5.xxx.xxx - - [09/Apr/2011:07:35:43 +0200] "REPORT /davical/caldav.php/Philipp/contacts/ HTTP/1.0" 401 40 "-" "-"
Meine Konfig Plugin:
1 2 $carddav['address_sources_name'] = 'contacts';
3 $carddav['username'] = 'Philipp';
4 $carddav['password'] = 'stimmtsicher';
5 $carddav['url'] = "https://mail.example.org/davical/caldav.php/Philipp/contacts/";
Andere Clients funktionieren einwandfrei (iPhone + OSX Adressbuch).
Aufgefallen ist mir noch das es eine config..inc.php gibt. (2 Punkte ???)
Im Einsatz habe ich Debian Lenny mit Davical.
Vielleicht einen Tip wieso ich das Plugin nicht zu laufen bringe?

From: blindcoder
2011-04-09 13:58:11 +0200

@wynni:
Ich habe dafuer gerade ein Ticket aufgemacht:
http://bugs.crash-override.net/index.php?do=details&task_id=5
Ich werds mir heute oder morgen ansehen.

From: marcel
2011-04-09 14:38:09 +0200

Hi Blindcoder,
great work! Programming a rcm-plugin for carddav is one of the most useful and forward-looking ideas in the last month of rcm development.
Keep it up!
Marcel

From: wynni
2011-04-11 08:16:10 +0200

Sorry, aber wo finde ich den angehängten patch?

From: David
2011-04-18 14:03:00 +0200

Hello
Can I use this plugin with egroupware?
My config is :
$carddav['address_sources_name'] = 'addressbook';
$carddav['username'] = 'login';
$carddav['password'] = 'passwd';
$carddav['url'] = "http://domain/groupdav.php/david/addressbook";
But my addressbook is empty and I don't have error in the log on rc and egw.
What can I make???
David

From: blindcoder
2011-04-18 17:40:18 +0200

Hello David.
Unfortunately I know nothing about egroupware. Basically you would add your login and passwordcredetials and http path to your addressbook into a config.<youremailaddress>.inc.php file and it should work.
You can try applying this patch: debug.patch and then check in your roundcubemail/logs/carddav file if you see anything.
I will soon release version 0.3 with extended logging that should make this sort of error easier to debug.
If you like, please open a ticket at http://bugs.crash-override.net/ to make communication easier.

From: Roth
2011-04-24 01:03:39 +0200

Hello,
i try to configure your plugin in Mac OS X Server 10.6 that's is possible with native CardDAV from Apple (Without DAVIcal) ?
What is the correct URL ? I try to this :
https://example.com:8843/addressbooks/users/[Username]/addressbook/
Thank you, Sorry for my english.
Thomas-Reiner ROTH

From: David
2011-04-24 18:58:04 +0200

Hello
With snow, you must have a Kerberos or digest authentification. With this plugin it's a base authentification.
David

From: blindcoder
2011-04-25 11:30:27 +0200

Hello David, Roth.
I've added it to http://bugs.crash-override.net/index.php?do=details&task_id=7.
I have no access to a Mac OS X setup, so I can't test it, but if you can give me details about the authentication method, I can add it.

From: david
2011-04-25 20:24:10 +0200

Hello
For mac osx addressbook server, we must authenticate with Kerberos or Digest method. I have no more information about it. For the correct URL, I have put the same address like addressbook.app (ex : http://[domain]:[port]/addressbooks/__uids__/[UID number]/addressbook/).
David

From: gary
2011-04-28 04:58:35 +0200

I'm not sure this will help, but it's worth mentioning. The davical wiki has a short discussion on Apple carddav connections. I have access to a Mac and am willing to help if I can (I don't know php).
http://wiki.davical.org/w/CardDAV/Clients
witscheratgmaildotcom

From: Erik
2012-06-12 12:49:14 +0200

I would like to use this plugin on a OSX Server where the Carddav listens on a different port, 6188, with or without ssl.
I'm not a php programmer and looked through the code, but could not find anything about port settings.
Thanks for your time.
Erik

Post a comment

All comments are held for moderation; basic HTML formatting is accepted.

Name: (required)
E-mail: (required, not published)
Website: (optional)
Comment: