diff --git a/src/applications/almanac/query/AlmanacBindingTransactionQuery.php b/src/applications/almanac/query/AlmanacBindingTransactionQuery.php index 2b002e4f4a..55682cf7bc 100644 --- a/src/applications/almanac/query/AlmanacBindingTransactionQuery.php +++ b/src/applications/almanac/query/AlmanacBindingTransactionQuery.php @@ -7,4 +7,8 @@ final class AlmanacBindingTransactionQuery return new AlmanacBindingTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAlmanacApplication::class; + } + } diff --git a/src/applications/almanac/query/AlmanacDeviceTransactionQuery.php b/src/applications/almanac/query/AlmanacDeviceTransactionQuery.php index 8b50fa85e5..8d12b526c9 100644 --- a/src/applications/almanac/query/AlmanacDeviceTransactionQuery.php +++ b/src/applications/almanac/query/AlmanacDeviceTransactionQuery.php @@ -7,4 +7,8 @@ final class AlmanacDeviceTransactionQuery return new AlmanacDeviceTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAlmanacApplication::class; + } + } diff --git a/src/applications/almanac/query/AlmanacInterfaceTransactionQuery.php b/src/applications/almanac/query/AlmanacInterfaceTransactionQuery.php index ef8d3961d2..0a0925e0a1 100644 --- a/src/applications/almanac/query/AlmanacInterfaceTransactionQuery.php +++ b/src/applications/almanac/query/AlmanacInterfaceTransactionQuery.php @@ -7,4 +7,8 @@ final class AlmanacInterfaceTransactionQuery return new AlmanacInterfaceTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAlmanacApplication::class; + } + } diff --git a/src/applications/almanac/query/AlmanacNamespaceTransactionQuery.php b/src/applications/almanac/query/AlmanacNamespaceTransactionQuery.php index 64ce639f45..f261a474de 100644 --- a/src/applications/almanac/query/AlmanacNamespaceTransactionQuery.php +++ b/src/applications/almanac/query/AlmanacNamespaceTransactionQuery.php @@ -7,4 +7,8 @@ final class AlmanacNamespaceTransactionQuery return new AlmanacNamespaceTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAlmanacApplication::class; + } + } diff --git a/src/applications/almanac/query/AlmanacNetworkTransactionQuery.php b/src/applications/almanac/query/AlmanacNetworkTransactionQuery.php index 7be51efec0..d49408b63d 100644 --- a/src/applications/almanac/query/AlmanacNetworkTransactionQuery.php +++ b/src/applications/almanac/query/AlmanacNetworkTransactionQuery.php @@ -7,4 +7,8 @@ final class AlmanacNetworkTransactionQuery return new AlmanacNetworkTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAlmanacApplication::class; + } + } diff --git a/src/applications/almanac/query/AlmanacServiceTransactionQuery.php b/src/applications/almanac/query/AlmanacServiceTransactionQuery.php index 96bf93377b..4ca6b3caa7 100644 --- a/src/applications/almanac/query/AlmanacServiceTransactionQuery.php +++ b/src/applications/almanac/query/AlmanacServiceTransactionQuery.php @@ -7,4 +7,8 @@ final class AlmanacServiceTransactionQuery return new AlmanacServiceTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAlmanacApplication::class; + } + } diff --git a/src/applications/audit/query/PhabricatorAuditTransactionQuery.php b/src/applications/audit/query/PhabricatorAuditTransactionQuery.php index 5966f1cc45..05741466f0 100644 --- a/src/applications/audit/query/PhabricatorAuditTransactionQuery.php +++ b/src/applications/audit/query/PhabricatorAuditTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorAuditTransactionQuery return new PhabricatorAuditTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAuditApplication::class; + } + } diff --git a/src/applications/auth/query/PhabricatorAuthContactNumberTransactionQuery.php b/src/applications/auth/query/PhabricatorAuthContactNumberTransactionQuery.php index a443cbab42..6cadf8f055 100644 --- a/src/applications/auth/query/PhabricatorAuthContactNumberTransactionQuery.php +++ b/src/applications/auth/query/PhabricatorAuthContactNumberTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorAuthContactNumberTransactionQuery return new PhabricatorAuthContactNumberTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAuthApplication::class; + } + } diff --git a/src/applications/auth/query/PhabricatorAuthFactorProviderTransactionQuery.php b/src/applications/auth/query/PhabricatorAuthFactorProviderTransactionQuery.php index 5add1345c4..e0402ec557 100644 --- a/src/applications/auth/query/PhabricatorAuthFactorProviderTransactionQuery.php +++ b/src/applications/auth/query/PhabricatorAuthFactorProviderTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorAuthFactorProviderTransactionQuery return new PhabricatorAuthFactorProviderTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAuthApplication::class; + } + } diff --git a/src/applications/auth/query/PhabricatorAuthMessageTransactionQuery.php b/src/applications/auth/query/PhabricatorAuthMessageTransactionQuery.php index 0b2ce79db3..25a2b81b82 100644 --- a/src/applications/auth/query/PhabricatorAuthMessageTransactionQuery.php +++ b/src/applications/auth/query/PhabricatorAuthMessageTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorAuthMessageTransactionQuery return new PhabricatorAuthMessageTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAuthApplication::class; + } + } diff --git a/src/applications/auth/query/PhabricatorAuthPasswordTransactionQuery.php b/src/applications/auth/query/PhabricatorAuthPasswordTransactionQuery.php index 519b6aa77b..2ad7bb70ff 100644 --- a/src/applications/auth/query/PhabricatorAuthPasswordTransactionQuery.php +++ b/src/applications/auth/query/PhabricatorAuthPasswordTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorAuthPasswordTransactionQuery return new PhabricatorAuthPasswordTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAuthApplication::class; + } + } diff --git a/src/applications/auth/query/PhabricatorAuthProviderConfigTransactionQuery.php b/src/applications/auth/query/PhabricatorAuthProviderConfigTransactionQuery.php index 68c14e71fa..b517c4f57e 100644 --- a/src/applications/auth/query/PhabricatorAuthProviderConfigTransactionQuery.php +++ b/src/applications/auth/query/PhabricatorAuthProviderConfigTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorAuthProviderConfigTransactionQuery return new PhabricatorAuthProviderConfigTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAuthApplication::class; + } + } diff --git a/src/applications/auth/query/PhabricatorAuthSSHKeyTransactionQuery.php b/src/applications/auth/query/PhabricatorAuthSSHKeyTransactionQuery.php index 397a03f2b0..ea2602dc9f 100644 --- a/src/applications/auth/query/PhabricatorAuthSSHKeyTransactionQuery.php +++ b/src/applications/auth/query/PhabricatorAuthSSHKeyTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorAuthSSHKeyTransactionQuery return new PhabricatorAuthSSHKeyTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorAuthApplication::class; + } + } diff --git a/src/applications/badges/query/PhabricatorBadgesTransactionQuery.php b/src/applications/badges/query/PhabricatorBadgesTransactionQuery.php index bbe86fe3fa..7ad887cc97 100644 --- a/src/applications/badges/query/PhabricatorBadgesTransactionQuery.php +++ b/src/applications/badges/query/PhabricatorBadgesTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorBadgesTransactionQuery return new PhabricatorBadgesTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorBadgesApplication::class; + } + } diff --git a/src/applications/calendar/query/PhabricatorCalendarEventTransactionQuery.php b/src/applications/calendar/query/PhabricatorCalendarEventTransactionQuery.php index cc465752fb..989e812ffc 100644 --- a/src/applications/calendar/query/PhabricatorCalendarEventTransactionQuery.php +++ b/src/applications/calendar/query/PhabricatorCalendarEventTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorCalendarEventTransactionQuery return new PhabricatorCalendarEventTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorCalendarApplication::class; + } + } diff --git a/src/applications/calendar/query/PhabricatorCalendarExportTransactionQuery.php b/src/applications/calendar/query/PhabricatorCalendarExportTransactionQuery.php index 32b9d71b65..5858a20f58 100644 --- a/src/applications/calendar/query/PhabricatorCalendarExportTransactionQuery.php +++ b/src/applications/calendar/query/PhabricatorCalendarExportTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorCalendarExportTransactionQuery return new PhabricatorCalendarExportTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorCalendarApplication::class; + } + } diff --git a/src/applications/calendar/query/PhabricatorCalendarImportTransactionQuery.php b/src/applications/calendar/query/PhabricatorCalendarImportTransactionQuery.php index 123ec9b3c4..bad8217b66 100644 --- a/src/applications/calendar/query/PhabricatorCalendarImportTransactionQuery.php +++ b/src/applications/calendar/query/PhabricatorCalendarImportTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorCalendarImportTransactionQuery return new PhabricatorCalendarImportTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorCalendarApplication::class; + } + } diff --git a/src/applications/config/query/PhabricatorConfigTransactionQuery.php b/src/applications/config/query/PhabricatorConfigTransactionQuery.php index 16ab2b47d6..c34f730410 100644 --- a/src/applications/config/query/PhabricatorConfigTransactionQuery.php +++ b/src/applications/config/query/PhabricatorConfigTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorConfigTransactionQuery return new PhabricatorConfigTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorConfigApplication::class; + } + } diff --git a/src/applications/conpherence/query/ConpherenceTransactionQuery.php b/src/applications/conpherence/query/ConpherenceTransactionQuery.php index d227217cb4..4e570d72ee 100644 --- a/src/applications/conpherence/query/ConpherenceTransactionQuery.php +++ b/src/applications/conpherence/query/ConpherenceTransactionQuery.php @@ -7,4 +7,8 @@ final class ConpherenceTransactionQuery return new ConpherenceTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorConpherenceApplication::class; + } + } diff --git a/src/applications/countdown/query/PhabricatorCountdownTransactionQuery.php b/src/applications/countdown/query/PhabricatorCountdownTransactionQuery.php index 11c10a72eb..7a840ac4ab 100644 --- a/src/applications/countdown/query/PhabricatorCountdownTransactionQuery.php +++ b/src/applications/countdown/query/PhabricatorCountdownTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorCountdownTransactionQuery return new PhabricatorCountdownTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorCountdownApplication::class; + } + } diff --git a/src/applications/dashboard/query/PhabricatorDashboardPanelTransactionQuery.php b/src/applications/dashboard/query/PhabricatorDashboardPanelTransactionQuery.php index 9a192485c1..ad77844189 100644 --- a/src/applications/dashboard/query/PhabricatorDashboardPanelTransactionQuery.php +++ b/src/applications/dashboard/query/PhabricatorDashboardPanelTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorDashboardPanelTransactionQuery return new PhabricatorDashboardPanelTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDashboardApplication::class; + } + } diff --git a/src/applications/dashboard/query/PhabricatorDashboardPortalTransactionQuery.php b/src/applications/dashboard/query/PhabricatorDashboardPortalTransactionQuery.php index f4dff94088..6daf2f8869 100644 --- a/src/applications/dashboard/query/PhabricatorDashboardPortalTransactionQuery.php +++ b/src/applications/dashboard/query/PhabricatorDashboardPortalTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorDashboardPortalTransactionQuery return new PhabricatorDashboardPortalTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDashboardApplication::class; + } + } diff --git a/src/applications/dashboard/query/PhabricatorDashboardTransactionQuery.php b/src/applications/dashboard/query/PhabricatorDashboardTransactionQuery.php index e445f4a13e..0917ae0f9e 100644 --- a/src/applications/dashboard/query/PhabricatorDashboardTransactionQuery.php +++ b/src/applications/dashboard/query/PhabricatorDashboardTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorDashboardTransactionQuery return new PhabricatorDashboardTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDashboardApplication::class; + } + } diff --git a/src/applications/differential/query/DifferentialDiffTransactionQuery.php b/src/applications/differential/query/DifferentialDiffTransactionQuery.php index c9da0bab61..e7a245f4f2 100644 --- a/src/applications/differential/query/DifferentialDiffTransactionQuery.php +++ b/src/applications/differential/query/DifferentialDiffTransactionQuery.php @@ -7,4 +7,8 @@ final class DifferentialDiffTransactionQuery return new DifferentialDiffTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDifferentialApplication::class; + } + } diff --git a/src/applications/differential/query/DifferentialTransactionQuery.php b/src/applications/differential/query/DifferentialTransactionQuery.php index d413782301..b7cf395f95 100644 --- a/src/applications/differential/query/DifferentialTransactionQuery.php +++ b/src/applications/differential/query/DifferentialTransactionQuery.php @@ -7,4 +7,8 @@ final class DifferentialTransactionQuery return new DifferentialTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDifferentialApplication::class; + } + } diff --git a/src/applications/diviner/query/DivinerLiveBookTransactionQuery.php b/src/applications/diviner/query/DivinerLiveBookTransactionQuery.php index e3ce6d41d7..b552417430 100644 --- a/src/applications/diviner/query/DivinerLiveBookTransactionQuery.php +++ b/src/applications/diviner/query/DivinerLiveBookTransactionQuery.php @@ -7,4 +7,8 @@ final class DivinerLiveBookTransactionQuery return new DivinerLiveBookTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDivinerApplication::class; + } + } diff --git a/src/applications/drydock/query/DrydockBlueprintTransactionQuery.php b/src/applications/drydock/query/DrydockBlueprintTransactionQuery.php index f2d70a692e..d6652412b8 100644 --- a/src/applications/drydock/query/DrydockBlueprintTransactionQuery.php +++ b/src/applications/drydock/query/DrydockBlueprintTransactionQuery.php @@ -7,4 +7,8 @@ final class DrydockBlueprintTransactionQuery return new DrydockBlueprintTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDrydockApplication::class; + } + } diff --git a/src/applications/files/query/PhabricatorFileTransactionQuery.php b/src/applications/files/query/PhabricatorFileTransactionQuery.php index 72bca16d60..33360b04b5 100644 --- a/src/applications/files/query/PhabricatorFileTransactionQuery.php +++ b/src/applications/files/query/PhabricatorFileTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorFileTransactionQuery return new PhabricatorFileTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorFilesApplication::class; + } + } diff --git a/src/applications/fund/query/FundBackerTransactionQuery.php b/src/applications/fund/query/FundBackerTransactionQuery.php index 9ba1506add..15b493ab39 100644 --- a/src/applications/fund/query/FundBackerTransactionQuery.php +++ b/src/applications/fund/query/FundBackerTransactionQuery.php @@ -7,4 +7,8 @@ final class FundBackerTransactionQuery return new FundBackerTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorFundApplication::class; + } + } diff --git a/src/applications/fund/query/FundInitiativeTransactionQuery.php b/src/applications/fund/query/FundInitiativeTransactionQuery.php index 3c178ec645..a35b7d92c1 100644 --- a/src/applications/fund/query/FundInitiativeTransactionQuery.php +++ b/src/applications/fund/query/FundInitiativeTransactionQuery.php @@ -7,4 +7,8 @@ final class FundInitiativeTransactionQuery return new FundInitiativeTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorFundApplication::class; + } + } diff --git a/src/applications/harbormaster/query/HarbormasterBuildPlanTransactionQuery.php b/src/applications/harbormaster/query/HarbormasterBuildPlanTransactionQuery.php index a69365e01f..d67220fcb2 100644 --- a/src/applications/harbormaster/query/HarbormasterBuildPlanTransactionQuery.php +++ b/src/applications/harbormaster/query/HarbormasterBuildPlanTransactionQuery.php @@ -7,4 +7,8 @@ final class HarbormasterBuildPlanTransactionQuery return new HarbormasterBuildPlanTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorHarbormasterApplication::class; + } + } diff --git a/src/applications/harbormaster/query/HarbormasterBuildStepTransactionQuery.php b/src/applications/harbormaster/query/HarbormasterBuildStepTransactionQuery.php index b61f94dd6c..6be73c5b6e 100644 --- a/src/applications/harbormaster/query/HarbormasterBuildStepTransactionQuery.php +++ b/src/applications/harbormaster/query/HarbormasterBuildStepTransactionQuery.php @@ -7,4 +7,8 @@ final class HarbormasterBuildStepTransactionQuery return new HarbormasterBuildStepTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorHarbormasterApplication::class; + } + } diff --git a/src/applications/harbormaster/query/HarbormasterBuildTransactionQuery.php b/src/applications/harbormaster/query/HarbormasterBuildTransactionQuery.php index 2d697f1ad2..bfed10f110 100644 --- a/src/applications/harbormaster/query/HarbormasterBuildTransactionQuery.php +++ b/src/applications/harbormaster/query/HarbormasterBuildTransactionQuery.php @@ -7,4 +7,8 @@ final class HarbormasterBuildTransactionQuery return new HarbormasterBuildTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorHarbormasterApplication::class; + } + } diff --git a/src/applications/harbormaster/query/HarbormasterBuildableTransactionQuery.php b/src/applications/harbormaster/query/HarbormasterBuildableTransactionQuery.php index c6aeccc198..cccc794529 100644 --- a/src/applications/harbormaster/query/HarbormasterBuildableTransactionQuery.php +++ b/src/applications/harbormaster/query/HarbormasterBuildableTransactionQuery.php @@ -7,4 +7,8 @@ final class HarbormasterBuildableTransactionQuery return new HarbormasterBuildableTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorHarbormasterApplication::class; + } + } diff --git a/src/applications/herald/query/HeraldTransactionQuery.php b/src/applications/herald/query/HeraldTransactionQuery.php index ac33da2070..97fff6407d 100644 --- a/src/applications/herald/query/HeraldTransactionQuery.php +++ b/src/applications/herald/query/HeraldTransactionQuery.php @@ -7,4 +7,8 @@ final class HeraldTransactionQuery return new HeraldRuleTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorHeraldApplication::class; + } + } diff --git a/src/applications/herald/query/HeraldWebhookTransactionQuery.php b/src/applications/herald/query/HeraldWebhookTransactionQuery.php index b812305e56..2ca5f0ad5d 100644 --- a/src/applications/herald/query/HeraldWebhookTransactionQuery.php +++ b/src/applications/herald/query/HeraldWebhookTransactionQuery.php @@ -7,4 +7,8 @@ final class HeraldWebhookTransactionQuery return new HeraldWebhookTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorHeraldApplication::class; + } + } diff --git a/src/applications/legalpad/query/LegalpadTransactionQuery.php b/src/applications/legalpad/query/LegalpadTransactionQuery.php index e4234d16a7..e0555fcd28 100644 --- a/src/applications/legalpad/query/LegalpadTransactionQuery.php +++ b/src/applications/legalpad/query/LegalpadTransactionQuery.php @@ -7,4 +7,8 @@ final class LegalpadTransactionQuery return new LegalpadTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorLegalpadApplication::class; + } + } diff --git a/src/applications/macro/query/PhabricatorMacroTransactionQuery.php b/src/applications/macro/query/PhabricatorMacroTransactionQuery.php index 5ff9348c12..4c1baf640d 100644 --- a/src/applications/macro/query/PhabricatorMacroTransactionQuery.php +++ b/src/applications/macro/query/PhabricatorMacroTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorMacroTransactionQuery return new PhabricatorMacroTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorMacroApplication::class; + } + } diff --git a/src/applications/maniphest/query/ManiphestTransactionQuery.php b/src/applications/maniphest/query/ManiphestTransactionQuery.php index 9826107b77..b29c0652a4 100644 --- a/src/applications/maniphest/query/ManiphestTransactionQuery.php +++ b/src/applications/maniphest/query/ManiphestTransactionQuery.php @@ -7,4 +7,8 @@ final class ManiphestTransactionQuery return new ManiphestTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorManiphestApplication::class; + } + } diff --git a/src/applications/meta/query/PhabricatorApplicationApplicationTransactionQuery.php b/src/applications/meta/query/PhabricatorApplicationApplicationTransactionQuery.php index 77843f713d..85bbf1162e 100644 --- a/src/applications/meta/query/PhabricatorApplicationApplicationTransactionQuery.php +++ b/src/applications/meta/query/PhabricatorApplicationApplicationTransactionQuery.php @@ -7,4 +7,11 @@ final class PhabricatorApplicationApplicationTransactionQuery return new PhabricatorApplicationApplicationTransaction(); } + // NOTE: Although this belongs to the "Applications" application, trying + // to filter its results just leaves us recursing indefinitely. Users + // always have access to applications regardless of other policy settings + // anyway. + public function getQueryApplicationClass() { + return null; + } } diff --git a/src/applications/metamta/query/PhabricatorMetaMTAApplicationEmailTransactionQuery.php b/src/applications/metamta/query/PhabricatorMetaMTAApplicationEmailTransactionQuery.php index 4f4f6d11de..311e0af833 100644 --- a/src/applications/metamta/query/PhabricatorMetaMTAApplicationEmailTransactionQuery.php +++ b/src/applications/metamta/query/PhabricatorMetaMTAApplicationEmailTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorMetaMTAApplicationEmailTransactionQuery return new PhabricatorMetaMTAApplicationEmailTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorMetaMTAApplication::class; + } + } diff --git a/src/applications/nuance/query/NuanceItemTransactionQuery.php b/src/applications/nuance/query/NuanceItemTransactionQuery.php index a2a29fc218..9b78d21a73 100644 --- a/src/applications/nuance/query/NuanceItemTransactionQuery.php +++ b/src/applications/nuance/query/NuanceItemTransactionQuery.php @@ -7,4 +7,8 @@ final class NuanceItemTransactionQuery return new NuanceItemTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorNuanceApplication::class; + } + } diff --git a/src/applications/nuance/query/NuanceQueueTransactionQuery.php b/src/applications/nuance/query/NuanceQueueTransactionQuery.php index 6179e135e9..d8e209215c 100644 --- a/src/applications/nuance/query/NuanceQueueTransactionQuery.php +++ b/src/applications/nuance/query/NuanceQueueTransactionQuery.php @@ -7,4 +7,8 @@ final class NuanceQueueTransactionQuery return new NuanceQueueTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorNuanceApplication::class; + } + } diff --git a/src/applications/nuance/query/NuanceSourceTransactionQuery.php b/src/applications/nuance/query/NuanceSourceTransactionQuery.php index b87d06c815..937d1154ad 100644 --- a/src/applications/nuance/query/NuanceSourceTransactionQuery.php +++ b/src/applications/nuance/query/NuanceSourceTransactionQuery.php @@ -7,4 +7,8 @@ final class NuanceSourceTransactionQuery return new NuanceSourceTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorNuanceApplication::class; + } + } diff --git a/src/applications/oauthserver/query/PhabricatorOAuthServerTransactionQuery.php b/src/applications/oauthserver/query/PhabricatorOAuthServerTransactionQuery.php index 4dd21e2609..b11139f3ee 100644 --- a/src/applications/oauthserver/query/PhabricatorOAuthServerTransactionQuery.php +++ b/src/applications/oauthserver/query/PhabricatorOAuthServerTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorOAuthServerTransactionQuery return new PhabricatorOAuthServerTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorOAuthServerApplication::class; + } + } diff --git a/src/applications/owners/query/PhabricatorOwnersPackageTransactionQuery.php b/src/applications/owners/query/PhabricatorOwnersPackageTransactionQuery.php index e0e7c2792f..06989ab52f 100644 --- a/src/applications/owners/query/PhabricatorOwnersPackageTransactionQuery.php +++ b/src/applications/owners/query/PhabricatorOwnersPackageTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorOwnersPackageTransactionQuery return new PhabricatorOwnersPackageTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorOwnersApplication::class; + } + } diff --git a/src/applications/packages/query/PhabricatorPackagesPackageTransactionQuery.php b/src/applications/packages/query/PhabricatorPackagesPackageTransactionQuery.php index 146f138119..fee7b2d4b8 100644 --- a/src/applications/packages/query/PhabricatorPackagesPackageTransactionQuery.php +++ b/src/applications/packages/query/PhabricatorPackagesPackageTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorPackagesPackageTransactionQuery return new PhabricatorPackagesPackageTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPackagesApplication::class; + } + } diff --git a/src/applications/packages/query/PhabricatorPackagesPublisherTransactionQuery.php b/src/applications/packages/query/PhabricatorPackagesPublisherTransactionQuery.php index e7af82cfa8..111af3c5c6 100644 --- a/src/applications/packages/query/PhabricatorPackagesPublisherTransactionQuery.php +++ b/src/applications/packages/query/PhabricatorPackagesPublisherTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorPackagesPublisherTransactionQuery return new PhabricatorPackagesPublisherTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPackagesApplication::class; + } + } diff --git a/src/applications/packages/query/PhabricatorPackagesVersionTransactionQuery.php b/src/applications/packages/query/PhabricatorPackagesVersionTransactionQuery.php index 7ab10e2490..a414d0ba04 100644 --- a/src/applications/packages/query/PhabricatorPackagesVersionTransactionQuery.php +++ b/src/applications/packages/query/PhabricatorPackagesVersionTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorPackagesVersionTransactionQuery return new PhabricatorPackagesVersionTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPackagesApplication::class; + } + } diff --git a/src/applications/passphrase/query/PassphraseCredentialTransactionQuery.php b/src/applications/passphrase/query/PassphraseCredentialTransactionQuery.php index ebc5237091..a76789e7ca 100644 --- a/src/applications/passphrase/query/PassphraseCredentialTransactionQuery.php +++ b/src/applications/passphrase/query/PassphraseCredentialTransactionQuery.php @@ -7,4 +7,8 @@ final class PassphraseCredentialTransactionQuery return new PassphraseCredentialTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPassphraseApplication::class; + } + } diff --git a/src/applications/paste/query/PhabricatorPasteTransactionQuery.php b/src/applications/paste/query/PhabricatorPasteTransactionQuery.php index b0e9b5bc47..00c70084b0 100644 --- a/src/applications/paste/query/PhabricatorPasteTransactionQuery.php +++ b/src/applications/paste/query/PhabricatorPasteTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorPasteTransactionQuery return new PhabricatorPasteTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPasteApplication::class; + } + } diff --git a/src/applications/people/query/PhabricatorPeopleTransactionQuery.php b/src/applications/people/query/PhabricatorPeopleTransactionQuery.php index 898bc9ee05..564cd96df8 100644 --- a/src/applications/people/query/PhabricatorPeopleTransactionQuery.php +++ b/src/applications/people/query/PhabricatorPeopleTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorPeopleTransactionQuery return new PhabricatorUserTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPeopleApplication::class; + } + } diff --git a/src/applications/phame/query/PhameBlogTransactionQuery.php b/src/applications/phame/query/PhameBlogTransactionQuery.php index 77a056b682..4c4c3be379 100644 --- a/src/applications/phame/query/PhameBlogTransactionQuery.php +++ b/src/applications/phame/query/PhameBlogTransactionQuery.php @@ -7,4 +7,8 @@ final class PhameBlogTransactionQuery return new PhameBlogTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhameApplication::class; + } + } diff --git a/src/applications/phame/query/PhamePostTransactionQuery.php b/src/applications/phame/query/PhamePostTransactionQuery.php index 879b6363e3..9b93f4a808 100644 --- a/src/applications/phame/query/PhamePostTransactionQuery.php +++ b/src/applications/phame/query/PhamePostTransactionQuery.php @@ -7,4 +7,8 @@ final class PhamePostTransactionQuery return new PhamePostTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhameApplication::class; + } + } diff --git a/src/applications/phlux/query/PhluxTransactionQuery.php b/src/applications/phlux/query/PhluxTransactionQuery.php index a6969ef557..44d542fcab 100644 --- a/src/applications/phlux/query/PhluxTransactionQuery.php +++ b/src/applications/phlux/query/PhluxTransactionQuery.php @@ -7,4 +7,8 @@ final class PhluxTransactionQuery return new PhluxTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhluxApplication::class; + } + } diff --git a/src/applications/pholio/query/PholioTransactionQuery.php b/src/applications/pholio/query/PholioTransactionQuery.php index 4c6d8ba0f5..00decb9236 100644 --- a/src/applications/pholio/query/PholioTransactionQuery.php +++ b/src/applications/pholio/query/PholioTransactionQuery.php @@ -7,4 +7,8 @@ final class PholioTransactionQuery return new PholioTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPholioApplication::class; + } + } diff --git a/src/applications/phortune/query/PhortuneAccountEmailTransactionQuery.php b/src/applications/phortune/query/PhortuneAccountEmailTransactionQuery.php index 2aa9d8418e..578153cdb6 100644 --- a/src/applications/phortune/query/PhortuneAccountEmailTransactionQuery.php +++ b/src/applications/phortune/query/PhortuneAccountEmailTransactionQuery.php @@ -7,4 +7,8 @@ final class PhortuneAccountEmailTransactionQuery return new PhortuneAccountEmailTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhortuneApplication::class; + } + } diff --git a/src/applications/phortune/query/PhortuneAccountTransactionQuery.php b/src/applications/phortune/query/PhortuneAccountTransactionQuery.php index f49dc822c4..d1540edc87 100644 --- a/src/applications/phortune/query/PhortuneAccountTransactionQuery.php +++ b/src/applications/phortune/query/PhortuneAccountTransactionQuery.php @@ -7,4 +7,8 @@ final class PhortuneAccountTransactionQuery return new PhortuneAccountTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhortuneApplication::class; + } + } diff --git a/src/applications/phortune/query/PhortuneCartTransactionQuery.php b/src/applications/phortune/query/PhortuneCartTransactionQuery.php index a72b74814f..4a26bc877d 100644 --- a/src/applications/phortune/query/PhortuneCartTransactionQuery.php +++ b/src/applications/phortune/query/PhortuneCartTransactionQuery.php @@ -7,4 +7,8 @@ final class PhortuneCartTransactionQuery return new PhortuneCartTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhortuneApplication::class; + } + } diff --git a/src/applications/phortune/query/PhortuneMerchantTransactionQuery.php b/src/applications/phortune/query/PhortuneMerchantTransactionQuery.php index e71128ce75..b8b7d32f28 100644 --- a/src/applications/phortune/query/PhortuneMerchantTransactionQuery.php +++ b/src/applications/phortune/query/PhortuneMerchantTransactionQuery.php @@ -7,4 +7,8 @@ final class PhortuneMerchantTransactionQuery return new PhortuneMerchantTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhortuneApplication::class; + } + } diff --git a/src/applications/phortune/query/PhortunePaymentMethodTransactionQuery.php b/src/applications/phortune/query/PhortunePaymentMethodTransactionQuery.php index 2067e1e360..a0da99b600 100644 --- a/src/applications/phortune/query/PhortunePaymentMethodTransactionQuery.php +++ b/src/applications/phortune/query/PhortunePaymentMethodTransactionQuery.php @@ -7,4 +7,8 @@ final class PhortunePaymentMethodTransactionQuery return new PhortunePaymentMethodTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhortuneApplication::class; + } + } diff --git a/src/applications/phortune/query/PhortunePaymentProviderConfigTransactionQuery.php b/src/applications/phortune/query/PhortunePaymentProviderConfigTransactionQuery.php index 34797ba657..f346f5cafc 100644 --- a/src/applications/phortune/query/PhortunePaymentProviderConfigTransactionQuery.php +++ b/src/applications/phortune/query/PhortunePaymentProviderConfigTransactionQuery.php @@ -7,4 +7,8 @@ final class PhortunePaymentProviderConfigTransactionQuery return new PhortunePaymentProviderConfigTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhortuneApplication::class; + } + } diff --git a/src/applications/phortune/query/PhortuneSubscriptionTransactionQuery.php b/src/applications/phortune/query/PhortuneSubscriptionTransactionQuery.php index db97925b39..b6d12cc368 100644 --- a/src/applications/phortune/query/PhortuneSubscriptionTransactionQuery.php +++ b/src/applications/phortune/query/PhortuneSubscriptionTransactionQuery.php @@ -7,4 +7,8 @@ final class PhortuneSubscriptionTransactionQuery return new PhortuneSubscriptionTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhortuneApplication::class; + } + } diff --git a/src/applications/phriction/query/PhrictionTransactionQuery.php b/src/applications/phriction/query/PhrictionTransactionQuery.php index c43006364b..6b924f0985 100644 --- a/src/applications/phriction/query/PhrictionTransactionQuery.php +++ b/src/applications/phriction/query/PhrictionTransactionQuery.php @@ -7,4 +7,8 @@ final class PhrictionTransactionQuery return new PhrictionTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhrictionApplication::class; + } + } diff --git a/src/applications/phurl/query/PhabricatorPhurlURLTransactionQuery.php b/src/applications/phurl/query/PhabricatorPhurlURLTransactionQuery.php index 6c4e7d212d..11743281be 100644 --- a/src/applications/phurl/query/PhabricatorPhurlURLTransactionQuery.php +++ b/src/applications/phurl/query/PhabricatorPhurlURLTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorPhurlURLTransactionQuery return new PhabricatorPhurlURLTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPhurlApplication::class; + } + } diff --git a/src/applications/ponder/query/PonderAnswerTransactionQuery.php b/src/applications/ponder/query/PonderAnswerTransactionQuery.php index 47d8a042a4..e22bd59d97 100644 --- a/src/applications/ponder/query/PonderAnswerTransactionQuery.php +++ b/src/applications/ponder/query/PonderAnswerTransactionQuery.php @@ -7,4 +7,8 @@ final class PonderAnswerTransactionQuery return new PonderAnswerTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPonderApplication::class; + } + } diff --git a/src/applications/ponder/query/PonderQuestionTransactionQuery.php b/src/applications/ponder/query/PonderQuestionTransactionQuery.php index 788e6b5cbe..992dbb2681 100644 --- a/src/applications/ponder/query/PonderQuestionTransactionQuery.php +++ b/src/applications/ponder/query/PonderQuestionTransactionQuery.php @@ -7,4 +7,8 @@ final class PonderQuestionTransactionQuery return new PonderQuestionTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorPonderApplication::class; + } + } diff --git a/src/applications/project/query/PhabricatorProjectColumnTransactionQuery.php b/src/applications/project/query/PhabricatorProjectColumnTransactionQuery.php index f536aad05e..2a18104f76 100644 --- a/src/applications/project/query/PhabricatorProjectColumnTransactionQuery.php +++ b/src/applications/project/query/PhabricatorProjectColumnTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorProjectColumnTransactionQuery return new PhabricatorProjectColumnTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorProjectApplication::class; + } + } diff --git a/src/applications/project/query/PhabricatorProjectTransactionQuery.php b/src/applications/project/query/PhabricatorProjectTransactionQuery.php index 0211f6c5bc..e0a82666f9 100644 --- a/src/applications/project/query/PhabricatorProjectTransactionQuery.php +++ b/src/applications/project/query/PhabricatorProjectTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorProjectTransactionQuery return new PhabricatorProjectTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorProjectApplication::class; + } + } diff --git a/src/applications/project/query/PhabricatorProjectTriggerTransactionQuery.php b/src/applications/project/query/PhabricatorProjectTriggerTransactionQuery.php index 9ec4d4a53b..7a6c331947 100644 --- a/src/applications/project/query/PhabricatorProjectTriggerTransactionQuery.php +++ b/src/applications/project/query/PhabricatorProjectTriggerTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorProjectTriggerTransactionQuery return new PhabricatorProjectTriggerTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorProjectApplication::class; + } + } diff --git a/src/applications/repository/query/PhabricatorRepositoryIdentityTransactionQuery.php b/src/applications/repository/query/PhabricatorRepositoryIdentityTransactionQuery.php index f62a8610ff..c85ff3f5ad 100644 --- a/src/applications/repository/query/PhabricatorRepositoryIdentityTransactionQuery.php +++ b/src/applications/repository/query/PhabricatorRepositoryIdentityTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorRepositoryIdentityTransactionQuery return new PhabricatorRepositoryIdentityTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDiffusionApplication::class; + } + } diff --git a/src/applications/repository/query/PhabricatorRepositoryTransactionQuery.php b/src/applications/repository/query/PhabricatorRepositoryTransactionQuery.php index 27410709c3..0656e80ef7 100644 --- a/src/applications/repository/query/PhabricatorRepositoryTransactionQuery.php +++ b/src/applications/repository/query/PhabricatorRepositoryTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorRepositoryTransactionQuery return new PhabricatorRepositoryTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDiffusionApplication::class; + } + } diff --git a/src/applications/repository/query/PhabricatorRepositoryURITransactionQuery.php b/src/applications/repository/query/PhabricatorRepositoryURITransactionQuery.php index 28ae9d9d62..271cba67bd 100644 --- a/src/applications/repository/query/PhabricatorRepositoryURITransactionQuery.php +++ b/src/applications/repository/query/PhabricatorRepositoryURITransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorRepositoryURITransactionQuery return new PhabricatorRepositoryURITransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDiffusionApplication::class; + } + } diff --git a/src/applications/search/query/PhabricatorProfileMenuItemConfigurationTransactionQuery.php b/src/applications/search/query/PhabricatorProfileMenuItemConfigurationTransactionQuery.php index 0023660512..721bac781e 100644 --- a/src/applications/search/query/PhabricatorProfileMenuItemConfigurationTransactionQuery.php +++ b/src/applications/search/query/PhabricatorProfileMenuItemConfigurationTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorProfileMenuItemConfigurationTransactionQuery return new PhabricatorProfileMenuItemConfigurationTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorSearchApplication::class; + } + } diff --git a/src/applications/settings/query/PhabricatorUserPreferencesTransactionQuery.php b/src/applications/settings/query/PhabricatorUserPreferencesTransactionQuery.php index 7955830340..9b398e9d82 100644 --- a/src/applications/settings/query/PhabricatorUserPreferencesTransactionQuery.php +++ b/src/applications/settings/query/PhabricatorUserPreferencesTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorUserPreferencesTransactionQuery return new PhabricatorUserPreferencesTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorSettingsApplication::class; + } + } diff --git a/src/applications/slowvote/query/PhabricatorSlowvoteTransactionQuery.php b/src/applications/slowvote/query/PhabricatorSlowvoteTransactionQuery.php index d09096d50b..b1a8b8a2d5 100644 --- a/src/applications/slowvote/query/PhabricatorSlowvoteTransactionQuery.php +++ b/src/applications/slowvote/query/PhabricatorSlowvoteTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorSlowvoteTransactionQuery return new PhabricatorSlowvoteTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorSlowvoteApplication::class; + } + } diff --git a/src/applications/spaces/query/PhabricatorSpacesNamespaceTransactionQuery.php b/src/applications/spaces/query/PhabricatorSpacesNamespaceTransactionQuery.php index 34d7e43570..c55fedd8d0 100644 --- a/src/applications/spaces/query/PhabricatorSpacesNamespaceTransactionQuery.php +++ b/src/applications/spaces/query/PhabricatorSpacesNamespaceTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorSpacesNamespaceTransactionQuery return new PhabricatorSpacesNamespaceTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorSpacesApplication::class; + } + } diff --git a/src/applications/transactions/query/PhabricatorApplicationTransactionQuery.php b/src/applications/transactions/query/PhabricatorApplicationTransactionQuery.php index 195de601f0..64e94947ac 100644 --- a/src/applications/transactions/query/PhabricatorApplicationTransactionQuery.php +++ b/src/applications/transactions/query/PhabricatorApplicationTransactionQuery.php @@ -292,8 +292,14 @@ abstract class PhabricatorApplicationTransactionQuery return parent::shouldGroupQueryResultRows(); } + /** + * Get name of class of application queried by the query. + * + * To be overwritten by child classes when applicable. + * + * @return string|null Application class name + */ public function getQueryApplicationClass() { - // TODO: Sort this out? return null; } diff --git a/src/applications/transactions/query/PhabricatorEditEngineConfigurationTransactionQuery.php b/src/applications/transactions/query/PhabricatorEditEngineConfigurationTransactionQuery.php index 2a4677944e..429ed8db5e 100644 --- a/src/applications/transactions/query/PhabricatorEditEngineConfigurationTransactionQuery.php +++ b/src/applications/transactions/query/PhabricatorEditEngineConfigurationTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorEditEngineConfigurationTransactionQuery return new PhabricatorEditEngineConfigurationTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorTransactionsApplication::class; + } + } diff --git a/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobTransactionQuery.php b/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobTransactionQuery.php index 350277a888..f3eddb8020 100644 --- a/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobTransactionQuery.php +++ b/src/infrastructure/daemon/workers/query/PhabricatorWorkerBulkJobTransactionQuery.php @@ -7,4 +7,8 @@ final class PhabricatorWorkerBulkJobTransactionQuery return new PhabricatorWorkerBulkJobTransaction(); } + public function getQueryApplicationClass() { + return PhabricatorDaemonsApplication::class; + } + }