Roundcube Community Forum

 

No CalDav option showing with Calendar plugin? Shows on cPanel, though.

Started by new-to-this, December 22, 2020, 03:13:19 PM

Previous topic - Next topic

new-to-this

Hello,

I have been trying to create a RoundCube installation that mimics the default cPanel installation as closely as possible.  I have nearly accomplished everything except for one confusing and frustrating issue: the option to add a new calendar gives no option for a CalDAV URL or authentication.

I am attaching two images.  The first image compares the enabled plugins and the version.  You can see that the cPanel version is 1.4.8 and the version I have installed is 1.4.9.  Similarly, you can see that the only plugins I do not have activated are the cPanel proprietary plugins used for their login screen, etc.

The second image shows what I see when I click on the "Add Calendar" option.  You can see that the cPanel installation shows an option to include a CalDAV URL as well as authentication, but my installation does not.

Any ideas on how I could fix this?

Thanks!

SKaero

I think that they are using https://github.com/texxasrulez/caldav_calendar since it doesn't have a package.xml it wont show up in that plugin list.

new-to-this

Quote from: SKaero on December 22, 2020, 11:15:46 PM
I think that they are using https://github.com/texxasrulez/caldav_calendar since it doesn't have a package.xml it wont show up in that plugin list.

Well, I just installed and enabled that to try it out and had no change to the interface or options.  Also, I got a site admin at my host to give me a copy of the cPanel RoundCube plugins folder and here is the list of all the plugins included in the directory:
acl
additional_message_headers
archive
attachment_reminder
autologon
calendar
carddav
cpanellogin
cpanellogout
database_attachments
debug_logger
emoticons
enigma
example_addressbook
filesystem_attachments
help
hide_blockquote
http_authentication
identicon
identity_select
jqueryui
krb_authentication
libcalendaring
libkolab
managesieve
markasjunk
new_user_dialog
new_user_identity
newmail_notifier
password
redundant_attachments
return_to_webmail
show_additional_headers
squirrelmail_usercopy
subscriptions_option
userinfo
vcard_attachments
virtuser_file
virtuser_query
zipdownload

Not sure if that helps, but I can't get access to any calendar at this time.

MandyDroid

I also have this question. I want to give users the ability to integrate the CalDav to their RoundCube. I am using the latest cPanel installed version.

cPanel    100.0 (build 5)
RoundCube 1.4.12

eugenevdm

I'm on the same mission to reverse engineer how this works. A big clue is that the actual calendar plugin has a further scripts directory that needs to know about the CALDEV. To give you a clue, look at the main root Roundcube config on a working server:

```php
// backend type (database, kolab, caldav, ical)
$config['calendar_driver'] = array("database");

$config['calendar_driver_default'] = "database";
$on_ccs = file_exists('/var/cpanel/calendarserver');
if($on_ccs) {
    $config['calendar_driver'][] = "caldav";
    $config['calendar_driver_default'] = "caldav";
}
```

The next question arises where to find those files?

It appears on a working server. these files could be:

https://github.com/spotsh/roundcube-calendar-caldav/tree/feature_caldav/plugins/calendar/drivers/caldav

Even if you solve these problems - there will still be one rather big catch - you might need a calendar server:

```bash
systemd[1]: Started Apple Calendar Server
```

So it seems due to the intricacies of getting this working, the premium providers are charging for it.

I'm trying to document an open-source journey here:

https://kb.vander.host/application-software/how-to-connect-roundcube-to-a-calendar/

Please let me know if anyone has any tips! My ideal would be to get this working with Virtualmin.

sb4069

Has anyone made progress with this? I've had a look around and can only confirm what I've read here.