Skip to content
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

[feature/server-side-search] Add server-side search support #129

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

felix-schwarz
Copy link
Collaborator

@felix-schwarz felix-schwarz commented Nov 2, 2024

Description

This PR adds server-side search support to the SDK.

Related Issue

App-side part: owncloud/ios-app#1419

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

- OCConnection:
	- add new method for -searchFilesWithPattern
	- expose internal method -_davItemAttributes for composition of WebDAV queries
	- add new OCConnectionEndpointIDWebDAVSpaces endpoint and MDM parameter needed for server-side search REPORT requests
- OCConnection+Search: first implementation of support for server-side search
- OCCore+Search: first implementation of support for server-side search, handling item resolution and composition in a data source
- OCSearchResult: container for OCCore+Search search results and target to cancel ongoing resolutions
- OCEvent: add new OCEventTypeSearch event type
- OCHTTPDAVRequest: expand -responseItemsForBasePath: method with drives parameter to allow efficient parsing of ocis search responses
- OCItem+OCXMLObjectCreation: add support for oc:fileid, oc:score and search result path -> driveID mapping
- OCItem: add new searchScore property for server-side search results
- OCTypes: add new KQL query string type
@CLAassistant
Copy link

CLAassistant commented Nov 2, 2024

CLA assistant check
All committers have signed the CLA.

@felix-schwarz felix-schwarz self-assigned this Nov 2, 2024
…ition tree

- OCItem+OCTypeAlias: add "application/x-bzip" and "application/x-tgz" to typealias "package/x-generic" to make it equivalent to the server's "archive" search criteria
	- add new .error property where errors are set if they were returned from the server
	- change state of data source to loading on start and then idle on completion
…han / less than to be compatible with oCIS KQL
…properties and server-provided keywords for each property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants