Skip to content

Conversation

@anvanvan
Copy link

Adds calendar-color prop in GetCalendarsRequest for iCloud caldav

infostreams and others added 30 commits February 26, 2018 15:31
The default authentication type is "basic", but some CalDav servers have other authentication types (like "digest", in my case).
When creating a calendar you can provide a resource name in the MakeCalendarRequestVO, but this resource name was ignored when doing the actual call to the server. This commit checks if you have provided a resource name, and will try to create a calendar using that resource name if you did. If you did not provide a resource name, it will revert to the previous behaviour of using a UID for the calendar name.
It accepts a 'body' and (return) 'code' argument, but in the code here 'calendar_url' was erroneously passed in as first argument
In the GetCalendarRequest and GetCalendarsRequest you use the {http://calendarserver.org/ns/:} namespace, but that one was not declared at the top of the XML document.
Prevents SabreDAV from recognizing the request for a ctag
Allow authentication types other than 'basic'
Implement missing date range filter
No longer ignore user provided 'resourcename'
CalendarDeletedResponse accepts 2 arguments, not 3
* fixed some issues from scrutinizer
* fixed calendar time range query
Some CalDAV servers only return namespaced XML, and simplexml_load_string deals with this kind of XML slightly differently, which means we can’t easily convert it to JSON without first stripping the namespaces (unfortunately).
Without this change the library doesn’t work in SabreDAV
The tests were very tailored for iCloud. I adjusted them to run on more generic CalDav servers as well.
* refactoring for scrutinizer
* added conflict exception for makeRequest ( 409 http code )
* added exception info to ConflictException
To access the requested getetag prop from Facade/Requests/GetCalendarRequest.php
* fix on cdata parsing
* fix on vcard response
* added content type and content length on put request to avoid 405 on ical
* updated dependencies
* fixes for icloud imp
Accomodated for status being nested in propstat element in Apple ICalendar CalendarSyncInfoResponse ETagEntityResponse body
Yahoo returns the HTTP statuses in lowercase, which doesnt match with
the uppercase HTTP statuses.
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Similar to X-MASTER-RRULE, this captures the original DTSTART from the
series master event before expansion and attaches it to each expanded
instance. This allows frontends to correctly update recurring event
series without accidentally shifting the series start date to the
instance date being edited.
Add WebDAV MOVE method support to enable atomic event moves between
CalDAV calendars. This is especially important for iCloud which uses
account-unique UIDs and fails with DELETE+CREATE approach.

- Add Move constant to HttpMethods
- Add Destination and Overwrite headers to Headers
- Add createMoveRequest to RequestFactory
- Add EventMovedResponse class
- Add moveEvent method to CalDavClient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants