http://www.politiker-stopp.de/gfx/politiker-stopp-print.png
Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

[] carddav plugin 0.2 for roundcube 0.5.1 RSS feed for section Tech

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

Back home  clock 17:12:51 06.04.2011 | Permalink | Trackback URI

wynni (2011-04-08 08:38:17)

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

thx

blindcoder (2011-04-08 09:32:56)

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.

Markus (2011-04-08 11:56:00)

Hi,

Well done. I just install this in our Roundcupe and want to work with davical Server.

Autocomplete works fine. But as i mention davical returns the UID over 2 lines. I just build this fix:


# add davical hotfix
# mschneider, 8.4.2011
$reply = preg_replace("/UID:(.*)\r\n\s(.*)/","UID:$1$2",$reply);

to the list_records() function and than it work fine with davical

Greetings

Markus

blindcoder (2011-04-08 12:06:00)

Hello Markus.

Good point. I think vCard allows for any field to be split across several lines.

As such I think the line should better read:
$reply = preg_replace("/\r\n\s/","",$reply);

I will test this and add it to the next release (and then it should probably get its own project page) :)


Kind regards,
blindcoder

bogdan (2011-04-09 13:13:12)

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.

wynni (2011-04-09 07:48:00)

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?

blindcoder (2011-04-09 13:58:11)

@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.

marcel (2011-04-09 14:38:09)

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

wynni (2011-04-11 08:16:10)

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

David (2011-04-18 14:03:00)

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

blindcoder (2011-04-18 17:40:18)

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.

Roth (2011-04-24 01:03:39)

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

David (2011-04-24 18:58:04)

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

David

blindcoder (2011-04-25 11:30:27)

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.

david (2011-04-25 20:24:10)

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

gary (2011-04-28 04:58:35)

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

Ian (2011-08-12 05:49:27)

Please help. I have installed your caldav plugin and address book does indeed show up in round cube. The settings panel, however does not show up so this is basically useless - any ideas?

Leave a comment

Allowed HTML tags: a abbr acronym b blockquote em li ol p strong sub sup u ul

Name


Link (enter mailto:you@address.com for mailaddress, otherwise http:// is implied)


Comment