Skip to content

Commit feb3986

Browse files
committed
haaands
1 parent 746ae3a commit feb3986

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

caldav/compatibility_hints.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ class FeatureSet:
9090
"search": {
9191
"description": "calendar MUST support searching for objects using the REPORT method, as specified in RFC4791, section 7",
9292
"features": {
93+
"comp-type-optional": {
94+
"description": "In all the search examples in the RFC, comptype is given during a search, the client specifies if it's event or tasks or journals that is wanted. However, as I read the RFC this is not required. If omitted, the server should deliver all objects. Many servers will not return anything if the COMPTYPE filter is not set. Other servers will return 404"
95+
},
9396
## TODO - there is still quite a lot of search-related
9497
## stuff that hasn't been moved from the old "quirk list"
9598
"time-range": {
@@ -126,7 +129,7 @@ class FeatureSet:
126129
}
127130
},
128131
"expanded-search": {
129-
"description": "According to RFC 4791, the server MUST expand recurrence objects if asked for it - but many server doesn't do that. It doesn't matter much by now, as the client library can do the expandation. Some servers don't do expand at all, others deliver broken data, typically missing RECURRENCE-ID",
132+
"description": "According to RFC 4791, the server MUST expand recurrence objects if asked for it - but many server doesn't do that. Some servers don't do expand at all, others deliver broken data, typically missing RECURRENCE-ID. The python caldav client library (from 2.0) does the expand-operation client-side no matter if it's supported or not",
130133
"links": ["https://datatracker.ietf.org/doc/html/rfc4791#section-9.6.5"],
131134
"features": {
132135
"exception": {
@@ -549,6 +552,7 @@ def _dotted_feature_set_list(self, feature_path, feature_node, compact, feature_
549552
}
550553

551554
xandikos = {
555+
"search.comp-type-optional": { "supported": "unsupported" },
552556
"old_flags": [
553557
## https://github.com/jelmer/xandikos/issues/8
554558
'date_todo_search_ignores_duration',
@@ -579,11 +583,11 @@ def _dotted_feature_set_list(self, feature_path, feature_node, compact, feature_
579583
## should probably be gone through
580584
radicale = {
581585
"search.time-range.todo": {"support": "unsupported"},
586+
"search.comp-type-optional": {"support": "unsupported"},
582587
"recurrences.expanded-search": {"support": "unsupported"}, ## This was apparently broken in commit 9d591bd5144c97ae3803512b6c22cd5ce1dfd0f9 and 371d5057de6a1f729d198ab738dd6e19c9e55099 - issue has been raised in https://github.com/Kozea/Radicale/issues/1812#issuecomment-3067913171
583588
'old_flags': [
584589
## calendar listings and calendar creation works a bit
585590
## "weird" on radicale
586-
"no_default_calendar",
587591
"no_alarmsearch", ## This is fixed and will be released soon
588592

589593
## freebusy is not supported yet, but on the long-term road map

0 commit comments

Comments
 (0)