Git Product home page Git Product logo

roundcube-calendar-caldav's Introduction

CalDAV/iCAL Support for Roundcube Calendar

This repository was forked from roundcubemail-plugins-kolab and contains a modified version of the Roundcube calendar plugin that enables client support for CalDAV and iCAL calendar resources. We added a feature branch feature_caldav with the modified calendar plugin and we try to frequently merge the latest release tags from upstream. You can find further information and a short introduction to this plugin on our website.

Requirements

  • Roundcube 1.0-RC or higher
  • Optional: Kolab 3.1 or higher

Installation

  • Clone this repo and checkout the appropriate tag from the feature_caldav branch or the head of the feature_caldav branch for the latest version:

    $ cd /path/to/your/roundcube/
    $ git clone https://gitlab.awesome-it.de/kolab/roundcube-plugins.git plugins-caldav
    $ cd plugins-caldav 
    $ git checkout feature_caldav
  • Assuming that there is already a compatible version of the Kolab Roundcubemail Plugins installed (e.g. if you checkout roundcubemail-plugins-kolab-caldav-3.1.11-r1, roundcubemail-plugins-kolab-3.1.11 or similar should be installed), you must only replace the modified calendar plugin as follows:

    $ cd /path/to/your/roundcube/    
    $ mv plugins/calendar plugins/calendar.orig
    $ ln -s plugins-caldav/plugins/calendar plugins/calendar

    If you use Roundcubemail without Kolab, you should put all plugins from the feature_caldav branch into your plugins folder. Please note that this is only rarely tested and we won't offer any support for this right now.

  • Copy plugins/calendar.orig/config.inc.php to the new plugin folder and modify accordingly:

    $ cp plugins/calendar.orig/config.inc.php plugins/calendar/config.inc.php
    $ vi plugins/calendar/config.inc.php

    If you replace existing Kolab Roundcubemail Plugins as described above, make sure to copy the configuration files of those plugins to the new plugin folders!

  • The calendar setting calendar_driver now accepts an array with calendar drivers you want to enable:

    $config['calendar_driver'] = array("kolab", "caldav", "ical");

    Note that the very first array value is used a default driver e.g. for creating events via email if no calendar was chosen. Further you can drop the Kolab dependency of the calendar by remocing the kolab driver.

  • It is always a good idea to set a new crypt key to be used for encryption of you CalDAV passwords:

    $config['calendar_crypt_key'] = 'some_random_characters`;
  • Update Roundcube's MySQL database:

    $ mysql -h <db-host> -u <db-user> -p <db-name> < /path/to/your/roundcube/plugins-caldav/plugins/calendar/drivers/database/SQL/mysql.initial.sql
    
    # For CalDAV support
    $ mysql -h <db-host> -u <db-user> -p <db-name> < /path/to/your/roundcube/plugins-caldav/plugins/calendar/drivers/caldav/SQL/mysql.initial.sql
    
    # For iCAL support
    $ mysql -h <db-host> -u <db-user> -p <db-name> < /path/to/your/roundcube/plugins-caldav/plugins/calendar/drivers/ical/SQL/mysql.initial.sql
  • Make sure that the calendar plugin is enabled the Roundcube config e.g. /path/to/your/roundcube/config/config.inc.php:

    $config['plugins'] = array(
        // ...
        'calendar',
        // ...
    );
  • You should now be able to select one of your configured drivers when creating a new calendar.

Troubleshooting

Enabling debug mode in config.inc.php will output additional debug information to /path/to/your/roundcube/logs/console:

$config['calendar_caldav_debug'] = true;
$config['calendar_ical_debug'] = true;

If you find any bugs, please fill an issue in our bug tracker.

License

CalDAV/iCAL Extension

Copyright (C) 2014, Awesome Information Technology GbR [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Kolab Plugins

See http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/calendar/LICENSE.

roundcube-calendar-caldav's People

Contributors

thomascube avatar alecpl avatar kanarip avatar loudgefly avatar grote avatar mir07 avatar cwickert avatar carlos22 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.