diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-04-28 14:09:22 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-07-07 14:54:55 +0000 |
commit | b172df69d68158bf71b79a8acdbb6629e27d2ee2 (patch) | |
tree | 17790dd9c53b8205c67405f62e5e47c732ead1e1 /core | |
parent | 54fb0569cf436832b390c187f87cad7bfeda55a5 (diff) | |
download | nextcloud-server-b172df69d68158bf71b79a8acdbb6629e27d2ee2.tar.gz nextcloud-server-b172df69d68158bf71b79a8acdbb6629e27d2ee2.zip |
use efficient tag retrieval on DAV report request
- uses DAV search approach against valid files joined by systemtag selector
- reduced table join for tag/systemtag search
- supports pagination
- no changes to the output formats or similar
Example request body:
<?xml version="1.0"?>
<oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns" xmlns:ocs="http://open-collaboration-services.org/ns">
<d:prop>
<d:getcontentlength/>
<d:getcontenttype/>
<d:getetag/>
<d:getlastmodified/>
<d:resourcetype/>
<nc:face-detections/>
<nc:file-metadata-size/>
<nc:has-preview/>
<nc:realpath/>
<oc:favorite/>
<oc:fileid/>
<oc:permissions/>
<nc:nbItems/>
</d:prop>
<oc:filter-rules>
<oc:systemtag>32</oc:systemtag>
</oc:filter-rules>
<d:limit>
<d:nresults>50</d:nresults>
<nc:firstresult>0</nc:firstresult>
</d:limit>
</oc:filter-files>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions