Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: Lazlo on December 07, 2011, 10:50:20 AM

Title: Roundcube Planner
Post by: Lazlo on December 07, 2011, 10:50:20 AM
Planner is a task-management plugin for Roundcube. A hybrid between a todo-list and a calendar.

Get the source:
https://github.com/roundcube-planner/planner

Bugs reports, feature requests, support questions here:
https://github.com/roundcube-planner/planner/issues
Title: Roundcube Planner
Post by: SKaero on December 07, 2011, 05:52:38 PM
Can you post screenshots of the planner?
Title: Roundcube Planner
Post by: Lazlo on December 08, 2011, 02:24:29 AM
Screenshot can be found on the project website: Roundcube Planner (http://lazlo.me/roundcube-planner/)
Please note that this plugin is still beta.
Title: Roundcube Planner
Post by: xajh on December 08, 2011, 07:27:16 AM
All Roundcube version can use this plugin ?
Title: Roundcube Planner
Post by: Lazlo on December 08, 2011, 07:59:30 AM
I only tested the plugin with RC 0.7 beta, but I think it will also work with 0.6 because there were no API changes.
Title: Roundcube Planner
Post by: Lazlo on December 10, 2011, 06:50:23 AM
Added more functionality, plans can now be edited, styled everything, more supported datetime formats etc. See Github commits (https://github.com/roundcube-planner/planner/commits/master) for complete list of changes.
Title: Roundcube Planner
Post by: YossiKarp on December 13, 2011, 03:35:20 AM
Lazlo,

I'd really like to install this plugin, but I don't understand what the second step of your instructions means:

Run the database scheme in /planner/SQL for your database type

I installed the plugin by uploading it to the plugin directory and I updated the main.inc.php file to include the new plugin. The Planner icon shows and the Planner actually opens, but when I type something in the field and then hit "Plan", nothing happens. Obviously I need to do step 2, but what does it mean to run the database scheme? How do I do that? cPanel shows that I am using MySQL version 5.1.60-community-log.

Sorry for the newbie question :).

Thanks,

Yossi Karp
Title: Roundcube Planner
Post by: Lazlo on December 13, 2011, 06:37:16 AM
In /planner/SQL there is a file called mysql.sql. This is the database table for the planner plugin. You need to create this table in the same MySQL database where Roundcube is installed. If you go to this database with phpMyAdmin (can be found in cPanel under databases), you can run the contents of the file in the SQL tab or just Import the file in the Import tab.
Title: Roundcube Planner
Post by: YossiKarp on December 13, 2011, 06:50:02 AM
Excellent instructions. Thanks so much - it works!
Title: Roundcube Planner
Post by: Lazlo on December 14, 2011, 09:46:41 AM
First stable release of Roundcube Planner is out (Roundcube Planner (http://lazlo.me/roundcube-planner/)) and ready for Roundcube 0.7

Some new features:
- Plan editing
- Plan previews
- List counts
- And more
Title: Roundcube Planner
Post by: Lazlo on December 18, 2011, 01:18:31 PM
Just released version 0.2 (Roundcube Planner (http://lazlo.me/roundcube-planner/)), biggest new feature is support for showing contact birthdays.
Title: Roundcube Planner
Post by: Lazlo on December 31, 2011, 05:21:05 AM
Version 0.3 has been released, this version has search functionality and support for the new Roundcube skin "larry".
Title: Roundcube Planner
Post by: techdude on January 31, 2012, 12:30:44 PM
WHat theme is in the screenshot?
Title: Roundcube Planner
Post by: SKaero on January 31, 2012, 01:08:07 PM
The skin in the screenshot is the new skin for RoundCube codenamed "larry" which will ship with RoundCube 0.8. You can see a complete mockup of the skin at New Skin by FLINTĀ : un album sur Flickr (http://www.flickr.com/photos/roundcube/sets/72157627599045023/) or check out the SVN for the latest progress.
Title: Roundcube Planner
Post by: Lazlo on February 19, 2012, 10:16:55 AM
Roundcube Planner version 0.4: Roundcube Planner (http://lazlo.me/roundcube-planner/)

- small style fixes and additions
- private feed functionality added (iCal/CSV)
Title: Roundcube Planner
Post by: Lazlo on March 04, 2012, 06:54:59 AM
Roundcube Planner version 0.5: Roundcube Planner (http://lazlo.me/roundcube-planner/)

- compatible with 0.8 beta and the new skin
- added functionality to create a plan from mail
Title: Re: Roundcube Planner
Post by: cdkdang on April 16, 2012, 07:06:24 AM
Sorry I've been using the barebones roundcube (no plug in) for about a month and haven't had any issues and am now trying to implement your planner plugin.

When I do I get HTTP Error 500 (Internal Server Error). In roundcube mail error logs i get the following

[16-Apr-2012 20:50:27] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct() [<a href='datetimezone.--construct'>datetimezone.--construct</a>]: Unknown or bad timezone (10)' in C:\wamp2\www\rcm\plugins\planner\planner.php:51
Stack trace:
#0 C:\wamp2\www\rcm\plugins\planner\planner.php(51): DateTimeZone->__construct('10')
#1 C:\wamp2\www\rcm\program\include\rcube_plugin_api.php(182): planner->init()
#2 C:\wamp2\www\rcm\program\include\rcube_plugin_api.php(114): rcube_plugin_api->load_plugin('planner')
#3 C:\wamp2\www\rcm\program\include\rcmail.php(208): rcube_plugin_api->init()
#4 C:\wamp2\www\rcm\program\include\rcmail.php(140): rcmail->startup()
#5 C:\wamp2\www\rcm\index.php(34): rcmail::get_instance()
#6 {main}
  thrown in C:\wamp2\www\rcm\plugins\planner\planner.php on line 51

I'm running roundcube 0.7.2 on wampserver 2.0 with apache 2.2.11, php 5.3.1 and mysql 5.1.36.

I followed the instructions, extracted planner (version 0.5) folder to plugins directory. ran mysql instructions on roundcube database.

What am i doing wrong?
Title: Re: Roundcube Planner
Post by: rosali on April 17, 2012, 03:43:12 AM
I think Laszlo missed, that timezone management has been changed from 0.7 to 0.8 branche. While it is an integer (offset value) in 0.7 it is a string (timezone name) in 0.8.
Title: Re: Roundcube Planner
Post by: Lazlo on April 18, 2012, 08:32:36 AM
@cdkdang

Replace the line with:
 // set user's timezone
try {
  $timezone = new DateTimeZone($this->rc->config->get('timezone', 'GMT'));
}
catch (Exception $e) {
  $timezone = new DateTimeZone(date_default_timezone_get());
}

New version will be rolled out as soon 0.8 is released.
Title: Re: Roundcube Planner
Post by: cdkdang on May 26, 2012, 02:16:18 AM
It worked thanks.

Sorry it took so long, but I stopped fiddling with Round Cube till just today.

Good simple plugin.
Title: Re: Roundcube Planner
Post by: Tayku on May 26, 2012, 05:24:02 PM
Nice, just the right patch on right time. Maybe you could work this into your latest revision, Lazlo?

Some hints: this is proposing but for a good to-do-list you should add more levels of priority. In my case I use a list with -1, 0, 1, 2 as levels. 0 is standard, the others are for bulkwork, important and very important. Secondly, a possibility to revert a task to be undone would also be great.
I keep an eye on this plugin. :)
Title: Re: Roundcube Planner
Post by: Lazlo on July 11, 2012, 06:26:25 AM
I've been working on a new interface. New interface also has support for priority levels and reverting done tasks. Download the latest development version from http://lazlo.me/roundcube-planner/ for testing.
Title: Re: Roundcube Planner
Post by: oldschool on July 11, 2012, 11:45:57 AM
Hi, Lazlo!

I just installed the 0.5 on a 0.8rc and use larry as default gui.
No probs until now.

Congrats. Cool plugin!
;D


Rgds.
Title: Re: Roundcube Planner
Post by: speedy80 on July 12, 2012, 02:55:27 AM
Hi Lazlo,

I installed your planner 0.5 on a roundcube 0.9git version. I get following error:

Application Error (524): No handler found for action planner.plugin.calendar_get_reminders

Regards,
speedy80
Title: Re: Roundcube Planner
Post by: Lazlo on July 12, 2012, 06:17:11 AM
Please try the latest development version, this one has many bug fixes and a new interface.
Title: Re: Roundcube Planner
Post by: speedy80 on July 12, 2012, 09:26:36 AM
I installed the latest development version. I have the same result. Are there any logs i can post for you?
Title: Re: Roundcube Planner
Post by: Lazlo on July 13, 2012, 03:00:57 AM
Are you using other plugins?
Title: Re: Roundcube Planner
Post by: Lazlo on July 13, 2012, 08:30:25 AM
Just released version 0.6 (http://lazlo.me/roundcube-planner/) beta with the new interface. Bugs can be reported here (https://github.com/lazlolazlolazlo/planner/issues) and translations can be submitted here (https://translations.launchpad.net/roundcubemail/trunk/+pots/planner).
Title: Re: Roundcube Planner
Post by: speedy80 on July 13, 2012, 02:41:13 PM
Yes, I have different plugins enabled. I disabled all but planner. The error disappears, but planner still seems to load forever.

I deleted the sql table and inserted it anew. Still the same error.
Title: Re: Roundcube Planner
Post by: Lazlo on July 13, 2012, 02:45:11 PM
Please report your issues here (https://github.com/lazlolazlolazlo/planner/issues) and attach possible error logs from logs/.
Title: Re: Roundcube Planner
Post by: wurmi on September 05, 2012, 10:13:11 AM
Hi Lazlo,

since the link to github doesn't work anymore, I post an issue here:
I found a problem with the "delete" button in the planner plugin.
When clicking on the delete button in the messages list of RC, the messagetoolbar disappears, probably because of the code:

Code: [Select]
$('a.delete').live("click", function () {
  rcmail.http_post('delete', '_id=' + $(this).parent().attr("id"));
  $(this).parent().remove();
});

Also the CSS of the planner styles the "delete" button of RC - in theme "Larry" the button then was not shown at all.
I changed all occurences of "delete" to "planner_delete" now the plugin works fine with RC!
Title: Re: Roundcube Planner
Post by: lobsterman on September 16, 2012, 02:54:57 PM
Could you tell me in which document(s) you made that change?
Title: Re: Roundcube Planner
Post by: niaou on October 10, 2012, 11:30:38 AM
Hello everyone,

I have seen today that the planner plugin is being updated in the repository of MyRoundcube plugins.

However the code in git hasn't been updated for the last 2 months.

Is the issue with the caldav sync being solved?
Title: Re: Roundcube Planner
Post by: Yoni on October 10, 2012, 06:51:09 PM
planner plugin in our mirror servers is working fine in 0.8.x versions. We have also released a carddav plugin using graviox carddav as base code. For caldav we have sabredav plugin (http://myroundcube.com/myroundcube-plugins/sabredav-plugin).

Demo these plugins at http://s1.myroundcube.com & http://mail4us.net
Title: Re: Roundcube Planner
Post by: niaou on October 15, 2012, 08:30:12 AM
planner plugin in our mirror servers is working fine in 0.8.x versions. We have also released a carddav plugin using graviox carddav as base code. For caldav we have sabredav plugin (http://myroundcube.com/myroundcube-plugins/sabredav-plugin).

It seems that you have removed CalDav support from planner in your mirror servers.

Sorry, but the latest version doesn't work along with calendar plugin, tested with the current github version is not working correctly! Have a look at this  issue  (https://github.com/lazlolazlolazlo/roundcube-planner/issues/1)

AFAIK SabreDAV is a WebDAV framework for PHP that has nothing to do with CalDav and CardDav in case that someone is using non-SabreDAV servers such as Davical to handle Cal/CarDAV.
Title: Re: Roundcube Planner
Post by: Lazlo on October 17, 2012, 04:37:04 AM
Improved version of the planner plugin can be found here:
http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/tasklist
Title: Re: Roundcube Planner
Post by: niaou on November 05, 2012, 12:05:06 PM
Improved version of the planner plugin can be found here:
http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/tasklist
Does this version support Caldav?