Skip to content

Support negated searches #568

@tobixen

Description

@tobixen

The CalDAV-protocol supports negated text matches, but this is not properly implemented in the current search functionality.

This requires some work:

  • In the caldav-server-tester project, it's needed to do some testing to check if the server supports it or not
  • In the icalendar-searcher project, it's needed to implement support for the != operator
  • In search.py, the build_search_xml_query should be fixed to support negated text matches
  • In search.py, we need a workaround for removing the attribute from the search and then do client-side filtering in cases where the server does not support negated text matches.
  • It's needed to add both unit tests and functional tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions