02-26-2012 04:07 PM
Hi,
Have someone succeed to do that playbook works with OwnCloud ?
OwnCloud permits to access to your addressbook or calendar from carddav and caldav.
I have added with success my addressbook ; but no still succeed with caldav...
For carddav, playbook doesn't load the contacts from the carddav server...
If I create a contact from the playbook, the contact is sync with carddav server. But sometimes it doesn't work ?
How can I force the sync from the addressbook native app playbook ?
Regards,
Nicolas
02-26-2012 05:41 PM
Hey Nicklas,
I have had trouble getting CardDAV to work with ownCloud and am planning on looking into that when I have time.
As for the CalDAV, it is a issue with the playbook where they break the CalDAV spec when trying to confirm the account settings. I have filed a bug on this at https://www.blackberry.com/jira/browse/TABLET-491
In the meantime as a work around if you have access to the owncloud php file you can change this and it looks to work without affecting anything.
/3rdparty/Sabre/CalDAV/XMLUtil.php line 77
Change:
if (!is_null($start) && !is_null($end) && $end <= $start) {
to:
if (!is_null($start) && !is_null($end) && $end < $start) {
Matsugo
02-27-2012 04:25 PM - edited 02-27-2012 04:42 PM
Thank's a lot for your post.
To sum up my test :
1°/ I have installed owncloud on my own server (Apache2, PHP5, MySQL with Debian Linux Sid)
I use owncloud directly from git repository
2°/ I have register my DNS to get : https://cloud.domain.tld pointing to my owncloud web interface
3°/ I have register two sub domains : https://carddav.domain.tld & https://caldav.domain.tld
4°/ I have set my Apache Virtualhost :
<VirtualHost *:443>
ServerName cloud.domain.tld
ServerAlias carddav.domain.tld
ServerAlias caldav.domain.tld
DocumentRoot /home/httpd/html/domain.tld/cloud
....
5°/ I have patched owncloud htaccess file :
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{HTTP_HOST} ^carddav
RewriteCond %{REQUEST_URI} !^/apps
RewriteRule .* /apps/contacts/carddav.php/$1 [L]
RewriteCond %{HTTP_HOST} ^caldav
RewriteCond %{REQUEST_URI} !^/apps
RewriteRule .* /apps/calendar/caldav.php/$1 [L]
</IfModule>
5°/ I have also patched the source
//$server->setBaseUri(OC::$APPSWEBROOT.'/apps/cale
$server->setBaseUri(OC::$APPSWEBROOT.'/');
and
//$server->setBaseUri(OC::$APPSWEBROOT.'/apps/cont
$server->setBaseUri(OC::$APPSWEBROOT.'/');
3°, 4°, 5°) I need to do it, because PlayBook wants only an address ! and not an URL.
After some tests for vCard sync, I think that all seems OK except that the PlayBook doesn't respect RFC about the character ",", "\", ";" using into a vCard.
RFC2425 - A MIME Content-Type for Directory Information
5.8.4. Pre-defined Value Types
TEXT-LIST-CHAR = "\\" / "\," / "\n" / <any VALUE-CHAR except , or \ or newline> ; Backslashes, newlines, and commas must be encoded. ; \n or \N can be used to encode a newline.
If I create a contact from the playbook with the character "," into the address field (by sample), I break my address book ![]()
I have created the issue :
https://www.blackberry.com/jira/browse/TABLET-505
About caldav, not really tested... but it seems that I can't create account (I have also try your patch ; but not with success)
Regards,
Nicolas
03-02-2012 04:30 AM
I have sum up all issues with carddav support.
https://www.blackberry.com/jira/browse/TABLET-509
Nicolas
03-02-2013 09:22 AM
Hi,
I am planning to buy a Z10, but it's essential for me that sync with owncloud via CALDAV & CARDDAV is working.
Today I've read that an update has been released.
Does anyone know whether CALDAV & CARDDAV are now working correctly?
Thank you.
Duncan
03-21-2013 10:04 AM
No! It does not! Trying to get it working without changing anything at owncloud - impossible!!! ![]()
03-24-2013 08:40 AM - edited 03-24-2013 08:41 AM
I have connected my Z10 with the calendars of my Owncloud (5.0) without any modification of the cloud. Just enter the required details into the "add CalDAV" window of the Z10. I'm using https for the could and that worked fine.
If you want to add multiple calendars, you have to enter multiple mail-addresses. Otherwise the Z10 complains that the account is already in use. But it seems that the owncloud doesn't care about the addresses and so you can enter bulls*it ;-)
CardDAV is on my to-do list for this afternoon :-)
03-25-2013 07:27 AM
Let me know about the Carddav please....
03-25-2013 10:50 AM
I tried CardDAV with little (= no) success :-(
03-26-2013 01:16 PM
I updated to owncloud 5 but still no change :-(