nextcloud/apps/workflowengine
Carl Schwan 1f392d666a
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-13 10:39:32 +01:00
..
appinfo Master is now 24 2021-11-11 10:11:09 +01:00
composer Update to composer 2.1.11 2021-11-04 12:30:11 +01:00
img Add Flow app icon 2019-11-07 17:09:32 +01:00
l10n Removed obselete language files 2022-01-09 22:01:52 +01:00
lib Optimize FileSystemTags workflow for groupfolder 2022-01-13 10:39:32 +01:00
src Replace license information to SPDX expression 2022-01-11 17:26:40 +01:00
templates Remove unused stylesheets from workflowengine 2019-10-29 18:03:53 +01:00
tests Update php licenses 2021-06-04 22:02:41 +02:00
.l10nignore Update .l10nignore for apps to exclude bundled JS files 2020-09-15 12:28:43 +02:00