aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller/UnifiedSearchController.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(core): Replace security annotations with respective attributesprovokateurin2024-07-261-6/+6
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(core): use OC namespace for core ReponseDefinitions instead of OCAJulien CHATY-CAPELLE2024-07-151-1/+1
| | | | Signed-off-by: Julien CHATY-CAPELLE <julien@chaty-capelle.fr>
* chore: Add SPDX headerAndy Scherzinger2024-05-271-22/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(search): Limit maximum number of search resultsJoas Schilling2024-05-151-2/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor(core): Switch to attribute based routingprovokateurin2024-02-211-0/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Fix invalid users/groups handling in advanced searchBenjamin Gaussorgues2023-11-151-1/+2
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(search): Allow multiple search terms in UnifiedControllerBenjamin Gaussorgues2023-11-101-13/+22
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(unifiedsearch): Allow searching for "0"Christoph Wurst2023-09-281-1/+1
| | | | | | empty("0") evaluates to true Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add single status code descriptions for OpenAPIjld31032023-09-271-0/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* core: Add OpenAPI specjld31032023-07-131-8/+22
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Applies agreed-upon indentation convention to the changed controllers.Faraz Samapoor2023-06-201-5/+7
| | | | | | Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753 Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Refactors controllers by using PHP8's constructor property promotion.Faraz Samapoor2023-06-201-14/+4
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Update core to PHP 7.4 standardCarl Schwan2022-05-201-14/+4
| | | | | | | - Typed properties - Port to LoggerInterface Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Use IURLGenerator function to get value of `\OC::$WEBROOT` globalJonas Meurer2021-08-161-2/+8
| | | | Signed-off-by: Jonas Meurer <jonas@freesources.org>
* UnifiedSearchController: strip webroot from URL before finding a routeJonas Meurer2021-08-161-1/+9
| | | | | | | | This should fix route matching in UnifiedSearchController on setups with Nextcloud in a subfolder (webroot). Fixes: #24144 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add an ETag for the search providersJoas Schilling2020-09-151-3/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move unified search to OCS apiJoas Schilling2020-09-071-10/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-2/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Hand in the route and the parameters of the requestJoas Schilling2020-08-051-7/+55
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make apps handle the order logicJohn Molakvoæ (skjnldsv)2020-08-051-2/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-031-1/+1
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Add unified search APIChristoph Wurst2020-06-241-0/+98
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>