Author Topic: Roundcube Planner  (Read 33718 times)

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
Roundcube Planner
« Reply #15 on: March 04, 2012, 06:54:59 AM »
Roundcube Planner version 0.5: Roundcube Planner

- compatible with 0.8 beta and the new skin
- added functionality to create a plan from mail

Offline cdkdang

  • Newbie
  • *
  • Posts: 2
Re: Roundcube Planner
« Reply #16 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?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Re: Roundcube Planner
« Reply #17 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.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
Re: Roundcube Planner
« Reply #18 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.

Offline cdkdang

  • Newbie
  • *
  • Posts: 2
Re: Roundcube Planner
« Reply #19 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.

Offline Tayku

  • Jr. Member
  • **
  • Posts: 47
Re: Roundcube Planner
« Reply #20 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. :)

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
Re: Roundcube Planner
« Reply #21 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.

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Re: Roundcube Planner
« Reply #22 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.

Offline speedy80

  • Newbie
  • *
  • Posts: 4
Re: Roundcube Planner
« Reply #23 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

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
Re: Roundcube Planner
« Reply #24 on: July 12, 2012, 06:17:11 AM »
Please try the latest development version, this one has many bug fixes and a new interface.

Offline speedy80

  • Newbie
  • *
  • Posts: 4
Re: Roundcube Planner
« Reply #25 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?

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
Re: Roundcube Planner
« Reply #26 on: July 13, 2012, 03:00:57 AM »
Are you using other plugins?

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
Re: Roundcube Planner
« Reply #27 on: July 13, 2012, 08:30:25 AM »
Just released version 0.6 beta with the new interface. Bugs can be reported here and translations can be submitted here.

Offline speedy80

  • Newbie
  • *
  • Posts: 4
Re: Roundcube Planner
« Reply #28 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.

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
Re: Roundcube Planner
« Reply #29 on: July 13, 2012, 02:45:11 PM »
Please report your issues here and attach possible error logs from logs/.