nextcloud-server/apps/files_sharing/lib
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
..
Activity merge file activity settings into a single 'favorite changed' item 2020-08-13 00:01:34 +02:00
AppInfo Move federated_share_added into a typed event 2020-07-23 08:33:17 +02:00
BackgroundJob
Collaboration
Command Also always return in app commands 2020-06-26 15:12:11 +02:00
Controller Merge pull request #22109 from nextcloud/feature/20931/followup-1 2020-08-17 22:13:45 +02:00
Event Better event description for BeforeTemplateRenderedEvent in files and files_sharing 2020-07-15 20:15:51 +02:00
Exceptions
External When no user is logged in null is used 2020-07-29 09:42:54 +02:00
Listener Add BeforeTemplateRenderedEvent for files_sharing 2020-07-15 13:55:26 +02:00
Middleware
Migration Update share type constant usage 2020-06-24 16:49:16 +02:00
Notification
Settings
ShareBackend Use IBootstrap for the app federatedfilesharing 2020-07-14 16:34:43 +02:00
Cache.php
Capabilities.php
DeleteOrphanedSharesJob.php
ExpireSharesJob.php Update share type constant usage 2020-06-24 16:49:16 +02:00
Helper.php Fix some MissingDocblockType or InvalidDocblock warnings. 2020-08-14 15:10:48 +02:00
Hooks.php Move federated_share_added into a typed event 2020-07-23 08:33:17 +02:00
ISharedStorage.php
MountProvider.php Update share type constant usage 2020-06-24 16:49:16 +02:00
Scanner.php
SharedMount.php Fix some MissingDocblockType or InvalidDocblock warnings. 2020-08-14 15:10:48 +02:00
SharedStorage.php Improve recent file fetching 2020-08-18 05:56:06 +02:00
Updater.php Update share type constant usage 2020-06-24 16:49:16 +02:00