Roundcube Community Forum

 

jQuery Fullcalendar plugin (forked by rosali)

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

Previous topic - Next topic

vbbaby

#90
Curl an ZendOptimizer are now installed...
Now I get this Error:

Quote[09-Jun-2010 07:35:30] PHP Warning:  Invalid argument supplied for foreach() in /var/www/ispcp/gui/tools/roundcube/plugins/calendar/calendar.php on line 1279

edit: I solved the problem with a fresh install an the gdata api...

danpep

Is there any way to get the calendar plugin to work with SQLite? I have a very limited performance server, so that's what I use for RC right now.

dziobak

for now it is working only on mysql. Calendar plugin is still improved, so i think that in near future it won't be working on other db then mysql.

bagu

Is there a doc or an explaination to make interaction (read/write) possible between calendar for only one user and his google calendar ?

dziobak

there is no backend for google calendar yet

rosali

@ danpep:

I'm not familiar with SQLite. But it should work with SQLite if somebody would code a events table creation script based on the included MySQL script:


CREATE TABLE 
`events` (
  `
event_idint(11unsigned NOT NULL AUTO_INCREMENT,
  `
uidtext,
  `
recurrence_idtext,
  `
user_idint(10unsigned NOT NULL DEFAULT '0',
  `
startdatetime NOT NULL DEFAULT '1000-01-01 00:00:00',
  `
enddatetime NOT NULL DEFAULT '1000-01-01 00:00:00',
  `
expiresdatetime NOT NULL DEFAULT '9999-12-31 23:59:59',
  `
rrvarchar(1) default NULL,
  `
recurringtext NOT NULL,
  `
occurrencesint(11) DEFAULT '0',
  `
bydaytext,
  `
bymonthtext
  `
bymonthdaytext,
  `
summaryvarchar(255NOT NULL,
  `
descriptiontext NOT NULL,
  `
locationvarchar(255NOT NULL DEFAULT '',
  `
categoriesvarchar(255NOT NULL DEFAULT '',
  `
all_daytinyint(1NOT NULL DEFAULT '0',
  `
grouptext,
  `
timestamptimestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `
delint(1NOT NULL DEFAULT '0',
 
PRIMARY KEY (`event_id`),
 
CONSTRAINT `user_id_fk_eventsFOREIGN KEY (`user_id`)
   
REFERENCES `users`(`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
)  ENGINE=INNODB   CHARACTER SET utf8 COLLATE utf8_general_ci 
Regards,
Rosali

Ishra

Hi.
Are there any plans to add support for Outlook calender/meeting mails?
Would be great if you could respond to them and have the appointment added to your calendar in roundcube.

I dont know if you are familiar with them, but the emails look somewhat like this (not full mail, only the beginning).


BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft Exchange Server 2007
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Pacific Standard Time
BEGIN:STANDARD
DTSTART:16010101T020000
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
...
...
...

dziobak


Ishra

Im not looking for a backend for MS Office, just that the roundcube-calendar can parse those mails and add them to the roundcube calendar and also send a reply.

And i know it is nothing like that for now, but you would not need that to accomplish what im after.

rosali

@ Ishra:

Send me an outlook invitation mail to myroundcube [at] mail4us.net.
Regards,
Rosali

ajl

Hello there!

I just checked out the latest version from SVN, and realised that the two files caldav.php and caldav-client.php are missing from the backend directory:

Warning: calendar::require(program/backend/caldav.php) [function.calendar-require]: failed to open stream: No such file or directory in /var/www/domain.tld/roundcubemail-0.4-beta/plugins/calendar/calendar.php  on line 84

Fatal error: calendar::require() [function.require]: Failed opening required 'program/backend/caldav.php' (include_path='/var/www/domain.tld/newmail/:/var/www/domain.tld/newmail/program:/var/www/domain.tld/newmail/program/lib:/var/www/domain.tld/newmail/program/include:.:/usr/share/php:/usr/share/awl/inc') in /var/www/domain.tld/roundcubemail-0.4-beta/plugins/calendar/calendar.php on line 84


If I copy them from the latest "lazlo" version, I get the following error:

Fatal error: Declaration of CalDAV::newEvent() must be compatible with that of Backend::newEvent() in /var/www/domain.tld/roundcubemail-0.4-beta/plugins/calendar/program/backend/caldav.php  on line 16

Simple question 1: Is caldav supported as a backend at the moment or not?
Simple question 2: What is missing (compared to Lazlo's version that also does not work)?

Thank you very much, Achim

rosali

Regards,
Rosali

rosali

I have just released a new version bundled with other updated myroundcube plugins (base SVN 3803).
Regards,
Rosali

bagu

Is there any plan to make a google calendar backend soon ?

rosali

Forgot to mention that you have to adjust database events table.

@bagu: It is on my ToDo's ... but not within the next weeks. Maybe in autumn.
Regards,
Rosali