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

Advanced search: backend allows multiples terms to search #40618

Merged
merged 5 commits into from
Nov 10, 2023

Conversation

Altahrim
Copy link
Collaborator

@Altahrim Altahrim commented Sep 25, 2023

Ref #39162

Partly fixes #41345
Fixes nextcloud/contacts#3608

Summary

Allows API to return results of an advanced search

Checklist

@Altahrim Altahrim added the 2. developing Work in progress label Sep 25, 2023
@Altahrim Altahrim added this to the Nextcloud 28 milestone Sep 25, 2023
@Altahrim Altahrim self-assigned this Sep 25, 2023
@Altahrim Altahrim force-pushed the feat/39162/advanced_search branch 2 times, most recently from 9852a99 to c78349b Compare September 25, 2023 13:34
@Altahrim Altahrim changed the title feat(search): Allow multiple search terms in UnifiedController Advanced search: backend allows multiples terms to search Sep 25, 2023
lib/public/Search/ISearchQuery.php Outdated Show resolved Hide resolved
lib/private/Search/SearchQuery.php Outdated Show resolved Hide resolved
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Psalm found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

apps/files/lib/Search/FilesSearchProvider.php Outdated Show resolved Hide resolved
lib/private/Search/Filter.php Outdated Show resolved Hide resolved
lib/private/Search/Filter/TypeDateTime.php Outdated Show resolved Hide resolved
lib/private/Search/Filter/TypeFloat.php Outdated Show resolved Hide resolved
lib/private/Search/Filter.php Outdated Show resolved Hide resolved
@Altahrim Altahrim force-pushed the feat/39162/advanced_search branch 3 times, most recently from 6374218 to 64e3f2c Compare October 6, 2023 08:51
apps/files/lib/Search/FilesSearchProvider.php Fixed Show fixed Hide fixed
apps/files/lib/Search/FilesSearchProvider.php Fixed Show fixed Hide fixed
core/Controller/UnifiedSearchController.php Fixed Show fixed Hide fixed
lib/private/Search/SearchComposer.php Fixed Show fixed Hide fixed
lib/private/Search/SearchComposer.php Fixed Show fixed Hide fixed
lib/private/Search/SearchComposer.php Fixed Show fixed Hide fixed
apps/files/lib/Search/FilesSearchProvider.php Fixed Show fixed Hide fixed
apps/files/lib/Search/FilesSearchProvider.php Fixed Show fixed Hide fixed
apps/files/lib/Search/FilesSearchProvider.php Fixed Show fixed Hide fixed
lib/private/Search/SearchComposer.php Fixed Show fixed Hide fixed
@Altahrim Altahrim force-pushed the feat/39162/advanced_search branch 2 times, most recently from b26220d to fa33cd8 Compare October 17, 2023 10:42
lib/private/Search/FilterFactory.php Fixed Show fixed Hide fixed
lib/private/Search/FilterFactory.php Fixed Show fixed Hide fixed
lib/private/Search/FilterFactory.php Fixed Show fixed Hide fixed
lib/private/Search/FilterFactory.php Fixed Show fixed Hide fixed
lib/private/Search/FilterFactory.php Fixed Show fixed Hide fixed
lib/public/Search/Filter/IntegerFilter.php Fixed Show fixed Hide fixed
lib/public/Search/Filter/UserFilter.php Fixed Show fixed Hide fixed
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Early feedback on the public parts

lib/public/Search/IFilterCollection.php Outdated Show resolved Hide resolved
lib/public/Search/IProviderV2.php Outdated Show resolved Hide resolved
lib/public/Search/IProviderV2.php Outdated Show resolved Hide resolved
lib/public/Search/Filter/UserFilter.php Outdated Show resolved Hide resolved
lib/public/Search/Filter/BooleanFilter.php Outdated Show resolved Hide resolved
core/Controller/UnifiedSearchController.php Outdated Show resolved Hide resolved
core/Controller/UnifiedSearchController.php Outdated Show resolved Hide resolved
@Altahrim Altahrim force-pushed the feat/39162/advanced_search branch 3 times, most recently from 4e0cb1a to 50b397c Compare November 8, 2023 10:47
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenAPI side looks good

@Altahrim Altahrim force-pushed the feat/39162/advanced_search branch 2 times, most recently from 3e44339 to 70e8c78 Compare November 8, 2023 15:53
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For lib/public

@ChristophWurst

This comment was marked as resolved.

@Altahrim Altahrim force-pushed the feat/39162/advanced_search branch 7 times, most recently from 81db411 to 4accccf Compare November 10, 2023 08:08
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
@ChristophWurst
Copy link
Member

CI is done

@Altahrim Altahrim merged commit fa761b5 into master Nov 10, 2023
48 of 50 checks passed
@Altahrim Altahrim deleted the feat/39162/advanced_search branch November 10, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress pending documentation This pull request needs an associated documentation update
Projects
None yet
4 participants