Update app_roundcube.md

This commit is contained in:
ma.azimi@laposte.net 2015-05-20 21:58:12 +02:00 committed by YunoHost
parent 8e55755b28
commit 8ce56295d5

View file

@ -4,7 +4,7 @@ Roundcube is a web client for email messaging also called webmail.
### Install CardDAV support for Roundcube ### Install CardDAV support for Roundcube
Roundcube allows you to synchronize your contacts with a CardDAV server, through a third party plugin. Using a CardDAV server like Radicale or owncloud's "Contacts" application, both available in Yunohost, allows you to centralize and manage your contacts. Roundcube allows you to synchronize your contacts with a CardDAV server, through a third party plugin. Using a CardDAV server like Radicale or owncloud's "Contacts" application, both available in YunoHost, allows you to centralize and manage your contacts.
Similarly to IMAP that allows you to synchronize your emails with your mail server, CardDAV allows you to access your contacts through multiple clients, such as Roundcube. Similarly to IMAP that allows you to synchronize your emails with your mail server, CardDAV allows you to access your contacts through multiple clients, such as Roundcube.
Thanks to CardDAV, you will not have to import your contacts in each of your devices. Thanks to CardDAV, you will not have to import your contacts in each of your devices.
@ -19,9 +19,9 @@ Follow the instructions to install:
ssh admin@your_server_ip ssh admin@your_server_ip
``` ```
* Next you'll need to gain administrator rights (root user): `sudo su` * Next you'll need to gain administrator rights (root user): `sudo su`
* Move to the Roundcube plugin directory (plugins): * Move to the Roundcube plugin directory (plugins):
```bash ```bash
cd /var/www/roundcube/plugins/ cd /var/www/roundcube/plugins/
``` ```
@ -31,7 +31,7 @@ cd /var/www/roundcube/plugins/
git clone https://github.com/christian-putzke/Roundcube-CardDAV/ git clone https://github.com/christian-putzke/Roundcube-CardDAV/
``` ```
* Rename downloaded folder to carddav: * Rename downloaded folder to carddav:
```bash ```bash
mv Roundcube-CardDAV carddav mv Roundcube-CardDAV carddav
``` ```
@ -53,7 +53,7 @@ mysql -u root -p roundcube < carddav/Roundcube-CardDAV/SQL/mysql.sql
nano /var/www/roundcube/config/main.inc.php nano /var/www/roundcube/config/main.inc.php
``` ```
* Look for Plugins section using the nano search function (Ctrl-W) and identify the line beginning with `$rcmail_config['plugins'] = array('carddav','http_authentication', 'archive', 'new_user_identity'` * Look for Plugins section using the nano search function (Ctrl-W) and identify the line beginning with `$rcmail_config['plugins'] = array('carddav','http_authentication', 'archive', 'new_user_identity'`
* Add "carddav" at the beginning, in order to result to the following: `array('carddav','http_authentication', 'archive', 'new_user_identity'` * Add "carddav" at the beginning, in order to result to the following: `array('carddav','http_authentication', 'archive', 'new_user_identity'`
@ -64,14 +64,14 @@ nano /var/www/roundcube/config/main.inc.php
cp /var/www/roundcube/plugins/carddav/config.inc.php.dist /var/www/roundcube/plugins/carddav/config.inc.php cp /var/www/roundcube/plugins/carddav/config.inc.php.dist /var/www/roundcube/plugins/carddav/config.inc.php
``` ```
Now, you just have to connect to your Roundcube application, select Parameters located at the top right corner, then select CardDAV in the left panel. Now, you just have to connect to your Roundcube application, select Parameters located at the top right corner, then select CardDAV in the left panel.
Synchronize your owncloud contacts: Synchronize your owncloud contacts:
* Go to Contacts section of your owncloud application and click on the gear wheel icon located at the bottom left. Then, click on CardDAV link and copy the URL that appeared. * Go to Contacts section of your owncloud application and click on the gear wheel icon located at the bottom left. Then, click on CardDAV link and copy the URL that appeared.
* Go to Roundcube's CardDAV section and type in ownCloud in Label field, paste the previously copied URL and type your username and password. * Go to Roundcube's CardDAV section and type in ownCloud in Label field, paste the previously copied URL and type your username and password.
Your contacts are now synchronized! Your contacts are now synchronized!
Note that even if Roundcube may complain about some time out but process is working. Note that even if Roundcube may complain about some time out but process is working.