Comments (4)
I'm having trouble understanding the problem. If you have events in the future, but none in the past, and set your iPhone to only sync the calendar in the last 3 months, wouldn't it be correct to not show any appointments anymore?
from caldav-adapter.
to avoid loading the complete calendar, you can set your phone to sync only with last 3 months + all future events.
in that case, the phone shows not a single event (i have events in the past and future.).
what i found, the phone loads the xml with the list of events for given calender or daterange. after the list received the phone loads every single event for detailed information. in case of getEventsForCalender it works fine. in case of getEventsByDate the phone does not load the single events for detailed information. i looked at the response and found a difference i mentioned in my first comment.
i could provide some screenshots if you want me too :)
from caldav-adapter.
The problem is with the parsing of the request
<?xml version="1.0" encoding="UTF-8"?>
<L:calendar-query xmlns:L="urn:ietf:params:xml:ns:caldav">
<D:prop xmlns:D="DAV:">
<D:getcontenttype/>
<D:getetag/>
<L:calendar-data/>
</D:prop>
<L:filter>
<L:comp-filter name="VCALENDAR">
<L:comp-filter name="VEVENT">
<L:time-range start="..." end="..."/>
</L:comp-filter>
</L:comp-filter>
</L:filter>
</L:calendar-query>
The children of the calendar-query
element are overlooked by the statement
xml.getWithChildren('/CAL:calendar-query/D:prop', ctx.request.xml);
because the getWithChildren
method is "hardwired" to the path /D:propfind/D:prop
, see here.
from caldav-adapter.
thanks for fixing! works fine now! <3
from caldav-adapter.
Related Issues (11)
- Which clients has this been tested with? HOT 2
- how to run? HOT 30
- ETag with Android HOT 4
- Allday events not working properly HOT 2
- Question: setting macOS HOT 1
- xBuild multistatus handles empty responses incorrectly
- Adapt line folding to cover surrogate pairs HOT 4
- Webapp/Express framework support HOT 2
- CardDAV support HOT 2
- Tests and Compatibility Documentation (CardDAV/CalDAV RFC Support) HOT 26
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caldav-adapter.