christian-putzke / roundcube-carddav Goto Github PK
View Code? Open in Web Editor NEWRoundcube CardDAV Plugin
Home Page: http://www.graviox.de
License: GNU Affero General Public License v3.0
Roundcube CardDAV Plugin
Home Page: http://www.graviox.de
License: GNU Affero General Public License v3.0
Description ----------- This is a CardDAV-Implementation for roundcube 0.6 or higher. Features -------- * Add multiple CardDAV server for each user * CardDAV contacts are stored in the local database which provides great performance * Tested CardDAV servers: DAViCal, Apple Addressbook Server, meetoo, SabreDAV, ownCloud, SOGo * You can read / add / delete / edit CardDAV contacts (vCards) * Autocomplete all CardDAV contacts within the compose email view * Search for all CardDAV contacts within the addressbook * Automaticly synchronized CardDAV contacts (just execute /plugins/carddav/cronjob/synchronize.php within the crontab) Planned features ---------------- * Improved search for CardDAV contacts within the addressbook Requirements ------------ * MySQL or PostgreSQL * CURL Installation ------------ * Execute SQL statements from /plugins/carddav/SQL/yourDatabase.sql * Add 'carddav' to the plugins array in /config/main.inc.php * Copy /plugins/carddav/config.inc.php.dist to /plugins/carddav/config.inc.php * Login into your roundcube webmail and add your CardDAV server in the settings Update ------ * Execute new SQL statements from /plugins/carddav/SQL/yourDatabase.update.sql Special thanks -------------- * B5r1oJ0A9G for the PostgreSQL statements! CardDAV server list ------------------- * DAViCal: https://example.com/{resource|principal|username}/{collection}/ * Apple Addressbook Server: https://example.com/addressbooks/users/{resource|principal|username}/{collection}/ * memotoo: https://sync.memotoo.com/cardDAV/ * SabreDAV: https://example.com/addressbooks/{resource|principal|username}/{collection}/ * ownCloud: https://example.com/remote.php/carddav/addressbooks/{resource|principal|username}/{collection}/ * SOGo: https://example.com/SOGo/dav/{resource|principal|username}/Contacts/{collection}/ Contact ------- * Author: Christian Putzke <[email protected]> * Report feature requests and bugs here: https://github.com/graviox/Roundcube-CardDAV/issues * Visit Graviox Studios: http://www.graviox.de/ * Follow me on Twitter: https://twitter.com/graviox/
If I select my CardDAV-Contacts in the addressbook it shows on the bottom "Contacts 1 to 1 of 1" but there are 12 contacts in the group.
Hi,
it would be nice if you would implement following features:
https://carddav-server/%u/addressbook // %u = roundcube login user
carddav['pass'] = '%p' // %p = roundcube login password
carddav['user'] = '%u' // %u = roundcube login user
With these improvements it'll be possible to predefine addressbooks for each user which can't be changed thus the admin can control the addressbooks of the users.
Kind regards,
Andrwe
After syncing the carddav server via mobile devices e.g. mobile phones it is possible to get contacts without having a valid email address (just phone number and name).
These data sets are not found during search!
It is also possible to save these contacts without having a valid e-mail address after editing it (name, surname, firstname and phone number). This is not possible with contacts in local addressbooks: error: missing e-mail address
Baikal is an opensource php/mysql|postgresql carddav caldav server
https://github.com/jeromeschneider/Baikal
Does anyone one know how to set the Roundcube-CardDAV urls for it?
Hi,
not a bug, just cosmetics.
At least since ownCloud-4 the URL for CardDAV has been changed to:
https://example.com/remote.php/carddav/addressbooks/{username}/{collection}/
Bye
Marc
Since Roundcube 0.9-beta CardDAV doesn't work. I always get this error:
PHP Fatal error: Call to undefined method rcube_db_mysql::num_rows() in /is/htdocs/roundcubemail-0.9-beta/plugins/carddav/carddav.php on line 364
It seems there are new methods because of using PDO in Roundcube now. It would be fine if there could be an update for this nice plugin.
Thanks
Pantos
Recently Google announced the addition of CardDAV protocol for syncing :
"Starting today, we're adding CardDAV - an open protocol for contacts - to that list. CardDAV enables 3rd party clients, like the iOS contacts app, to sync your Google contacts. By supporting IMAP, CalDAV, and CardDAV together, we’re making it possible for 3rd parties to build a seamless Google Account sync experience." source: http://gmailblog.blogspot.gr/2012/09/a-new-way-to-sync-google-contacts.html
So after enabling CardDAV Plugin in Roundcube I tried to sync with my google contacts account:
Category : Google Contacts
Server : google.com
User: [email protected]
pass: mypass
But unfortunately I am getting "Internal Server Error"
Any Ideas why is this happening ?
Current master of Roundcube-CardDAV (v0.5.1)
Debian amd64 system (unstable with latest updates)
Roundcube 0.7.2-5 with MySQL (server ver. 5.5.28+dfsg-1)
During execution of mysql.sql the following error occurs:
ERROR 1072 (42000) at line 31: Key column 'carddav_server_id' doesn't exist in table
Hi there,
I downloaded your plugin for more or less the same reasons why you wrote it; The existing plugin for RoundCube just doesn't perform well at all. Unfortunately I've been having difficulties getting this plugin to run properly. My environment as it is setup at the moment contains an exchange 2007 server for mail a carddav "gateway" and RoundCube loaded with your plugin. This setup appears to work properly with both iCal and Addressbook on OSX Lion connecting to both the exchange calendar and addressbook respectively thru the carddav gateway.
While analyzing the gateway logs the fallowing errors caught my attention;
However it is unclear to me which service the plugin is trying to contact that returns the 503 and if the 401 could still be causing this issue since it is only a warning and the process seems to continue. https://exchange./ews/exchange.asmx returns a login prompt that accepts the same credentials also provided to the plugin and returns an XML as expected. I hope you are able and willing to help me debug this issue I have pasted my logs below.
Thanks in advance!
Tony
O/S: FreeBSD 8.2
Mail Server: MS Exchange 2007
Carddav Gateway: DAVMail 3.9.4
Carddav Client: Roundcube-CardDAV-0.2-7
Roundcube: 0.6
davmail error log:
[davmail.caldav.CaldavServer] davmail - Connection from /192.168.0.9 on port 1080 [CaldavConnection-17744] davmail - < OPTIONS /users/<user>@<domain>/contacts/ HTTP/1.1 DEBUG [CaldavConnection-17744] davmail - < User-Agent: CardDAV-PHP/0.4.4 DEBUG [CaldavConnection-17744] davmail - < Host: dev.<domain>:1080 DEBUG [CaldavConnection-17744] davmail - < Accept: */* DEBUG [CaldavConnection-17744] davmail - > HTTP/1.1 200 OK DEBUG [CaldavConnection-17744] davmail - > Server: DavMail Gateway 3.9.4-trunk DEBUG [CaldavConnection-17744] davmail - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events, addressbook DEBUG [CaldavConnection-17744] davmail - > Date: Mon, 28 Nov 2011 15:24:19 +0000 DEBUG [CaldavConnection-17744] davmail - > Expires: Mon, 28 Nov 2011 15:24:19 +0000 DEBUG [CaldavConnection-17744] davmail - > Cache-Control: private, max-age=0 DEBUG [CaldavConnection-17744] davmail - > Allow: OPTIONS, PROPFIND, HEAD, GET, REPORT, PROPPATCH, PUT, DELETE, POST DEBUG [CaldavConnection-17744] davmail - > Connection: keep-alive DEBUG [CaldavConnection-17744] davmail - > Content-Length: 0 DEBUG [CaldavConnection-17744] davmail - > DEBUG [davmail.caldav.CaldavServer] davmail - Connection from /192.168.0.9 on port 1080 DEBUG [CaldavConnection-19844] davmail - < OPTIONS /users/<user>@<domain>/contacts/ HTTP/1.1 DEBUG [CaldavConnection-19844] davmail - < User-Agent: CardDAV-PHP/0.4.4 DEBUG [CaldavConnection-19844] davmail - < Host: dev.<domain>:1080 DEBUG [CaldavConnection-19844] davmail - < Accept: */* DEBUG [CaldavConnection-19844] davmail - > HTTP/1.1 200 OK DEBUG [CaldavConnection-19844] davmail - > Server: DavMail Gateway 3.9.4-trunk DEBUG [CaldavConnection-19844] davmail - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events, addressbook DEBUG [CaldavConnection-19844] davmail - > Date: Mon, 28 Nov 2011 15:24:19 +0000 DEBUG [CaldavConnection-19844] davmail - > Expires: Mon, 28 Nov 2011 15:24:19 +0000 DEBUG [CaldavConnection-19844] davmail - > Cache-Control: private, max-age=0 DEBUG [CaldavConnection-19844] davmail - > Allow: OPTIONS, PROPFIND, HEAD, GET, REPORT, PROPPATCH, PUT, DELETE, POST DEBUG [CaldavConnection-19844] davmail - > Connection: keep-alive DEBUG [CaldavConnection-19844] davmail - > Content-Length: 0 DEBUG [CaldavConnection-19844] davmail - > DEBUG [davmail.caldav.CaldavServer] davmail - Connection from /192.168.0.9 on port 1080 DEBUG [CaldavConnection-21936] davmail - < PROPFIND /users/<user>@<domain>/contacts/ HTTP/1.1 DEBUG [CaldavConnection-21936] davmail - < User-Agent: CardDAV-PHP/0.4.4 DEBUG [CaldavConnection-21936] davmail - < Host: dev.<domain>:1080 DEBUG [CaldavConnection-21936] davmail - < Accept: */* DEBUG [CaldavConnection-21936] davmail - > HTTP/1.1 401 Unauthorized DEBUG [CaldavConnection-21936] davmail - > WWW-Authenticate: Basic realm="DavMail Gateway" DEBUG [CaldavConnection-21936] davmail - > Connection: keep-alive DEBUG [CaldavConnection-21936] davmail - > Content-Length: 0 DEBUG [CaldavConnection-21936] davmail - > DEBUG [CaldavConnection-21936] davmail - < PROPFIND /users/<user>@<domain>/contacts/ HTTP/1.1 DEBUG [CaldavConnection-21936] davmail - < Authorization: ******** DEBUG [CaldavConnection-21936] davmail - < User-Agent: CardDAV-PHP/0.4.4 DEBUG [CaldavConnection-21936] davmail - < Host: dev.<domain>:1080 DEBUG [CaldavConnection-21936] davmail - < Accept: */* DEBUG [CaldavConnection-21936] davmail - Found permanently accepted certificate, hash * DEBUG [CaldavConnection-21936] davmail - executeFollowRedirects(https://exchange.<domain>/owa/) DEBUG [CaldavConnection-21936] davmail - executeFollowRedirects: https://exchange.<domain>/owa/auth/logon.aspx?url=https://exchange.<domain>/owa/&reason=0 redirectCount:1 DEBUG [CaldavConnection-21936] davmail.exchange.ExchangeSession - Form based authentication detected DEBUG [CaldavConnection-21936] davmail.exchange.ExchangeSession - Detected script based logon, redirect to form at https://exchange.<domain>/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fexchange.<domain>%2fowa%2f DEBUG [CaldavConnection-21936] davmail - executeFollowRedirects(https://exchange.<domain>/owa/auth/logon.aspx?replaceCurrent=1&url=https%3a%2f%2fexchange.<domain>%2fowa%2f) DEBUG [CaldavConnection-21936] davmail - executeFollowRedirects(https://exchange.<domain>/owa/auth/owaauth.dll) DEBUG [CaldavConnection-21936] davmail - executeFollowRedirects: https://exchange.<domain>/owa/ redirectCount:1 WARN [CaldavConnection-21936] davmail.exchange.ExchangeSession - Public folders not available: 401 Unauthorized at https://exchange.<domain>/public/ DEBUG [CaldavConnection-21936] davmail.exchange.ExchangeSession - Current user email is <user>@<domain>, alias is <user>, mailPath is /exchange/<user>@<domain>/ on Exchange2007 DEBUG [CaldavConnection-21936] davmail.exchange.ExchangeSession - Inbox URL: https://exchange.<domain>/exchange/<user>@<domain>/Inbox Trash URL: https://exchange.<domain>/exchange/<user>@<domain>/Deleted Items Sent URL: https://exchange.<domain>/exchange/<user>@<domain>/Sent Items Send URL: https://exchange.<domain>/exchange/<user>@<domain>/##DavMailSubmissionURI##/ Drafts URL: https://exchange.<domain>/exchange/<user>@<domain>/Drafts Calendar URL: https://exchange.<domain>/exchange/<user>@<domain>/Calendar Tasks URL: https://exchange.<domain>/exchange/<user>@<domain>/Tasks Contacts URL: https://exchange.<domain>/exchange/<user>@<domain>/Contacts Outbox URL: https://exchange.<domain>/exchange/<user>@<domain>/Outbox Public folder URL: /public/ DEBUG [CaldavConnection-21936] davmail.exchange.ExchangeSession - Session davmail.exchange.dav.DavExchangeSession@120bf2c created DEBUG [CaldavConnection-21936] davmail.exchange.ExchangeSession - Created new session: davmail.exchange.dav.DavExchangeSession@120bf2c ERROR [CaldavConnection-21936] davmail - java.lang.NullPointerException java.lang.NullPointerException at java.io.StringReader.<init>(StringReader.java:33) at davmail.exchange.XMLStreamUtil.createXMLStreamReader(XMLStreamUtil.java:155) at davmail.caldav.CaldavConnection$CaldavRequest.parseXmlBody(CaldavConnection.java:1458) at davmail.caldav.CaldavConnection$CaldavRequest.<init>(CaldavConnection.java:1293) at davmail.caldav.CaldavConnection.handleRequest(CaldavConnection.java:208) at davmail.caldav.CaldavConnection.run(CaldavConnection.java:170) DEBUG [CaldavConnection-21936] davmail - > HTTP/1.1 503 Service Unavailable DEBUG [CaldavConnection-21936] davmail - > Server: DavMail Gateway 3.9.4-trunk DEBUG [CaldavConnection-21936] davmail - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events, addressbook DEBUG [CaldavConnection-21936] davmail - > Date: Mon, 28 Nov 2011 15:24:23 +0000 DEBUG [CaldavConnection-21936] davmail - > Expires: Mon, 28 Nov 2011 15:24:23 +0000 DEBUG [CaldavConnection-21936] davmail - > Cache-Control: private, max-age=0 DEBUG [CaldavConnection-21936] davmail - > Content-Type: text/plain;charset=UTF-8 DEBUG [CaldavConnection-21936] davmail - > Connection: close DEBUG [CaldavConnection-21936] davmail - > Content-Length: 30 DEBUG [CaldavConnection-21936] davmail - > DEBUG [CaldavConnection-21936] davmail.caldav.CaldavConnection - > java.lang.NullPointerException
roundcube error log:
`[28-Nov-2011 16:16:21] PHP Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /usr/local/www/roundcube/plugins/carddav/carddav_addressbook.php:408
Stack trace:
#0 /usr/local/www/roundcube/plugins/carddav/carddav_addressbook.php(408): SimpleXMLElement->__construct('')
#1 /usr/local/www/roundcube/plugins/carddav/carddav.php(240): carddav_addressbook->carddav_addressbook_sync()
#2 /usr/local/www/roundcube/plugins/carddav/carddav.php(414): carddav->carddav_addressbook_sync(65, false)
#3 [internal function]: carddav->carddav_server_save()
#4 /usr/local/www/roundcube/program/include/rcube_plugin_api.php(296): call_user_func(Array)
#5 /usr/local/www/roundcube/index.php(239): rcube_plugin_api->exec_action('plugin.carddav-...')
#6 {main}
thrown in /usr/local/www/roundcube/plugins/carddav/carddav_addressbook.php on line 408`
Email addresses that are labelled as "work" in owncloud (version 5.0.9) appear with the label "internet" in the roundcube address book.
It Syncs only the first 28 Contacts and aborts.
I can add and edit Contacts in Roundcube that successfully syncs to iCloud
But it seems that it aborts while syncing a certain Card.
I checked these logs:
/var/www/roundcube/logs/errors
/var/www/roundcube/logs/carddav.warn
But found nothing relevant
I've installed Roundcube-CardDAV 0.5 on my CentOs 6.3 x86_64 vmware server with cPanel WHM 11.32.5 (build 10) and roundcube 0.8.1.
When I try to connect with a owncloud installation using:
https://server/remote.php/carddav/addressbooks/username/
https://server/remote.php/carddav/addressbooks/principals/username/
https://server/apps/contacts/carddav.php/addressbooks/principals/username/
https://server/apps/contacts/carddav.php/addressbooks/username/
With all strings I have a generic internal server error.
Do you know about incompatibility of your with roundcube 0.8.1?
Also I have Curlssl installed as php module, so I had to cancel your check on Curl activated.
But as Curl ssl includes Curl, I think it shoudl work...
Please improve to have an option to run without a SQL database at the server.
I would love to know if we can simply add via insert statements contacts into my sql.
The idea is to insert a contact into mysql, and then have carddav create the contact if it does not exist.
Most of the sql column labels are self explanitory.
Could you please let me know what the following items are:
etag -
last_modified (how is this tracked for new items)
vcard_id - is this simply random or does it mean something?
Looking forward to your help.
Add
table-layout: fixed;
to the carddav.css
.carddav_server_list
Installed SOGO and i can connect to Caldav through Bitkinex.
I guess that means CardDav is working,
Also can connect through Ipad.
When i add server I get message :
Can't connect to the CardDAV server
the url i enter is:
https://sogo.mydomain.com/SOGo/dav/[email protected]/Contacts/personal/
username:
[email protected]
label:
carddavtest
password:
user password for sogo
I must be missing something... What is this resource \ pricincipal \ username all about?
Can you give me a clear SOGO example.
2nd Question.
Will it automatically sync when roundcube is not open?
For Instance:
If i add a contact in my Ipad vial Carddav, will it then also push the contact to roundcube?
When i want to import the mysql database into my roundcube database i get the following error.
ERROR
SQL-query:
ALTER TABLE carddav_contacts
ADD CONSTRAINT carddav_contacts_ibfk_1
FOREIGN KEY ( carddav_server_id
) REFERENCES carddav_server
( carddav_server_id
) ON DELETE CASCADE ;
MySQL retourneerde: Documentatie
#1005 - Can't create table 'p49386_mail.#sql-46e8_34baa' (errno: 121) (Details...)
I'm running roundcube 0.8.1 on debian stable, with roundcube-Carddav 5.1, patched following issue 29 (#29)
When syncing my adressbook, contacts which don't have a ".vcf" extension in the davical server are not seen by roundcube-carddav : they do not appear in roundcube (please note that they do not get deleted from the server either : roundcube-carddav just don't "see" them).
roundcube log is clean, roundcube carddav saying that everything was synced correctly.
I would guess this is due to roundcube-carddav pruning elements whithout extension.
Any help indicating what to change in the code would be welcome. All I could find are lines which strip the vcf extension in carddav_backend.php.
I can try to provide two example of "synced" and "not synced" contacts if needed, althought the trick here is that it's only a matter of how davical "represent" them in its DB.
Function to add contacts
Just installed the carddav sync module. Regretfully it causes a red window to appear stating a Server Error. The CardDav tab is visible, but when I try to enter details of a carddav sever, the red window with the error appears ....
Any suggestions?
Cheers,
Erik
I have a davical server with contacts, these contacts have photos. They work fine with evolution and android (carddav-sync).
The photo also shows in roundcube-carddav but when I edit the contact in roundcube-carddav (not modifying the photo) and then save, the photo is missing from the saved contact (on evolution and android). Although roundcube-carddav still shows the photo.
The photo is still in davical. When I extract the vcard with cadaver I still see the PHOTO: element in there but it seems it is stored in such a way evolution and android can't use it.
The only difference I see is that the photo which does not work in evolution or android contains :
PHOTO;type=X-EVOLUTION-UNKNOWN:iVBORw0KGgoAAAANSUhEUgAAAGAAAABVCAIAAAA5TXZxAAAAA
3NCSVQICAjb4U/gAAAgAElEQVR4nO2caZRkRZmw34i7L7lnVmbW...........
while the working photo contains :
PHOTO;ENCODING=b;TYPE=X-EVOLUTION-UNKNOWN:/9j/4AAQSkZJRgABAQECWAJYAAD//g
ATQ3JlYXRlZCB3aXRoIEdJTVD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEh
..............
(they are not the same photos)
I have tried everything to work around this issue but cannot find a good solution.
The CardDAV protocol in ownCloud 4 cannot handle an @ in the URL. Usernames with @ in them must have the @ converted to %40 in the URL in order to work. This plugin is currently not capable of handling this.
Any chance of support in iCloud CardDAV? I can't seem to get it to work with the current version.. I'm guessing it much be doing something different. I knew a few other people have managed to get it to work as I have a CardDAV sync on my Android phone that it works with.
I think they may use some sort of Challenge/Response type auth from a packet sniff.
OPTIONS //principal/ HTTP/1.1
Host: p01-contacts.icloud.com
User-Agent: AddressBook/6.1 (1083) CardDAVPlugin/200 CFNetwork/520.3.2 Mac_OS_X/10.7.3 (11D50)
Content-Length: 0
Accept: /
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Authorization: X-MobileMe-AuthToken =
Connection: keep-alive
I've managed to get other clients to connect to my Davical server, but I'm having problems getting the plugin to retrieve data from it.
It connects, as the log shows that it's connected, however I get:
"v0.5.1 | carddav_server_id 6 | CardDav-Server XML-Response is malformed. Synchronization aborted!"
I've tried outputting the response to the log, but it seems to come out blank.
I think I may have narrowed it down to contacts that are set to show as a company. I managed to get the other roundcube carddav client to sync after unsetting the contacts at which the sync was stopping from being set to company.
It seemed that the X-ABShowAs:COMPANY line in the vcard response was throwing an error. I will test this version when I get time to see if that is what is causing this plugin to fail. It is potentially down to me creating business contacts without adding an organization name.
I was trying to use other table names to avoid conflicts, but after I've changed the values in the config file, he's still looking for the old name. I also noticed in the config.inc.php, the end tag for php "?>" was missing. So I was not sure if the config file is considered at all.
I've have added the $this->load_config(); in the carddav.php and saved the config value (db_table_carddav_server) as an instance variable, which I've used everywhere you're calling get_table_name() as a parameter. In carddav_addressbook.php I had the same problem, so I've added the second config value (db_table_carddav_contacts) to another instance variable in carddav.php. Then I've extended all "new carddav_addressbook()" calls with the config value as an additional parameter. In carddav_addressbook, I've added the constructor parameter also as an instance variable and used in all get_table_name as a parameter. Bam, that was pretty easy, but with no knowledge of rcmail api you have a bit longer than usual ;-)
Now I can finally use your great plugin. Can you fix the problem with the config file, shouldn't be a bit of a problem for you. Thanks a lot!
When a vcard is modified, the UID field is truncated to 48 chars, which change the UID.
I looked at the RFC 6350 to check if there are limits to UID but it only says :
UID-text-value = text
Hi Folks,
first thank you very much for writing the plugin to use carddav in roundcube, this is my first step to get rid of googlemail ;-)
Unfortunatly I have a problem to save contacts in the davical address book or even receive them. Once there is a contact in the davical db, carddav throws an internal server error. i use davical 1.0.2 debian.mcmillan.net.nz under debian squeeze with apache2 2.2.16-6+squeeze6, carddav graviox-Roundcube-CardDAV-22c47f3 with roundcube 0.5.4+dfsg-1~bpo60+1 from debian squeeze backports.
The logs said:
PHP Fatal error: Call to undefined method rcube_vcard::get_assoc() in /var/lib/roundcube/plugins/carddav/carddav_addressbook.php on line 515
Any help is welcome! :o)
Regards,
U-Rise
If i have enabled the carddav Plugin in Roundcube 0.8.5, i get sporadically a red box with the Text "Serverfehler! (Unkown)". Nothing is written to any of the RoundCube Logfiles. If i disable the Plugin, i havent seen this error.
I have asked also in the Roundcube Forum, but i havent found a solution yet. You can find the thread at http://www.roundcubeforum.net/index.php?topic=10904.0
If you create a contact on Ipad, and then it syncs up the images will not load in roundcube.
The same is true in inverse.
The images still work after the sync, but if it was created on ipad, then the image only works there. If created on roundcube only works there.
Is there a specific format that is global for all contact images?
Hi everyone,
I am trying to use the latest version of Roundcube along with the current version of the graviox/ Roundcube-CardDAV plugin.
When entering server and login info the connection with the server seems to be ok (server gets accepted and is added) but when I synchronize I cannot see any contacts in my cardDAV folder.
Does anyone else had the same problem? Any solutions or any hints about what could be wrong.
Thank you very much.
George
Adding new contacts e.g. Roundcube 0.8.4 UI I get the error:
"An error occurred while saving."
This error occurs in all SabreDAV based carddav servers up to SabreDAV versions 1.6.3-stable (2012-06-12): https://github.com/evert/SabreDAV/blob/1.6/ChangeLog Line:35
Birthdays from CardDav Contacts are not shown in the calender ...
I am using the plugin (0.3) in combination with Roundcube 0.8-svn and Owncloud 3 stable. Each time I am viewing the personal information tab the birthday there is reduced by one day compared to the entry in owncloud's mysql database. Editing the contact and switching once again to the personal information tab again reduces the birthday by another day. After viewing, editing and saving, a contact ends up being two days younger.
I'd like to propose a readonly option (something like a checkbox during setup that could be unchecked later on). Some carddav clients don't work too well with the vcard format roundcube produces. The Mac OSX Lion Addressbook client e.g. can't handle edits done by roundcube and denies further syncing.
The autocompletion in the compose mail view shows the labels choosed for the CardDAV-Servers
If i am trying to sync with OWC 5.0.4 i throws this error:
Serverfehler! (Internal Server Error)
Logs shows:
[17-Apr-2013 14:24:06 +0000]: v0.5.1 | carddav_server_id: 8 | Starting CardDAV-Addressbook synchronization
[17-Apr-2013 14:24:06 +0000]: v0.5.1 | carddav_server_id: 8 | Connected to the CardDAV-Server https://XXXXX/remote.php/carddav/addressbooks/XXXX/contacts
same with this url:
https://xxxxxx/apps/contacts/carddav.php/addressbooks/xxxxxx/contacts
Hi,
when I'm in adressbook, select the remote addressbook and click on the synchronize button, new or deleted contacts are not shown immediatly in the contacts pane. I have to click on the local personal adressbook and back to remote addressbook to see them.
To me that is not the expected behaviour.
Olli
The picture of a contact is only shown in the preview pane and read-message-view if the "from" email address matches the first email address of a contact. It seems like all email addresses other than the first one of a particular contct are ignored with regard to displaying the picture of a contact.
Hello.
Because Roundcube is compatible with PostgreSQL, I think it would be a good idea to make this plugin compatible too.
Thank you
i get a "internal server error 500" when enable plugin CardDav (0.5.1) in roundcube config.
the solution:
< if ($rcmail->db->num_rows($result))
---
> if ($rcmail->db->affected_rows($result))
199c199
< if ($rcmail->db->num_rows($result))
---
> if ($rcmail->db->affected_rows($result))
232c232
< return $rcmail->db->num_rows($result);
---
> return $rcmail->db->affected_rows($result);
794c794
< if ($rcmail->db->num_rows($result))
---
> if ($rcmail->db->affected_rows($result))
< if ($rcmail->db->num_rows($result))
---
> if ($rcmail->db->affected_rows($result))
see http://php.net/manual/de/function.mysql-affected-rows.php
error : 403 97 "-" "CardDAV PHP/0.5.1" i=1 or=1 t=80.1 err=propfind-finite-depth
the solution:
212c212,222
< $response = $this->query($this->url, 'PROPFIND');
---
> $content = '<?xml version="1.0" encoding="utf-8" ?>
> <D:sync-collection xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:carddav">
> <D:sync-token></D:sync-token>
> <D:sync-level>1</D:sync-level>
> <D:prop><D:getcontenttype/><D:getetag/><D:allprop/>
> <C:address-data><C:allprop/></C:address-data></D:prop>
> <C:filter/></D:sync-collection>';
> $content_type = 'application/xml';
> $response = $this->query($this->url, 'REPORT', $content, $content_type);
Hi
Whatever I try, I did not get cronjob to work.
Cronjob is set to:
1 * * * * /link/to/synchronize.php
Access rights for synchronize.php are '755'.
I always get the following error:
/.../plugins/carddav/cronjob/synchronize.php: line 1: ?php: No such file or directory
/.../plugins/carddav/cronjob/synchronize.php: line 3: /-11.25-1333597966.tar.gz: Permission denied
/.../plugins/carddav/cronjob/synchronize.php: line 4: access-logs: command not found
/.../plugins/carddav/cronjob/synchronize.php: line 5: access-logs: command not found
/.../plugins/carddav/cronjob/synchronize.php: line 6: syntax error near unexpected token newline
/.../plugins/carddav/cronjob/synchronize.php: line 6: * @author Christian Putzke <[email protected]>
My installation:
RoundCube 0.8rc
OwnCloud 4.0.6
PHP 5.4.5
Carddav Plugin 0.5.1
Thanks and regards
Hello.
I would love to see being Roundcube-CardDAV compatible with sabre-zarafa, as this woul be a nice way to sync addressbooks between both systems, and we could use this on multiple occasions.
If any help (except coding) is appreciated please let me know.
Daniel
Google CardDAV always fail for me.
Message:
Cannot connect with CardDAV server!
In the selection of the default address book to put new contacts (when clicking on the person icon next to an email address/contact in the email view) in Settings -> Address Book it is only possible to select local address books but not any CardDAV address books.
Hi,
when I'm in carddav adressbook and click on the "write message" button, I get the message "no contacts found" and I'm not redirected to write message view.
Everything works fine in my local adressbook.
Olli
I'm trying to get working this plugin with a Davical server (already working with thunderbird & sogo extension). But when I synchronize an existing addressbook I get the following message:
v0.5.1 | carddav_server_id: 8 | No CardDAV XML-Element found! The CardDAV-Server seems to have no contacts
And the addressbook has 5 contacts
The response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<addressbook_element>
<display_name>NAME addressbook</display_name>
<url>https://davical.domain.com/caldav.php/nameuser/addresses/</url>
<last_modified>mar, 07 Aug 2012 18:52:11 GMT</last_modified>
</addressbook_element>
</response>
the PROPFIND method doesn't seem to return any contact, and only the collection info.
Any ideas??
Roundcube 0.7.2
PHP 5.3.10
Davical 1.1.1 in other server (Nginx 1.2, PHP 5.4)
Hi,
server urls with a tilde (~) in it is messed up.
For example the url
http://localhost/~olli/sabredav/addressbookserver.php/addressbooks/admin/privat/
is saved in database and displayed in carddav setting tab as
http://localhost/[��KXY�]Y��\؛\���Y��\؛Y�Z[�]]
If I correct that manually in db, everything works fine.
The connection to my davical server (Version: 1.0.2-1) seems to work but the addresses don't show up in roundcube.
The address count is shown in the bottomline and you can click a single entryline but it's nothing visible neither in the address list nor in the finegrain window.
I'm trying Roundcube-CardDAV version 0.2.6
cheers
vandendal
When I delete a card, I have the following error in log :
CardDAV-Server XML-Response is malformed. Synchronization aborted!
The card is deleted on carddav serveur.
When I try to add a new contact using the Roundcube UI I get the error
"An error occurred while saving."
after clicking the save button. No new entry is generated on the Carddav server.
CardDAV Server: SabreDAV 1.6.4 or 1.7.1 (I tested both)
RC: 0.8.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.