Roundcube Community Forum

 

jQuery Weekcalendar plugin (deprecated)

Started by Lazlo, January 25, 2010, 08:22:50 AM

Previous topic - Next topic

Gaia

I seem to be having some issues running the MySQL:

#1005 - Can't create table './roundcube/events.frm' (errno: 150)

I had simply done a copy/paste of the .sql file into the roundcube database via phpMyAdmin.

Anyone else run into this or have any tips for me?

Thanks!

rosali

#16
@ Gaia: The bundled sql script has an error; see my previous post.
Regards,
Rosali

corbosman

Very cool, thanks for doing this work.

rosali

#18
I did some work on the plugin:

#1- Updated SQL script
#2- Worked on the localization
  (*) saved files UTF-8 encoded
  (*) nearly completed (see below)
#3- Styled the modal dialog box
#4- Improved settings by using select boxes (I had to rename date_formats because there was a conflict with my moreuserinfo plugin)

_____________
Remaining:

#1- I'm too stupid to find a way to localize modal dialog buttons cancel|delete|save when adding/editing an event.
#2- css does not play nice with IE7
#3- public $task = 'mail|settings'; should be removed -> blocks navigation to cal from addressbook
Regards,
Rosali

corbosman

Have a look at my compose_address plugin, it's got a localized modal window.

rosali

Cor or Lazlo,

could you please take this job? I'm not good on jquery etc. ... I'll start to code the switch_calendar plugin ...
Regards,
Rosali

corbosman

Im heading for a diving expedition to Dominica (sperm whales) tomorrow, but i'll be back in a week. I'll check the discussion and see how its going :)

Lazlo

#22
I created a subversion repository to simplify things.

PM your GitHub username to gain commit access.

(http://github.com/LazloNL/roundcube-calendar/)

rosali

#23
Lazlo,

I have solved all things. It is your plugin. But to avoid wasting time I suggest to wait 2-3 day until I come up with my stuff ... Currently I'm implementing a datepicker to navigate weeks picked up by date (creating far in future events is a pain currently ...).

Localization etc. is completed. I had to take care to remove/recode stuff which conflicts with other favorit plugins like keyboard_shortcuts which use also jquery dialog ...

The code project is a good idea. Wait and decide if you agree with my modifications. Then we should decide which version is the starting point for a release candidate ;)

The Roundcube community was waiting for this plugin ... and it should be a runner!
Regards,
Rosali

Lazlo

#24
I will wait, I have some exams coming so I will not be working on the plugin this week.

BTW, it is not my plugin, it is Open Source. That makes it ours. :P

Erendur

Hello,

first nice new calender plugin. One of the features I really miss on the TODO-List is the month view and day view. Fullcalendar(JQuery) supports already these features. Maybe it is easier to use this version as the jquery week calendar where "month" and "day" view must be implemented. Fullcalendar also provides a google calender extension.

Another needed feature is the synchronisation between Thunderbird/Sunbird iCal calender application. Maybe it can be included with the import/export iCal feature.

rosali

#26
@ Erendur
I agree. But let us first finish the weekcalendar. In most parts this will be a good framework for the full calendar.

@ Lazlo
Are you interested in coding the framework for fullcalendar? It looks like you are much better than me when it comes to jquery! I would contribute your framework like I did with weekcalendar.

I have finished my work on your calendar plugin and will upload the result today evening.

Major changes:
#1 Renamed it to weekcalendar (avoid conflicts with fullcalendar later).
#2 Save events in Database in GMT time and consider Roundcube Timezone settings when returning events to client (your way caused problems when client and server are in different timezones).
#3 Datepicker to make navigation into weeks far in future easier.
#4 Separated jquery stuff into a new plugin "jquery" (Reason: I use jquery-ui in serveral other plugins. To have the stuff centralized makes maintenance easier).
#5 Finished localization

Still missing:
#1 A basic print feature
#2 A message while weekcalendar is loading

I don't think we should add more features and spend our time for coding on fullcalendar.

You can check my results at RoundCube Webmail :: Welcome to RoundCube Webmail (Notice: The duplicate Calendar icon will disappear as soon I've coded the calendar switch plugin).

I think it is a release candidate now.
Regards,
Rosali

Lazlo

The fullcalendar is in basic the same jQuery script. I will replace the weekCalendar with the fullcalendar.

The datepicker doesn't work for me, if you select a day it works, but if you change month or year nothing happens.

rosali

I think this is the intended datepicker behavior. First change month/year and then select a day. This should navigate to the week where the day is. Doesn't it?
Regards,
Rosali

rosali

Please find attached the current development version. Please don't miss to register "jquery" plugin.

If you going to implement fullcalendar just search files for "weekcalendar" and replace with "fullcalendar".

I need opions for timezone handling:

#1 - The database is GMT - that's ok
#2 - If Roundcube timezone is not "auto" then js timezone and Roundcube timezone are different
#3- If Roundcube offset is -5 and a user adds an event 12:00 the event is created at 7:00 - technically ok but could be confusing.
Regards,
Rosali