-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support recurring events #8
Comments
Just found out that this is not supported... Would be great to have this feature! EDIT: Somehow it seems to have worked the second time I tried. Is this already supported? |
You can create recurring events and retrieve them, but specific query commands (e.g. date range searches) will only return the recurring event if the first instance is covered by the date range. |
Any ideas on how to solve this? (I'm considering to migrate my personal calendar to Xandikos, this is probably the only blocker issue) |
We need to expand rrules:
You could probably use the code for CalDAV:expand in Xandikos/CalDAV.py as inspiration (potentially with some refactoring to share more oy the logic). |
I've done some work on this, and my draft branch does work but I'm not happy with it in its current form. It currently expands ics files when generating indexes, which can be really expensive for events that don't have an end date. The correct solution is to store RRULE, EXDATE, EXRULE, etc in indexes as well and then evaluate those against the specified timerange when filtering. |
I will test it |
My test code still fails on the expand part, but except for that even my pesky I will try to come up with a trivial example of expected vs observed result on a query. |
Search query:
event returned:
The icalendar data returned is not expanded. |
any news about this issue? |
rrule et al
The text was updated successfully, but these errors were encountered: