aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Search
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-193-3/+3
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-4/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2413-133/+38
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: handle cases where non-binary operators are mixed in for optimizing ↵Robin Appelman2024-03-041-38/+15
| | | | | | search queries Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: don't short circuit query optimizerRobin Appelman2024-03-041-1/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add some comments for the distributive operation and add another testRobin Appelman2024-02-161-4/+23
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add extra flatten step to improve "or eq" -> "in" optimizationRobin Appelman2024-02-151-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix types + autoloaderRobin Appelman2024-02-152-5/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add a search query step to split IN statements that are to large for ociRobin Appelman2024-02-152-0/+34
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* hopefully improve propagation of 'path eq hash' hint into 'in' statementsRobin Appelman2024-02-152-4/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* optimize query pattern used by storage filterRobin Appelman2024-02-158-10/+287
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* accept boolean valueMaxence Lange2023-11-221-3/+3
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* IFilesMetadataMaxence Lange2023-11-073-13/+15
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* IFilesMetadataMaxence Lange2023-11-073-36/+37
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* extend path-prefix optimizer to remove all cases of path_hash= when ↵Robin Appelman2023-01-113-13/+58
| | | | | | encountering a path prefix filter Signed-off-by: Robin Appelman <robin@icewind.nl>
* escape path prefix when doing cache jail searchRobin Appelman2022-11-022-6/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* generate a better optimized query for path prefix search filtersRobin Appelman2021-08-265-0/+158
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-044-8/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* handle ordering in folder searchRobin Appelman2021-03-191-0/+25
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* only require user to be set in a query that handles tagsRobin Appelman2021-03-181-4/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-054-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow filtering the search results to the users home storageRobin Appelman2019-12-031-1/+15
| | | | | | | | | | | | | | | | | | | | This is done by adding a ```xml <d:eq> <d:prop> <oc:owner-id/> </d:prop> <d:literal>$userId</d:literal> </d:eq> ``` clause to the search query. Searching by `owner-id` can only be done with the current user id and the comparison can not be inside a `<d:not>` or `<d:or>` statement Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersMorris Jobke2017-11-064-0/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow searching for favoritesRobin Appelman2017-03-081-1/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Implement webdav SEARCHRobin Appelman2017-03-012-0/+94
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add icewind/searchdavRobin Appelman2017-02-284-0/+167
Signed-off-by: Robin Appelman <robin@icewind.nl>