nextcloud/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 Update license headers for 19 2020-04-29 11:57:22 +02:00
Collaboration Update license headers for 19 2020-04-29 11:57:22 +02:00
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 Update license headers for 19 2020-04-29 11:57:22 +02:00
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 Update license headers for 19 2020-04-29 11:57:22 +02:00
Migration Update share type constant usage 2020-06-24 16:49:16 +02:00
Notification Update license headers for 19 2020-04-29 11:57:22 +02:00
Settings Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ShareBackend Use IBootstrap for the app federatedfilesharing 2020-07-14 16:34:43 +02:00
Cache.php Update license headers 2019-12-05 15:38:45 +01:00
Capabilities.php Update license headers 2019-12-05 15:38:45 +01:00
DeleteOrphanedSharesJob.php Update license headers for 19 2020-04-29 11:57:22 +02:00
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 Update license headers for 19 2020-04-29 11:57:22 +02:00
MountProvider.php Update share type constant usage 2020-06-24 16:49:16 +02:00
Scanner.php Add method to storage backends to get directory content with metadata 2020-04-20 15:45:04 +02:00
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