|
15 | 15 | 'rate_limited': |
16 | 16 | """It may be needed to pause a bit between each request when doing tests""", |
17 | 17 |
|
| 18 | + 'search_delay': |
| 19 | + """Server populates indexes through some background job, so it takes some time from an event is added/edited until it's possible to search for it""", |
| 20 | + |
18 | 21 | 'cleanup_calendar': |
19 | 22 | """Remove everything on the calendar for every test""", |
20 | 23 |
|
|
30 | 33 | 'broken_expand_on_exceptions': |
31 | 34 | """The testRecurringDateWithExceptionSearch test breaks as the icalendar_component is missing a RECURRENCE-ID field. TODO: should be investigated more""", |
32 | 35 |
|
| 36 | + 'inaccurate_datesearch': |
| 37 | + """A date search may yield results outside the search interval""", |
| 38 | + |
33 | 39 | 'no_current-user-principal': |
34 | 40 | """Current user principal not supported by the server (flag is ignored by the tests as for now - pass the principal URL as the testing URL and it will work, albeit with one warning""", |
35 | 41 |
|
|
92 | 98 | 'event_by_url_is_broken': |
93 | 99 | """A GET towards a valid calendar object resource URL will yield 404 (wtf?)""", |
94 | 100 |
|
| 101 | + 'no_delete_event': |
| 102 | + """Zimbra does not support deleting an event, probably because event_by_url is broken""", |
| 103 | + |
95 | 104 | 'no_sync_token': |
96 | 105 | """RFC6578 is not supported, things will break if we try to do a sync-token report""", |
97 | 106 |
|
|
121 | 130 | 'no_todo': |
122 | 131 | """Support for VTODO (tasks) apparently missing""", |
123 | 132 |
|
| 133 | + 'no_todo_on_standard_calendar': |
| 134 | + """Tasklists can be created, but a normal calendar does not support tasks""", |
| 135 | + |
124 | 136 | 'no_todo_datesearch': |
125 | 137 | """Date search on todo items fails""", |
126 | 138 |
|
|
134 | 146 | """date searches for todo-items will (only) find tasks that has either """ |
135 | 147 | """a dtstart or due set""", |
136 | 148 |
|
| 149 | + 'vtodo_datesearch_nostart_future_tasks_delivered': |
| 150 | + """Future tasks are yielded when doing a date search with some end timestamp and without start timestamp and the task contains both dtstart and due, but not duration (xandikos 0.2.12)""", |
| 151 | + |
137 | 152 | 'vtodo_no_due_infinite_duration': |
138 | 153 | """date search will find todo-items without due if dtstart is """ |
139 | | - """before the date search interval. I didn't find anything explicit """ |
140 | | - """in The RFC on this (), but an event should be considered to have 0 """ |
141 | | - """duration if no dtend is set, and most server implementations seems to """ |
142 | | - """treat VTODOs the same""", |
| 154 | + """before the date search interval. This is in breach of rfc4791""" |
| 155 | + """section 9.9""", |
143 | 156 |
|
144 | | - 'no_todo_on_standard_calendar': |
145 | | - """Tasklists can be created, but a normal calendar does not support tasks""", |
| 157 | + 'vtodo_no_dtstart_infinite_duration': |
| 158 | + """date search will find todo-items without dtstart if due is """ |
| 159 | + """after the date search interval. This is in breach of rfc4791""" |
| 160 | + """section 9.9""", |
| 161 | + |
| 162 | + 'vtodo_no_dtstart_search_weirdness': |
| 163 | + """Zimbra is weird""", |
| 164 | + |
| 165 | + 'vtodo_no_duration_search_weirdness': |
| 166 | + """Zimbra is weird""", |
| 167 | + |
| 168 | + 'vtodo_with_due_weirdness': |
| 169 | + """Zimbra is weird""", |
146 | 170 |
|
147 | 171 | 'unique_calendar_ids': |
148 | 172 | """For every test, generate a new and unique calendar id""", |
|
181 | 205 | 'text_search_not_working': |
182 | 206 | """Text search is generally broken""", |
183 | 207 |
|
184 | | - 'radicale_breaks_on_category_search': |
185 | | - """See https://github.com/Kozea/Radicale/issues/1125""", |
| 208 | + 'date_search_ignores_duration': |
| 209 | + """Date search with search interval overlapping event interval works on events with dtstart and dtend, but not on events with dtstart and due""", |
| 210 | + |
| 211 | + 'date_todo_search_ignores_duration': |
| 212 | + """Same as above, but specifically for tasks""", |
186 | 213 |
|
187 | 214 | 'fastmail_buggy_noexpand_date_search': |
188 | 215 | """The 'blissful anniversary' recurrent example event is returned when asked for a no-expand date search for some timestamps covering a completely different date""", |
|
226 | 253 | ## https://github.com/jelmer/xandikos/issues/8 |
227 | 254 | "no_recurring", |
228 | 255 |
|
| 256 | + 'date_todo_search_ignores_duration', |
229 | 257 | 'text_search_is_exact_match_only', |
230 | | - |
231 | | - ## This one is fixed - but still breaks our test code for python 3.7 |
232 | | - ## TODO: remove this when shredding support for python 3.7 |
233 | | - ## https://github.com/jelmer/xandikos/pull/194 |
234 | | - 'category_search_yields_nothing', |
| 258 | + "search_needs_comptype", |
| 259 | + 'vtodo_datesearch_nostart_future_tasks_delivered', |
235 | 260 |
|
236 | 261 | ## scheduling is not supported |
237 | 262 | "no_scheduling", |
| 263 | + |
| 264 | + ## The test in the tests itself passes, but the test in the |
| 265 | + ## check_server_compatibility triggers a 500-error |
| 266 | + "no_freebusy_rfc4791", |
| 267 | + |
| 268 | + ## The test with an rrule and an overridden event passes as |
| 269 | + ## long as it's with timestamps. With dates, xandikos gets |
| 270 | + ## into troubles. I've chosen to edit the test to use timestamp |
| 271 | + ## rather than date, just to have the test exercised ... but we |
| 272 | + ## should report this upstream |
| 273 | + #'broken_expand_on_exceptions', |
238 | 274 | ] |
239 | 275 |
|
| 276 | +## This can soon be removed (relevant for running tests under python 3.7 and python 3.8) |
| 277 | +## https://github.com/jelmer/xandikos/pull/194 |
| 278 | +'category_search_yields_nothing', |
| 279 | +try: |
| 280 | + from xandikos import __version__ as xver |
| 281 | + goodver = (0,2,12) |
| 282 | + for i in range(0,3): |
| 283 | + if xver[i]<goodver[i]: |
| 284 | + xandikos.append('category_search_yields_nothing') |
| 285 | + break |
| 286 | +except Exception: |
| 287 | + pass |
| 288 | + |
240 | 289 | radicale = [ |
241 | 290 | ## calendar listings and calendar creation works a bit |
242 | 291 | ## "weird" on radicale |
243 | 292 | "broken_expand", |
244 | 293 | "no_default_calendar", |
245 | 294 |
|
246 | 295 | ## freebusy is not supported yet, but on the long-term road map |
247 | | - "no_freebusy_rfc4791", |
248 | | - |
249 | | - ## TODO: raise an issue on this one |
250 | | - "radicale_breaks_on_category_search", |
| 296 | + #"no_freebusy_rfc4791", |
251 | 297 |
|
252 | 298 | 'no_scheduling', |
253 | | - 'no_todo_datesearch', |
| 299 | + "no_todo_datesearch", |
254 | 300 |
|
255 | 301 | 'text_search_is_case_insensitive', |
256 | | - 'text_search_is_exact_match_sometimes', |
257 | | - 'combined_search_not_working', |
| 302 | + #'text_search_is_exact_match_sometimes', |
| 303 | + "search_needs_comptype", |
258 | 304 |
|
259 | 305 | ## extra features not specified in RFC5545 |
260 | 306 | "calendar_order", |
|
276 | 322 | ## earlier versions of Zimbra display-name could be changed, but |
277 | 323 | ## then the calendar would not be available on the old URL |
278 | 324 | ## anymore) |
279 | | - 'no_displayname', |
280 | 325 | 'duplicate_in_other_calendar_with_same_uid_is_lost', |
281 | 326 | 'event_by_url_is_broken', |
282 | | - 'no_todo_on_standard_calendar', |
| 327 | + 'no_delete_event', |
283 | 328 | 'no_sync_token', |
284 | 329 | 'vtodo_datesearch_notime_task_is_skipped', |
285 | 330 | 'category_search_yields_nothing', |
|
341 | 386 | #'nofreebusy', ## for old versions |
342 | 387 | 'fragile_sync_tokens', ## no issue raised yet |
343 | 388 | 'vtodo_datesearch_nodtstart_task_is_skipped', ## no issue raised yet |
344 | | - 'broken_expand_on_exceptions', |
| 389 | + 'broken_expand_on_exceptions', ## no issue raised yet |
| 390 | + 'date_todo_search_ignores_duration' |
| 391 | + 'calendar_color', |
| 392 | + 'calendar_order', |
| 393 | + 'vtodo_datesearch_notime_task_is_skipped' |
345 | 394 | ] |
346 | 395 |
|
347 | 396 | google = [ |
|
366 | 415 | ] |
367 | 416 |
|
368 | 417 | nextcloud = [ |
| 418 | + 'date_search_ignores_duration', |
369 | 419 | 'sync_breaks_on_delete', |
370 | 420 | 'no_recurring_todo', |
371 | 421 | 'combined_search_not_working', |
372 | 422 | 'text_search_is_exact_match_sometimes', |
| 423 | + 'search_needs_comptype', |
| 424 | + 'calendar_color', |
| 425 | + 'calendar_order', |
| 426 | + 'date_todo_search_ignores_duration', |
| 427 | + 'broken_expand_on_exceptions' |
373 | 428 | ] |
374 | 429 |
|
375 | 430 | fastmail = [ |
|
440 | 495 |
|
441 | 496 | ## Purelymail claims that the search indexes are "lazily" populated, |
442 | 497 | ## so search works some minutes after the event was created/edited. |
443 | | - ## I tried adding arbitrary delays in commit 5d052b1 but still didn't |
444 | | - ## manage to get search to work. Should eventually do more research |
445 | | - ## into this. (personal email communication with contact@purelymail.com) |
446 | | - 'no_search', |
447 | | - 'object_by_uid_is_broken', |
| 498 | + 'search_delay' |
448 | 499 | ] |
449 | 500 |
|
450 | 501 | # fmt: on |
0 commit comments