feat: add unified search provider for DAV Connector events#86
Open
stephan1827 wants to merge 2 commits into
Open
feat: add unified search provider for DAV Connector events#86stephan1827 wants to merge 2 commits into
stephan1827 wants to merge 2 commits into
Conversation
3165ae4 to
d0ce429
Compare
8c4dcb6 to
d0ce429
Compare
Collaborator
|
Hi Stephan, You need to rebase this, PR to the latest main, you have unrelated commits and changes in this PR. |
86ea3e3 to
3147b6e
Compare
3658016 to
a0347b4
Compare
Registers OCA\DAVC\Search\EventsSearchProvider as an OCP\Search\IProvider so that calendar events from connected DAV services appear in Nextcloud's top-right unified search alongside native calendar events. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Stephan Stricker <stephan@stricker.cloud>
Registers ContactsSearchProvider as an OCP\Search\IProvider so that contacts from connected DAV address books appear in Nextcloud's unified search. Searches the stored vCard data field and extracts FN, EMAIL, TEL and ORG for result display. Also fixes case-insensitive search for both events and contacts providers by switching from like() to iLike() in all search queries. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Stephan Stricker <stephan@stricker.cloud>
a0347b4 to
50d516e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OCP\\Search\\IProvider(EventsSearchProvider) so DAV Connector calendar events appear in Nextcloud's unified search (top-right search bar)davc_entities_calendarsJOINdavc_collectionsdirectly for fast, user-scoped full-text search on event title and descriptionterm,since,until) and pagination via cursorTest plan
since/untildate filters narrow results correctly🤖 Generated with Claude Code