Author Topic: jQuery Weekcalendar plugin (deprecated)  (Read 25020 times)

Offline Gaia

  • Newbie
  • *
  • Posts: 1
jQuery Weekcalendar plugin (deprecated)
« Reply #15 on: January 25, 2010, 03:55:23 PM »
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!

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
jQuery Weekcalendar plugin (deprecated)
« Reply #16 on: January 26, 2010, 08:34:46 AM »
@ Gaia: The bundled sql script has an error; see my previous post.
« Last Edit: January 26, 2010, 03:47:02 PM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline corbosman

  • Sr. Member
  • ****
  • Posts: 260
jQuery Weekcalendar plugin (deprecated)
« Reply #17 on: January 26, 2010, 09:04:15 AM »
Very cool, thanks for doing this work.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
jQuery Weekcalendar plugin (deprecated)
« Reply #18 on: January 26, 2010, 03:45:38 PM »
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
« Last Edit: January 26, 2010, 03:51:04 PM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline corbosman

  • Sr. Member
  • ****
  • Posts: 260
jQuery Weekcalendar plugin (deprecated)
« Reply #19 on: January 26, 2010, 03:50:37 PM »
Have a look at my compose_address plugin, it's got a localized modal window.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
jQuery Weekcalendar plugin (deprecated)
« Reply #20 on: January 26, 2010, 04:09:08 PM »
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
__________________
MyRoundcube Project (commercial)

Offline corbosman

  • Sr. Member
  • ****
  • Posts: 260
jQuery Weekcalendar plugin (deprecated)
« Reply #21 on: January 26, 2010, 05:56:29 PM »
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 :)

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
jQuery Weekcalendar plugin (deprecated)
« Reply #22 on: January 27, 2010, 02:49:17 PM »
I created a subversion repository to simplify things.

PM your GitHub username to gain commit access.

(http://github.com/LazloNL/roundcube-calendar/)
« Last Edit: February 12, 2010, 06:55:48 AM by Lazlo »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
jQuery Weekcalendar plugin (deprecated)
« Reply #23 on: January 27, 2010, 03:43:44 PM »
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!
« Last Edit: January 27, 2010, 03:47:06 PM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
jQuery Weekcalendar plugin (deprecated)
« Reply #24 on: January 27, 2010, 03:50:18 PM »
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
« Last Edit: January 27, 2010, 03:56:12 PM by Lazlo »

Offline Erendur

  • Newbie
  • *
  • Posts: 1
jQuery Weekcalendar plugin (deprecated)
« Reply #25 on: January 28, 2010, 06:06:21 PM »
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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
jQuery Weekcalendar plugin (deprecated)
« Reply #26 on: January 29, 2010, 09:16:30 AM »
@ 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.
« Last Edit: January 29, 2010, 09:20:13 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Lazlo

  • Full Member
  • ***
  • Posts: 50
jQuery Weekcalendar plugin (deprecated)
« Reply #27 on: January 29, 2010, 11:07:06 AM »
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.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
jQuery Weekcalendar plugin (deprecated)
« Reply #28 on: January 29, 2010, 11:54:08 AM »
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
__________________
MyRoundcube Project (commercial)

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
jQuery Weekcalendar plugin (deprecated)
« Reply #29 on: January 29, 2010, 12:51:02 PM »
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
__________________
MyRoundcube Project (commercial)