Sharing calendars, events
Hi group, I am done with the code for basic caldav features over the web, but I have new challenge to finish,, Due to the big students base and professors request for sharing calendar, I was looking at the sharing of events done in ical, which is pretty clean stuff,, It has some of the features like when you add an attendee for an event, the other person can say may be, decline, accept,,, now I am working on that part and have no idea where to start,,, So, my questions are 1) How can I share my event or calendar with other user which is on same lDap,, The discovery of user is prettry easy, but how do i share event or calendar with him 2) When I share an event with other user X and use my web interface to read the calendar for user X, It shows the shared event, same as the user X personnel events, so my question is how can i differentiate user X's personnel events with shared events. Specifically does shared event has some specific property in caldav which I am missing. Specifically, I want sth very close to iCal, Please suggest any part which I can study, or some XML query example will really help Thanks Arun
Le 09-05-19 à 15:56, arun chhetri a écrit :
Hi group, I am done with the code for basic caldav features over the web, but I have new challenge to finish,,
Are you working on a CalDAV client or a CalDAV server ? Which development environment?
Due to the big students base and professors request for sharing calendar, I was looking at the sharing of events done in ical, which is pretty clean stuff,, It has some of the features like when you add an attendee for an event, the other person can say may be, decline, accept,,,
now I am working on that part and have no idea where to start,,,
So, my questions are 1) How can I share my event or calendar with other user which is on same lDap,, The discovery of user is prettry easy, but how do i share event or calendar with him
Either you share your whole calendar with others, or you have to add attendee by doing a POST request. Check : http://ietfreport.isoc.org/idref/draft-desruisseaux-caldav-sched/#section-8....
2) When I share an event with other user X and use my web interface to read the calendar for user X, It shows the shared event, same as the user X personnel events, so my question is how can i differentiate user X's personnel events with shared events. Specifically does shared event has some specific property in caldav which I am missing.
You shouldn't share event, you share a calendar (collection) or you invite attendee and check the status of each attendee.
Specifically, I want sth very close to iCal, Please suggest any part which I can study, or some XML query example will really help
Thanks Arun
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
------------------------------------------------------- Pascal Robert http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti Skype: MacTICanada AIM/iChat : MacTICanada
Hi Pascal, thanks for quick response I am working for CalDav client,,, any sorry for confusing query,, so, specifically my question is, how can I add an attendee to a particular event ok, so adding an attendee I guess is similar to updating or adding a new .ics file in the repository using PUT request with essentially the following parameters ATTENDEE;PARTSTAT;RSVP;ROLE;CUTYPE;CN,Desruisseaux 1)so my question is if user X want to add an attendee Y for an event, I will make a post to which user X or Y and what will be the URL? ATTENDEE;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;ROLE=RE Q-PARTICIPANT;CUTYPE=INDIVIDUAL;CN=Bernard Desr uisseaux:mailto:bernard@example.com On Tue, May 19, 2009 at 3:08 PM, Pascal Robert <probert@macti.ca> wrote:
Le 09-05-19 à 15:56, arun chhetri a écrit :
Hi group,
I am done with the code for basic caldav features over the web, but I have new challenge to finish,,
Are you working on a CalDAV client or a CalDAV server ? Which development environment?
Due to the big students base and professors request for sharing calendar, I was looking at the sharing of events done in ical, which is pretty clean stuff,, It has some of the features like when you add an attendee for an event, the other person can say may be, decline, accept,,,
now I am working on that part and have no idea where to start,,,
So, my questions are 1) How can I share my event or calendar with other user which is on same lDap,, The discovery of user is prettry easy, but how do i share event or calendar with him
Either you share your whole calendar with others, or you have to add attendee by doing a POST request. Check :
http://ietfreport.isoc.org/idref/draft-desruisseaux-caldav-sched/#section-8....
2) When I share an event with other user X and use my web interface to read the calendar for user X, It shows the shared event, same as the user X personnel events, so my question is how can i differentiate user X's personnel events with shared events. Specifically does shared event has some specific property in caldav which I am missing.
You shouldn't share event, you share a calendar (collection) or you invite attendee and check the status of each attendee.
Specifically, I want sth very close to iCal, Please suggest any part which I can study, or some XML query example will really help
Thanks Arun
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users
------------------------------------------------------- Pascal Robert
http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti
Skype: MacTICanada AIM/iChat : MacTICanada
Sorry for previous email that Was not complete Hi Pascal, thanks for quick response I am working for CalDav client,,, any sorry for confusing query,, so, specifically my question is, how can I add an attendee to a particular event ok, so adding an attendee I guess is similar to updating or adding a new .ics file in the repository using PUT request with essentially the following parameters ATTENDEE;PARTSTAT;RSVP;ROLE;CUTYPE;CN,Desruisseaux 1)so my question is if user X want to add an attendee user Y for an event, I will make a post to which user X or Y and what will be the URL? 2) Same if user X wants to share some calendar with User Y,,,, how will he do that,, Thanks Arun
Le 09-05-19 à 16:25, arun chhetri a écrit :
Sorry for previous email that Was not complete Hi Pascal,
thanks for quick response
I am working for CalDav client,,, any sorry for confusing query,,
so, specifically my question is, how can I add an attendee to a particular event
ok, so adding an attendee I guess is similar to updating or adding a new .ics file in the repository using PUT request with essentially the following parameters ATTENDEE;PARTSTAT;RSVP;ROLE; CUTYPE;CN,Desruisseaux
1)so my question is if user X want to add an attendee user Y for an event, I will make a post to which user X or Y and what will be the URL?
Exact. If you do your client in Java, I have code to do the free/busy lookup (it will be added to ical4j-connector when I'm done with my changes). You can also check the TCP traffic between iCal and your CalDAV server to see what iCal is doing, this is what I do (I use tcpflow).
2) Same if user X wants to share some calendar with User Y,,,, how will he do that,,
I think you have two options : Sharing with WebDAV : http://tools.ietf.org/html/rfc4791#section-8.4 Delegation : where you can act as another user. I can't remember which RFC is it
Thanks Arun
------------------------------------------------------- Pascal Robert http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti Skype: MacTICanada AIM/iChat : MacTICanada
Thanks pascal,, I have my client in python and C++,,, so, have u solved this thing, If u have any code sample then I can work it out,,, And what kind of client r u working with is it a desktop based or web based client, Thanks Arun On Tue, May 19, 2009 at 3:34 PM, Pascal Robert <probert@macti.ca> wrote:
Le 09-05-19 à 16:25, arun chhetri a écrit :
Sorry for previous email that Was not complete
Hi Pascal,
thanks for quick response
I am working for CalDav client,,, any sorry for confusing query,,
so, specifically my question is, how can I add an attendee to a particular event
ok, so adding an attendee I guess is similar to updating or adding a new .ics file in the repository using PUT request with essentially the following parameters ATTENDEE;PARTSTAT;RSVP;ROLE; CUTYPE;CN,Desruisseaux
1)so my question is if user X want to add an attendee user Y for an event, I will make a post to which user X or Y and what will be the URL?
Exact. If you do your client in Java, I have code to do the free/busy lookup (it will be added to ical4j-connector when I'm done with my changes). You can also check the TCP traffic between iCal and your CalDAV server to see what iCal is doing, this is what I do (I use tcpflow).
2) Same if user X wants to share some calendar with User Y,,,, how will he do that,,
I think you have two options :
Sharing with WebDAV : http://tools.ietf.org/html/rfc4791#section-8.4
Delegation : where you can act as another user. I can't remember which RFC is it
Thanks Arun
------------------------------------------------------- Pascal Robert
http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti
Skype: MacTICanada AIM/iChat : MacTICanada
Le 09-05-19 à 16:46, arun chhetri a écrit :
Thanks pascal,,
I have my client in python and C++,,, so, have u solved this thing,
If u have any code sample then I can work it out,,,
Well, I won't put Java in the same category as Python :-) I have code to lookup for free/busy (with a POST to the organizer schedule outbox) but my code for actually send the meeting request is not written so far.
And what kind of client r u working with is it a desktop based or web based client,
Desktop, iPhone and Web (will use the same back-end for all of those).
Thanks Arun
On Tue, May 19, 2009 at 3:34 PM, Pascal Robert <probert@macti.ca> wrote:
Le 09-05-19 à 16:25, arun chhetri a écrit :
Sorry for previous email that Was not complete Hi Pascal,
thanks for quick response
I am working for CalDav client,,, any sorry for confusing query,,
so, specifically my question is, how can I add an attendee to a particular event
ok, so adding an attendee I guess is similar to updating or adding a new .ics file in the repository using PUT request with essentially the following parameters ATTENDEE;PARTSTAT;RSVP;ROLE; CUTYPE;CN,Desruisseaux
1)so my question is if user X want to add an attendee user Y for an event, I will make a post to which user X or Y and what will be the URL?
Exact. If you do your client in Java, I have code to do the free/ busy lookup (it will be added to ical4j-connector when I'm done with my changes). You can also check the TCP traffic between iCal and your CalDAV server to see what iCal is doing, this is what I do (I use tcpflow).
2) Same if user X wants to share some calendar with User Y,,,, how will he do that,,
I think you have two options :
Sharing with WebDAV : http://tools.ietf.org/html/rfc4791#section-8.4
Delegation : where you can act as another user. I can't remember which RFC is it
Thanks Arun
------------------------------------------------------- Pascal Robert
http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti
Skype: MacTICanada AIM/iChat : MacTICanada
------------------------------------------------------- Pascal Robert http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti Skype: MacTICanada AIM/iChat : MacTICanada
participants (2)
-
arun chhetri
-
Pascal Robert