Author Topic: Calendar plugin  (Read 66949 times)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« on: December 29, 2008, 10:43:58 AM »
I'm thinking about a calender plugin. I've put it on my ToDo's for Q1/2009.

My preferred backend at the moment is:

k5n.us: WebCalendar Home Page

This app allows to verify users against an IMAP server and that's ideal, IMO.

Opinions?
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Calendar plugin
« Reply #1 on: December 29, 2008, 10:48:26 AM »
It looks good.

Will it be available just for MyRoundCube or for the 'regular' RoundCube as well ?
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #2 on: December 29, 2008, 10:55:42 AM »
MyRoundCube is the regular RoundCube if you disable those plugins you don't like!
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Wazooka

  • Jr. Member
  • **
  • Posts: 22
Calendar plugin
« Reply #3 on: January 03, 2009, 01:41:25 PM »
Looks like a rich addition. Attached is a smooth icon. From Everaldo: Crystal. Licensed under LGPL.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #4 on: January 03, 2009, 01:56:05 PM »
YEP! But first I want to test it a little bit before I start to code the complete implemenation ... The major work is to do the database sync of WebCalendar and RoundCube (Language, Preferred view, Timezone and Profile) ...
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #5 on: January 04, 2009, 05:24:18 AM »
If you have a test account, please test! Database sync between RoundCube and WebCalendar is implemented now ... first approach!

@Wazooka: Icon applied!
« Last Edit: January 07, 2009, 07:45:50 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Lukes

  • Newbie
  • *
  • Posts: 6
Calendar plugin
« Reply #6 on: January 04, 2009, 04:05:46 PM »
Looking good and appears to work well.

The only annoying part was registering a user for the first time as a user will need to register and fill in profile details, shame this is automatic.

Once a user is registered with webcalandar then everything runs seamlessly

If anyone is going to implement webcalendar once installed, you will need to rename user.php to user.php.old and then rename user-imap.php to user.php then update the IMAP server details to your user name.  This will then allow users to login using their IMAP details and auto login through roundcube

Is it worth rolling web calendar into the source dist?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #7 on: January 05, 2009, 12:51:39 AM »
No, you need not to rename files ...

#1-Run /install and set it to use imap authentication.
#2-Edit /includes/user-imap.php to allow autocreation of authenticated IMAP users and specifiy IMAP host details.
Code: [Select]

// Allow auto-creation of WebCalendar Accounts for fully authenticated users
$allow_auto_create = true;

//
// 'auth_imap' configuration settings "borrowed" from the Meeting Room Booking System
//  https://sourceforge.net/projects/mrbs
//  GNU General Public License (GPL)
//
// This file contains all the functions for getting information
// about users via IMAP
//
$imap_host = 'localhost'; // Where is the IMAP server
$imap_port = '143';          // The IMAP server port

#3-Open /includes/menu/menu_config.php and disable "Login" and maybe "Help".
#4-Finally secure WebCalender by removing or securing install folder and other things.

If you follow these steps, all users which are allowed to connect to your IMAP server will be created automatically on next MyRoundCube login. No need to do it manually as admin.
« Last Edit: January 05, 2009, 12:56:50 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Calendar plugin
« Reply #8 on: January 07, 2009, 05:05:07 AM »
I've tested the calender addition to MyRC and it looks great. Please continue to iron out the pending issues.

Quote
MyRoundCube is the regular RoundCube if you disable those plugins you don't like!

On this I do not agree with you, although MyRoundCube has a lot of additions to the regular one, other features or not available, like selecting a different skin.

So my wish still stands: Make the calendar plug-in a seperate one which can be used directly with the regular RoundCube.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #9 on: January 07, 2009, 07:43:22 AM »
Quote from: Julius Caesar;16090
On this I do not agree with you, although MyRoundCube has a lot of additions to the regular one, other features or not available, like selecting a different skin.


You are a template coder, so I understand your wish. But you are only paritally right.

At the moment I have disabled skin selection (./myplugins/config/config_plugins.php[.dist]):
Code: [Select]

/* api template */
$rcmail_config['skin'] = 'api';

/* Do not allow override template on a per user level */
$rcmail_config['dont_override'][] = 'skin';


But theoretically it works with all skins if the skin contains appropriate MyRoundCube XML.

F.e. to insert calendar task icon it is something like (I dont't have the real function name in mind right now):
Code: [Select]





So it is easy to adapt the calendar plugin to another skin.

I just don't catch the time to write a documentation for my Plugin API ...
« Last Edit: January 07, 2009, 07:47:34 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Calendar plugin
« Reply #10 on: January 07, 2009, 08:26:39 AM »
Thanks for the info

When I have more time to spare, I'll dig into adjusting the GroupVice theme for MyRoundcube. But at the moment I'm busy running from one New Years Reception to another.
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline M*I*B

  • Jr. Member
  • **
  • Posts: 33
Calendar plugin
« Reply #11 on: January 13, 2009, 02:59:06 PM »
... grrrrr ...

May can anybody help to install the WebCalendar?

I have configure the config.inc to match the URL a.s.o. and then I create a SubDomain where WebCal sleep in.
1st time I call the URL the Setup comes up. All runns fine and I follow exactly the HowTo here and in the AdminGuide from the WebCal... But If I'm on the last page at the setup (where also sak about AuthType) and I sabe and click the Button GoToWebCal (or call the URL directly) I ever and ever landing in the last setup - page...
Baba ...
... Micha

Wir, die guten Willens sind, geführt von Ahnungslosen, versuchen für die Undankbaren das Unmögliche zu vollbringen. Wir haben schon soviel mit sowenig solange versucht, dass wir jetzt qualifiziert sind, fast alles mit nichts zu bewältigen.[/SIZE][

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Calendar plugin
« Reply #12 on: January 14, 2009, 01:30:35 AM »
#1-Try to install Webcalendar in a subfolder of a domain and not into the root of a subdomain (f.e.: root/webcalendar).

#2- Did you choose the option to authenticate users against IMAP and did you adjust ./includes/user-imap.php?

Code: [Select]

// Allow auto-creation of WebCalendar Accounts for fully authenticated users
$allow_auto_create = true;

//
// 'auth_imap' configuration settings "borrowed" from the Meeting Room Booking System
//  https://sourceforge.net/projects/mrbs
//  GNU General Public License (GPL)
//
// This file contains all the functions for getting information
// about users via IMAP
//
$imap_host = 'localhost'; // Where is the IMAP server
$imap_port = '143';          // The IMAP server port

Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline M*I*B

  • Jr. Member
  • **
  • Posts: 33
Calendar plugin
« Reply #13 on: January 14, 2009, 02:23:55 AM »
Quote
    #1-Try to install Webcalendar in a subfolder of a domain and not into the root of a subdomain (f.e.: root/webcalendar).
...hmmm... that would be worth an attempt ... I will check it in the evening

EDIT: No, that dont help; same problem as before...


Quote
#2- Did you choose the option to authenticate users against IMAP and did you adjust ./includes/user-imap.php?
... shure ;) Also with my special "check, which domain" hack...
« Last Edit: January 15, 2009, 02:16:33 AM by M*I*B »
Baba ...
... Micha

Wir, die guten Willens sind, geführt von Ahnungslosen, versuchen für die Undankbaren das Unmögliche zu vollbringen. Wir haben schon soviel mit sowenig solange versucht, dass wir jetzt qualifiziert sind, fast alles mit nichts zu bewältigen.[/SIZE][

Offline M*I*B

  • Jr. Member
  • **
  • Posts: 33
Calendar plugin
« Reply #14 on: January 18, 2009, 12:52:42 PM »
... so ...
Now I have installed the WebCalendar and it works on the 1st view... But I belive that is'nt the right one for my target... to much overload (and ugly design also... don't match the geat RC- Design).

... is'nt it possible to "PlugIn" the GoogleCalendar (s)? That's realy that what I need... for Thunderbird/Lightning there is a Plugin that works very good in 2way, Outlook can handle it also (readonly, but I belive somebody will create a 2way-plugin in the future) and I also can handle the GC by my Mobile and/or PDA via InternetAccess or by using ActiveSync at home...

... and last but not least: My blonde wife can handle the GC to 0:)
Baba ...
... Micha

Wir, die guten Willens sind, geführt von Ahnungslosen, versuchen für die Undankbaren das Unmögliche zu vollbringen. Wir haben schon soviel mit sowenig solange versucht, dass wir jetzt qualifiziert sind, fast alles mit nichts zu bewältigen.[/SIZE][