-
Notifications
You must be signed in to change notification settings - Fork 450
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 filters #33
Comments
+1 Is there already someone working on this? Are there any specific plans how to implement it? Maybe I can help out. |
Adding filters for component types is possible, actually it's almost done: I suppose that CalDAV-Sync uses nested filters, that's why it does not work. There's a TODO about that in the code, it should be quite easy to handle this as it already works for flat filters, if you know a little bit of Python of course. If you don't, just ask, I can try to fix that within a couple of weeks. The plan is to add features about filters only if they are needed by clients. Adding support for nested filters is a useful feature that can be achieved with simple specific code, so that's OK (and I'll be really grateful if you do 😉). Creating a generic way of handling filters is a bad idea, because it's way too complicated. |
Yes, CalDAV-Sync uses nested filters. I'll check the code to see what I can do. |
After checking the code, it should actually work with nested filters. Radicale mixes parents and children in filters (that's bad, and the TODO is for this), but that should not be a problem with clients. If you have interesting logs with CalDAV-Sync, you can pastebin them, I'll try to find where the bug comes from. |
Interesting. I'll check out the sources and give it a try. I'll let you know what I find out. |
You're right the git version properly filters the results by component type. I'll ask the reporting user which version he uses. |
Only missing recurrence rules now. |
We should implement the filters support in CalDAV, and see if it helps some clients (seems to be very useful for Apple's clients).
If this is finally useless for supported clients, just close that bug.
The text was updated successfully, but these errors were encountered: