Describe dependencies and installation for tasklist module

This commit is contained in:
Thomas Bruederli 2013-11-20 17:00:50 +01:00
parent d0ea97ebb2
commit 76ad5e921e
2 changed files with 26 additions and 3 deletions

23
plugins/tasklist/README Normal file
View file

@ -0,0 +1,23 @@
A task management module for Roundcube
--------------------------------------
This plugin currently supports a local database as well as a Kolab groupware
server as backends for tasklists and todo items storage.
INSTALLATION
------------
When usigng the database driver, some initialization of the local database is
necessary. To do so, execute the SQL commands in
drivers/database/SQL/<yourdatabase>.initial.sql
For some general calendar-based operations such as alarms handling, this
plugin requires the `libcalendaring` plugin which is also part of the
Kolab Roundcube Plugins repository. Make sure that plugin is installed
and configured correctly.
IMPORTANT
---------
This plugin doesn't work with the classic skin of Roundcube because no
templates are available for that skin.

View file

@ -7,7 +7,7 @@
* @copyright (C) 2012, Kolab Systems AG
*/
CREATE TABLE `tasklists` (
CREATE TABLE IF NOT EXISTS `tasklists` (
`tasklist_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL,
`name` varchar(255) NOT NULL,
@ -19,7 +19,7 @@ CREATE TABLE `tasklists` (
REFERENCES `users`(`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) /*!40000 ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci */;
CREATE TABLE `tasks` (
CREATE TABLE IF NOT EXISTS `tasks` (
`task_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tasklist_id` int(10) unsigned NOT NULL,
`parent_id` int(10) unsigned DEFAULT NULL,
@ -48,4 +48,4 @@ CREATE TABLE `tasks` (
REFERENCES `tasklists`(`tasklist_id`) ON DELETE CASCADE ON UPDATE CASCADE
) /*!40000 ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci */;
INSERT INTO `system` (`name`, `value`) VALUES ('tasklist-database-version', '2013011000');
REPLACE INTO `system` (`name`, `value`) VALUES ('tasklist-database-version', '2013011000');