nextcloud/lib/private/Files/Cache
Arthur Schiwon b172df69d6 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>
2023-07-07 14:54:55 +00:00
..
Wrapper Fix return types in phpdoc 2023-05-15 17:28:31 +02:00
Cache.php Get rid of more int casts in file size manipulations 2023-05-15 17:26:18 +02:00
CacheEntry.php fix null error in getUnencryptedSize 2022-10-13 15:34:48 +02:00
CacheQueryBuilder.php refactor: remove where specification from SELECT getter 2023-05-16 12:47:15 +02:00
FailedCache.php use searchoperation for storage filter instead of db expression 2021-06-14 16:11:25 +02:00
HomeCache.php Fix return types in phpdoc 2023-05-15 17:28:31 +02:00
HomePropagator.php Update php licenses 2021-06-04 22:02:41 +02:00
LocalRootScanner.php Update php licenses 2021-06-04 22:02:41 +02:00
MoveFromCacheTrait.php Update php licenses 2021-06-04 22:02:41 +02:00
NullWatcher.php Update php licenses 2021-06-04 22:02:41 +02:00
Propagator.php fix: Check for wrapped retriable exceptions 2023-05-13 22:23:04 +00:00
QuerySearchHelper.php use efficient tag retrieval on DAV report request 2023-07-07 14:54:55 +00:00
Scanner.php Fix return types in phpdoc 2023-05-15 17:28:31 +02:00
SearchBuilder.php composer run cs:fix 2023-01-20 11:45:08 +01:00
Storage.php Fix Executing a query: SQLSTATE[42000] 2022-11-29 11:24:56 -06:00
StorageGlobal.php Fix typos in lib/private subdirectory 2022-07-27 08:52:17 -04:00
Updater.php fix: execute throws docrine exceptions not our wrapped ones 2023-05-26 07:46:25 +00:00
Watcher.php more reliable return value for Watcher::checkUpdate 2021-10-15 16:03:18 +02:00