napitek / myroundcube

Automatically exported from code.google.com/p/myroundcube
0 stars 0 forks source link

[calendar_plus] mulitple caldav calendars #759

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Token: 9153ef3f1f1da4f93864b07e3ee82782 (Don't modify this token!)
Version: 4.0.26 (02-01-2015)
PHP: 5.4.36-0 deb7u1
RCMAIL: 1.0.4
Database: pgsql
SERVER: Apache/2.2.22 (Debian)
----
I.  Issue Description:
caledars from caldav are inserted into calendars table multile time, (after 
each login)
II. Steps to reproduce the Issue:
1.
delete from calendars where user_id = yourid;
2.
login into roundcube.
caldav (sabredav 2.1.2) calendars are recognized and inserted into caledars 
table
3.
logout and back login
caldav calendars are inserted again

here is my calendar_preinstalled_calendars config:

$config['calendar_preinstalled_calendars'] = array(
    0 => array(
          'driver'          => 'caldav',
          'name'            => 'Events',
          'caldav_user'     => '%u',
          'caldav_pass'     => '%p', 
          'caldav_url'      => 'http://dav.tucan.sk/calendars/%u/',
          'color'           => 'cccc00',
          'showalarms'      => 1,
          'tasks'           => 1,
          'freebusy'        => 1,
          'sync'            => 5, // every (x) minute(s)
          'autodiscover'    => 1, // check if this node holds other calendars
      )
);

Original issue reported on code.google.com by mino.ku...@gmail.com on 3 Jan 2015 at 4:51

GoogleCodeExporter commented 8 years ago
Works for me. Please use support forum (https://forum.myroundcube.com) or 
duplicate issue @ https://s2.myroundcube.com (register an account).

Original comment by roland.l...@gmail.com on 3 Jan 2015 at 5:11

GoogleCodeExporter commented 8 years ago
I just see that you are using PostgreSQL. Wait for an update because the 
PostgreSQL scheme has issues.

Original comment by roland.l...@gmail.com on 3 Jan 2015 at 5:16

GoogleCodeExporter commented 8 years ago
Please follow this thread for updates:

https://forum.myroundcube.com/topic/187-new-calendar-plugin-is-not-working/

Original comment by roland.l...@gmail.com on 3 Jan 2015 at 5:19

GoogleCodeExporter commented 8 years ago

Original comment by roland.l...@gmail.com on 4 Jan 2015 at 4:47