caldav

How to avoid time conflict or overlap for CalDAV?

被刻印的时光 ゝ 提交于 2020-02-06 10:38:51
问题 I am studying CalDAV protocol. I have some question for time conflict or overlap for CalDAV. Let me explain by instance for some scenario. I made an event PM1 ~ PM6 in calendar. And then I try to made another event PM2~7 in same calendar. It is time conflict or overlap. How does CalDav server resolve this conflict? Does server make error when second event make? I did search out RFC 6638. But I could not find solution. Please help my question. Thanks for reading. 回答1: It is up to the CalDAV

How to avoid time conflict or overlap for CalDAV?

南楼画角 提交于 2020-02-06 10:37:03
问题 I am studying CalDAV protocol. I have some question for time conflict or overlap for CalDAV. Let me explain by instance for some scenario. I made an event PM1 ~ PM6 in calendar. And then I try to made another event PM2~7 in same calendar. It is time conflict or overlap. How does CalDav server resolve this conflict? Does server make error when second event make? I did search out RFC 6638. But I could not find solution. Please help my question. Thanks for reading. 回答1: It is up to the CalDAV

How to avoid time conflict or overlap for CalDAV?

岁酱吖の 提交于 2020-02-06 10:36:47
问题 I am studying CalDAV protocol. I have some question for time conflict or overlap for CalDAV. Let me explain by instance for some scenario. I made an event PM1 ~ PM6 in calendar. And then I try to made another event PM2~7 in same calendar. It is time conflict or overlap. How does CalDav server resolve this conflict? Does server make error when second event make? I did search out RFC 6638. But I could not find solution. Please help my question. Thanks for reading. 回答1: It is up to the CalDAV

Adding events to Davical server using Http request and DDay.iCal

点点圈 提交于 2019-12-25 16:20:52
问题 I am trying to add an event from my local database to the Davical server (in fact, this should apply to any CalDav server, as long as it is compliant with the CalDav protocol)... From what I could read here, I can send a PUT request to add events contained in a VCALENDAR collection... So here is what I try to do: try { // Create the HttpWebRequest object HttpWebRequest Request = (HttpWebRequest)HttpWebRequest.Create("http://my_caldav_srv/davical.php/user/mycalendar"); // Add the network

iCalendar Opening Hours

谁说我不能喝 提交于 2019-12-25 00:38:03
问题 How do you write a FREQ rule in iCalendar data format for store's opening hours ? Let's say the store is open every working day (Mon-Fri): from 8:00AM to 5:00PM (or with lunch break from) 8:00AM to 11:00AM and 12:00PM to 5:00PM This would solve the days: FREQ=WEEKLY;WKST=MO;BYDAY=MO,TU,WE,TH,FR , how about the hours though ? Edit: Could I do sth like this? DTSTART;TZID=America/New_York:19970902T080000 RRULE:FREQ=WEEKLY;WKST=MO;BYDAY=MO,TU,WE,TH,FR DURATION=PT9H Would this mean every day from

Using Sardines report method to query events from CalDAV server

房东的猫 提交于 2019-12-24 06:30:01
问题 I'm trying to fetch events from a CalDAV server using Sardine (and biweekly). Fetching an entire calendar is working for me: Sardine sardine = SardineFactory.begin(); InputStream is = sardine.get(CALDAV_URL_STRING); ICalendar iCalendar = Biweekly.parse(is).first(); Now I would like to fetch events for specific time range. Based on this "Building a CalDAV client" article, I assume you should use Sardines report method to do so, right? If so, how should you use that method? It's not documented

Thunderbird Lightning caldav sync doesn't show any data/events

那年仲夏 提交于 2019-12-22 14:15:46
问题 when i try to synchronize my caldav server implementation with Thunderbird 45.4.0 and Lightning 4.7.4 (one particular calendar collection) it doesnt show any data or events in the calendar though the last call of the sequence provided the data. In the Thunderbird error log i can see one error: Zeitstempel: 07.11.16, 14:21:12 Fehler: [calCachedCalendar] replay action failed: null, uri=http://127.0.0.1:8003/sap/sports/webdav/appsvc/webdav/services/ server.xsjs/cal/_D043133/, result=2147500037,

OAuth2/Google CalDAV - List of calendars for user

巧了我就是萌 提交于 2019-12-22 11:26:16
问题 I used to request caldav servers to give all defined calendars for a given user. That works with fruux/ownCloud(Sabre) and also GCalendar the classic method. The request is this: method: PROPFIND headers:Depth: 1 urlstr:https://www.google.com/calendar/dav/{theUserName}@gmail.com/ contentType:application/xml content: <d:propfind xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/" xmlns:c="urn:ietf:params:xml:ns:caldav"> <d:prop> <d:resourcetype /> <d:displayname /> <cs:getctag /> <c

iCloud CalDAV via PHP

怎甘沉沦 提交于 2019-12-21 03:02:09
问题 I'm trying to script a basic CalDAV interaction for use with Apple's iCloud calendars of a given account. At the moment, I'm receiving the response shown below: Precondition Failed Requested resource has a matching ETag. The code I'm using was originally taken from http://trentrichardson.com/2012/06/22/put-caldav-events-to-calendar-in-php/ and adapted to the below: <?php $account = array( 'server'=> 'p05', 'id' => '######', 'user' => 'a****z@me.com', 'pass' => '*****' ); $url = 'https://'.

Creating New Event to iCloud Apple Calendar always Results 400 Bad Request

倾然丶 夕夏残阳落幕 提交于 2019-12-18 09:34:14
问题 Currently, I am developing a website which will sync data from Apple Calendar to my app and vice versa. For fetching data from Apple Calendar to my application, I already can get the .ics files from iCloud calendar and it works just fine. However, I have an issue when creating new Event in Apple Calendar. Somehow, every request that I send results 400 Bad Request . Here is the detail of the request: Header: If-None-Match: * Method: PUT Uri destination: https://p46-caldav.icloud.com/[USER_ID]