nextcloud/lib/private/Files
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
..
AppData Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache dont update mimetype when moving to trash 2020-07-30 16:11:45 +02:00
Config Properly add new methods to interface and document in PHPDoc for getRootMounts() 2020-08-17 17:13:46 +02:00
Mount Add config option to enable multibucket preview distribution 2020-08-06 22:31:39 +02:00
Node Improve recent file fetching 2020-08-18 05:56:06 +02:00
Notify Update license headers 2019-12-05 15:38:45 +01:00
ObjectStore Distribute preview folders in appdata in multibucket setup to multiple buckets 2020-08-06 22:19:20 +02:00
Search Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
SimpleFS Update license headers for 19 2020-04-29 11:57:22 +02:00
Storage Merge pull request #21677 from J0WI/clearstatcache-on-rmdir 2020-08-05 23:03:06 +02:00
Stream Update license headers for 19 2020-04-29 11:57:22 +02:00
Type Extra white space to follow other ifs 2020-07-15 10:18:47 +02:00
Utils Add visibility to all constants 2020-04-10 16:54:27 +02:00
FileInfo.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Filesystem.php ensure home storage is initialized on first setup 2020-07-09 11:14:45 +02:00
View.php Update license headers for 19 2020-04-29 11:57:22 +02:00