nextcloud-server/apps/files_sharing
Roeland Jago Douma 6ed4c8a946
Improve recent file fetching
Fixes #16876

Before we'd just fetch everything from all storages we'd have access to.
Then we'd sort. And filter in php. Now this of course is tricky if a
user shared just a file with you and then has a ton of activity.

Now we try to contruct the prefix path. So that the filtering can happen
right away in the databae.

Now this will make the DB more busy. But it should help overall as in
most cases less queries are needed then etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-18 05:56:06 +02:00
..
appinfo
composer move share notifcation settings to files group 2020-08-13 00:01:30 +02:00
css
img
js Display user-status in sharing list 2020-08-17 21:55:29 +02:00
l10n [tx-robot] updated from transifex 2020-08-18 02:17:28 +00:00
lib Improve recent file fetching 2020-08-18 05:56:06 +02:00
src Display user-status in sharing list 2020-08-17 21:55:29 +02:00
templates Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
tests Expose status via Collaborators API 2020-08-14 17:04:52 +02:00
.l10nignore
list.php
public.php
webpack.js