nextcloud/lib/private
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
..
Accounts Create account structure also for empty record 2020-05-17 15:30:36 +02:00
Activity allow grouping of activity settings 2020-08-05 16:13:03 +02:00
App Allow to update to nightly 2020-08-07 13:51:39 +02:00
AppFramework Merge pull request #22133 from nextcloud/boot-app-once 2020-08-07 12:05:09 +02:00
Archive Update license headers for 19 2020-04-29 11:57:22 +02:00
Authentication Merge pull request #21344 from nextcloud/fix/twofactor-cleanup-event 2020-08-13 07:25:01 +02:00
Avatar Update license headers for 19 2020-04-29 11:57:22 +02:00
BackgroundJob Remove getLastJob from IJobList 2020-08-13 21:50:06 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Update license headers for 19 2020-04-29 11:57:22 +02:00
Collaboration Expose status via Collaborators API 2020-08-14 17:04:52 +02:00
Command Update license headers for 19 2020-04-29 11:57:22 +02:00
Comments Update license headers for 19 2020-04-29 11:57:22 +02:00
Console Update license headers for 19 2020-04-29 11:57:22 +02:00
Contacts/ContactsMenu contactsmanager shall limit number of results early 2020-07-31 12:42:17 +02:00
DB Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
Dashboard Refactor API to match the widget wording 2020-08-05 17:03:38 +02:00
Diagnostics Update license headers for 19 2020-04-29 11:57:22 +02:00
DirectEditing Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Encryption Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in files_external 2020-07-10 00:02:59 +02:00
EventDispatcher Deprecate the internal Symfony dispatcher adapter 2020-07-15 13:57:35 +02:00
Federation Update share type constant usage 2020-06-24 16:49:16 +02:00
Files Improve recent file fetching 2020-08-18 05:56:06 +02:00
FullTextSearch Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Search also the email and displayname in user mangement for groups 2020-08-05 14:14:05 +02:00
Hooks Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Http parse_url returns null in case a parameter is not found 2020-07-29 08:32:20 +02:00
IntegrityCheck Update license headers for 19 2020-04-29 11:57:22 +02:00
L10N Add a dedicated method to get the language for another user 2020-07-01 10:20:07 +02:00
Lock Merge pull request #21074 from jvsalo/shared-lock-multi-release 2020-07-06 14:06:41 +02:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Make the PSR-3 adapter exception-aware 2020-07-14 09:38:51 +02:00
Mail Fix header logo size in notification mails 2020-07-23 17:52:21 +02:00
Memcache Update license headers for 19 2020-04-29 11:57:22 +02:00
Migration Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Notification Allow notification apps to defer and flush the sending 2020-07-03 16:44:43 +02:00
OCS Update license headers for 19 2020-04-29 11:57:22 +02:00
Preview Always try and show pre rendered preview 2020-08-13 22:50:38 +02:00
Remote Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair Update share type constant usage 2020-06-24 16:49:16 +02:00
RichObjectStrings Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Route Hand in the route and the parameters of the request 2020-08-05 12:52:16 +00:00
Search Hand in the route and the parameters of the request 2020-08-05 12:52:16 +00:00
Security Prefer typed event over string based ones 2020-08-10 15:22:55 +02:00
Session Silence duplicate session warnings 2020-08-14 05:23:11 +02:00
Settings Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
Setup Update license headers for 19 2020-04-29 11:57:22 +02:00
Share Cascading effect - more code that now is not used anymore 2020-07-06 14:13:53 +02:00
Share20 Generate password by password_policy app 2020-08-11 21:58:51 +02:00
Support Make the subscription registry lazy 2020-07-09 12:21:06 +02:00
SystemTag Update license headers for 19 2020-04-29 11:57:22 +02:00
Tagging Update license headers for 19 2020-04-29 11:57:22 +02:00
Template Give up after 10 seconds in SCSS timeout 2020-06-19 14:39:31 +02:00
Updater Update license headers for 19 2020-04-29 11:57:22 +02:00
User User.php: rename of old dispatcher to legacyDispatcher 2020-07-30 10:21:08 +02:00
UserStatus Provide a PHP Api for UserStatus 2020-08-05 13:48:46 +02:00
legacy Merge pull request #22271 from nextcloud/phpdoc/22063/add-interface-method-and-phpdoc 2020-08-17 19:34:56 +02:00
AllConfig.php Define getSystemValueBool/Int/String function default parameter with correct type 2020-04-29 14:19:52 +02:00
AppConfig.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CapabilitiesManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Color.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Config.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ContactsManager.php More imports 2020-06-22 11:10:44 +02:00
DatabaseException.php Update license headers 2019-12-05 15:38:45 +01:00
DatabaseSetupException.php Update license headers 2019-12-05 15:38:45 +01:00
DateTimeFormatter.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
DateTimeZone.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ForbiddenException.php Update license headers 2019-12-05 15:38:45 +01:00
HintException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateService.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Installer.php Allow to update to nightly 2020-08-07 13:51:39 +02:00
LargeFileHelper.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
Log.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MemoryInfo.php Update license headers for 19 2020-04-29 11:57:22 +02:00
NaturalSort.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NaturalSort_DefaultCollator.php Update license headers 2019-12-05 15:38:45 +01:00
NavigationManager.php Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
NeedsUpdateException.php Update license headers 2019-12-05 15:38:45 +01:00
NotSquareException.php Update license headers 2019-12-05 15:38:45 +01:00
PreviewManager.php Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
PreviewNotAvailableException.php Update license headers 2019-12-05 15:38:45 +01:00
RedisFactory.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair.php Remove obsolete repair steps for logo and updater channel 2020-04-24 09:57:52 +02:00
RepairException.php Update license headers 2019-12-05 15:38:45 +01:00
Search.php Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
Server.php Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
ServerContainer.php Fix overwriteService() for apps 2020-07-28 09:38:43 +02:00
ServerNotAvailableException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServiceUnavailableException.php Update license headers 2019-12-05 15:38:45 +01:00
Setup.php Add audio formats to htaccess 2020-06-24 20:33:51 -07:00
Streamer.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SubAdmin.php Don't loop over all groups to check for subadmins 2020-04-27 08:37:53 +02:00
SystemConfig.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
TagManager.php Tags.php and the old sharing mechanism 2020-07-06 14:12:12 +02:00
Tags.php merge file activity settings into a single 'favorite changed' item 2020-08-13 00:01:34 +02:00
TempManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TemplateLayout.php Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
URLGenerator.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Updater.php Update license headers for 19 2020-04-29 11:57:22 +02:00