Skip to content

Advanced search: backend allows multiples terms to search - #40618

Merged
Altahrim merged 5 commits into
masterfrom
feat/39162/advanced_search
Nov 10, 2023
Merged

Advanced search: backend allows multiples terms to search#40618
Altahrim merged 5 commits into
masterfrom
feat/39162/advanced_search

Conversation

@Altahrim

@AltahrimAltahrim commented Sep 25, 2023

Copy link
Copy Markdown
Collaborator

Ref #39162

Partly fixes#41345
Fixesnextcloud/contacts#3608

Summary

Allows API to return results of an advanced search

Checklist

@AltahrimAltahrim added the 2. developing Work in progress label Sep 25, 2023
@AltahrimAltahrim added this to the Nextcloud 28 milestone Sep 25, 2023
@AltahrimAltahrim self-assigned this Sep 25, 2023
Comment threadcore/Controller/UnifiedSearchController.php Fixed
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch 2 times, most recently from 9852a99 to c78349bCompareSeptember 25, 2023 13:34
@AltahrimAltahrim changed the title feat(search): Allow multiple search terms in UnifiedControllerAdvanced search: backend allows multiples terms to searchSep 25, 2023
Comment threadlib/public/Search/ISearchQuery.php Outdated
Comment threadlib/private/Search/SearchQuery.php Outdated
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch from e11b170 to 01ff73fCompareSeptember 28, 2023 08:45

@github-advanced-securitygithub-advanced-securityBot left a comment

Copy link
Copy Markdown

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.

@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch from 1756487 to c0dda46CompareSeptember 28, 2023 09:33
Comment threadapps/files/lib/Search/FilesSearchProvider.php Outdated
Comment threadlib/private/Search/Filter.php Outdated
Comment threadlib/private/Search/Filter/TypeDateTime.php
Comment threadlib/private/Search/Filter/TypeFloat.php Outdated
Comment threadlib/private/Search/Filter.php Outdated
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch 3 times, most recently from 6374218 to 64e3f2cCompareOctober 6, 2023 08:51
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadcore/Controller/UnifiedSearchController.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch from 64e3f2c to 55845d0CompareOctober 6, 2023 09:23
Comment threadcore/Controller/UnifiedSearchController.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch from 55845d0 to df3d05fCompareOctober 10, 2023 16:12
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch 2 times, most recently from b26220d to fa33cd8CompareOctober 17, 2023 10:42
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadapps/files/lib/Search/FilesSearchProvider.php Fixed
Comment threadcore/Controller/UnifiedSearchController.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
Comment threadlib/private/Search/SearchComposer.php Fixed
Comment threadlib/private/Search/FilterFactory.php Fixed
Comment threadlib/private/Search/FilterFactory.php Fixed
Comment threadlib/private/Search/FilterFactory.php Fixed
Comment threadlib/private/Search/FilterFactory.php Fixed
Comment threadlib/private/Search/FilterFactory.php Fixed
Comment threadlib/public/Search/Filter/IntegerFilter.php Fixed
Comment threadlib/public/Search/Filter/UserFilter.php Fixed
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch from ffc108b to 1f3f5e3CompareOctober 23, 2023 14:35
@ChristophWurstChristophWurst added the pending documentation This pull request needs an associated documentation update label Oct 23, 2023

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

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

Comment threadlib/public/Search/IFilterCollection.php Outdated
Comment threadlib/public/Search/IProviderV2.php Outdated
Comment threadlib/public/Search/IProviderV2.php Outdated
Comment threadlib/public/Search/Filter/UserFilter.php
Comment threadlib/public/Search/Filter/BooleanFilter.php
Comment threadcore/Controller/UnifiedSearchController.php Fixed
Comment threadcore/Controller/UnifiedSearchController.php Fixed
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch 3 times, most recently from 4e0cb1a to 50b397cCompareNovember 8, 2023 10:47

@provokateurinprovokateurin left a comment

Copy link
Copy Markdown
Member

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
Altahrimforce-pushed the feat/39162/advanced_search branch 2 times, most recently from 3e44339 to 70e8c78CompareNovember 8, 2023 15:53

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

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.

Comment threadlib/private/Search/SearchQuery.php
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch 7 times, most recently from 81db411 to 4accccfCompareNovember 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>
@Altahrim
Altahrimforce-pushed the feat/39162/advanced_search branch from 4accccf to ddb8b68CompareNovember 10, 2023 08:21
@ChristophWurst

Copy link
Copy Markdown
Member

CI is done

@Altahrim
Altahrim merged commit fa761b5 into masterNov 10, 2023
@Altahrim
Altahrim deleted the feat/39162/advanced_search branch November 10, 2023 09:42
@AltahrimAltahrim removed 2. developing Work in progress pending documentation This pull request needs an associated documentation update labels Mar 31, 2025
Sign up for freeto 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.

🔎 Allow event date and attendee search in advanced search 🔎 Allow contact and manager search in advanced search

5 participants

@Altahrim@ChristophWurst@provokateurin@github-advanced-security@come-nc