Roundcube Community Forum

 

jQuery Fullcalendar plugin (forked by rosali)

Started by horfic, March 07, 2010, 07:39:25 PM

Previous topic - Next topic

@dmin

Quote from: dziobak;29765I don't know if we think about the same but there is an option to drag/move events to other hour/day.

Yes you can drag them AFTER you've created them. In Google calendar and the Jquery calendar I linked to above, you can drag the event while you are creating it to the appropriate time duration. Please see the demo.

RandomUsername

Hi,

I'm a bit of a noob with all this php, mysql business but I can get by most of the time.

However, when running the calendar tests I'm getting this error:
QuoteFatal error:  Call to undefined function curl_init() in /home/web/roundcube/plugins/calendar/calendar.php on line 1901

The line it's talking about is this:

Quote$ch = curl_init($val);

I've made sure curl is installed but after that I'm stumped.

So question 1. is this a problem and 2. if yes, how do I fix it please?

Thanks.

dziobak


RandomUsername

Hi dziobak,

Thanks for the reply. The answer is "probably not", certainly I've not done it myself and I doubt it was done by default so that's probably the answer. I'll have to wait till tomorrow to find out though. Will post my results here.

Cheers.

RandomUsername

Well I fixed it. I had to install the package php5-curl rather than straight curl.

Thanks.

rosali

Regards,
Rosali

rosali

#141
Calendar plugin has been refactored. The layout is completely new.

Please notice that jquery plugin is required: Downloads - roundcube-plugins - Project Hosting on Google Code

Beta release is attached.

Edit: Attachment removed
Regards,
Rosali

lacri

wow rosali looks nice ... many thanks for your this great work :)


YoJoe

Haven't even expect it will run flawlessly from the beginning, but launching RC under https not http wasn't easy for me.

I've added events table to rc database, and initialized both plugins.
After I login to my account, and going to calendar tab, loading animation on the top won't disappear, and events aren't being added to calendar.
Checked the table using phpmyadmin, and there are no datas :/

I've set in config.inc
$rcmail_config['backend'] = "database";
/* database table name */
$rcmail_config['db_table_events'] = 'events';

What should I do to make it working ?
I don't know if "dummy" variable in URI has something to do with my problem, but it's hardcoded in calendar.php file :/
https://rcube.mydomain.tld/?_task=dummy&_action=plugin.calendar

rosali

Regards,
Rosali

mmaraghy

rosali -

great work as usual. i like the new layout.

scheduling events seems a little buggy to me. example: creating an all day event 0:00-23:59 starts the event the day before. trying to go back in and change the time makes the event another day longer. shortening the event graphically does appear to be working.

dragging events doesn't seem to behave properly. event does not stay in time slot where it was dropped.

maybe these are just issues for me. using latest svn with complete new install of latest calendar and jqueryui plugins. no errors in log.

keep up the good work!

--mike

YoJoe

#147
Quote from: rosali;30886Anything in the error log?

What do you get here?

https://rcube.mydomain.tld/?_task=dummy&_action=plugin.calendar_tests

I've looked into logs, but they didn't contain anything about problems with calendar. Test page was working fine, and there were no errors.
I know connection with dbase was working when I wrote yesterday's post, because I forgot to add events table and logged into RC, and saw that there's a problem with something (afair connection with events).
After adding events table, ajax error disappeared.


Ontopic:

QuotejQuery Fullcalendar plugin tests

Database backend Test:

If you get an Error 500, then there is something wrong with the database backend.
On Error check Roundcube errors log.
Database access is ok.

PHP cURL Test:

If you don't see any results here, check Roundcube errors log and webserver logs.


Test Google
   -> Deutsche Feiertage
   -> return is truncated ...

s:gCal='http://schemas.google.com/gCal/2005'>Google.
com/calendar/feeds/german__de%40holiday.calendar.google.com/public/basic<
/id>2010-10-25T09:23:29.000Zcheme='http://schemas.google.com/g/2005#kind' term='http://



Test Roundcube
   -> https://rcube.mydomain.tld:443/
   -> return is truncated ...

RC log is empty. If I wait long enough (like 5 mins), and switch between daily/weekly/monthly view it sometimes shows daily events (somehow they were added but weren't shown  after adding) or weekly ones. It doesn't show events in monthly view, nor current (today's) events in RC inbox window.

I suppose this is a problem with RC working on https protocol.
I'll try to make a copy of RC and test calendar w/o ssl connection when I find some time.
But even if it is a matter of ssl, I won't drop secured connection.

@dmin

Looks good for me. Only bug I noticed is when creating events I click-hold and drag the duration I want expecting it to pop-up when I let go but it does not. I have to actually click, but it doesn't remember the duration I dragged. This is in Google Chrome.

YoJoe

Ok, I've moved my RC 4.2 instance and launched everything under http protocol, w/o subdomains (http://domain/rcube)
jq calendar doesn't work at all (at least it connects to db) - doesn't add events, nor show them.
As it goes about ajax "loading" div, it lasts for about 5 mins, then shows "request timed out" error and disappears.
I don't know if it has anything to do with google's calendar feeds, but I assume it doesn't.

I was curious if RoundCube Calendar 0.2 BETA 2 is working.
Checked it right away, and it works almost perfect (even under ssl). Adds events, and shows them immediately. The problem is with monthly view, as in this view events arent being shown. I'd be fine with this version, but the most important thing for me is an email remainder based on cron in jquery version.

ps. I was using mysql "event" tables created from attached to every calendar plugin sql scripts.