[Kolab-devel] kolab-freebusy / CN in fb-vcal files
Gunnar Wrobel
wrobel at pardus.de
Fri Feb 22 11:16:17 CET 2008
Mike Gabriel <m.gabriel at das-netzwerkteam.de> writes:
> hi gunnar, hi kolab-developers,
>
> i looked into the freebusy code a bit closer still. it looks like the only way
> to retrieve a CN that belongs to $access->owner is to query HordePrefs or
> Kolab-LDAP from within the freebusy scripts.
Okay, I'll try to fix that on monday. We'll have to access LDAP there
(we are already doing that anyhow) but I'll need to add a line to
the Horde code to provide the cn when returning the user info.
I'm currently updating the Horde patches anyhow and I assume that I'm
getting into commit mode for Horde at the beginning of next week. I'll
also look at the bugs you reported to their tracker then. Sorry for
the long delay ;)
Cheers,
Gunnar
>
> the below message was already posted on kolab-users...
>
> mike
>
> ---------- Weitergeleitete Nachricht ----------
>
> Betreff: Re: freebusy with kolab debian packages
> Datum: Mittwoch 20 Februar 2008
> Von: Mike Gabriel <m.gabriel at das-netzwerkteam.de>
> An: Gunnar Wrobel <wrobel at pardus.de>
>
> hi gunnar,
>
> Quoting Gunnar Wrobel <wrobel at pardus.de>:
>
>>> in my lib/Horde/iCalendar/vfreebusy.php (horde-3.2-rc1)
>>> Horde_iCalendar_vfreebusy::getName() does not return a valid friendly
>>> name for the ORGANIZER. this probably is mainly due to a missing CN
>>> param for the ORGANIZER in my freebusy cache files generated by the
>>> kolab-2.2 freebusy engine (i backported fb scripts from kolab-2.2 to
>>> kolab-2.1).
>>>
>>> is it intended that the ORGANIZER's CN is missing in the vcal files?
>>
>> No, if remember it correctly the entry is mandatory. I would have to
>> check again but maybe you have a hint why this is missing in the cache
>> files?
>
> here is an example of a fb-vcal file/header generated by your
> php-script (i have removed most of the FREEBUSY fields...):
>
> EGIN:VCALENDAR
> VERSION:2.0
> PRODID:-//proko2//freebusy 1.0//EN
> METHOD:PUBLISH
> BEGIN:VFREEBUSY
> ORGANIZER:MAILTO:m.gabriel at das-netzwerkteam.de
> DTSTAMP:20080220T102236Z
> URL:http://mail.das-netzwerkteam.de/freebusy/m.gabriel@das-n
> etzwerkteam.de.vfb
> DTSTART:20080219T000000Z
> DTEND:20080420T000000Z
> FREEBUSY:20080219T070000Z/20080219T080000Z
> ...
> FREEBUSY:20080418T160000Z/20080418T200000Z
> END:VFREEBUSY
> END:VCALENDAR
>
> however, ORGANIZER:CN is probably not set as there is no setAttribute
> call in any of you FB-php-files setting a CN metadata attribute. would
> be nice to have a CN, though.
>
>
>> P.S.: Thanks for reading and correcting the code!
>>
>
> no problem!!!
>
> mike
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>
> -------------------------------------------------------
>
> --
>
> +++ das-netzwerkteam.de +++
>
> mike gabriel, hamburger chaussee 240, 24113 kiel
> fon: +49 431 64-74-196
> fax: +49 431 64-74-276
> voip/voicemail: +49 431 643 643 6
> mail: m.gabriel at das-netzwerkteam.de
> www: http://das-netzwerkteam.de
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
--
______ http://kdab.com _______________ http://kolab-konsortium.com _
p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de Dr. Gunnar Wrobel
Tel. : +49 700 6245 0000 Bundesstrasse 29
Fax : +49 721 1513 52322 D-20146 Hamburg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Mail at ease - Rent a kolab groupware server at p at rdus <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the devel
mailing list