Bug 177860 - Support Zimbra Free/Busy URL format
Summary: Support Zimbra Free/Busy URL format
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-15 16:41 UTC by Doron
Modified: 2012-07-01 13:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doron 2008-12-15 16:41:43 UTC
Version:           3.5.9 (using 3.5.9, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.25-gentoo-r9

Hi All,
The corporate I'm working for, are using Zimbra for mail/calendar/
tasks/etc. I've managed to make most of the KDE PIM work with Zimbra,
but I came to a wall which is the Free/Busy URL.
The way it's implemented today, is adding user.ifb at the end of
the URL, prior to any parameters (using ? and & format).
However, for Zimbra (and Outlook in some cases) are using the following URL:
The basic free-busy data:
 https:// server.domain.com/zimbra/home/username/calendar.ifb

 Export the free/busy data in the calendar folder for the next 60 days you would:
 https:// server.domain.com/zimbra/home/username/calendar.ifb?start=0d&end=60d 
 (Note that this is the free/busy data for the specific calendar folder name only.)
 
 If you wanted to get the info from multiple calendars on an account then you'd want to use the following URL instead:
 https:// server.domain.com/zimbra/home/username/?fmt=ifb
 https:// server.domain.com/zimbra/home/username/?fmt=ifb&start=0d&end=60d 

Is it possible to add support to the /username/ URL format, so no user.ifb is automatically added, but replace the /username/ pattern ?

Thanks,
Doron.
Comment 1 Richard Bos 2009-01-18 21:21:30 UTC
This looks related to:
https://bugs.kde.org/show_bug.cgi?id=110649
Comment 2 Doron 2009-01-18 23:25:56 UTC
(In reply to comment #1)
> This looks related to:
> https://bugs.kde.org/show_bug.cgi?id=110649
> 
Indeed, but it relates to colab, whilst I'm referring to Zimbra
URL formats.

Comment 3 Allen Winter 2010-05-23 02:35:51 UTC
would it be ok if you could specify a full path like:

https://server.domain.com/zimbra/home/username/calendar.ifb


in this case, if we see the .ifb extension there, we simply would assume a full path and we would not append anything at all to the URL.  we'd just use it as you specified.
Comment 4 Doron 2010-05-23 09:14:54 UTC
Hi Allan,
What you suggest is already possible today.
It is possible to specify a specific free-busy fullpath URL for a contact.
This is what I'm doing today, and it means for each relevant contact I have
to do it manually :(
This bug is about adding a generic support to the Zimbra/outlook formats-
- https:// server.domain.com/zimbra/home/username/calendar.ifb
- https:// server.domain.com/zimbra/home/username/?fmt=ifb

With such a support I can give you a URL like the first one, and you simply
replace username with what you have in the contact details (first part of
the mail address).
This will allow simple integration with Zimbra servers for many people...

Thanks for trying to help !!!
Doron
Comment 5 Allen Winter 2010-05-24 00:42:10 UTC
how about if you put in freebusy address as:
https://server.domain.com/zimbra/home/%NAME%/calendar.ifb

I will take their preferred email address from your addressbook
(username@domain.com) and replace %NAME% with username.

would that work?
this will be hard to test since I don't use zimbra.
Comment 6 Doron 2010-05-24 10:07:51 UTC
This may work, but let's review the scenario:
1. I get a meeting request.
2. I approve it, and it is saved into my calendar.
3. Now I want to change its time, so I open the meeting and
there are many contacts there. Some in my address book, some
not, and some are external to the company (ie- gmail addresses).

Your solution will iterate the contacts in the meeting, but
it should take the name from the meeting contact entry, so
I'll be able to get FBI (free-busy info) for everyone besides
the external addresses. Is this OK ?
Comment 7 Allen Winter 2010-05-25 00:31:58 UTC
I think so.
but we'll find out in a few months.  The solution I have can't go into 4.5 so it will need to wait for 4.6.
Comment 8 Doron 2010-05-25 09:12:21 UTC
Very well.
I can be your QA on this issue.
Let me know when you need me.

Doron
Comment 9 Allen Winter 2012-07-01 13:20:23 UTC
Doron,

I'm pretty sure I implemented this a while back so I will resolve this one.
please reopen if my memory is flawed.

We should now support ifb, vfb, xfb.. maybe more I don't remember.