On Sun, 22 May 2011 14:22:26 -0400, Julien Vehent wrote:

>  3. most system will probably use the same authentication (LDAP ?) 
> for
>  both the imap and the calendar system. An option to reuse the 
> roundcube
>  auth for the calendar would be nice, and maybe a default pattern for 
> the
>  calendar location (such as
>  https://server/davical/caldav.php/<RC-USERNAME>/home).

I think the following config section should do the job:

/* default CalDAV backend (null = no default settings)
    %u will be replaced by $_SESSION['username']
    %gu will be replaced by google calendar user (requires 
google_contacts plugin)
    %p will be replaced by Roundcube Login Password
    %gp will be replaced by google calendar password (requires 
google_contacts plugin) */

$rcmail_config['default_caldav_backend'] = array(
   'server' => 'ssl://www.google.com:443',
   'url' => 'https://www.google.com/calendar/dav/%gu/events',
   'pass' => '%gp',
);

Not implemented yet, just an idea!

_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/8f4f07cd

Reply via email to