Author Topic: No CalDav option showing with Calendar plugin? Shows on cPanel, though.  (Read 3130 times)

new-to-this

  • Guest
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!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,782
    • SKaero - Custom Roundcube development
Re: No CalDav option showing with Calendar plugin? Shows on cPanel, though.
« Reply #1 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.

new-to-this

  • Guest
Re: No CalDav option showing with Calendar plugin? Shows on cPanel, though.
« Reply #2 on: December 23, 2020, 12:08:11 AM »
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.

Offline MandyDroid

  • Newbie
  • *
  • Posts: 1
Re: No CalDav option showing with Calendar plugin? Shows on cPanel, though.
« Reply #3 on: January 03, 2022, 05:49:08 PM »
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

Offline eugenevdm

  • Newbie
  • *
  • Posts: 1
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.

Offline sb4069

  • Newbie
  • *
  • Posts: 1
Re: No CalDav option showing with Calendar plugin? Shows on cPanel, though.
« Reply #5 on: November 02, 2022, 07:28:42 PM »
Has anyone made progress with this? I've had a look around and can only confirm what I've read here.