nextcloud/apps/workflowengine/lib/Check
Carl Schwan 31fb8d0c71 Optimize FileSystemTags workflow for groupfolder
In https://github.com/nextcloud/server/pull/28774 we disabled the
caching for the groupfolder application since it worked due to the fact
that in groupfolders, getFileIds could be called with the same $cacheId
and path for actually different groupfolders.

This revert this change and instead add the folderId from the
groupFolder to the cacheId. This solve the issue of the uniqueness of
the cacheId inside GroupFolder. Downside is that we introduce
groupfolder specific implementation inside the server repo.

The seconf optimization is to not consider paths starting with
__groupfolders in executeCheck. This is due to the fact that files in
the groupfolder application call two times executeCheck one time with
the url __groupfolder/<folderId>/<path> and the other time with <path>.
The first time will always return an empty systemTags array while the
second call will return the correct system tags.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:16:51 +00:00
..
AbstractStringCheck.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
FileMimeType.php Detect mimetype by content only with content 2021-10-27 13:47:31 +00:00
FileName.php consider local external storages, too 2020-12-15 11:50:04 +01:00
FileSize.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
FileSystemTags.php Optimize FileSystemTags workflow for groupfolder 2022-01-14 14:16:51 +00:00
RequestRemoteAddress.php Update urls to stackoverflow.com to "HTTPS" 2020-09-17 17:38:27 +02:00
RequestTime.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
RequestURL.php Fix RequestURL check for cli commands 2022-01-12 09:07:01 +00:00
RequestUserAgent.php Remove unneeded casts that were found by Psalm 2021-01-11 13:14:41 +01:00
TFileCheck.php Use a blank line after the opening tag 2020-04-09 11:50:14 +02:00
UserGroupMembership.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00