caldav

OAuth2/Google CalDAV - List of calendars for user

五迷三道 提交于 2019-12-06 11:36:28
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:supported-calendar-component-set /> </d:prop> </d:propfind> Moving to Google OAuth2 has different calls, the

Java's HttpURLConnection doesn't support REPORT/PROPFIND - what shall I do?

╄→尐↘猪︶ㄣ 提交于 2019-12-06 01:33:05
问题 HttpURLConnection does only support things like GET, POST and HEAD - but no REPORT/PROPFIND. I'm going to implement a CalDAV-Client but without theese operations (if I want to use them I get a ProtocolException) I have to write/deliver a complete and huge HTTP library with auth and so on. "Overkill". How do I send requests with PROPFIND and REPORT? 回答1: I had similar problem on WebDav for PROPFIND method. Solved the problem by implementing this solution: https://java.net/jira/browse/JERSEY

Adding events to Baikal CalDAV server using PHP

戏子无情 提交于 2019-12-05 21:06:32
I want to push events to a CalDAV calendar that is installed on my webhost. I am using the Baikal CalDAV server. This is my PHP: <?php $uid = "test-12345"; // setting this to an existing uid updates event, a new uid adds event $url = "http://infobo9.myhostpoint.ch/dav/cal.php/principals/bookify"; //http://mail.domain.com/calendars/DOMAIN/USER/Calendar/'.$uid.'.ics' $userpwd = "bookify:test"; $description = 'My event description here'; $summary = 'My event title 1'; $tstart = '20141127T000000Z'; $tend = '20141127T000000Z'; $tstamp = gmdate("Ymd\THis\Z"); $body = "<<<__EOD BEGIN:VCALENDAR

How to push events to IPhone calendar

江枫思渺然 提交于 2019-12-04 21:21:03
问题 I'm trying to integrate my application (Windows desktop app, and Web app) with mobile calendars. My application is supposed to push new events to mobile calendars fetch events form mobile calendars So far I managed to integrate with Google calendar (very easy, simple library + OAuth) Now I want to do the same with iCloud calendar, but it's not that easy. In iCould settings I can make a calendar public. Than I can fetch events (as a iCalendar file), but I cannot push events. The cannot find

How to interact with a CalDAV server from Ruby? [closed]

∥☆過路亽.° 提交于 2019-12-04 19:01:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I need to create events on a calendar server using CalDAV from within a Ruby (Rails to be precise) Application. I have looked at some different libraries and done some googling. I looked at ri-cal ( http://ri-cal.rubyforge.org/rdoc/ ) But wasnt sure if it supported sending data toa server or if I had to do that

Creating a CalDAV service with .Net

两盒软妹~` 提交于 2019-12-04 10:49:32
问题 I want to create a calendar in my application that external users can view. The CalDAV (basically WebDAV+iCalendar) format seems to be relatively widely supported, although if rather unusually by some clients (Outlook, for instance). Completely new to me though. I want to externally publish events, I don't need users to be able to update them. The text format of events in .ics files appears relatively simple: BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN BEGIN:VEVENT DTSTART:20091130T000000Z

Java's HttpURLConnection doesn't support REPORT/PROPFIND - what shall I do?

≡放荡痞女 提交于 2019-12-04 06:47:24
HttpURLConnection does only support things like GET, POST and HEAD - but no REPORT/PROPFIND. I'm going to implement a CalDAV-Client but without theese operations (if I want to use them I get a ProtocolException) I have to write/deliver a complete and huge HTTP library with auth and so on. "Overkill". How do I send requests with PROPFIND and REPORT? I had similar problem on WebDav for PROPFIND method. Solved the problem by implementing this solution: https://java.net/jira/browse/JERSEY-639 try { httpURLConnection.setRequestMethod(method); } catch (final ProtocolException pe) { try { final Class

How to push events to IPhone calendar

蓝咒 提交于 2019-12-03 14:00:36
I'm trying to integrate my application (Windows desktop app, and Web app) with mobile calendars. My application is supposed to push new events to mobile calendars fetch events form mobile calendars So far I managed to integrate with Google calendar (very easy, simple library + OAuth) Now I want to do the same with iCloud calendar, but it's not that easy. In iCould settings I can make a calendar public. Than I can fetch events (as a iCalendar file), but I cannot push events. The cannot find any serious libraries for iCould calendar integration. I gave CalDav.Client a try, but need to provide

Reading Apple/iCloud calendar data using PHP/CalDAV

爱⌒轻易说出口 提交于 2019-12-03 13:55:44
问题 I'm attempting to quickly find free/busy time by fetching the calendar events for an iCloud calendar via CalDAV. I'm able to get the available calendars, and according to documentation here or using the DAViCal client library fetching the calendar information for a given date range should be as simple as sending this REPORT xml request to a calendar URL (ie. https://caldav.icloud.com/..userid../calendars/work/): <c:calendar-query xmlns:d="DAV:" xmlns:c="urn:ietf:params:xml:ns:caldav"> <d:prop

How does Sunrise for iOS use iCloud credentials to access our calendar?

◇◆丶佛笑我妖孽 提交于 2019-12-03 11:13:35
问题 Sunrise on iOS is calendar that, with version 2, added support for iCloud calendars. From this page, the team at Sunrise say this: When you type in your iCloud credentials, they are sent to our server only once in a secured way over SSL. [...] We use them to generate a secure token from Apple. This secure token is the only thing we store on our servers, we never store your actual iCloud credentials. And recently: Since our 2.11 version, we are not sending iCloud credentials to our servers,