aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Search
Commit message (Collapse)AuthorAgeFilesLines
* generate a better optimized query for path prefix search filtersRobin Appelman2021-08-262-0/+20
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use case insensitive like when limiting search to jailRobin Appelman2021-08-171-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-045-10/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* handle ordering in folder searchRobin Appelman2021-03-191-0/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* only require user to be set in a query that handles tagsRobin Appelman2021-03-181-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headers for 19Christoph Wurst2020-04-293-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-103-11/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-055-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add @since to limitToHomeRobin Appelman2019-12-031-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Allow filtering the search results to the users home storageRobin Appelman2019-12-031-0/+7
| | | | | | | | | | | | | | | | | | | | 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-065-0/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow searching for favoritesRobin Appelman2017-03-081-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add tests for searchQueryRobin Appelman2017-03-011-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Implement webdav SEARCHRobin Appelman2017-03-014-1/+36
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add icewind/searchdavRobin Appelman2017-02-285-0/+205
Signed-off-by: Robin Appelman <robin@icewind.nl>