Author Topic: Calender -- from kolab -- database backend  (Read 10138 times)

Offline vijayrajah

  • Newbie
  • *
  • Posts: 1
Calender -- from kolab -- database backend
« on: January 25, 2013, 02:42:45 PM »
Hello,

I'm a new user to RCmail. I  just got it installed. It looks lovely!

I have a minor issue. I installed among other things, calender plugin from http://git.kolab.org/roundcubemail-plugins-kolab/refs/?h=roundcubemail-plugins-kolab-0.8

I'm using 'larry' as my skin

I noticed my calender was not displaying correctly. On further investigation, i noticed few css and entire images folder were missing. I sym-linked these from 'classic' skin of the plugin. Now everything looks great. (Don't know where to fill a bug )

I have only one issue.. The 'New Event' icon is not being displayed. the other icons are being rendered correctly. Any one has any suggestions?

Thanks in advance
Vijay

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Calender -- from kolab -- database backend
« Reply #1 on: January 25, 2013, 05:19:45 PM »
The Kolab calendar plugin was never really released for RoundCube 0.8 if you want to use it you should use RoundCube 0.9 and the newer calendar version.

Offline darknior

  • Jr. Member
  • **
  • Posts: 14
Re: Calender -- from kolab -- database backend
« Reply #2 on: February 26, 2013, 06:51:49 AM »
I don't have all understand ... what version will be one day add to the Roundcube 0.9 or 1.0 ?

Here is the Fork : https://github.com/roundcube/fullcalendar
Here the Kolab build : http://git.kolab.org/roundcubemail-plugins-kolab/commit/

I have use the last Kolab version, and copy the "calendar" directory to the "plugins" one.
Create the database with the \calendar\drivers\database\SQL\mysql.initial.sql

Add this :
Code: [Select]
CREATE TABLE `system` (
  `filename` varchar(50) NOT NULL DEFAULT '',
  `value` int(15) UNSIGNED NOT NULL DEFAULT '0'
) /*!40000 ENGINE=INNODB */ /*!40101 CHARACTER SET utf8 COLLATE utf8_general_ci */;

And finaly add also the requiered libcalendaring plugin.

And all works fine :D

Here is the "libcalendaring" FRENCH translation, i don't know where to post it ;)

<?php

$labels = array();

$labels['alarmemail'] = 'Envoyer un email';
$labels['alarmdisplay'] = 'Voir le message';
$labels['alarmdisplayoption'] = 'Message';
$labels['alarmemailoption'] = 'Email';
$labels['alarmat'] = 'à $datetime';
$labels['trigger@'] = 'à la date';
$labels['trigger-M'] = 'minutes avant';
$labels['trigger-H'] = 'heures avant';
$labels['trigger-D'] = 'jours avant';
$labels['trigger+M'] = 'minutes après';
$labels['trigger+H'] = 'heures après';
$labels['trigger+D'] = 'jours après';
$labels['addalarm'] = 'ajouter alarme';

$labels['alarmtitle'] = 'Evénements à venir';
$labels['dismissall'] = 'Tout supprimer';
$labels['dismiss'] = 'Abandonner';
$labels['snooze'] = 'En pause';
$labels['repeatinmin'] = 'Répéter dans $min minutes';
$labels['repeatinhr'] = 'Répéter dans 1 heure';
$labels['repeatinhrs'] = 'Répéter dans $hrs heures';
$labels['repeattomorrow'] = 'Répéter demain';
$labels['repeatinweek'] = 'Répéter dans une semaine';

$labels['showmore'] = 'Afficher plus...';

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Calender -- from kolab -- database backend
« Reply #3 on: February 26, 2013, 07:39:55 AM »
I don't have all understand ... what version will be one day add to the Roundcube 0.9 or 1.0 ?
I'm not sure what you mean, the current Kolab calendar was built for RoundCube 0.9.x its not going to become part of the the core RoundCube project. I not sure where you should submit the translation, you should probably contact Kolab with it.

Offline darknior

  • Jr. Member
  • **
  • Posts: 14
Re: Calender -- from kolab -- database backend
« Reply #4 on: February 26, 2013, 08:47:49 AM »
Ok, thanks ;)
But so sad to read it will never become part of the RoundCube project ...

Because, yes we can add it ourself, but it is not really easy for every body ...
And like many plugins, it is not easy to found some good documentation ...
All the projects are not really using your FORUM and WIKI to doc them fine :(

Offline darknior

  • Jr. Member
  • **
  • Posts: 14
Re: Calender -- from kolab -- database backend
« Reply #5 on: February 26, 2013, 08:58:23 AM »
e-Mail sent ...

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Calender -- from kolab -- database backend
« Reply #6 on: February 26, 2013, 07:55:00 PM »
I know that the current documentation is lacking, its a goal to get documentation improved for RoundCube 1.0.

Offline darknior

  • Jr. Member
  • **
  • Posts: 14
Re: Calender -- from kolab -- database backend
« Reply #7 on: February 27, 2013, 03:31:58 AM »
Happy to read you :D
And if i can give my ideas ...

The BEST Plugins page i read is this one : http://www.tehinterweb.co.uk/roundcube/#pisauserprefs

So perfect for common users ...
- Easy to download the last good version plugin for the roundCube you use, 0.8 or 0.9
- Easy to read the documentation, and with some screenshot
- VERY easy to help to translate
- Perfect to report bugs with Github ...
- And finally a direct link to the real good Subject on the community forum !

I know it will not be possible with all the coders ... but roundCube is your project, and i think it is interesting to try to do that :p

Offline darknior

  • Jr. Member
  • **
  • Posts: 14
Re: Calender -- from kolab -- database backend
« Reply #8 on: February 27, 2013, 10:23:31 AM »

Offline darknior

  • Jr. Member
  • **
  • Posts: 14
Re: Calender -- from kolab -- database backend
« Reply #9 on: February 27, 2013, 04:55:43 PM »
I found a bug in the fr_FR.inc and correct it, it will be corrected in the next version ;)
If you don't correct it, some works are not translated, and you will not receive the Calendar URL !

Line 125 :
$labels['invitationmailbody'] = "*\$title*\n\nQuand: \$date\n\nParticipants: \$attendees\n\nVous trouverez ci-joint un fichier iCalendar avec tous les détails de l'évènement que vous pourrez importer dans votre agenda électronique.";
$labels['invitationattendlinks'] = "Dans le cas où votre application de messagerie ne gère pas les demandes \"iTip\". Vous pouvez utiliser ce lien pour accepter ou refuser l'invitation : \n\$url";
$labels['eventupdatesubject'] = '"$title" a été modifié';
$labels['eventupdatesubjectempty'] = 'Un évènement vous concernant a été modifié';
$labels['eventupdatemailbody'] = "*\$title*\n\nQuand: \$date\n\nParticipants: \$attendees\n\nVous trouverez ci-joint un fichier iCalendar avec tous les modifications de l'évènement que vous pourrez importer dans votre agenda électronique.";
$labels['eventcancelsubject'] = '"$title" a été annulé';
$labels['eventcancelmailbody'] = "*\$title*\n\nQuand: \$date\n\nParticipants: \$attendees\n\nL'évènement a été annulé par \$organizer.\n\nVous trouverez en pièce jointe un fichier iCalendar avec les modifications de l'évènement que vous pourrez importer dans votre agenda électronique.";

Line 144 :
$labels['itipmailbodyaccepted'] = "\$sender a accepté l'invitation à l'évènement suivant :\n\n*\$title*\n\nQuand: \$date\n\nParticipants: \$attendees";
$labels['itipmailbodytentative'] = "\$sender a accepté provisoirement l'invitation à l'évènement suivant :\n\n*\$title*\n\nQuand: \$date\n\nParticipants: \$attendees";
$labels['itipmailbodydeclined'] = "\$sender a refusé l'invitation à l'évènement suivant :\n\n*\$title*\n\nQuand: \$date\n\nParticipants: \$attendees";