nextcloud/apps
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
..
accessibility Fix some MissingDocblockType or InvalidDocblock warnings. 2020-08-14 15:10:48 +02:00
admin_audit Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
cloud_federation_api Move cloud_federation_api to bootstrap mechanism 2020-07-08 09:53:05 +02:00
comments Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
contactsinteraction Add some tests for RecentContactMapper 2020-08-12 12:16:25 +02:00
dashboard Bump outdated dashboard bundles 2020-08-13 10:10:40 +02:00
dav Fix some MissingDocblockType or InvalidDocblock warnings. 2020-08-14 15:10:48 +02:00
encryption Fix some MissingDocblockType or InvalidDocblock warnings. 2020-08-14 15:10:48 +02:00
federatedfilesharing Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
federation Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
files [tx-robot] updated from transifex 2020-08-18 02:17:28 +00:00
files_external [tx-robot] updated from transifex 2020-08-18 02:17:28 +00:00
files_sharing Improve recent file fetching 2020-08-18 05:56:06 +02:00
files_trashbin Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
files_versions [tx-robot] updated from transifex 2020-08-13 02:16:38 +00:00
lookup_server_connector Use the proper IAppContainer and IServerContainer type hints to know which code runs with which container 2020-07-21 20:44:05 +02:00
oauth2 [tx-robot] updated from transifex 2020-08-18 02:17:28 +00:00
provisioning_api Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
settings [tx-robot] updated from transifex 2020-08-18 02:17:28 +00:00
sharebymail Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
systemtags Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
testing Use IBootstrap for the testing app 2020-07-22 22:28:04 +02:00
theming Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
twofactor_backupcodes Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00
updatenotification [tx-robot] updated from transifex 2020-08-18 02:17:28 +00:00
user_ldap Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
user_status Merge pull request #22273 from nextcloud/bugfix/noid/status-nonexisting-icon 2020-08-17 22:18:43 +02:00
workflowengine Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject 2020-08-12 13:55:19 +02:00