Caldav Calendar plugin for use with NextCloud
I made this as a working, out of the box, calendar for use with Roundcube (Version 1.4) and Nextcloud (Version 16 is the latest known working).
I will update this when needed by deprecated purposes or when Nextcloud changes their sabre version.
This is a fork of Kolab and FasterIT calendars combining the best of both and using the sabre from Nextcloud to work with it's version of sabre. It will sync already existing calendars. If you want more than the default, you must add calendar within Nextcloud and then go back to Roundcube and it should be there. From Roundcube, you can add, edit and delete events and will be in sync with Nextcloud.
This is also compatible with RCMCARDDAV 3.0.3 as I use it to sync my contacts with Nextcloud to Roundcube as well.
This was tested using Roundcube 1.4-RC1 and PHP 7.2.11.
For Roundcube 1.3 download ver 0.4 here https://github.com/texxasrulez/Caldav_Calendar/releases/tag/0.4
Installation is pretty straight forward. I wouldn't use composer to install, just download repo from github and follow the directions below:
Copy calendar and libcalendaring folders to Roundcube Plugin folder, copy config.inc.php.dist to config.inc.php, located in root of calendar directory, and change domain.ltd to your FQDN. 'These URL's are already configured for the default calendar url for Nextcloud assuming your cloud install is located in webroot.'
Import sql schemas located in /drivers/caldav/sql/ folders to your database. (I am only supporting caldav drivers with MySQL compatible database at this time. I would like some help adding more database types to support. Any help would be appreciated ...
Add "calendar" to $config['plugins'] in your Roundcube main config file and you are set.
Your username and password must be the same for Nextcloud and Roundcube to work properly.
- Incompatible libcalendaring with Tasklist (WIP to make compatible)
- Will not create new calendar from Roundcube GUI.
Itip does not send reply to event organizer using RC1.3. Works in RC1.2.4.Fixed!!!! Recurring events marked as "All Day Events" will be a day early the following years.Fixed!!!! Database driver does not work. Birthdays are the issue due to being all day.Fixed!!! Check Calendar shows Error 500.Fixed!!!!
If anyone would like to help out to make oauth work and other features, I would appreciate it.
- Ability to add new calendar to Nextcloud from Roundcube Calendar GUI.
- Oauth support. (TBD. My skills aren't the best. :-( .... I need some help)
- Assign random colors to autodiscover calendars.
Remove mcrypt and replace with openssl.Fixed!!!!
- Multiple Calendars saved with same color. (Import into database
UPDATE caldav_calendars SET color = substring(MD5(RAND()), -6);to assign radmon colors after initial sync of calendars)
I will only accept genuine issues using Roundcube and Nextcloud running on a dedicated server (No VM's, cross domains or Dockers ... Sorry :-( ) .... This was forked for use with Nextcloud only. I wished I had the time to make it work for all but real life says otherwise.