Feed: Do not query and display data of uninstalled applications
Summary:
Make it less likely to run into a "Query overheated" error in the Feed Transaction Log by not querying data of applications that got uninstalled and thus are not accessible anymore anyway.
Mitigates T15642
Test Plan:
* Install D25500
* Create 900 tasks with a View Policy set to User1
* As an admin, uninstall Maniphest via `/applications/view/PhabricatorManiphestApplication/`
* Log into Phorge as User2; go to `/feed/transactions/query/all/` and see no "Query overheated" anymore due to no Maniphest task activity listed in transaction feed query results anymore
* Set "Can Use Application" on `/applications/view/PhabricatorManiphestApplication/` to `Administrators`
* Perform steps above as non-admin
Reviewers: O1 Blessed Committers, valerio.bozzolan, 20after4, mainframe98
Reviewed By: O1 Blessed Committers, valerio.bozzolan, 20after4, mainframe98
Subscribers: mainframe98, 20after4, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno
Maniphest Tasks: T15642
Differential Revision: https://we.phorge.it/D25501
authored by