mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 16:30:59 +01:00
Rename PhabricatorApplication
subclasses
Summary: Ref T5655. Some discussion in D9839. Generally speaking, `Phabricator{$name}Application` is clearer than `PhabricatorApplication{$name}`. Test Plan: # Pinned and uninstalled some applications. # Applied patch and performed migrations. # Verified that the pinned applications were still pinned and that the uninstalled applications were still uninstalled. # Performed a sanity check on the database contents. Reviewers: btrahan, epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: hach-que, epriestley, Korvin Maniphest Tasks: T5655 Differential Revision: https://secure.phabricator.com/D9982
This commit is contained in:
parent
1649cf94f4
commit
86c399b657
295 changed files with 918 additions and 978 deletions
166
resources/sql/autopatches/20140722.appname.php
Normal file
166
resources/sql/autopatches/20140722.appname.php
Normal file
|
@ -0,0 +1,166 @@
|
|||
<?php
|
||||
|
||||
$applications = array(
|
||||
'Audit',
|
||||
'Auth',
|
||||
'Calendar',
|
||||
'ChatLog',
|
||||
'Conduit',
|
||||
'Config',
|
||||
'Conpherence',
|
||||
'Countdown',
|
||||
'Daemons',
|
||||
'Dashboard',
|
||||
'Differential',
|
||||
'Diffusion',
|
||||
'Diviner',
|
||||
'Doorkeeper',
|
||||
'Drydock',
|
||||
'Fact',
|
||||
'Feed',
|
||||
'Files',
|
||||
'Flags',
|
||||
'Harbormaster',
|
||||
'Help',
|
||||
'Herald',
|
||||
'Home',
|
||||
'Legalpad',
|
||||
'Macro',
|
||||
'MailingLists',
|
||||
'Maniphest',
|
||||
'Applications',
|
||||
'MetaMTA',
|
||||
'Notifications',
|
||||
'Nuance',
|
||||
'OAuthServer',
|
||||
'Owners',
|
||||
'Passphrase',
|
||||
'Paste',
|
||||
'People',
|
||||
'Phame',
|
||||
'Phlux',
|
||||
'Pholio',
|
||||
'Phortune',
|
||||
'PHPAST',
|
||||
'Phragment',
|
||||
'Phrequent',
|
||||
'Phriction',
|
||||
'Policy',
|
||||
'Ponder',
|
||||
'Project',
|
||||
'Releeph',
|
||||
'Repositories',
|
||||
'Search',
|
||||
'Settings',
|
||||
'Slowvote',
|
||||
'Subscriptions',
|
||||
'Support',
|
||||
'System',
|
||||
'Test',
|
||||
'Tokens',
|
||||
'Transactions',
|
||||
'Typeahead',
|
||||
'UIExamples',
|
||||
'XHProf',
|
||||
);
|
||||
$map = array();
|
||||
|
||||
foreach ($applications as $application) {
|
||||
$old_name = 'PhabricatorApplication'.$application;
|
||||
$new_name = 'Phabricator'.$application.'Application';
|
||||
$map[$old_name] = $new_name;
|
||||
}
|
||||
|
||||
|
||||
/* -( User preferences )--------------------------------------------------- */
|
||||
|
||||
echo "Migrating user preferences...\n";
|
||||
$table = new PhabricatorUserPreferences();
|
||||
$conn_w = $table->establishConnection('w');
|
||||
$pref_pinned = PhabricatorUserPreferences::PREFERENCE_APP_PINNED;
|
||||
|
||||
foreach (new LiskMigrationIterator(new PhabricatorUser()) as $user) {
|
||||
$user_preferences = $user->loadPreferences();
|
||||
|
||||
$old_pinned_apps = $user_preferences->getPreference($pref_pinned);
|
||||
$new_pinned_apps = array();
|
||||
|
||||
if (!$old_pinned_apps) {
|
||||
continue;
|
||||
}
|
||||
|
||||
foreach ($old_pinned_apps as $pinned_app) {
|
||||
$new_pinned_apps[] = idx($map, $pinned_app, $pinned_app);
|
||||
}
|
||||
|
||||
$user_preferences
|
||||
->setPreference($pref_pinned, $new_pinned_apps);
|
||||
|
||||
queryfx(
|
||||
$conn_w,
|
||||
'UPDATE %T SET preferences = %s WHERE id = %d',
|
||||
$user_preferences->getTableName(),
|
||||
json_encode($user_preferences->getPreferences()),
|
||||
$user_preferences->getID());
|
||||
}
|
||||
|
||||
|
||||
/* -( Dashboard installs )------------------------------------------------- */
|
||||
|
||||
echo "Migrating dashboard installs...\n";
|
||||
$table = new PhabricatorDashboardInstall();
|
||||
$conn_w = $table->establishConnection('w');
|
||||
|
||||
foreach (new LiskMigrationIterator($table) as $dashboard_install) {
|
||||
$application = $dashboard_install->getApplicationClass();
|
||||
|
||||
queryfx(
|
||||
$conn_w,
|
||||
'UPDATE %T SET applicationClass = %s WHERE id = %d',
|
||||
$table->getTableName(),
|
||||
idx($map, $application, $application),
|
||||
$dashboard_install->getID());
|
||||
}
|
||||
|
||||
|
||||
/* -( Phabricator configuration )------------------------------------------ */
|
||||
|
||||
$config_key = 'phabricator.uninstalled-applications';
|
||||
echo "Migrating `{$config_key}` config...\n";
|
||||
|
||||
$config = PhabricatorConfigEntry::loadConfigEntry($config_key);
|
||||
$old_config = $config->getValue();
|
||||
$new_config = array();
|
||||
|
||||
if ($old_config) {
|
||||
foreach ($old_config as $application => $uninstalled) {
|
||||
$new_config[idx($map, $application, $application)] = $uninstalled;
|
||||
}
|
||||
|
||||
$config
|
||||
->setIsDeleted(0)
|
||||
->setValue($new_config)
|
||||
->save();
|
||||
}
|
||||
|
||||
|
||||
/* -( phabricator.application-settings )----------------------------------- */
|
||||
|
||||
$config_key = 'phabricator.application-settings';
|
||||
echo "Migrating `{$config_key}` config...\n";
|
||||
|
||||
$config = PhabricatorConfigEntry::loadConfigEntry($config_key);
|
||||
$old_config = $config->getValue();
|
||||
$new_config = array();
|
||||
|
||||
if ($old_config) {
|
||||
foreach ($old_config as $application => $settings) {
|
||||
$application = preg_replace('/^PHID-APPS-/', '', $application);
|
||||
$new_config['PHID-APPS-'.idx($map, $application, $application)] = $settings;
|
||||
}
|
||||
|
||||
$config
|
||||
->setIsDeleted(0)
|
||||
->setValue($new_config)
|
||||
->save();
|
||||
}
|
|
@ -1140,75 +1140,17 @@ phutil_register_library_map(array(
|
|||
'PhabricatorAphrontViewTestCase' => 'view/__tests__/PhabricatorAphrontViewTestCase.php',
|
||||
'PhabricatorAppSearchEngine' => 'applications/meta/query/PhabricatorAppSearchEngine.php',
|
||||
'PhabricatorApplication' => 'applications/base/PhabricatorApplication.php',
|
||||
'PhabricatorApplicationApplications' => 'applications/meta/application/PhabricatorApplicationApplications.php',
|
||||
'PhabricatorApplicationAudit' => 'applications/audit/application/PhabricatorApplicationAudit.php',
|
||||
'PhabricatorApplicationAuth' => 'applications/auth/application/PhabricatorApplicationAuth.php',
|
||||
'PhabricatorApplicationCalendar' => 'applications/calendar/application/PhabricatorApplicationCalendar.php',
|
||||
'PhabricatorApplicationChatLog' => 'applications/chatlog/applications/PhabricatorApplicationChatLog.php',
|
||||
'PhabricatorApplicationConduit' => 'applications/conduit/application/PhabricatorApplicationConduit.php',
|
||||
'PhabricatorApplicationConfig' => 'applications/config/application/PhabricatorApplicationConfig.php',
|
||||
'PhabricatorApplicationConfigOptions' => 'applications/config/option/PhabricatorApplicationConfigOptions.php',
|
||||
'PhabricatorApplicationConpherence' => 'applications/conpherence/application/PhabricatorApplicationConpherence.php',
|
||||
'PhabricatorApplicationCountdown' => 'applications/countdown/application/PhabricatorApplicationCountdown.php',
|
||||
'PhabricatorApplicationDaemons' => 'applications/daemon/application/PhabricatorApplicationDaemons.php',
|
||||
'PhabricatorApplicationDashboard' => 'applications/dashboard/application/PhabricatorApplicationDashboard.php',
|
||||
'PhabricatorApplicationDatasource' => 'applications/meta/typeahead/PhabricatorApplicationDatasource.php',
|
||||
'PhabricatorApplicationDetailViewController' => 'applications/meta/controller/PhabricatorApplicationDetailViewController.php',
|
||||
'PhabricatorApplicationDifferential' => 'applications/differential/application/PhabricatorApplicationDifferential.php',
|
||||
'PhabricatorApplicationDiffusion' => 'applications/diffusion/application/PhabricatorApplicationDiffusion.php',
|
||||
'PhabricatorApplicationDiviner' => 'applications/diviner/application/PhabricatorApplicationDiviner.php',
|
||||
'PhabricatorApplicationDoorkeeper' => 'applications/doorkeeper/application/PhabricatorApplicationDoorkeeper.php',
|
||||
'PhabricatorApplicationDrydock' => 'applications/drydock/application/PhabricatorApplicationDrydock.php',
|
||||
'PhabricatorApplicationEditController' => 'applications/meta/controller/PhabricatorApplicationEditController.php',
|
||||
'PhabricatorApplicationFact' => 'applications/fact/application/PhabricatorApplicationFact.php',
|
||||
'PhabricatorApplicationFeed' => 'applications/feed/application/PhabricatorApplicationFeed.php',
|
||||
'PhabricatorApplicationFiles' => 'applications/files/application/PhabricatorApplicationFiles.php',
|
||||
'PhabricatorApplicationFlags' => 'applications/flag/application/PhabricatorApplicationFlags.php',
|
||||
'PhabricatorApplicationHarbormaster' => 'applications/harbormaster/application/PhabricatorApplicationHarbormaster.php',
|
||||
'PhabricatorApplicationHelp' => 'applications/help/application/PhabricatorApplicationHelp.php',
|
||||
'PhabricatorApplicationHerald' => 'applications/herald/application/PhabricatorApplicationHerald.php',
|
||||
'PhabricatorApplicationHome' => 'applications/home/application/PhabricatorApplicationHome.php',
|
||||
'PhabricatorApplicationLaunchView' => 'applications/meta/view/PhabricatorApplicationLaunchView.php',
|
||||
'PhabricatorApplicationLegalpad' => 'applications/legalpad/application/PhabricatorApplicationLegalpad.php',
|
||||
'PhabricatorApplicationMacro' => 'applications/macro/application/PhabricatorApplicationMacro.php',
|
||||
'PhabricatorApplicationMailingLists' => 'applications/mailinglists/application/PhabricatorApplicationMailingLists.php',
|
||||
'PhabricatorApplicationManiphest' => 'applications/maniphest/application/PhabricatorApplicationManiphest.php',
|
||||
'PhabricatorApplicationMetaMTA' => 'applications/metamta/application/PhabricatorApplicationMetaMTA.php',
|
||||
'PhabricatorApplicationNotifications' => 'applications/notification/application/PhabricatorApplicationNotifications.php',
|
||||
'PhabricatorApplicationNuance' => 'applications/nuance/application/PhabricatorApplicationNuance.php',
|
||||
'PhabricatorApplicationOAuthServer' => 'applications/oauthserver/application/PhabricatorApplicationOAuthServer.php',
|
||||
'PhabricatorApplicationOwners' => 'applications/owners/application/PhabricatorApplicationOwners.php',
|
||||
'PhabricatorApplicationPHIDTypeApplication' => 'applications/meta/phid/PhabricatorApplicationPHIDTypeApplication.php',
|
||||
'PhabricatorApplicationPHPAST' => 'applications/phpast/application/PhabricatorApplicationPHPAST.php',
|
||||
'PhabricatorApplicationPassphrase' => 'applications/passphrase/application/PhabricatorApplicationPassphrase.php',
|
||||
'PhabricatorApplicationPaste' => 'applications/paste/application/PhabricatorApplicationPaste.php',
|
||||
'PhabricatorApplicationPeople' => 'applications/people/application/PhabricatorApplicationPeople.php',
|
||||
'PhabricatorApplicationPhame' => 'applications/phame/application/PhabricatorApplicationPhame.php',
|
||||
'PhabricatorApplicationPhlux' => 'applications/phlux/application/PhabricatorApplicationPhlux.php',
|
||||
'PhabricatorApplicationPholio' => 'applications/pholio/application/PhabricatorApplicationPholio.php',
|
||||
'PhabricatorApplicationPhortune' => 'applications/phortune/application/PhabricatorApplicationPhortune.php',
|
||||
'PhabricatorApplicationPhragment' => 'applications/phragment/application/PhabricatorApplicationPhragment.php',
|
||||
'PhabricatorApplicationPhrequent' => 'applications/phrequent/application/PhabricatorApplicationPhrequent.php',
|
||||
'PhabricatorApplicationPhriction' => 'applications/phriction/application/PhabricatorApplicationPhriction.php',
|
||||
'PhabricatorApplicationPolicy' => 'applications/policy/application/PhabricatorApplicationPolicy.php',
|
||||
'PhabricatorApplicationPonder' => 'applications/ponder/application/PhabricatorApplicationPonder.php',
|
||||
'PhabricatorApplicationProject' => 'applications/project/application/PhabricatorApplicationProject.php',
|
||||
'PhabricatorApplicationQuery' => 'applications/meta/query/PhabricatorApplicationQuery.php',
|
||||
'PhabricatorApplicationReleeph' => 'applications/releeph/application/PhabricatorApplicationReleeph.php',
|
||||
'PhabricatorApplicationReleephConfigOptions' => 'applications/releeph/config/PhabricatorApplicationReleephConfigOptions.php',
|
||||
'PhabricatorApplicationRepositories' => 'applications/repository/application/PhabricatorApplicationRepositories.php',
|
||||
'PhabricatorApplicationSearch' => 'applications/search/application/PhabricatorApplicationSearch.php',
|
||||
'PhabricatorApplicationSearchController' => 'applications/search/controller/PhabricatorApplicationSearchController.php',
|
||||
'PhabricatorApplicationSearchEngine' => 'applications/search/engine/PhabricatorApplicationSearchEngine.php',
|
||||
'PhabricatorApplicationSearchResultsControllerInterface' => 'applications/search/interface/PhabricatorApplicationSearchResultsControllerInterface.php',
|
||||
'PhabricatorApplicationSettings' => 'applications/settings/application/PhabricatorApplicationSettings.php',
|
||||
'PhabricatorApplicationSlowvote' => 'applications/slowvote/application/PhabricatorApplicationSlowvote.php',
|
||||
'PhabricatorApplicationStatusView' => 'applications/meta/view/PhabricatorApplicationStatusView.php',
|
||||
'PhabricatorApplicationSubscriptions' => 'applications/subscriptions/application/PhabricatorApplicationSubscriptions.php',
|
||||
'PhabricatorApplicationSupport' => 'applications/support/application/PhabricatorApplicationSupport.php',
|
||||
'PhabricatorApplicationSystem' => 'applications/system/application/PhabricatorApplicationSystem.php',
|
||||
'PhabricatorApplicationTest' => 'applications/base/controller/__tests__/PhabricatorApplicationTest.php',
|
||||
'PhabricatorApplicationTokens' => 'applications/tokens/application/PhabricatorApplicationTokens.php',
|
||||
'PhabricatorApplicationTransaction' => 'applications/transactions/storage/PhabricatorApplicationTransaction.php',
|
||||
'PhabricatorApplicationTransactionComment' => 'applications/transactions/storage/PhabricatorApplicationTransactionComment.php',
|
||||
'PhabricatorApplicationTransactionCommentEditController' => 'applications/transactions/controller/PhabricatorApplicationTransactionCommentEditController.php',
|
||||
|
@ -1234,17 +1176,15 @@ phutil_register_library_map(array(
|
|||
'PhabricatorApplicationTransactionValidationException' => 'applications/transactions/exception/PhabricatorApplicationTransactionValidationException.php',
|
||||
'PhabricatorApplicationTransactionValueController' => 'applications/transactions/controller/PhabricatorApplicationTransactionValueController.php',
|
||||
'PhabricatorApplicationTransactionView' => 'applications/transactions/view/PhabricatorApplicationTransactionView.php',
|
||||
'PhabricatorApplicationTransactions' => 'applications/transactions/application/PhabricatorApplicationTransactions.php',
|
||||
'PhabricatorApplicationTypeahead' => 'applications/typeahead/application/PhabricatorApplicationTypeahead.php',
|
||||
'PhabricatorApplicationUIExamples' => 'applications/uiexample/application/PhabricatorApplicationUIExamples.php',
|
||||
'PhabricatorApplicationUninstallController' => 'applications/meta/controller/PhabricatorApplicationUninstallController.php',
|
||||
'PhabricatorApplicationXHProf' => 'applications/xhprof/application/PhabricatorApplicationXHProf.php',
|
||||
'PhabricatorApplicationsApplication' => 'applications/meta/application/PhabricatorApplicationsApplication.php',
|
||||
'PhabricatorApplicationsController' => 'applications/meta/controller/PhabricatorApplicationsController.php',
|
||||
'PhabricatorApplicationsListController' => 'applications/meta/controller/PhabricatorApplicationsListController.php',
|
||||
'PhabricatorAsanaAuthProvider' => 'applications/auth/provider/PhabricatorAsanaAuthProvider.php',
|
||||
'PhabricatorAsanaConfigOptions' => 'applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php',
|
||||
'PhabricatorAuditActionConstants' => 'applications/audit/constants/PhabricatorAuditActionConstants.php',
|
||||
'PhabricatorAuditAddCommentController' => 'applications/audit/controller/PhabricatorAuditAddCommentController.php',
|
||||
'PhabricatorAuditApplication' => 'applications/audit/application/PhabricatorAuditApplication.php',
|
||||
'PhabricatorAuditComment' => 'applications/audit/storage/PhabricatorAuditComment.php',
|
||||
'PhabricatorAuditCommentEditor' => 'applications/audit/editor/PhabricatorAuditCommentEditor.php',
|
||||
'PhabricatorAuditCommitStatusConstants' => 'applications/audit/constants/PhabricatorAuditCommitStatusConstants.php',
|
||||
|
@ -1260,6 +1200,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorAuditReplyHandler' => 'applications/audit/mail/PhabricatorAuditReplyHandler.php',
|
||||
'PhabricatorAuditStatusConstants' => 'applications/audit/constants/PhabricatorAuditStatusConstants.php',
|
||||
'PhabricatorAuthAccountView' => 'applications/auth/view/PhabricatorAuthAccountView.php',
|
||||
'PhabricatorAuthApplication' => 'applications/auth/application/PhabricatorAuthApplication.php',
|
||||
'PhabricatorAuthConfirmLinkController' => 'applications/auth/controller/PhabricatorAuthConfirmLinkController.php',
|
||||
'PhabricatorAuthController' => 'applications/auth/controller/PhabricatorAuthController.php',
|
||||
'PhabricatorAuthDAO' => 'applications/auth/storage/PhabricatorAuthDAO.php',
|
||||
|
@ -1340,6 +1281,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCacheMarkupGarbageCollector' => 'applications/cache/garbagecollector/PhabricatorCacheMarkupGarbageCollector.php',
|
||||
'PhabricatorCacheTTLGarbageCollector' => 'applications/cache/garbagecollector/PhabricatorCacheTTLGarbageCollector.php',
|
||||
'PhabricatorCaches' => 'applications/cache/PhabricatorCaches.php',
|
||||
'PhabricatorCalendarApplication' => 'applications/calendar/application/PhabricatorCalendarApplication.php',
|
||||
'PhabricatorCalendarBrowseController' => 'applications/calendar/controller/PhabricatorCalendarBrowseController.php',
|
||||
'PhabricatorCalendarController' => 'applications/calendar/controller/PhabricatorCalendarController.php',
|
||||
'PhabricatorCalendarDAO' => 'applications/calendar/storage/PhabricatorCalendarDAO.php',
|
||||
|
@ -1358,6 +1300,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCampfireProtocolAdapter' => 'infrastructure/daemon/bot/adapter/PhabricatorCampfireProtocolAdapter.php',
|
||||
'PhabricatorChangeParserTestCase' => 'applications/repository/worker/__tests__/PhabricatorChangeParserTestCase.php',
|
||||
'PhabricatorChangesetResponse' => 'infrastructure/diff/PhabricatorChangesetResponse.php',
|
||||
'PhabricatorChatLogApplication' => 'applications/chatlog/application/PhabricatorChatLogApplication.php',
|
||||
'PhabricatorChatLogChannel' => 'applications/chatlog/storage/PhabricatorChatLogChannel.php',
|
||||
'PhabricatorChatLogChannelListController' => 'applications/chatlog/controller/PhabricatorChatLogChannelListController.php',
|
||||
'PhabricatorChatLogChannelLogController' => 'applications/chatlog/controller/PhabricatorChatLogChannelLogController.php',
|
||||
|
@ -1374,6 +1317,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCommitTagsField' => 'applications/repository/customfield/PhabricatorCommitTagsField.php',
|
||||
'PhabricatorCommonPasswords' => 'applications/auth/constants/PhabricatorCommonPasswords.php',
|
||||
'PhabricatorConduitAPIController' => 'applications/conduit/controller/PhabricatorConduitAPIController.php',
|
||||
'PhabricatorConduitApplication' => 'applications/conduit/application/PhabricatorConduitApplication.php',
|
||||
'PhabricatorConduitCertificateToken' => 'applications/conduit/storage/PhabricatorConduitCertificateToken.php',
|
||||
'PhabricatorConduitConfigOptions' => 'applications/conduit/config/PhabricatorConduitConfigOptions.php',
|
||||
'PhabricatorConduitConnectionLog' => 'applications/conduit/storage/PhabricatorConduitConnectionLog.php',
|
||||
|
@ -1388,6 +1332,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorConduitSearchEngine' => 'applications/conduit/query/PhabricatorConduitSearchEngine.php',
|
||||
'PhabricatorConduitTokenController' => 'applications/conduit/controller/PhabricatorConduitTokenController.php',
|
||||
'PhabricatorConfigAllController' => 'applications/config/controller/PhabricatorConfigAllController.php',
|
||||
'PhabricatorConfigApplication' => 'applications/config/application/PhabricatorConfigApplication.php',
|
||||
'PhabricatorConfigController' => 'applications/config/controller/PhabricatorConfigController.php',
|
||||
'PhabricatorConfigDatabaseSource' => 'infrastructure/env/PhabricatorConfigDatabaseSource.php',
|
||||
'PhabricatorConfigDefaultSource' => 'infrastructure/env/PhabricatorConfigDefaultSource.php',
|
||||
|
@ -1422,6 +1367,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorConfigTransactionQuery' => 'applications/config/query/PhabricatorConfigTransactionQuery.php',
|
||||
'PhabricatorConfigValidationException' => 'applications/config/exception/PhabricatorConfigValidationException.php',
|
||||
'PhabricatorConfigWelcomeController' => 'applications/config/controller/PhabricatorConfigWelcomeController.php',
|
||||
'PhabricatorConpherenceApplication' => 'applications/conpherence/application/PhabricatorConpherenceApplication.php',
|
||||
'PhabricatorConpherencePHIDTypeThread' => 'applications/conpherence/phid/PhabricatorConpherencePHIDTypeThread.php',
|
||||
'PhabricatorContentSource' => 'applications/metamta/contentsource/PhabricatorContentSource.php',
|
||||
'PhabricatorContentSourceView' => 'applications/metamta/contentsource/PhabricatorContentSourceView.php',
|
||||
|
@ -1429,6 +1375,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCookies' => 'applications/auth/constants/PhabricatorCookies.php',
|
||||
'PhabricatorCoreConfigOptions' => 'applications/config/option/PhabricatorCoreConfigOptions.php',
|
||||
'PhabricatorCountdown' => 'applications/countdown/storage/PhabricatorCountdown.php',
|
||||
'PhabricatorCountdownApplication' => 'applications/countdown/application/PhabricatorCountdownApplication.php',
|
||||
'PhabricatorCountdownCapabilityDefaultView' => 'applications/countdown/capability/PhabricatorCountdownCapabilityDefaultView.php',
|
||||
'PhabricatorCountdownController' => 'applications/countdown/controller/PhabricatorCountdownController.php',
|
||||
'PhabricatorCountdownDAO' => 'applications/countdown/storage/PhabricatorCountdownDAO.php',
|
||||
|
@ -1485,8 +1432,10 @@ phutil_register_library_map(array(
|
|||
'PhabricatorDaemonManagementWorkflow' => 'applications/daemon/management/PhabricatorDaemonManagementWorkflow.php',
|
||||
'PhabricatorDaemonReference' => 'infrastructure/daemon/control/PhabricatorDaemonReference.php',
|
||||
'PhabricatorDaemonTaskGarbageCollector' => 'applications/daemon/garbagecollector/PhabricatorDaemonTaskGarbageCollector.php',
|
||||
'PhabricatorDaemonsApplication' => 'applications/daemon/application/PhabricatorDaemonsApplication.php',
|
||||
'PhabricatorDashboard' => 'applications/dashboard/storage/PhabricatorDashboard.php',
|
||||
'PhabricatorDashboardAddPanelController' => 'applications/dashboard/controller/PhabricatorDashboardAddPanelController.php',
|
||||
'PhabricatorDashboardApplication' => 'applications/dashboard/application/PhabricatorDashboardApplication.php',
|
||||
'PhabricatorDashboardController' => 'applications/dashboard/controller/PhabricatorDashboardController.php',
|
||||
'PhabricatorDashboardCopyController' => 'applications/dashboard/controller/PhabricatorDashboardCopyController.php',
|
||||
'PhabricatorDashboardDAO' => 'applications/dashboard/storage/PhabricatorDashboardDAO.php',
|
||||
|
@ -1539,14 +1488,19 @@ phutil_register_library_map(array(
|
|||
'PhabricatorDestructionEngine' => 'applications/system/engine/PhabricatorDestructionEngine.php',
|
||||
'PhabricatorDeveloperConfigOptions' => 'applications/config/option/PhabricatorDeveloperConfigOptions.php',
|
||||
'PhabricatorDifferenceEngine' => 'infrastructure/diff/PhabricatorDifferenceEngine.php',
|
||||
'PhabricatorDifferentialApplication' => 'applications/differential/application/PhabricatorDifferentialApplication.php',
|
||||
'PhabricatorDifferentialConfigOptions' => 'applications/differential/config/PhabricatorDifferentialConfigOptions.php',
|
||||
'PhabricatorDifferentialRevisionTestDataGenerator' => 'applications/differential/lipsum/PhabricatorDifferentialRevisionTestDataGenerator.php',
|
||||
'PhabricatorDiffusionApplication' => 'applications/diffusion/application/PhabricatorDiffusionApplication.php',
|
||||
'PhabricatorDiffusionConfigOptions' => 'applications/diffusion/config/PhabricatorDiffusionConfigOptions.php',
|
||||
'PhabricatorDisabledUserController' => 'applications/auth/controller/PhabricatorDisabledUserController.php',
|
||||
'PhabricatorDisqusAuthProvider' => 'applications/auth/provider/PhabricatorDisqusAuthProvider.php',
|
||||
'PhabricatorDisqusConfigOptions' => 'applications/config/option/PhabricatorDisqusConfigOptions.php',
|
||||
'PhabricatorDivinerApplication' => 'applications/diviner/application/PhabricatorDivinerApplication.php',
|
||||
'PhabricatorDoorkeeperApplication' => 'applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php',
|
||||
'PhabricatorDraft' => 'applications/draft/storage/PhabricatorDraft.php',
|
||||
'PhabricatorDraftDAO' => 'applications/draft/storage/PhabricatorDraftDAO.php',
|
||||
'PhabricatorDrydockApplication' => 'applications/drydock/application/PhabricatorDrydockApplication.php',
|
||||
'PhabricatorEdgeConfig' => 'infrastructure/edges/constants/PhabricatorEdgeConfig.php',
|
||||
'PhabricatorEdgeConstants' => 'infrastructure/edges/constants/PhabricatorEdgeConstants.php',
|
||||
'PhabricatorEdgeCycleException' => 'infrastructure/edges/exception/PhabricatorEdgeCycleException.php',
|
||||
|
@ -1573,6 +1527,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorExternalAccountQuery' => 'applications/auth/query/PhabricatorExternalAccountQuery.php',
|
||||
'PhabricatorFacebookAuthProvider' => 'applications/auth/provider/PhabricatorFacebookAuthProvider.php',
|
||||
'PhabricatorFactAggregate' => 'applications/fact/storage/PhabricatorFactAggregate.php',
|
||||
'PhabricatorFactApplication' => 'applications/fact/application/PhabricatorFactApplication.php',
|
||||
'PhabricatorFactChartController' => 'applications/fact/controller/PhabricatorFactChartController.php',
|
||||
'PhabricatorFactController' => 'applications/fact/controller/PhabricatorFactController.php',
|
||||
'PhabricatorFactCountEngine' => 'applications/fact/engine/PhabricatorFactCountEngine.php',
|
||||
|
@ -1592,6 +1547,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorFactSimpleSpec' => 'applications/fact/spec/PhabricatorFactSimpleSpec.php',
|
||||
'PhabricatorFactSpec' => 'applications/fact/spec/PhabricatorFactSpec.php',
|
||||
'PhabricatorFactUpdateIterator' => 'applications/fact/extract/PhabricatorFactUpdateIterator.php',
|
||||
'PhabricatorFeedApplication' => 'applications/feed/application/PhabricatorFeedApplication.php',
|
||||
'PhabricatorFeedBuilder' => 'applications/feed/builder/PhabricatorFeedBuilder.php',
|
||||
'PhabricatorFeedConfigOptions' => 'applications/feed/config/PhabricatorFeedConfigOptions.php',
|
||||
'PhabricatorFeedConstants' => 'applications/feed/constants/PhabricatorFeedConstants.php',
|
||||
|
@ -1651,6 +1607,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorFileUploadController' => 'applications/files/controller/PhabricatorFileUploadController.php',
|
||||
'PhabricatorFileUploadDialogController' => 'applications/files/controller/PhabricatorFileUploadDialogController.php',
|
||||
'PhabricatorFileUploadException' => 'applications/files/exception/PhabricatorFileUploadException.php',
|
||||
'PhabricatorFilesApplication' => 'applications/files/application/PhabricatorFilesApplication.php',
|
||||
'PhabricatorFilesConfigOptions' => 'applications/files/config/PhabricatorFilesConfigOptions.php',
|
||||
'PhabricatorFilesManagementEnginesWorkflow' => 'applications/files/management/PhabricatorFilesManagementEnginesWorkflow.php',
|
||||
'PhabricatorFilesManagementMigrateWorkflow' => 'applications/files/management/PhabricatorFilesManagementMigrateWorkflow.php',
|
||||
|
@ -1669,6 +1626,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorFlagSearchEngine' => 'applications/flag/query/PhabricatorFlagSearchEngine.php',
|
||||
'PhabricatorFlagSelectControl' => 'applications/flag/view/PhabricatorFlagSelectControl.php',
|
||||
'PhabricatorFlaggableInterface' => 'applications/flag/interface/PhabricatorFlaggableInterface.php',
|
||||
'PhabricatorFlagsApplication' => 'applications/flag/application/PhabricatorFlagsApplication.php',
|
||||
'PhabricatorFlagsUIEventListener' => 'applications/flag/events/PhabricatorFlagsUIEventListener.php',
|
||||
'PhabricatorFormExample' => 'applications/uiexample/examples/PhabricatorFormExample.php',
|
||||
'PhabricatorGarbageCollector' => 'infrastructure/daemon/garbagecollector/PhabricatorGarbageCollector.php',
|
||||
|
@ -1682,12 +1640,16 @@ phutil_register_library_map(array(
|
|||
'PhabricatorGoogleAuthProvider' => 'applications/auth/provider/PhabricatorGoogleAuthProvider.php',
|
||||
'PhabricatorHandleObjectSelectorDataView' => 'applications/phid/handle/view/PhabricatorHandleObjectSelectorDataView.php',
|
||||
'PhabricatorHandleQuery' => 'applications/phid/query/PhabricatorHandleQuery.php',
|
||||
'PhabricatorHarbormasterApplication' => 'applications/harbormaster/application/PhabricatorHarbormasterApplication.php',
|
||||
'PhabricatorHarbormasterConfigOptions' => 'applications/harbormaster/config/PhabricatorHarbormasterConfigOptions.php',
|
||||
'PhabricatorHash' => 'infrastructure/util/PhabricatorHash.php',
|
||||
'PhabricatorHashTestCase' => 'infrastructure/util/__tests__/PhabricatorHashTestCase.php',
|
||||
'PhabricatorHelpApplication' => 'applications/help/application/PhabricatorHelpApplication.php',
|
||||
'PhabricatorHelpController' => 'applications/help/controller/PhabricatorHelpController.php',
|
||||
'PhabricatorHelpEditorProtocolController' => 'applications/help/controller/PhabricatorHelpEditorProtocolController.php',
|
||||
'PhabricatorHelpKeyboardShortcutController' => 'applications/help/controller/PhabricatorHelpKeyboardShortcutController.php',
|
||||
'PhabricatorHeraldApplication' => 'applications/herald/application/PhabricatorHeraldApplication.php',
|
||||
'PhabricatorHomeApplication' => 'applications/home/application/PhabricatorHomeApplication.php',
|
||||
'PhabricatorHomeController' => 'applications/home/controller/PhabricatorHomeController.php',
|
||||
'PhabricatorHomeMainController' => 'applications/home/controller/PhabricatorHomeMainController.php',
|
||||
'PhabricatorHomeQuickCreateController' => 'applications/home/controller/PhabricatorHomeQuickCreateController.php',
|
||||
|
@ -1711,6 +1673,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorKeyValueDatabaseCache' => 'applications/cache/PhabricatorKeyValueDatabaseCache.php',
|
||||
'PhabricatorLDAPAuthProvider' => 'applications/auth/provider/PhabricatorLDAPAuthProvider.php',
|
||||
'PhabricatorLegacyEdgeType' => 'infrastructure/edges/type/PhabricatorLegacyEdgeType.php',
|
||||
'PhabricatorLegalpadApplication' => 'applications/legalpad/application/PhabricatorLegalpadApplication.php',
|
||||
'PhabricatorLegalpadConfigOptions' => 'applications/legalpad/config/PhabricatorLegalpadConfigOptions.php',
|
||||
'PhabricatorLegalpadPHIDTypeDocument' => 'applications/legalpad/phid/PhabricatorLegalpadPHIDTypeDocument.php',
|
||||
'PhabricatorLipsumArtist' => 'applications/lipsum/image/PhabricatorLipsumArtist.php',
|
||||
|
@ -1721,6 +1684,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorLocalDiskFileStorageEngine' => 'applications/files/engine/PhabricatorLocalDiskFileStorageEngine.php',
|
||||
'PhabricatorLocalTimeTestCase' => 'view/__tests__/PhabricatorLocalTimeTestCase.php',
|
||||
'PhabricatorLogoutController' => 'applications/auth/controller/PhabricatorLogoutController.php',
|
||||
'PhabricatorMacroApplication' => 'applications/macro/application/PhabricatorMacroApplication.php',
|
||||
'PhabricatorMacroAudioController' => 'applications/macro/controller/PhabricatorMacroAudioController.php',
|
||||
'PhabricatorMacroCapabilityManage' => 'applications/macro/capability/PhabricatorMacroCapabilityManage.php',
|
||||
'PhabricatorMacroCommentController' => 'applications/macro/controller/PhabricatorMacroCommentController.php',
|
||||
|
@ -1767,6 +1731,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorMailingListPHIDTypeList' => 'applications/mailinglists/phid/PhabricatorMailingListPHIDTypeList.php',
|
||||
'PhabricatorMailingListQuery' => 'applications/mailinglists/query/PhabricatorMailingListQuery.php',
|
||||
'PhabricatorMailingListSearchEngine' => 'applications/mailinglists/query/PhabricatorMailingListSearchEngine.php',
|
||||
'PhabricatorMailingListsApplication' => 'applications/mailinglists/application/PhabricatorMailingListsApplication.php',
|
||||
'PhabricatorMailingListsController' => 'applications/mailinglists/controller/PhabricatorMailingListsController.php',
|
||||
'PhabricatorMailingListsEditController' => 'applications/mailinglists/controller/PhabricatorMailingListsEditController.php',
|
||||
'PhabricatorMailingListsListController' => 'applications/mailinglists/controller/PhabricatorMailingListsListController.php',
|
||||
|
@ -1775,6 +1740,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorMainMenuSearchView' => 'view/page/menu/PhabricatorMainMenuSearchView.php',
|
||||
'PhabricatorMainMenuView' => 'view/page/menu/PhabricatorMainMenuView.php',
|
||||
'PhabricatorManagementWorkflow' => 'infrastructure/management/PhabricatorManagementWorkflow.php',
|
||||
'PhabricatorManiphestApplication' => 'applications/maniphest/application/PhabricatorManiphestApplication.php',
|
||||
'PhabricatorManiphestConfigOptions' => 'applications/maniphest/config/PhabricatorManiphestConfigOptions.php',
|
||||
'PhabricatorManiphestTaskTestDataGenerator' => 'applications/maniphest/lipsum/PhabricatorManiphestTaskTestDataGenerator.php',
|
||||
'PhabricatorMarkupCache' => 'applications/cache/storage/PhabricatorMarkupCache.php',
|
||||
|
@ -1785,6 +1751,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorMercurialGraphStream' => 'applications/repository/daemon/PhabricatorMercurialGraphStream.php',
|
||||
'PhabricatorMetaMTAActor' => 'applications/metamta/query/PhabricatorMetaMTAActor.php',
|
||||
'PhabricatorMetaMTAActorQuery' => 'applications/metamta/query/PhabricatorMetaMTAActorQuery.php',
|
||||
'PhabricatorMetaMTAApplication' => 'applications/metamta/application/PhabricatorMetaMTAApplication.php',
|
||||
'PhabricatorMetaMTAAttachment' => 'applications/metamta/storage/PhabricatorMetaMTAAttachment.php',
|
||||
'PhabricatorMetaMTAConfigOptions' => 'applications/config/option/PhabricatorMetaMTAConfigOptions.php',
|
||||
'PhabricatorMetaMTAController' => 'applications/metamta/controller/PhabricatorMetaMTAController.php',
|
||||
|
@ -1821,10 +1788,12 @@ phutil_register_library_map(array(
|
|||
'PhabricatorNotificationIndividualController' => 'applications/notification/controller/PhabricatorNotificationIndividualController.php',
|
||||
'PhabricatorNotificationListController' => 'applications/notification/controller/PhabricatorNotificationListController.php',
|
||||
'PhabricatorNotificationPanelController' => 'applications/notification/controller/PhabricatorNotificationPanelController.php',
|
||||
'PhabricatorNotificationQuery' => 'applications/notification/PhabricatorNotificationQuery.php',
|
||||
'PhabricatorNotificationQuery' => 'applications/notification/query/PhabricatorNotificationQuery.php',
|
||||
'PhabricatorNotificationStatusController' => 'applications/notification/controller/PhabricatorNotificationStatusController.php',
|
||||
'PhabricatorNotificationStatusView' => 'applications/notification/view/PhabricatorNotificationStatusView.php',
|
||||
'PhabricatorNotificationTestController' => 'applications/notification/controller/PhabricatorNotificationTestController.php',
|
||||
'PhabricatorNotificationsApplication' => 'applications/notification/application/PhabricatorNotificationsApplication.php',
|
||||
'PhabricatorNuanceApplication' => 'applications/nuance/application/PhabricatorNuanceApplication.php',
|
||||
'PhabricatorOAuth1AuthProvider' => 'applications/auth/provider/PhabricatorOAuth1AuthProvider.php',
|
||||
'PhabricatorOAuth2AuthProvider' => 'applications/auth/provider/PhabricatorOAuth2AuthProvider.php',
|
||||
'PhabricatorOAuthAuthProvider' => 'applications/auth/provider/PhabricatorOAuthAuthProvider.php',
|
||||
|
@ -1838,6 +1807,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorOAuthResponse' => 'applications/oauthserver/PhabricatorOAuthResponse.php',
|
||||
'PhabricatorOAuthServer' => 'applications/oauthserver/PhabricatorOAuthServer.php',
|
||||
'PhabricatorOAuthServerAccessToken' => 'applications/oauthserver/storage/PhabricatorOAuthServerAccessToken.php',
|
||||
'PhabricatorOAuthServerApplication' => 'applications/oauthserver/application/PhabricatorOAuthServerApplication.php',
|
||||
'PhabricatorOAuthServerAuthController' => 'applications/oauthserver/controller/PhabricatorOAuthServerAuthController.php',
|
||||
'PhabricatorOAuthServerAuthorizationCode' => 'applications/oauthserver/storage/PhabricatorOAuthServerAuthorizationCode.php',
|
||||
'PhabricatorOAuthServerAuthorizationsSettingsPanel' => 'applications/oauthserver/panel/PhabricatorOAuthServerAuthorizationsSettingsPanel.php',
|
||||
|
@ -1864,6 +1834,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorObjectSelectorDialog' => 'view/control/PhabricatorObjectSelectorDialog.php',
|
||||
'PhabricatorOffsetPagedQuery' => 'infrastructure/query/PhabricatorOffsetPagedQuery.php',
|
||||
'PhabricatorOwnerPathQuery' => 'applications/owners/query/PhabricatorOwnerPathQuery.php',
|
||||
'PhabricatorOwnersApplication' => 'applications/owners/application/PhabricatorOwnersApplication.php',
|
||||
'PhabricatorOwnersConfigOptions' => 'applications/owners/config/PhabricatorOwnersConfigOptions.php',
|
||||
'PhabricatorOwnersController' => 'applications/owners/controller/PhabricatorOwnersController.php',
|
||||
'PhabricatorOwnersDAO' => 'applications/owners/storage/PhabricatorOwnersDAO.php',
|
||||
|
@ -1884,13 +1855,16 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPHIDConstants' => 'applications/phid/PhabricatorPHIDConstants.php',
|
||||
'PhabricatorPHIDInterface' => 'applications/phid/interface/PhabricatorPHIDInterface.php',
|
||||
'PhabricatorPHIDType' => 'applications/phid/type/PhabricatorPHIDType.php',
|
||||
'PhabricatorPHPASTApplication' => 'applications/phpast/application/PhabricatorPHPASTApplication.php',
|
||||
'PhabricatorPHPMailerConfigOptions' => 'applications/config/option/PhabricatorPHPMailerConfigOptions.php',
|
||||
'PhabricatorPagedFormExample' => 'applications/uiexample/examples/PhabricatorPagedFormExample.php',
|
||||
'PhabricatorPassphraseApplication' => 'applications/passphrase/application/PhabricatorPassphraseApplication.php',
|
||||
'PhabricatorPasswordAuthProvider' => 'applications/auth/provider/PhabricatorPasswordAuthProvider.php',
|
||||
'PhabricatorPasswordHasher' => 'infrastructure/util/password/PhabricatorPasswordHasher.php',
|
||||
'PhabricatorPasswordHasherTestCase' => 'infrastructure/util/password/__tests__/PhabricatorPasswordHasherTestCase.php',
|
||||
'PhabricatorPasswordHasherUnavailableException' => 'infrastructure/util/password/PhabricatorPasswordHasherUnavailableException.php',
|
||||
'PhabricatorPaste' => 'applications/paste/storage/PhabricatorPaste.php',
|
||||
'PhabricatorPasteApplication' => 'applications/paste/application/PhabricatorPasteApplication.php',
|
||||
'PhabricatorPasteCommentController' => 'applications/paste/controller/PhabricatorPasteCommentController.php',
|
||||
'PhabricatorPasteConfigOptions' => 'applications/paste/config/PhabricatorPasteConfigOptions.php',
|
||||
'PhabricatorPasteController' => 'applications/paste/controller/PhabricatorPasteController.php',
|
||||
|
@ -1907,6 +1881,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPasteTransactionComment' => 'applications/paste/storage/PhabricatorPasteTransactionComment.php',
|
||||
'PhabricatorPasteTransactionQuery' => 'applications/paste/query/PhabricatorPasteTransactionQuery.php',
|
||||
'PhabricatorPasteViewController' => 'applications/paste/controller/PhabricatorPasteViewController.php',
|
||||
'PhabricatorPeopleApplication' => 'applications/people/application/PhabricatorPeopleApplication.php',
|
||||
'PhabricatorPeopleApproveController' => 'applications/people/controller/PhabricatorPeopleApproveController.php',
|
||||
'PhabricatorPeopleCalendarController' => 'applications/people/controller/PhabricatorPeopleCalendarController.php',
|
||||
'PhabricatorPeopleController' => 'applications/people/controller/PhabricatorPeopleController.php',
|
||||
|
@ -1933,16 +1908,24 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPeopleTestDataGenerator' => 'applications/people/lipsum/PhabricatorPeopleTestDataGenerator.php',
|
||||
'PhabricatorPeopleWelcomeController' => 'applications/people/controller/PhabricatorPeopleWelcomeController.php',
|
||||
'PhabricatorPersonaAuthProvider' => 'applications/auth/provider/PhabricatorPersonaAuthProvider.php',
|
||||
'PhabricatorPhameApplication' => 'applications/phame/application/PhabricatorPhameApplication.php',
|
||||
'PhabricatorPhameConfigOptions' => 'applications/phame/config/PhabricatorPhameConfigOptions.php',
|
||||
'PhabricatorPhamePHIDTypeBlog' => 'applications/phame/phid/PhabricatorPhamePHIDTypeBlog.php',
|
||||
'PhabricatorPhamePHIDTypePost' => 'applications/phame/phid/PhabricatorPhamePHIDTypePost.php',
|
||||
'PhabricatorPhluxApplication' => 'applications/phlux/application/PhabricatorPhluxApplication.php',
|
||||
'PhabricatorPholioApplication' => 'applications/pholio/application/PhabricatorPholioApplication.php',
|
||||
'PhabricatorPholioConfigOptions' => 'applications/pholio/config/PhabricatorPholioConfigOptions.php',
|
||||
'PhabricatorPholioMockTestDataGenerator' => 'applications/pholio/lipsum/PhabricatorPholioMockTestDataGenerator.php',
|
||||
'PhabricatorPhortuneApplication' => 'applications/phortune/application/PhabricatorPhortuneApplication.php',
|
||||
'PhabricatorPhortuneConfigOptions' => 'applications/phortune/option/PhabricatorPhortuneConfigOptions.php',
|
||||
'PhabricatorPhragmentApplication' => 'applications/phragment/application/PhabricatorPhragmentApplication.php',
|
||||
'PhabricatorPhrequentApplication' => 'applications/phrequent/application/PhabricatorPhrequentApplication.php',
|
||||
'PhabricatorPhrequentConfigOptions' => 'applications/phrequent/config/PhabricatorPhrequentConfigOptions.php',
|
||||
'PhabricatorPhrictionApplication' => 'applications/phriction/application/PhabricatorPhrictionApplication.php',
|
||||
'PhabricatorPhrictionConfigOptions' => 'applications/phriction/config/PhabricatorPhrictionConfigOptions.php',
|
||||
'PhabricatorPolicies' => 'applications/policy/constants/PhabricatorPolicies.php',
|
||||
'PhabricatorPolicy' => 'applications/policy/storage/PhabricatorPolicy.php',
|
||||
'PhabricatorPolicyApplication' => 'applications/policy/application/PhabricatorPolicyApplication.php',
|
||||
'PhabricatorPolicyAwareQuery' => 'infrastructure/query/policy/PhabricatorPolicyAwareQuery.php',
|
||||
'PhabricatorPolicyAwareTestQuery' => 'applications/policy/__tests__/PhabricatorPolicyAwareTestQuery.php',
|
||||
'PhabricatorPolicyCapability' => 'applications/policy/capability/PhabricatorPolicyCapability.php',
|
||||
|
@ -1973,7 +1956,9 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPolicyTestCase' => 'applications/policy/__tests__/PhabricatorPolicyTestCase.php',
|
||||
'PhabricatorPolicyTestObject' => 'applications/policy/__tests__/PhabricatorPolicyTestObject.php',
|
||||
'PhabricatorPolicyType' => 'applications/policy/constants/PhabricatorPolicyType.php',
|
||||
'PhabricatorPonderApplication' => 'applications/ponder/application/PhabricatorPonderApplication.php',
|
||||
'PhabricatorProject' => 'applications/project/storage/PhabricatorProject.php',
|
||||
'PhabricatorProjectApplication' => 'applications/project/application/PhabricatorProjectApplication.php',
|
||||
'PhabricatorProjectArchiveController' => 'applications/project/controller/PhabricatorProjectArchiveController.php',
|
||||
'PhabricatorProjectBoardController' => 'applications/project/controller/PhabricatorProjectBoardController.php',
|
||||
'PhabricatorProjectBoardDeleteController' => 'applications/project/controller/PhabricatorProjectBoardDeleteController.php',
|
||||
|
@ -2034,6 +2019,8 @@ phutil_register_library_map(array(
|
|||
'PhabricatorRedirectController' => 'applications/base/controller/PhabricatorRedirectController.php',
|
||||
'PhabricatorRefreshCSRFController' => 'applications/auth/controller/PhabricatorRefreshCSRFController.php',
|
||||
'PhabricatorRegistrationProfile' => 'applications/people/storage/PhabricatorRegistrationProfile.php',
|
||||
'PhabricatorReleephApplication' => 'applications/releeph/application/PhabricatorReleephApplication.php',
|
||||
'PhabricatorReleephApplicationConfigOptions' => 'applications/releeph/config/PhabricatorReleephApplicationConfigOptions.php',
|
||||
'PhabricatorRemarkupBlockInterpreterCowsay' => 'infrastructure/markup/interpreter/PhabricatorRemarkupBlockInterpreterCowsay.php',
|
||||
'PhabricatorRemarkupBlockInterpreterFiglet' => 'infrastructure/markup/interpreter/PhabricatorRemarkupBlockInterpreterFiglet.php',
|
||||
'PhabricatorRemarkupBlockInterpreterGraphviz' => 'infrastructure/markup/interpreter/PhabricatorRemarkupBlockInterpreterGraphviz.php',
|
||||
|
@ -2048,6 +2035,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorRemarkupRuleMention' => 'applications/people/remarkup/PhabricatorRemarkupRuleMention.php',
|
||||
'PhabricatorRemarkupRuleObject' => 'infrastructure/markup/rule/PhabricatorRemarkupRuleObject.php',
|
||||
'PhabricatorRemarkupRuleYoutube' => 'infrastructure/markup/rule/PhabricatorRemarkupRuleYoutube.php',
|
||||
'PhabricatorRepositoriesApplication' => 'applications/repository/application/PhabricatorRepositoriesApplication.php',
|
||||
'PhabricatorRepository' => 'applications/repository/storage/PhabricatorRepository.php',
|
||||
'PhabricatorRepositoryArcanistProject' => 'applications/repository/storage/PhabricatorRepositoryArcanistProject.php',
|
||||
'PhabricatorRepositoryArcanistProjectDeleteController' => 'applications/repository/controller/PhabricatorRepositoryArcanistProjectDeleteController.php',
|
||||
|
@ -2150,6 +2138,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorSavedQueryQuery' => 'applications/search/query/PhabricatorSavedQueryQuery.php',
|
||||
'PhabricatorScopedEnv' => 'infrastructure/env/PhabricatorScopedEnv.php',
|
||||
'PhabricatorSearchAbstractDocument' => 'applications/search/index/PhabricatorSearchAbstractDocument.php',
|
||||
'PhabricatorSearchApplication' => 'applications/search/application/PhabricatorSearchApplication.php',
|
||||
'PhabricatorSearchApplicationSearchEngine' => 'applications/search/query/PhabricatorSearchApplicationSearchEngine.php',
|
||||
'PhabricatorSearchAttachController' => 'applications/search/controller/PhabricatorSearchAttachController.php',
|
||||
'PhabricatorSearchBaseController' => 'applications/search/controller/PhabricatorSearchBaseController.php',
|
||||
|
@ -2183,6 +2172,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorSendGridConfigOptions' => 'applications/config/option/PhabricatorSendGridConfigOptions.php',
|
||||
'PhabricatorSettingsAddEmailAction' => 'applications/settings/action/PhabricatorSettingsAddEmailAction.php',
|
||||
'PhabricatorSettingsAdjustController' => 'applications/settings/controller/PhabricatorSettingsAdjustController.php',
|
||||
'PhabricatorSettingsApplication' => 'applications/settings/application/PhabricatorSettingsApplication.php',
|
||||
'PhabricatorSettingsMainController' => 'applications/settings/controller/PhabricatorSettingsMainController.php',
|
||||
'PhabricatorSettingsPanel' => 'applications/settings/panel/PhabricatorSettingsPanel.php',
|
||||
'PhabricatorSettingsPanelAccount' => 'applications/settings/panel/PhabricatorSettingsPanelAccount.php',
|
||||
|
@ -2226,6 +2216,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorSetupIssue' => 'applications/config/issue/PhabricatorSetupIssue.php',
|
||||
'PhabricatorSetupIssueExample' => 'applications/uiexample/examples/PhabricatorSetupIssueExample.php',
|
||||
'PhabricatorSetupIssueView' => 'applications/config/view/PhabricatorSetupIssueView.php',
|
||||
'PhabricatorSlowvoteApplication' => 'applications/slowvote/application/PhabricatorSlowvoteApplication.php',
|
||||
'PhabricatorSlowvoteCapabilityDefaultView' => 'applications/slowvote/capability/PhabricatorSlowvoteCapabilityDefaultView.php',
|
||||
'PhabricatorSlowvoteChoice' => 'applications/slowvote/storage/PhabricatorSlowvoteChoice.php',
|
||||
'PhabricatorSlowvoteCloseController' => 'applications/slowvote/controller/PhabricatorSlowvoteCloseController.php',
|
||||
|
@ -2276,11 +2267,13 @@ phutil_register_library_map(array(
|
|||
'PhabricatorStoragePatch' => 'infrastructure/storage/management/PhabricatorStoragePatch.php',
|
||||
'PhabricatorSubscribableInterface' => 'applications/subscriptions/interface/PhabricatorSubscribableInterface.php',
|
||||
'PhabricatorSubscribersQuery' => 'applications/subscriptions/query/PhabricatorSubscribersQuery.php',
|
||||
'PhabricatorSubscriptionsApplication' => 'applications/subscriptions/application/PhabricatorSubscriptionsApplication.php',
|
||||
'PhabricatorSubscriptionsEditController' => 'applications/subscriptions/controller/PhabricatorSubscriptionsEditController.php',
|
||||
'PhabricatorSubscriptionsEditor' => 'applications/subscriptions/editor/PhabricatorSubscriptionsEditor.php',
|
||||
'PhabricatorSubscriptionsListController' => 'applications/subscriptions/controller/PhabricatorSubscriptionsListController.php',
|
||||
'PhabricatorSubscriptionsTransactionController' => 'applications/subscriptions/controller/PhabricatorSubscriptionsTransactionController.php',
|
||||
'PhabricatorSubscriptionsUIEventListener' => 'applications/subscriptions/events/PhabricatorSubscriptionsUIEventListener.php',
|
||||
'PhabricatorSupportApplication' => 'applications/support/application/PhabricatorSupportApplication.php',
|
||||
'PhabricatorSymbolNameLinter' => 'infrastructure/lint/hook/PhabricatorSymbolNameLinter.php',
|
||||
'PhabricatorSyntaxHighlighter' => 'infrastructure/markup/PhabricatorSyntaxHighlighter.php',
|
||||
'PhabricatorSyntaxHighlightingConfigOptions' => 'applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php',
|
||||
|
@ -2289,6 +2282,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorSystemActionGarbageCollector' => 'applications/system/garbagecollector/PhabricatorSystemActionGarbageCollector.php',
|
||||
'PhabricatorSystemActionLog' => 'applications/system/storage/PhabricatorSystemActionLog.php',
|
||||
'PhabricatorSystemActionRateLimitException' => 'applications/system/exception/PhabricatorSystemActionRateLimitException.php',
|
||||
'PhabricatorSystemApplication' => 'applications/system/application/PhabricatorSystemApplication.php',
|
||||
'PhabricatorSystemDAO' => 'applications/system/storage/PhabricatorSystemDAO.php',
|
||||
'PhabricatorSystemDestructionGarbageCollector' => 'applications/system/garbagecollector/PhabricatorSystemDestructionGarbageCollector.php',
|
||||
'PhabricatorSystemDestructionLog' => 'applications/system/storage/PhabricatorSystemDestructionLog.php',
|
||||
|
@ -2298,6 +2292,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorSystemSelectEncodingController' => 'applications/system/controller/PhabricatorSystemSelectEncodingController.php',
|
||||
'PhabricatorSystemSelectHighlightController' => 'applications/system/controller/PhabricatorSystemSelectHighlightController.php',
|
||||
'PhabricatorTaskmasterDaemon' => 'infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php',
|
||||
'PhabricatorTestApplication' => 'applications/base/controller/__tests__/PhabricatorTestApplication.php',
|
||||
'PhabricatorTestCase' => 'infrastructure/testing/PhabricatorTestCase.php',
|
||||
'PhabricatorTestController' => 'applications/base/controller/__tests__/PhabricatorTestController.php',
|
||||
'PhabricatorTestDataGenerator' => 'applications/lipsum/generator/PhabricatorTestDataGenerator.php',
|
||||
|
@ -2323,8 +2318,10 @@ phutil_register_library_map(array(
|
|||
'PhabricatorTokenReceiverInterface' => 'applications/tokens/interface/PhabricatorTokenReceiverInterface.php',
|
||||
'PhabricatorTokenReceiverQuery' => 'applications/tokens/query/PhabricatorTokenReceiverQuery.php',
|
||||
'PhabricatorTokenUIEventListener' => 'applications/tokens/event/PhabricatorTokenUIEventListener.php',
|
||||
'PhabricatorTokensApplication' => 'applications/tokens/application/PhabricatorTokensApplication.php',
|
||||
'PhabricatorTransactionView' => 'view/layout/PhabricatorTransactionView.php',
|
||||
'PhabricatorTransactions' => 'applications/transactions/constants/PhabricatorTransactions.php',
|
||||
'PhabricatorTransactionsApplication' => 'applications/transactions/application/PhabricatorTransactionsApplication.php',
|
||||
'PhabricatorTransformedFile' => 'applications/files/storage/PhabricatorTransformedFile.php',
|
||||
'PhabricatorTranslation' => 'infrastructure/internationalization/translation/PhabricatorTranslation.php',
|
||||
'PhabricatorTranslationsConfigOptions' => 'applications/config/option/PhabricatorTranslationsConfigOptions.php',
|
||||
|
@ -2332,6 +2329,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorTwitchAuthProvider' => 'applications/auth/provider/PhabricatorTwitchAuthProvider.php',
|
||||
'PhabricatorTwitterAuthProvider' => 'applications/auth/provider/PhabricatorTwitterAuthProvider.php',
|
||||
'PhabricatorTwoColumnExample' => 'applications/uiexample/examples/PhabricatorTwoColumnExample.php',
|
||||
'PhabricatorTypeaheadApplication' => 'applications/typeahead/application/PhabricatorTypeaheadApplication.php',
|
||||
'PhabricatorTypeaheadCompositeDatasource' => 'applications/typeahead/datasource/PhabricatorTypeaheadCompositeDatasource.php',
|
||||
'PhabricatorTypeaheadDatasource' => 'applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php',
|
||||
'PhabricatorTypeaheadDatasourceController' => 'applications/typeahead/controller/PhabricatorTypeaheadDatasourceController.php',
|
||||
|
@ -2344,6 +2342,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorUIConfigOptions' => 'applications/config/option/PhabricatorUIConfigOptions.php',
|
||||
'PhabricatorUIExample' => 'applications/uiexample/examples/PhabricatorUIExample.php',
|
||||
'PhabricatorUIExampleRenderController' => 'applications/uiexample/controller/PhabricatorUIExampleRenderController.php',
|
||||
'PhabricatorUIExamplesApplication' => 'applications/uiexample/application/PhabricatorUIExamplesApplication.php',
|
||||
'PhabricatorUIListFilterExample' => 'applications/uiexample/examples/PhabricatorUIListFilterExample.php',
|
||||
'PhabricatorUINotificationExample' => 'applications/uiexample/examples/PhabricatorUINotificationExample.php',
|
||||
'PhabricatorUIPagerExample' => 'applications/uiexample/examples/PhabricatorUIPagerExample.php',
|
||||
|
@ -2404,6 +2403,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorXHPASTViewRunController' => 'applications/phpast/controller/PhabricatorXHPASTViewRunController.php',
|
||||
'PhabricatorXHPASTViewStreamController' => 'applications/phpast/controller/PhabricatorXHPASTViewStreamController.php',
|
||||
'PhabricatorXHPASTViewTreeController' => 'applications/phpast/controller/PhabricatorXHPASTViewTreeController.php',
|
||||
'PhabricatorXHProfApplication' => 'applications/xhprof/application/PhabricatorXHProfApplication.php',
|
||||
'PhabricatorXHProfController' => 'applications/xhprof/controller/PhabricatorXHProfController.php',
|
||||
'PhabricatorXHProfDAO' => 'applications/xhprof/storage/PhabricatorXHProfDAO.php',
|
||||
'PhabricatorXHProfProfileController' => 'applications/xhprof/controller/PhabricatorXHProfProfileController.php',
|
||||
|
@ -3918,73 +3918,15 @@ phutil_register_library_map(array(
|
|||
'PhabricatorAphrontViewTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorAppSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorApplication' => 'PhabricatorPolicyInterface',
|
||||
'PhabricatorApplicationApplications' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationAudit' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationAuth' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationCalendar' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationChatLog' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationConduit' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationConfig' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationConfigOptions' => 'Phobject',
|
||||
'PhabricatorApplicationConpherence' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationCountdown' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationDaemons' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationDashboard' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationDatasource' => 'PhabricatorTypeaheadDatasource',
|
||||
'PhabricatorApplicationDetailViewController' => 'PhabricatorApplicationsController',
|
||||
'PhabricatorApplicationDifferential' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationDiffusion' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationDiviner' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationDoorkeeper' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationDrydock' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationEditController' => 'PhabricatorApplicationsController',
|
||||
'PhabricatorApplicationFact' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationFeed' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationFiles' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationFlags' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationHarbormaster' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationHelp' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationHerald' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationHome' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationLaunchView' => 'AphrontTagView',
|
||||
'PhabricatorApplicationLegalpad' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationMacro' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationMailingLists' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationManiphest' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationMetaMTA' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationNotifications' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationNuance' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationOAuthServer' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationOwners' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPHIDTypeApplication' => 'PhabricatorPHIDType',
|
||||
'PhabricatorApplicationPHPAST' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPassphrase' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPaste' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPeople' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPhame' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPhlux' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPholio' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPhortune' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPhragment' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPhrequent' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPhriction' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPolicy' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationPonder' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationProject' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorApplicationReleeph' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationReleephConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorApplicationRepositories' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationSearch' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationSearchController' => 'PhabricatorSearchBaseController',
|
||||
'PhabricatorApplicationSettings' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationSlowvote' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationStatusView' => 'AphrontView',
|
||||
'PhabricatorApplicationSubscriptions' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationSupport' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationSystem' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationTest' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationTokens' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationTransaction' => array(
|
||||
'PhabricatorLiskDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
|
@ -4018,16 +3960,14 @@ phutil_register_library_map(array(
|
|||
'PhabricatorApplicationTransactionValidationException' => 'Exception',
|
||||
'PhabricatorApplicationTransactionValueController' => 'PhabricatorApplicationTransactionController',
|
||||
'PhabricatorApplicationTransactionView' => 'AphrontView',
|
||||
'PhabricatorApplicationTransactions' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationTypeahead' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationUIExamples' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationUninstallController' => 'PhabricatorApplicationsController',
|
||||
'PhabricatorApplicationXHProf' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationsApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorApplicationsController' => 'PhabricatorController',
|
||||
'PhabricatorApplicationsListController' => 'PhabricatorApplicationsController',
|
||||
'PhabricatorAsanaAuthProvider' => 'PhabricatorOAuth2AuthProvider',
|
||||
'PhabricatorAsanaConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorAuditAddCommentController' => 'PhabricatorAuditController',
|
||||
'PhabricatorAuditApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorAuditComment' => array(
|
||||
'PhabricatorAuditDAO',
|
||||
'PhabricatorMarkupInterface',
|
||||
|
@ -4047,6 +3987,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorAuditPreviewController' => 'PhabricatorAuditController',
|
||||
'PhabricatorAuditReplyHandler' => 'PhabricatorMailReplyHandler',
|
||||
'PhabricatorAuthAccountView' => 'AphrontView',
|
||||
'PhabricatorAuthApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorAuthConfirmLinkController' => 'PhabricatorAuthController',
|
||||
'PhabricatorAuthController' => 'PhabricatorController',
|
||||
'PhabricatorAuthDAO' => 'PhabricatorLiskDAO',
|
||||
|
@ -4129,6 +4070,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCacheManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorCacheMarkupGarbageCollector' => 'PhabricatorGarbageCollector',
|
||||
'PhabricatorCacheTTLGarbageCollector' => 'PhabricatorGarbageCollector',
|
||||
'PhabricatorCalendarApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorCalendarBrowseController' => 'PhabricatorCalendarController',
|
||||
'PhabricatorCalendarController' => 'PhabricatorController',
|
||||
'PhabricatorCalendarDAO' => 'PhabricatorLiskDAO',
|
||||
|
@ -4150,6 +4092,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCampfireProtocolAdapter' => 'PhabricatorBotBaseStreamingProtocolAdapter',
|
||||
'PhabricatorChangeParserTestCase' => 'PhabricatorWorkingCopyTestCase',
|
||||
'PhabricatorChangesetResponse' => 'AphrontProxyResponse',
|
||||
'PhabricatorChatLogApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorChatLogChannel' => array(
|
||||
'PhabricatorChatLogDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
|
@ -4171,6 +4114,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCommitTagsField' => 'PhabricatorCommitCustomField',
|
||||
'PhabricatorCommonPasswords' => 'Phobject',
|
||||
'PhabricatorConduitAPIController' => 'PhabricatorConduitController',
|
||||
'PhabricatorConduitApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorConduitCertificateToken' => 'PhabricatorConduitDAO',
|
||||
'PhabricatorConduitConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorConduitConnectionLog' => 'PhabricatorConduitDAO',
|
||||
|
@ -4188,6 +4132,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorConduitSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorConduitTokenController' => 'PhabricatorConduitController',
|
||||
'PhabricatorConfigAllController' => 'PhabricatorConfigController',
|
||||
'PhabricatorConfigApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorConfigController' => 'PhabricatorController',
|
||||
'PhabricatorConfigDatabaseSource' => 'PhabricatorConfigProxySource',
|
||||
'PhabricatorConfigDefaultSource' => 'PhabricatorConfigProxySource',
|
||||
|
@ -4225,6 +4170,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorConfigTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PhabricatorConfigValidationException' => 'Exception',
|
||||
'PhabricatorConfigWelcomeController' => 'PhabricatorConfigController',
|
||||
'PhabricatorConpherenceApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorConpherencePHIDTypeThread' => 'PhabricatorPHIDType',
|
||||
'PhabricatorContentSourceView' => 'AphrontView',
|
||||
'PhabricatorController' => 'AphrontController',
|
||||
|
@ -4234,6 +4180,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCountdownDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhabricatorCountdownApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorCountdownCapabilityDefaultView' => 'PhabricatorPolicyCapability',
|
||||
'PhabricatorCountdownController' => 'PhabricatorController',
|
||||
'PhabricatorCountdownDAO' => 'PhabricatorLiskDAO',
|
||||
|
@ -4289,11 +4236,13 @@ phutil_register_library_map(array(
|
|||
'PhabricatorDaemonManagementStopWorkflow' => 'PhabricatorDaemonManagementWorkflow',
|
||||
'PhabricatorDaemonManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorDaemonTaskGarbageCollector' => 'PhabricatorGarbageCollector',
|
||||
'PhabricatorDaemonsApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorDashboard' => array(
|
||||
'PhabricatorDashboardDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhabricatorDashboardAddPanelController' => 'PhabricatorDashboardController',
|
||||
'PhabricatorDashboardApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorDashboardController' => 'PhabricatorController',
|
||||
'PhabricatorDashboardCopyController' => 'PhabricatorDashboardController',
|
||||
'PhabricatorDashboardDAO' => 'PhabricatorLiskDAO',
|
||||
|
@ -4350,14 +4299,19 @@ phutil_register_library_map(array(
|
|||
'PhabricatorDefaultSearchEngineSelector' => 'PhabricatorSearchEngineSelector',
|
||||
'PhabricatorDestructionEngine' => 'Phobject',
|
||||
'PhabricatorDeveloperConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorDifferentialApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorDifferentialConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorDifferentialRevisionTestDataGenerator' => 'PhabricatorTestDataGenerator',
|
||||
'PhabricatorDiffusionApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorDiffusionConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorDisabledUserController' => 'PhabricatorAuthController',
|
||||
'PhabricatorDisqusAuthProvider' => 'PhabricatorOAuth2AuthProvider',
|
||||
'PhabricatorDisqusConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorDivinerApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorDoorkeeperApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorDraft' => 'PhabricatorDraftDAO',
|
||||
'PhabricatorDraftDAO' => 'PhabricatorLiskDAO',
|
||||
'PhabricatorDrydockApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorEdgeConfig' => 'PhabricatorEdgeConstants',
|
||||
'PhabricatorEdgeCycleException' => 'Exception',
|
||||
'PhabricatorEdgeEditor' => 'Phobject',
|
||||
|
@ -4384,6 +4338,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorExternalAccountQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorFacebookAuthProvider' => 'PhabricatorOAuth2AuthProvider',
|
||||
'PhabricatorFactAggregate' => 'PhabricatorFactDAO',
|
||||
'PhabricatorFactApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorFactChartController' => 'PhabricatorFactController',
|
||||
'PhabricatorFactController' => 'PhabricatorController',
|
||||
'PhabricatorFactCountEngine' => 'PhabricatorFactEngine',
|
||||
|
@ -4401,6 +4356,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorFactRaw' => 'PhabricatorFactDAO',
|
||||
'PhabricatorFactSimpleSpec' => 'PhabricatorFactSpec',
|
||||
'PhabricatorFactUpdateIterator' => 'PhutilBufferedIterator',
|
||||
'PhabricatorFeedApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorFeedConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorFeedController' => 'PhabricatorController',
|
||||
'PhabricatorFeedDAO' => 'PhabricatorLiskDAO',
|
||||
|
@ -4466,6 +4422,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorFileUploadController' => 'PhabricatorFileController',
|
||||
'PhabricatorFileUploadDialogController' => 'PhabricatorFileController',
|
||||
'PhabricatorFileUploadException' => 'Exception',
|
||||
'PhabricatorFilesApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorFilesConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorFilesManagementEnginesWorkflow' => 'PhabricatorFilesManagementWorkflow',
|
||||
'PhabricatorFilesManagementMigrateWorkflow' => 'PhabricatorFilesManagementWorkflow',
|
||||
|
@ -4486,6 +4443,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorFlagSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorFlagSelectControl' => 'AphrontFormControl',
|
||||
'PhabricatorFlaggableInterface' => 'PhabricatorPHIDInterface',
|
||||
'PhabricatorFlagsApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorFlagsUIEventListener' => 'PhabricatorEventListener',
|
||||
'PhabricatorFormExample' => 'PhabricatorUIExample',
|
||||
'PhabricatorGarbageCollector' => 'Phobject',
|
||||
|
@ -4498,11 +4456,15 @@ phutil_register_library_map(array(
|
|||
'PhabricatorGlobalUploadTargetView' => 'AphrontView',
|
||||
'PhabricatorGoogleAuthProvider' => 'PhabricatorOAuth2AuthProvider',
|
||||
'PhabricatorHandleQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorHarbormasterApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorHarbormasterConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorHashTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorHelpApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorHelpController' => 'PhabricatorController',
|
||||
'PhabricatorHelpEditorProtocolController' => 'PhabricatorHelpController',
|
||||
'PhabricatorHelpKeyboardShortcutController' => 'PhabricatorHelpController',
|
||||
'PhabricatorHeraldApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorHomeApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorHomeController' => 'PhabricatorController',
|
||||
'PhabricatorHomeMainController' => 'PhabricatorHomeController',
|
||||
'PhabricatorHomeQuickCreateController' => 'PhabricatorHomeController',
|
||||
|
@ -4524,6 +4486,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorKeyValueDatabaseCache' => 'PhutilKeyValueCache',
|
||||
'PhabricatorLDAPAuthProvider' => 'PhabricatorAuthProvider',
|
||||
'PhabricatorLegacyEdgeType' => 'PhabricatorEdgeType',
|
||||
'PhabricatorLegalpadApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorLegalpadConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorLegalpadPHIDTypeDocument' => 'PhabricatorPHIDType',
|
||||
'PhabricatorLipsumGenerateWorkflow' => 'PhabricatorLipsumManagementWorkflow',
|
||||
|
@ -4533,6 +4496,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorLocalDiskFileStorageEngine' => 'PhabricatorFileStorageEngine',
|
||||
'PhabricatorLocalTimeTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorLogoutController' => 'PhabricatorAuthController',
|
||||
'PhabricatorMacroApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorMacroAudioController' => 'PhabricatorMacroController',
|
||||
'PhabricatorMacroCapabilityManage' => 'PhabricatorPolicyCapability',
|
||||
'PhabricatorMacroCommentController' => 'PhabricatorMacroController',
|
||||
|
@ -4574,6 +4538,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorMailingListPHIDTypeList' => 'PhabricatorPHIDType',
|
||||
'PhabricatorMailingListQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorMailingListSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorMailingListsApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorMailingListsController' => 'PhabricatorController',
|
||||
'PhabricatorMailingListsEditController' => 'PhabricatorMailingListsController',
|
||||
'PhabricatorMailingListsListController' => 'PhabricatorMailingListsController',
|
||||
|
@ -4582,6 +4547,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorMainMenuSearchView' => 'AphrontView',
|
||||
'PhabricatorMainMenuView' => 'AphrontView',
|
||||
'PhabricatorManagementWorkflow' => 'PhutilArgumentWorkflow',
|
||||
'PhabricatorManiphestApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorManiphestConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorManiphestTaskTestDataGenerator' => 'PhabricatorTestDataGenerator',
|
||||
'PhabricatorMarkupCache' => 'PhabricatorCacheDAO',
|
||||
|
@ -4589,6 +4555,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorMarkupPreviewController' => 'PhabricatorController',
|
||||
'PhabricatorMercurialGraphStream' => 'PhabricatorRepositoryGraphStream',
|
||||
'PhabricatorMetaMTAActorQuery' => 'PhabricatorQuery',
|
||||
'PhabricatorMetaMTAApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorMetaMTAConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorMetaMTAController' => 'PhabricatorController',
|
||||
'PhabricatorMetaMTADAO' => 'PhabricatorLiskDAO',
|
||||
|
@ -4631,6 +4598,8 @@ phutil_register_library_map(array(
|
|||
'PhabricatorNotificationStatusController' => 'PhabricatorNotificationController',
|
||||
'PhabricatorNotificationStatusView' => 'AphrontTagView',
|
||||
'PhabricatorNotificationTestController' => 'PhabricatorNotificationController',
|
||||
'PhabricatorNotificationsApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorNuanceApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorOAuth1AuthProvider' => 'PhabricatorOAuthAuthProvider',
|
||||
'PhabricatorOAuth2AuthProvider' => 'PhabricatorOAuthAuthProvider',
|
||||
'PhabricatorOAuthAuthProvider' => 'PhabricatorAuthProvider',
|
||||
|
@ -4646,6 +4615,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorOAuthClientViewController' => 'PhabricatorOAuthClientController',
|
||||
'PhabricatorOAuthResponse' => 'AphrontResponse',
|
||||
'PhabricatorOAuthServerAccessToken' => 'PhabricatorOAuthServerDAO',
|
||||
'PhabricatorOAuthServerApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorOAuthServerAuthController' => 'PhabricatorAuthController',
|
||||
'PhabricatorOAuthServerAuthorizationCode' => 'PhabricatorOAuthServerDAO',
|
||||
'PhabricatorOAuthServerAuthorizationsSettingsPanel' => 'PhabricatorSettingsPanel',
|
||||
|
@ -4670,6 +4640,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorObjectMailReceiverTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorObjectQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorOffsetPagedQuery' => 'PhabricatorQuery',
|
||||
'PhabricatorOwnersApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorOwnersConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorOwnersController' => 'PhabricatorController',
|
||||
'PhabricatorOwnersDAO' => 'PhabricatorLiskDAO',
|
||||
|
@ -4688,8 +4659,10 @@ phutil_register_library_map(array(
|
|||
'PhabricatorOwnersPackageTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorOwnersPath' => 'PhabricatorOwnersDAO',
|
||||
'PhabricatorPHDConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPHPASTApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPHPMailerConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPagedFormExample' => 'PhabricatorUIExample',
|
||||
'PhabricatorPassphraseApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPasswordAuthProvider' => 'PhabricatorAuthProvider',
|
||||
'PhabricatorPasswordHasher' => 'Phobject',
|
||||
'PhabricatorPasswordHasherTestCase' => 'PhabricatorTestCase',
|
||||
|
@ -4702,6 +4675,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPolicyInterface',
|
||||
'PhabricatorProjectInterface',
|
||||
),
|
||||
'PhabricatorPasteApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPasteCommentController' => 'PhabricatorPasteController',
|
||||
'PhabricatorPasteConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPasteController' => 'PhabricatorController',
|
||||
|
@ -4718,6 +4692,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPasteTransactionComment' => 'PhabricatorApplicationTransactionComment',
|
||||
'PhabricatorPasteTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
|
||||
'PhabricatorPasteViewController' => 'PhabricatorPasteController',
|
||||
'PhabricatorPeopleApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPeopleApproveController' => 'PhabricatorPeopleController',
|
||||
'PhabricatorPeopleCalendarController' => 'PhabricatorPeopleController',
|
||||
'PhabricatorPeopleController' => 'PhabricatorController',
|
||||
|
@ -4744,19 +4719,27 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPeopleTestDataGenerator' => 'PhabricatorTestDataGenerator',
|
||||
'PhabricatorPeopleWelcomeController' => 'PhabricatorPeopleController',
|
||||
'PhabricatorPersonaAuthProvider' => 'PhabricatorAuthProvider',
|
||||
'PhabricatorPhameApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPhameConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPhamePHIDTypeBlog' => 'PhabricatorPHIDType',
|
||||
'PhabricatorPhamePHIDTypePost' => 'PhabricatorPHIDType',
|
||||
'PhabricatorPhluxApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPholioApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPholioConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPholioMockTestDataGenerator' => 'PhabricatorTestDataGenerator',
|
||||
'PhabricatorPhortuneApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPhortuneConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPhragmentApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPhrequentApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPhrequentConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPhrictionApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPhrictionConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorPolicies' => 'PhabricatorPolicyConstants',
|
||||
'PhabricatorPolicy' => array(
|
||||
'PhabricatorPolicyDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhabricatorPolicyApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorPolicyAwareQuery' => 'PhabricatorOffsetPagedQuery',
|
||||
'PhabricatorPolicyAwareTestQuery' => 'PhabricatorPolicyAwareQuery',
|
||||
'PhabricatorPolicyCapability' => 'Phobject',
|
||||
|
@ -4784,6 +4767,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPolicyTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorPolicyTestObject' => 'PhabricatorPolicyInterface',
|
||||
'PhabricatorPolicyType' => 'PhabricatorPolicyConstants',
|
||||
'PhabricatorPonderApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorProject' => array(
|
||||
'PhabricatorProjectDAO',
|
||||
'PhabricatorFlaggableInterface',
|
||||
|
@ -4792,6 +4776,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorCustomFieldInterface',
|
||||
'PhabricatorDestructibleInterface',
|
||||
),
|
||||
'PhabricatorProjectApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorProjectArchiveController' => 'PhabricatorProjectController',
|
||||
'PhabricatorProjectBoardController' => 'PhabricatorProjectController',
|
||||
'PhabricatorProjectBoardDeleteController' => 'PhabricatorProjectBoardController',
|
||||
|
@ -4858,6 +4843,8 @@ phutil_register_library_map(array(
|
|||
'PhabricatorRedirectController' => 'PhabricatorController',
|
||||
'PhabricatorRefreshCSRFController' => 'PhabricatorAuthController',
|
||||
'PhabricatorRegistrationProfile' => 'Phobject',
|
||||
'PhabricatorReleephApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorReleephApplicationConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorRemarkupBlockInterpreterCowsay' => 'PhutilRemarkupBlockInterpreter',
|
||||
'PhabricatorRemarkupBlockInterpreterFiglet' => 'PhutilRemarkupBlockInterpreter',
|
||||
'PhabricatorRemarkupBlockInterpreterGraphviz' => 'PhutilRemarkupBlockInterpreter',
|
||||
|
@ -4872,6 +4859,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorRemarkupRuleMention' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRemarkupRuleObject' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRemarkupRuleYoutube' => 'PhutilRemarkupRule',
|
||||
'PhabricatorRepositoriesApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorRepository' => array(
|
||||
'PhabricatorRepositoryDAO',
|
||||
'PhabricatorPolicyInterface',
|
||||
|
@ -5002,6 +4990,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorPolicyInterface',
|
||||
),
|
||||
'PhabricatorSavedQueryQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorSearchApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorSearchApplicationSearchEngine' => 'PhabricatorApplicationSearchEngine',
|
||||
'PhabricatorSearchAttachController' => 'PhabricatorSearchBaseController',
|
||||
'PhabricatorSearchBaseController' => 'PhabricatorController',
|
||||
|
@ -5029,6 +5018,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorSendGridConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorSettingsAddEmailAction' => 'PhabricatorSystemAction',
|
||||
'PhabricatorSettingsAdjustController' => 'PhabricatorController',
|
||||
'PhabricatorSettingsApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorSettingsMainController' => 'PhabricatorController',
|
||||
'PhabricatorSettingsPanelAccount' => 'PhabricatorSettingsPanel',
|
||||
'PhabricatorSettingsPanelActivity' => 'PhabricatorSettingsPanel',
|
||||
|
@ -5069,6 +5059,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorSetupCheckTimezone' => 'PhabricatorSetupCheck',
|
||||
'PhabricatorSetupIssueExample' => 'PhabricatorUIExample',
|
||||
'PhabricatorSetupIssueView' => 'AphrontView',
|
||||
'PhabricatorSlowvoteApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorSlowvoteCapabilityDefaultView' => 'PhabricatorPolicyCapability',
|
||||
'PhabricatorSlowvoteChoice' => 'PhabricatorSlowvoteDAO',
|
||||
'PhabricatorSlowvoteCloseController' => 'PhabricatorSlowvoteController',
|
||||
|
@ -5120,17 +5111,20 @@ phutil_register_library_map(array(
|
|||
'PhabricatorStorageManagementUpgradeWorkflow' => 'PhabricatorStorageManagementWorkflow',
|
||||
'PhabricatorStorageManagementWorkflow' => 'PhabricatorManagementWorkflow',
|
||||
'PhabricatorSubscribersQuery' => 'PhabricatorQuery',
|
||||
'PhabricatorSubscriptionsApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorSubscriptionsEditController' => 'PhabricatorController',
|
||||
'PhabricatorSubscriptionsEditor' => 'PhabricatorEditor',
|
||||
'PhabricatorSubscriptionsListController' => 'PhabricatorController',
|
||||
'PhabricatorSubscriptionsTransactionController' => 'PhabricatorController',
|
||||
'PhabricatorSubscriptionsUIEventListener' => 'PhabricatorEventListener',
|
||||
'PhabricatorSupportApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorSymbolNameLinter' => 'ArcanistXHPASTLintNamingHook',
|
||||
'PhabricatorSyntaxHighlightingConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorSystemActionEngine' => 'Phobject',
|
||||
'PhabricatorSystemActionGarbageCollector' => 'PhabricatorGarbageCollector',
|
||||
'PhabricatorSystemActionLog' => 'PhabricatorSystemDAO',
|
||||
'PhabricatorSystemActionRateLimitException' => 'Exception',
|
||||
'PhabricatorSystemApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorSystemDAO' => 'PhabricatorLiskDAO',
|
||||
'PhabricatorSystemDestructionGarbageCollector' => 'PhabricatorGarbageCollector',
|
||||
'PhabricatorSystemDestructionLog' => 'PhabricatorSystemDAO',
|
||||
|
@ -5140,6 +5134,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorSystemSelectEncodingController' => 'PhabricatorController',
|
||||
'PhabricatorSystemSelectHighlightController' => 'PhabricatorController',
|
||||
'PhabricatorTaskmasterDaemon' => 'PhabricatorDaemon',
|
||||
'PhabricatorTestApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorTestCase' => 'ArcanistPhutilTestCase',
|
||||
'PhabricatorTestController' => 'PhabricatorController',
|
||||
'PhabricatorTestStorageEngine' => 'PhabricatorFileStorageEngine',
|
||||
|
@ -5167,13 +5162,16 @@ phutil_register_library_map(array(
|
|||
'PhabricatorTokenQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorTokenReceiverQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||
'PhabricatorTokenUIEventListener' => 'PhabricatorEventListener',
|
||||
'PhabricatorTokensApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorTransactionView' => 'AphrontView',
|
||||
'PhabricatorTransactionsApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorTransformedFile' => 'PhabricatorFileDAO',
|
||||
'PhabricatorTranslationsConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorTrivialTestCase' => 'PhabricatorTestCase',
|
||||
'PhabricatorTwitchAuthProvider' => 'PhabricatorOAuth2AuthProvider',
|
||||
'PhabricatorTwitterAuthProvider' => 'PhabricatorOAuth1AuthProvider',
|
||||
'PhabricatorTwoColumnExample' => 'PhabricatorUIExample',
|
||||
'PhabricatorTypeaheadApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorTypeaheadCompositeDatasource' => 'PhabricatorTypeaheadDatasource',
|
||||
'PhabricatorTypeaheadDatasource' => 'Phobject',
|
||||
'PhabricatorTypeaheadDatasourceController' => 'PhabricatorController',
|
||||
|
@ -5184,6 +5182,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorTypeaheadRuntimeCompositeDatasource' => 'PhabricatorTypeaheadCompositeDatasource',
|
||||
'PhabricatorUIConfigOptions' => 'PhabricatorApplicationConfigOptions',
|
||||
'PhabricatorUIExampleRenderController' => 'PhabricatorController',
|
||||
'PhabricatorUIExamplesApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorUIListFilterExample' => 'PhabricatorUIExample',
|
||||
'PhabricatorUINotificationExample' => 'PhabricatorUIExample',
|
||||
'PhabricatorUIPagerExample' => 'PhabricatorUIExample',
|
||||
|
@ -5255,6 +5254,7 @@ phutil_register_library_map(array(
|
|||
'PhabricatorXHPASTViewRunController' => 'PhabricatorXHPASTViewController',
|
||||
'PhabricatorXHPASTViewStreamController' => 'PhabricatorXHPASTViewPanelController',
|
||||
'PhabricatorXHPASTViewTreeController' => 'PhabricatorXHPASTViewPanelController',
|
||||
'PhabricatorXHProfApplication' => 'PhabricatorApplication',
|
||||
'PhabricatorXHProfController' => 'PhabricatorController',
|
||||
'PhabricatorXHProfDAO' => 'PhabricatorLiskDAO',
|
||||
'PhabricatorXHProfProfileController' => 'PhabricatorXHProfController',
|
||||
|
|
|
@ -8,9 +8,7 @@
|
|||
class AphrontDefaultApplicationConfiguration
|
||||
extends AphrontApplicationConfiguration {
|
||||
|
||||
public function __construct() {
|
||||
|
||||
}
|
||||
public function __construct() {}
|
||||
|
||||
public function getApplicationName() {
|
||||
return 'aphront-default';
|
||||
|
@ -172,7 +170,6 @@ class AphrontDefaultApplicationConfiguration
|
|||
}
|
||||
|
||||
if ($ex instanceof PhabricatorPolicyException) {
|
||||
|
||||
if (!$user->isLoggedIn()) {
|
||||
// If the user isn't logged in, just give them a login form. This is
|
||||
// probably a generally more useful response than a policy dialog that
|
||||
|
@ -182,7 +179,7 @@ class AphrontDefaultApplicationConfiguration
|
|||
// the thing you are trying to look at".
|
||||
$login_controller = new PhabricatorAuthStartController($request);
|
||||
|
||||
$auth_app_class = 'PhabricatorApplicationAuth';
|
||||
$auth_app_class = 'PhabricatorAuthApplication';
|
||||
$auth_app = PhabricatorApplication::getByClass($auth_app_class);
|
||||
$login_controller->setCurrentApplication($auth_app);
|
||||
|
||||
|
@ -247,7 +244,6 @@ class AphrontDefaultApplicationConfiguration
|
|||
return $response;
|
||||
}
|
||||
|
||||
|
||||
// Always log the unhandled exception.
|
||||
phlog($ex);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationAudit extends PhabricatorApplication {
|
||||
final class PhabricatorAuditApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/audit/';
|
||||
|
@ -24,7 +24,7 @@ final class PhabricatorApplicationAudit extends PhabricatorApplication {
|
|||
|
||||
public function getEventListeners() {
|
||||
return array(
|
||||
new AuditActionMenuEventListener()
|
||||
new AuditActionMenuEventListener(),
|
||||
);
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
abstract class ConduitAPI_audit_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getApplication() {
|
||||
return PhabricatorApplication::getByClass('PhabricatorApplicationAudit');
|
||||
return PhabricatorApplication::getByClass('PhabricatorAuditApplication');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
final class PhabricatorAuditMailReceiver extends PhabricatorObjectMailReceiver {
|
||||
|
||||
public function isEnabled() {
|
||||
$app_class = 'PhabricatorApplicationAudit';
|
||||
$app_class = 'PhabricatorAuditApplication';
|
||||
return PhabricatorApplication::isClassInstalled($app_class);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationAuth extends PhabricatorApplication {
|
||||
final class PhabricatorAuthApplication extends PhabricatorApplication {
|
||||
|
||||
public function canUninstall() {
|
||||
return false;
|
||||
|
@ -83,11 +83,11 @@ final class PhabricatorApplicationAuth extends PhabricatorApplication {
|
|||
'new/' => 'PhabricatorAuthNewController',
|
||||
'new/(?P<className>[^/]+)/' => 'PhabricatorAuthEditController',
|
||||
'edit/(?P<id>\d+)/' => 'PhabricatorAuthEditController',
|
||||
'(?P<action>enable|disable)/(?P<id>\d+)/' =>
|
||||
'PhabricatorAuthDisableController',
|
||||
'(?P<action>enable|disable)/(?P<id>\d+)/'
|
||||
=> 'PhabricatorAuthDisableController',
|
||||
),
|
||||
'login/(?P<pkey>[^/]+)/(?:(?P<extra>[^/]+)/)?' =>
|
||||
'PhabricatorAuthLoginController',
|
||||
'login/(?P<pkey>[^/]+)/(?:(?P<extra>[^/]+)/)?'
|
||||
=> 'PhabricatorAuthLoginController',
|
||||
'register/(?:(?P<akey>[^/]+)/)?' => 'PhabricatorAuthRegisterController',
|
||||
'start/' => 'PhabricatorAuthStartController',
|
||||
'validate/' => 'PhabricatorAuthValidateController',
|
||||
|
@ -120,8 +120,8 @@ final class PhabricatorApplicationAuth extends PhabricatorApplication {
|
|||
'mustverify/' => 'PhabricatorMustVerifyEmailController',
|
||||
),
|
||||
|
||||
'/emailverify/(?P<code>[^/]+)/' =>
|
||||
'PhabricatorEmailVerificationController',
|
||||
'/emailverify/(?P<code>[^/]+)/'
|
||||
=> 'PhabricatorEmailVerificationController',
|
||||
|
||||
'/logout/' => 'PhabricatorLogoutController',
|
||||
);
|
|
@ -93,8 +93,7 @@ abstract class PhabricatorAuthProvider {
|
|||
throw new Exception(
|
||||
pht(
|
||||
"Two authentication providers use the same provider key ".
|
||||
"('%s'). Each provider must be identified by a unique ".
|
||||
"key.",
|
||||
"('%s'). Each provider must be identified by a unique key.",
|
||||
$key));
|
||||
}
|
||||
$providers[$key] = $object;
|
||||
|
@ -147,24 +146,22 @@ abstract class PhabricatorAuthProvider {
|
|||
}
|
||||
|
||||
/**
|
||||
* Should we allow the adapter to be marked as "trusted"
|
||||
* This is true for all adapters except those that allow the user to type in
|
||||
* emails (@see PhabricatorPasswordAuthProvider)
|
||||
* Should we allow the adapter to be marked as "trusted". This is true for
|
||||
* all adapters except those that allow the user to type in emails (see
|
||||
* @{class:PhabricatorPasswordAuthProvider}).
|
||||
*/
|
||||
public function shouldAllowEmailTrustConfiguration() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function buildLoginForm(
|
||||
PhabricatorAuthStartController $controller) {
|
||||
public function buildLoginForm(PhabricatorAuthStartController $controller) {
|
||||
return $this->renderLoginForm($controller->getRequest(), $mode = 'start');
|
||||
}
|
||||
|
||||
abstract public function processLoginRequest(
|
||||
PhabricatorAuthLoginController $controller);
|
||||
|
||||
public function buildLinkForm(
|
||||
PhabricatorAuthLinkController $controller) {
|
||||
public function buildLinkForm(PhabricatorAuthLinkController $controller) {
|
||||
return $this->renderLoginForm($controller->getRequest(), $mode = 'link');
|
||||
}
|
||||
|
||||
|
@ -177,9 +174,7 @@ abstract class PhabricatorAuthProvider {
|
|||
return $this->renderLoginForm($controller->getRequest(), $mode = 'refresh');
|
||||
}
|
||||
|
||||
protected function renderLoginForm(
|
||||
AphrontRequest $request,
|
||||
$mode) {
|
||||
protected function renderLoginForm(AphrontRequest $request, $mode) {
|
||||
throw new PhutilMethodNotImplementedException();
|
||||
}
|
||||
|
||||
|
@ -197,8 +192,7 @@ abstract class PhabricatorAuthProvider {
|
|||
|
||||
protected function loadOrCreateAccount($account_id) {
|
||||
if (!strlen($account_id)) {
|
||||
throw new Exception(
|
||||
'loadOrCreateAccount(...): empty account ID!');
|
||||
throw new Exception('loadOrCreateAccount(...): empty account ID!');
|
||||
}
|
||||
|
||||
$adapter = $this->getAdapter();
|
||||
|
@ -265,14 +259,14 @@ abstract class PhabricatorAuthProvider {
|
|||
$this->willSaveAccount($account);
|
||||
|
||||
$unguarded = AphrontWriteGuard::beginScopedUnguardedWrites();
|
||||
$account->save();
|
||||
$account->save();
|
||||
unset($unguarded);
|
||||
|
||||
return $account;
|
||||
}
|
||||
|
||||
public function getLoginURI() {
|
||||
$app = PhabricatorApplication::getByClass('PhabricatorApplicationAuth');
|
||||
$app = PhabricatorApplication::getByClass('PhabricatorAuthApplication');
|
||||
return $app->getApplicationURI('/login/'.$this->getProviderKey().'/');
|
||||
}
|
||||
|
||||
|
@ -281,7 +275,7 @@ abstract class PhabricatorAuthProvider {
|
|||
}
|
||||
|
||||
public function getStartURI() {
|
||||
$app = PhabricatorApplication::getByClass('PhabricatorApplicationAuth');
|
||||
$app = PhabricatorApplication::getByClass('PhabricatorAuthApplication');
|
||||
$uri = $app->getApplicationURI('/start/');
|
||||
return $uri;
|
||||
}
|
||||
|
@ -339,6 +333,7 @@ abstract class PhabricatorAuthProvider {
|
|||
AphrontFormView $form,
|
||||
array $values,
|
||||
array $issues) {
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -360,7 +355,6 @@ abstract class PhabricatorAuthProvider {
|
|||
$account_view));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true to use a two-step configuration (setup, configure) instead of
|
||||
* the default single-step configuration. In practice, this means that
|
||||
|
@ -373,7 +367,6 @@ abstract class PhabricatorAuthProvider {
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Render a standard login/register button element.
|
||||
*
|
||||
|
|
|
@ -97,7 +97,7 @@ final class PhabricatorAuthProviderConfigQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationAuth';
|
||||
return 'PhabricatorAuthApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ final class PhabricatorAuthSessionQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationAuth';
|
||||
return 'PhabricatorAuthApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ final class PhabricatorAuthTemporaryTokenQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationAuth';
|
||||
return 'PhabricatorAuthApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* NOTE: When loading ExternalAccounts for use in an authetication context (that
|
||||
* is, you're going to act as the account or link identities or anything like
|
||||
* that) you should require CAN_EDIT capability even if you aren't actually
|
||||
* NOTE: When loading ExternalAccounts for use in an authentication context
|
||||
* (that is, you're going to act as the account or link identities or anything
|
||||
* like that) you should require CAN_EDIT capability even if you aren't actually
|
||||
* editing the ExternalAccount.
|
||||
*
|
||||
* ExternalAccounts have a permissive CAN_VIEW policy (like users) because they
|
||||
|
@ -174,7 +174,7 @@ final class PhabricatorExternalAccountQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationPeople';
|
||||
return 'PhabricatorPeopleApplication';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -28,7 +28,22 @@ abstract class PhabricatorApplication implements PhabricatorPolicyInterface {
|
|||
|
||||
|
||||
public function getName() {
|
||||
return substr(get_class($this), strlen('PhabricatorApplication'));
|
||||
|
||||
// TODO: This is sort of gross.
|
||||
|
||||
$match = null;
|
||||
|
||||
$regex = '/^Phabricator([A-Z][a-zA-Z]*)Application$/';
|
||||
if (preg_match($regex, get_class($this), $match)) {
|
||||
return $match[1];
|
||||
}
|
||||
|
||||
$regex = '/^PhabricatorApplication([A-Z][a-zA-Z]*)$/';
|
||||
if (preg_match($regex, get_class($this), $match)) {
|
||||
return $match[1];
|
||||
}
|
||||
|
||||
throw new Exception('Unable to determine application name automagically.');
|
||||
}
|
||||
|
||||
public function getShortDescription() {
|
||||
|
|
|
@ -159,7 +159,7 @@ abstract class PhabricatorController extends AphrontController {
|
|||
return $this->delegateToController($checker_controller);
|
||||
}
|
||||
|
||||
$auth_class = 'PhabricatorApplicationAuth';
|
||||
$auth_class = 'PhabricatorAuthApplication';
|
||||
$auth_application = PhabricatorApplication::getByClass($auth_class);
|
||||
|
||||
// Require partial sessions to finish login before doing anything.
|
||||
|
@ -231,7 +231,6 @@ abstract class PhabricatorController extends AphrontController {
|
|||
if ($this->shouldRequireAdmin() && !$user->getIsAdmin()) {
|
||||
return new Aphront403Response();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function buildStandardPageView() {
|
||||
|
@ -319,7 +318,6 @@ abstract class PhabricatorController extends AphrontController {
|
|||
|
||||
$seen = array();
|
||||
while ($response instanceof AphrontProxyResponse) {
|
||||
|
||||
$hash = spl_object_hash($response);
|
||||
if (isset($seen[$hash])) {
|
||||
$seen[] = get_class($response);
|
||||
|
@ -403,7 +401,6 @@ abstract class PhabricatorController extends AphrontController {
|
|||
->execute();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Render a list of links to handles, identified by PHIDs. The handles must
|
||||
* already be loaded.
|
||||
|
@ -433,7 +430,6 @@ abstract class PhabricatorController extends AphrontController {
|
|||
}
|
||||
|
||||
protected function buildApplicationCrumbs() {
|
||||
|
||||
$crumbs = array();
|
||||
|
||||
$application = $this->getCurrentApplication();
|
||||
|
@ -516,7 +512,6 @@ abstract class PhabricatorController extends AphrontController {
|
|||
return 'phabricator';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create a new @{class:AphrontDialogView} with defaults filled in.
|
||||
*
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorAccessControlTestCase
|
||||
extends PhabricatorTestCase {
|
||||
final class PhabricatorAccessControlTestCase extends PhabricatorTestCase {
|
||||
|
||||
protected function getPhabricatorTestCaseConfiguration() {
|
||||
return array(
|
||||
|
@ -201,7 +200,7 @@ final class PhabricatorAccessControlTestCase
|
|||
$env->overrideEnvConfig('policy.allow-public', false);
|
||||
|
||||
|
||||
$app = PhabricatorApplication::getByClass('PhabricatorApplicationTest');
|
||||
$app = PhabricatorApplication::getByClass('PhabricatorTestApplication');
|
||||
$app->reset();
|
||||
$app->setPolicy(
|
||||
PhabricatorPolicyCapability::CAN_VIEW,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationTest extends PhabricatorApplication {
|
||||
final class PhabricatorTestApplication extends PhabricatorApplication {
|
||||
|
||||
private $policies = array();
|
||||
|
||||
|
@ -30,8 +30,7 @@ final class PhabricatorApplicationTest extends PhabricatorApplication {
|
|||
}
|
||||
|
||||
public function getRoutes() {
|
||||
return array(
|
||||
);
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationCalendar extends PhabricatorApplication {
|
||||
final class PhabricatorCalendarApplication extends PhabricatorApplication {
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('Upcoming Events');
|
||||
|
@ -34,16 +34,16 @@ final class PhabricatorApplicationCalendar extends PhabricatorApplication {
|
|||
'' => 'PhabricatorCalendarViewController',
|
||||
'all/' => 'PhabricatorCalendarBrowseController',
|
||||
'event/' => array(
|
||||
'(?:query/(?P<queryKey>[^/]+)/)?' =>
|
||||
'PhabricatorCalendarEventListController',
|
||||
'create/' =>
|
||||
'PhabricatorCalendarEventEditController',
|
||||
'edit/(?P<id>[1-9]\d*)/' =>
|
||||
'PhabricatorCalendarEventEditController',
|
||||
'delete/(?P<id>[1-9]\d*)/' =>
|
||||
'PhabricatorCalendarEventDeleteController',
|
||||
'view/(?P<id>[1-9]\d*)/' =>
|
||||
'PhabricatorCalendarEventViewController',
|
||||
'(?:query/(?P<queryKey>[^/]+)/)?'
|
||||
=> 'PhabricatorCalendarEventListController',
|
||||
'create/'
|
||||
=> 'PhabricatorCalendarEventEditController',
|
||||
'edit/(?P<id>[1-9]\d*)/'
|
||||
=> 'PhabricatorCalendarEventEditController',
|
||||
'delete/(?P<id>[1-9]\d*)/'
|
||||
=> 'PhabricatorCalendarEventDeleteController',
|
||||
'view/(?P<id>[1-9]\d*)/'
|
||||
=> 'PhabricatorCalendarEventViewController',
|
||||
),
|
||||
),
|
||||
);
|
|
@ -105,7 +105,7 @@ final class PhabricatorCalendarEventQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationCalendar';
|
||||
return 'PhabricatorCalendarApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorCalendarEventSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationCalendar';
|
||||
return 'PhabricatorCalendarApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
|
@ -137,7 +137,6 @@ final class PhabricatorCalendarEventSearchEngine
|
|||
1,
|
||||
pht('Show only upcoming events.'),
|
||||
$upcoming));
|
||||
|
||||
}
|
||||
|
||||
protected function getURI($path) {
|
||||
|
@ -147,14 +146,13 @@ final class PhabricatorCalendarEventSearchEngine
|
|||
public function getBuiltinQueryNames() {
|
||||
$names = array(
|
||||
'upcoming' => pht('Upcoming Events'),
|
||||
'all' => pht('All Events'),
|
||||
'all' => pht('All Events'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
||||
$query = $this->newSavedQuery();
|
||||
$query->setQueryKey($query_key);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationChatLog extends PhabricatorApplication {
|
||||
final class PhabricatorChatLogApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/chatlog/';
|
||||
|
@ -29,11 +29,10 @@ final class PhabricatorApplicationChatLog extends PhabricatorApplication {
|
|||
public function getRoutes() {
|
||||
return array(
|
||||
'/chatlog/' => array(
|
||||
'' => 'PhabricatorChatLogChannelListController',
|
||||
'channel/(?P<channelID>[^/]+)/' =>
|
||||
'PhabricatorChatLogChannelLogController',
|
||||
'' => 'PhabricatorChatLogChannelListController',
|
||||
'channel/(?P<channelID>[^/]+)/'
|
||||
=> 'PhabricatorChatLogChannelLogController',
|
||||
),
|
||||
|
||||
);
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
abstract class ConduitAPI_chatlog_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getApplication() {
|
||||
return PhabricatorApplication::getByClass('PhabricatorApplicationChatLog');
|
||||
return PhabricatorApplication::getByClass('PhabricatorChatLogApplication');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ final class PhabricatorChatLogChannelQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationChatLog';
|
||||
return 'PhabricatorChatLogApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ final class PhabricatorChatLogQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationChatLog';
|
||||
return 'PhabricatorChatLogApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationConduit extends PhabricatorApplication {
|
||||
final class PhabricatorConduitApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/conduit/';
|
|
@ -10,7 +10,6 @@ final class PhabricatorConduitLogQuery
|
|||
return $this;
|
||||
}
|
||||
|
||||
|
||||
public function loadPage() {
|
||||
$table = new PhabricatorConduitMethodCallLog();
|
||||
$conn_r = $table->establishConnection('r');
|
||||
|
@ -41,7 +40,7 @@ final class PhabricatorConduitLogQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationConduit';
|
||||
return 'PhabricatorConduitApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -42,9 +42,7 @@ final class PhabricatorConduitMethodQuery
|
|||
|
||||
public function loadPage() {
|
||||
$methods = $this->getAllMethods();
|
||||
|
||||
$methods = $this->filterMethods($methods);
|
||||
|
||||
return $methods;
|
||||
}
|
||||
|
||||
|
@ -71,9 +69,9 @@ final class PhabricatorConduitMethodQuery
|
|||
}
|
||||
|
||||
$status = array(
|
||||
ConduitAPIMethod::METHOD_STATUS_STABLE => $this->isStable,
|
||||
ConduitAPIMethod::METHOD_STATUS_STABLE => $this->isStable,
|
||||
ConduitAPIMethod::METHOD_STATUS_DEPRECATED => $this->isDeprecated,
|
||||
ConduitAPIMethod::METHOD_STATUS_UNSTABLE => $this->isUnstable,
|
||||
ConduitAPIMethod::METHOD_STATUS_UNSTABLE => $this->isUnstable,
|
||||
);
|
||||
|
||||
// Only apply status filters if any of them are set.
|
||||
|
@ -122,7 +120,7 @@ final class PhabricatorConduitMethodQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationConduit';
|
||||
return 'PhabricatorConduitApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorConduitSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationConduit';
|
||||
return 'PhabricatorConduitApplication';
|
||||
}
|
||||
|
||||
public function getPageSize(PhabricatorSavedQuery $saved) {
|
||||
|
@ -106,8 +106,6 @@ final class PhabricatorConduitSearchEngine
|
|||
'Show old methods which will be deleted in a future '.
|
||||
'version of Phabricator.')),
|
||||
$is_deprecated));
|
||||
|
||||
|
||||
}
|
||||
|
||||
protected function getURI($path) {
|
||||
|
@ -115,16 +113,13 @@ final class PhabricatorConduitSearchEngine
|
|||
}
|
||||
|
||||
public function getBuiltinQueryNames() {
|
||||
$names = array(
|
||||
return array(
|
||||
'modern' => pht('Modern Methods'),
|
||||
'all' => pht('All Methods'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
||||
$query = $this->newSavedQuery();
|
||||
$query->setQueryKey($query_key);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationConfig extends PhabricatorApplication {
|
||||
final class PhabricatorConfigApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/config/';
|
||||
|
@ -33,10 +33,10 @@ final class PhabricatorApplicationConfig extends PhabricatorApplication {
|
|||
public function getRoutes() {
|
||||
return array(
|
||||
'/config/' => array(
|
||||
'' => 'PhabricatorConfigListController',
|
||||
'all/' => 'PhabricatorConfigAllController',
|
||||
'edit/(?P<key>[\w\.\-]+)/' => 'PhabricatorConfigEditController',
|
||||
'group/(?P<key>[^/]+)/' => 'PhabricatorConfigGroupController',
|
||||
'' => 'PhabricatorConfigListController',
|
||||
'all/' => 'PhabricatorConfigAllController',
|
||||
'edit/(?P<key>[\w\.\-]+)/' => 'PhabricatorConfigEditController',
|
||||
'group/(?P<key>[^/]+)/' => 'PhabricatorConfigGroupController',
|
||||
'welcome/' => 'PhabricatorConfigWelcomeController',
|
||||
'(?P<verb>ignore|unignore)/(?P<key>[^/]+)/'
|
||||
=> 'PhabricatorConfigIgnoreController',
|
|
@ -157,8 +157,8 @@ final class PhabricatorConfigWelcomeController
|
|||
$dashboard_href = PhabricatorEnv::getURI('/dashboard/');
|
||||
$have_dashboard = (bool)PhabricatorDashboardInstall::getDashboard(
|
||||
$viewer,
|
||||
PhabricatorApplicationHome::DASHBOARD_DEFAULT,
|
||||
'PhabricatorApplicationHome');
|
||||
PhabricatorHomeApplication::DASHBOARD_DEFAULT,
|
||||
'PhabricatorHomeApplication');
|
||||
if ($have_dashboard) {
|
||||
$content = pht(
|
||||
"You've installed a default dashboard to replace this welcome screen ".
|
||||
|
|
|
@ -54,7 +54,7 @@ final class PhabricatorConfigEntryQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationConfig';
|
||||
return 'PhabricatorConfigApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationConpherence extends PhabricatorApplication {
|
||||
final class PhabricatorConpherenceApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/conpherence/';
|
||||
|
@ -52,5 +52,4 @@ final class PhabricatorApplicationConpherence extends PhabricatorApplication {
|
|||
return $items;
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -4,7 +4,7 @@ abstract class ConduitAPI_conpherence_Method extends ConduitAPIMethod {
|
|||
|
||||
public function getApplication() {
|
||||
return PhabricatorApplication::getByClass(
|
||||
'PhabricatorApplicationConpherence');
|
||||
'PhabricatorConpherenceApplication');
|
||||
}
|
||||
|
||||
final protected function getConpherenceURI(ConpherenceThread $conpherence) {
|
||||
|
|
|
@ -4,7 +4,7 @@ final class ConpherenceCreateThreadMailReceiver
|
|||
extends PhabricatorMailReceiver {
|
||||
|
||||
public function isEnabled() {
|
||||
$app_class = 'PhabricatorApplicationConpherence';
|
||||
$app_class = 'PhabricatorConpherenceApplication';
|
||||
return PhabricatorApplication::isClassInstalled($app_class);
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ final class ConpherenceThreadMailReceiver
|
|||
extends PhabricatorObjectMailReceiver {
|
||||
|
||||
public function isEnabled() {
|
||||
$app_class = 'PhabricatorApplicationConpherence';
|
||||
$app_class = 'PhabricatorConpherenceApplication';
|
||||
return PhabricatorApplication::isClassInstalled($app_class);
|
||||
}
|
||||
|
||||
|
|
|
@ -288,7 +288,7 @@ final class ConpherenceThreadQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationConpherence';
|
||||
return 'PhabricatorConpherenceApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationCountdown extends PhabricatorApplication {
|
||||
final class PhabricatorCountdownApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/countdown/';
|
||||
|
@ -37,12 +37,9 @@ final class PhabricatorApplicationCountdown extends PhabricatorApplication {
|
|||
'/countdown/' => array(
|
||||
'(?:query/(?P<queryKey>[^/]+)/)?'
|
||||
=> 'PhabricatorCountdownListController',
|
||||
'(?P<id>[1-9]\d*)/'
|
||||
=> 'PhabricatorCountdownViewController',
|
||||
'edit/(?:(?P<id>[1-9]\d*)/)?'
|
||||
=> 'PhabricatorCountdownEditController',
|
||||
'delete/(?P<id>[1-9]\d*)/'
|
||||
=> 'PhabricatorCountdownDeleteController'
|
||||
'(?P<id>[1-9]\d*)/' => 'PhabricatorCountdownViewController',
|
||||
'edit/(?:(?P<id>[1-9]\d*)/)?' => 'PhabricatorCountdownEditController',
|
||||
'delete/(?P<id>[1-9]\d*)/' => 'PhabricatorCountdownDeleteController'
|
||||
),
|
||||
);
|
||||
}
|
|
@ -82,7 +82,7 @@ final class PhabricatorCountdownQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationCountdown';
|
||||
return 'PhabricatorCountdownApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorCountdownSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationCountdown';
|
||||
return 'PhabricatorCountdownApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
|
@ -62,7 +62,6 @@ final class PhabricatorCountdownSearchEngine
|
|||
1,
|
||||
pht('Show only countdowns that are still counting down.'),
|
||||
$upcoming));
|
||||
|
||||
}
|
||||
|
||||
protected function getURI($path) {
|
||||
|
@ -83,7 +82,6 @@ final class PhabricatorCountdownSearchEngine
|
|||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
||||
$query = $this->newSavedQuery();
|
||||
$query->setQueryKey($query_key);
|
||||
|
||||
|
@ -101,10 +99,10 @@ final class PhabricatorCountdownSearchEngine
|
|||
return parent::buildSavedQueryFromBuiltin($query_key);
|
||||
}
|
||||
|
||||
|
||||
protected function getRequiredHandlePHIDsForResultList(
|
||||
array $countdowns,
|
||||
PhabricatorSavedQuery $query) {
|
||||
|
||||
return mpull($countdowns, 'getAuthorPHID');
|
||||
}
|
||||
|
||||
|
@ -112,6 +110,7 @@ final class PhabricatorCountdownSearchEngine
|
|||
array $countdowns,
|
||||
PhabricatorSavedQuery $query,
|
||||
array $handles) {
|
||||
|
||||
assert_instances_of($countdowns, 'PhabricatorCountdown');
|
||||
|
||||
$viewer = $this->requireViewer();
|
||||
|
@ -147,4 +146,5 @@ final class PhabricatorCountdownSearchEngine
|
|||
|
||||
return $list;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ final class PhabricatorCountdown
|
|||
public static function initializeNewCountdown(PhabricatorUser $actor) {
|
||||
$app = id(new PhabricatorApplicationQuery())
|
||||
->setViewer($actor)
|
||||
->withClasses(array('PhabricatorApplicationCountdown'))
|
||||
->withClasses(array('PhabricatorCountdownApplication'))
|
||||
->executeOne();
|
||||
|
||||
$view_policy = $app->getPolicy(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationDaemons extends PhabricatorApplication {
|
||||
final class PhabricatorDaemonsApplication extends PhabricatorApplication {
|
||||
|
||||
public function getName() {
|
||||
return pht('Daemons');
|
|
@ -167,7 +167,7 @@ final class PhabricatorDaemonLogQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDaemons';
|
||||
return 'PhabricatorDaemonsApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationDashboard extends PhabricatorApplication {
|
||||
final class PhabricatorDashboardApplication extends PhabricatorApplication {
|
||||
|
||||
public function getName() {
|
||||
return pht('Dashboards');
|
||||
|
@ -42,8 +42,8 @@ final class PhabricatorApplicationDashboard extends PhabricatorApplication {
|
|||
'create/' => 'PhabricatorDashboardPanelEditController',
|
||||
'edit/(?:(?P<id>\d+)/)?' => 'PhabricatorDashboardPanelEditController',
|
||||
'render/(?P<id>\d+)/' => 'PhabricatorDashboardPanelRenderController',
|
||||
'archive/(?P<id>\d+)/' =>
|
||||
'PhabricatorDashboardPanelArchiveController',
|
||||
'archive/(?P<id>\d+)/'
|
||||
=> 'PhabricatorDashboardPanelArchiveController',
|
||||
),
|
||||
),
|
||||
);
|
|
@ -24,7 +24,7 @@ final class PhabricatorDashboardInstallController
|
|||
|
||||
$object_phid = $request->getStr('objectPHID', $viewer->getPHID());
|
||||
switch ($object_phid) {
|
||||
case PhabricatorApplicationHome::DASHBOARD_DEFAULT:
|
||||
case PhabricatorHomeApplication::DASHBOARD_DEFAULT:
|
||||
if (!$viewer->getIsAdmin()) {
|
||||
return new Aphront404Response();
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ final class PhabricatorDashboardInstallController
|
|||
$installer_phid = $viewer->getPHID();
|
||||
$application_class = $request->getStr(
|
||||
'applicationClass',
|
||||
'PhabricatorApplicationHome');
|
||||
'PhabricatorHomeApplication');
|
||||
|
||||
$handles = $this->loadHandles(array(
|
||||
$object_phid,
|
||||
|
@ -80,7 +80,7 @@ final class PhabricatorDashboardInstallController
|
|||
->addSubmitButton(pht('Install Dashboard'));
|
||||
|
||||
switch ($application_class) {
|
||||
case 'PhabricatorApplicationHome':
|
||||
case 'PhabricatorHomeApplication':
|
||||
if ($viewer->getPHID() == $object_phid) {
|
||||
if ($viewer->getIsAdmin()) {
|
||||
$dialog->setWidth(AphrontDialogView::WIDTH_FORM);
|
||||
|
@ -92,9 +92,9 @@ final class PhabricatorDashboardInstallController
|
|||
->appendChild(
|
||||
id(new AphrontFormRadioButtonControl())
|
||||
->setName('objectPHID')
|
||||
->setValue(PhabricatorApplicationHome::DASHBOARD_DEFAULT)
|
||||
->setValue(PhabricatorHomeApplication::DASHBOARD_DEFAULT)
|
||||
->addButton(
|
||||
PhabricatorApplicationHome::DASHBOARD_DEFAULT,
|
||||
PhabricatorHomeApplication::DASHBOARD_DEFAULT,
|
||||
pht('Default Dashboard for All Users'),
|
||||
pht(
|
||||
'Install this dashboard as the global default dashboard '.
|
||||
|
@ -133,11 +133,10 @@ final class PhabricatorDashboardInstallController
|
|||
return $dialog;
|
||||
}
|
||||
|
||||
|
||||
private function getCancelURI($application_class, $object_phid) {
|
||||
$uri = null;
|
||||
switch ($application_class) {
|
||||
case 'PhabricatorApplicationHome':
|
||||
case 'PhabricatorHomeApplication':
|
||||
$uri = '/dashboard/view/'.$this->id.'/';
|
||||
break;
|
||||
}
|
||||
|
@ -147,7 +146,7 @@ final class PhabricatorDashboardInstallController
|
|||
private function getRedirectURI($application_class, $object_phid) {
|
||||
$uri = null;
|
||||
switch ($application_class) {
|
||||
case 'PhabricatorApplicationHome':
|
||||
case 'PhabricatorHomeApplication':
|
||||
$uri = '/';
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -125,7 +125,7 @@ final class PhabricatorDashboardManageController
|
|||
->loadOneWhere(
|
||||
'objectPHID = %s AND applicationClass = %s',
|
||||
$viewer->getPHID(),
|
||||
'PhabricatorApplicationHome');
|
||||
'PhabricatorHomeApplication');
|
||||
if ($installed_dashboard &&
|
||||
$installed_dashboard->getDashboardPHID() == $dashboard->getPHID()) {
|
||||
$title_install = pht('Uninstall Dashboard');
|
||||
|
@ -174,4 +174,5 @@ final class PhabricatorDashboardManageController
|
|||
|
||||
return $properties;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ final class PhabricatorDashboardUninstallController
|
|||
|
||||
$application_class = $request->getStr(
|
||||
'applicationClass',
|
||||
'PhabricatorApplicationHome');
|
||||
'PhabricatorHomeApplication');
|
||||
|
||||
$dashboard_install = id(new PhabricatorDashboardInstall())
|
||||
->loadOneWhere(
|
||||
|
@ -85,7 +85,7 @@ final class PhabricatorDashboardUninstallController
|
|||
|
||||
$body = array();
|
||||
switch ($application_class) {
|
||||
case 'PhabricatorApplicationHome':
|
||||
case 'PhabricatorHomeApplication':
|
||||
if ($installer_phid == $object_phid) {
|
||||
$body[] = phutil_tag(
|
||||
'p',
|
||||
|
@ -116,7 +116,7 @@ final class PhabricatorDashboardUninstallController
|
|||
private function getCancelURI($application_class, $object_phid) {
|
||||
$uri = null;
|
||||
switch ($application_class) {
|
||||
case 'PhabricatorApplicationHome':
|
||||
case 'PhabricatorHomeApplication':
|
||||
$uri = '/dashboard/view/'.$this->id.'/';
|
||||
break;
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ final class PhabricatorDashboardUninstallController
|
|||
private function getRedirectURI($application_class, $object_phid) {
|
||||
$uri = null;
|
||||
switch ($application_class) {
|
||||
case 'PhabricatorApplicationHome':
|
||||
case 'PhabricatorHomeApplication':
|
||||
$uri = '/';
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ final class PhabricatorDashboardPanelQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDashboard';
|
||||
return 'PhabricatorDashboardApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,14 +8,12 @@ final class PhabricatorDashboardPanelSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationDashboard';
|
||||
return 'PhabricatorDashboardApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
$saved = new PhabricatorSavedQuery();
|
||||
|
||||
$saved->setParameter('status', $request->getStr('status'));
|
||||
|
||||
return $saved;
|
||||
}
|
||||
|
||||
|
@ -62,16 +60,13 @@ final class PhabricatorDashboardPanelSearchEngine
|
|||
}
|
||||
|
||||
public function getBuiltinQueryNames() {
|
||||
$names = array(
|
||||
return array(
|
||||
'active' => pht('Active Panels'),
|
||||
'all' => pht('All Panels'),
|
||||
'all' => pht('All Panels'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
||||
$query = $this->newSavedQuery();
|
||||
$query->setQueryKey($query_key);
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ final class PhabricatorDashboardQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDashboard';
|
||||
return 'PhabricatorDashboardApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,19 +8,15 @@ final class PhabricatorDashboardSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationDashboard';
|
||||
return 'PhabricatorDashboardApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
$saved = new PhabricatorSavedQuery();
|
||||
|
||||
return $saved;
|
||||
return new PhabricatorSavedQuery();
|
||||
}
|
||||
|
||||
public function buildQueryFromSavedQuery(PhabricatorSavedQuery $saved) {
|
||||
$query = id(new PhabricatorDashboardQuery());
|
||||
|
||||
return $query;
|
||||
return new PhabricatorDashboardQuery();
|
||||
}
|
||||
|
||||
public function buildSearchForm(
|
||||
|
@ -34,11 +30,9 @@ final class PhabricatorDashboardSearchEngine
|
|||
}
|
||||
|
||||
public function getBuiltinQueryNames() {
|
||||
$names = array(
|
||||
return array(
|
||||
'all' => pht('All Dashboards'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
@ -54,7 +48,6 @@ final class PhabricatorDashboardSearchEngine
|
|||
return parent::buildSavedQueryFromBuiltin($query_key);
|
||||
}
|
||||
|
||||
|
||||
protected function renderResultList(
|
||||
array $dashboards,
|
||||
PhabricatorSavedQuery $query,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationDifferential extends PhabricatorApplication {
|
||||
final class PhabricatorDifferentialApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/differential/';
|
||||
|
@ -130,8 +130,7 @@ EOTEXT
|
|||
protected function getCustomCapabilities() {
|
||||
return array(
|
||||
DifferentialCapabilityDefaultView::CAPABILITY => array(
|
||||
'caption' => pht(
|
||||
'Default view policy for newly created revisions.')
|
||||
'caption' => pht('Default view policy for newly created revisions.'),
|
||||
),
|
||||
);
|
||||
}
|
|
@ -4,7 +4,7 @@ abstract class ConduitAPI_differential_Method extends ConduitAPIMethod {
|
|||
|
||||
public function getApplication() {
|
||||
return PhabricatorApplication::getByClass(
|
||||
'PhabricatorApplicationDifferential');
|
||||
'PhabricatorDifferentialApplication');
|
||||
}
|
||||
|
||||
protected function buildDiffInfoDictionary(DifferentialDiff $diff) {
|
||||
|
|
|
@ -179,7 +179,6 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
$warning = null;
|
||||
$visible_changesets = $changesets;
|
||||
|
@ -519,7 +518,7 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
|||
->setWorkflow(true)
|
||||
->setDisabled(!$can_edit);
|
||||
|
||||
$maniphest = 'PhabricatorApplicationManiphest';
|
||||
$maniphest = 'PhabricatorManiphestApplication';
|
||||
if (PhabricatorApplication::isClassInstalled($maniphest)) {
|
||||
$actions[] = id(new PhabricatorActionView())
|
||||
->setIcon('fa-anchor')
|
||||
|
@ -539,7 +538,6 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
|||
}
|
||||
|
||||
private function getRevisionCommentActions(DifferentialRevision $revision) {
|
||||
|
||||
$actions = array(
|
||||
DifferentialAction::ACTION_COMMENT => true,
|
||||
);
|
||||
|
@ -921,7 +919,6 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
|||
unset($unguarded);
|
||||
|
||||
return id(new AphrontRedirectResponse())->setURI($file->getBestURI());
|
||||
|
||||
}
|
||||
|
||||
private function buildTransactions(
|
||||
|
@ -929,6 +926,7 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
|||
DifferentialDiff $left_diff,
|
||||
DifferentialDiff $right_diff,
|
||||
array $changesets) {
|
||||
|
||||
$viewer = $this->getRequest()->getUser();
|
||||
|
||||
$xactions = id(new DifferentialTransactionQuery())
|
||||
|
|
|
@ -28,7 +28,7 @@ final class DifferentialRequiredSignaturesField
|
|||
}
|
||||
|
||||
public static function loadForRevision($revision) {
|
||||
$app_legalpad = 'PhabricatorApplicationLegalpad';
|
||||
$app_legalpad = 'PhabricatorLegalpadApplication';
|
||||
if (!PhabricatorApplication::isClassInstalled($app_legalpad)) {
|
||||
return array();
|
||||
}
|
||||
|
@ -142,5 +142,4 @@ final class DifferentialRequiredSignaturesField
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -167,7 +167,6 @@ final class DifferentialTransactionEditor
|
|||
return parent::transactionHasEffect($object, $xaction);
|
||||
}
|
||||
|
||||
|
||||
protected function applyCustomInternalTransaction(
|
||||
PhabricatorLiskDAO $object,
|
||||
PhabricatorApplicationTransaction $xaction) {
|
||||
|
@ -350,7 +349,7 @@ final class DifferentialTransactionEditor
|
|||
// "T123" or similar, automatically associate the commit with the
|
||||
// task that the branch names.
|
||||
|
||||
$maniphest = 'PhabricatorApplicationManiphest';
|
||||
$maniphest = 'PhabricatorManiphestApplication';
|
||||
if (PhabricatorApplication::isClassInstalled($maniphest)) {
|
||||
$diff = $this->requireDiff($xaction->getNewValue());
|
||||
$branch = $diff->getBranch();
|
||||
|
@ -572,8 +571,6 @@ final class DifferentialTransactionEditor
|
|||
return $result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected function applyFinalEffects(
|
||||
PhabricatorLiskDAO $object,
|
||||
array $xactions) {
|
||||
|
@ -693,7 +690,6 @@ final class DifferentialTransactionEditor
|
|||
return $xactions;
|
||||
}
|
||||
|
||||
|
||||
protected function validateTransaction(
|
||||
PhabricatorLiskDAO $object,
|
||||
$type,
|
||||
|
@ -1205,8 +1201,7 @@ final class DifferentialTransactionEditor
|
|||
PhabricatorLiskDAO $object,
|
||||
PhabricatorApplicationTransaction $xaction) {
|
||||
|
||||
switch ($xaction->getTransactionType()) {
|
||||
}
|
||||
switch ($xaction->getTransactionType()) {}
|
||||
|
||||
return parent::extractFilePHIDsFromCustomTransaction($object, $xaction);
|
||||
}
|
||||
|
@ -1217,7 +1212,6 @@ final class DifferentialTransactionEditor
|
|||
$blocks,
|
||||
PhutilMarkupEngine $engine) {
|
||||
|
||||
|
||||
$flat_blocks = array_mergev($blocks);
|
||||
$huge_block = implode("\n\n", $flat_blocks);
|
||||
|
||||
|
@ -1649,7 +1643,6 @@ final class DifferentialTransactionEditor
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Update the table connecting revisions to DVCS local hashes, so we can
|
||||
* identify revisions by commit/tree hashes.
|
||||
|
|
|
@ -4,7 +4,7 @@ final class DifferentialRevisionMailReceiver
|
|||
extends PhabricatorObjectMailReceiver {
|
||||
|
||||
public function isEnabled() {
|
||||
$app_class = 'PhabricatorApplicationDifferential';
|
||||
$app_class = 'PhabricatorDifferentialApplication';
|
||||
return PhabricatorApplication::isClassInstalled($app_class);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Parses commit messages (containing relaively freeform text with textual
|
||||
* Parses commit messages (containing relatively freeform text with textual
|
||||
* field labels) into a dictionary of fields.
|
||||
*
|
||||
* $parser = id(new DifferentialCommitMessageParser())
|
||||
|
|
|
@ -9,7 +9,7 @@ final class DifferentialPHIDTypeRevision extends PhabricatorPHIDType {
|
|||
}
|
||||
|
||||
public function getPHIDTypeApplicationClass() {
|
||||
return 'PhabricatorApplicationDifferential';
|
||||
return 'PhabricatorDifferentialApplication';
|
||||
}
|
||||
|
||||
public function newObject() {
|
||||
|
|
|
@ -57,7 +57,6 @@ final class DifferentialChangesetQuery
|
|||
}
|
||||
|
||||
public function willFilterPage(array $changesets) {
|
||||
|
||||
// First, attach all the diffs we already have. We can just do this
|
||||
// directly without worrying about querying for them. When we don't have
|
||||
// a diff, record that we need to load it.
|
||||
|
@ -148,7 +147,7 @@ final class DifferentialChangesetQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDifferential';
|
||||
return 'PhabricatorDifferentialApplication';
|
||||
}
|
||||
|
||||
protected function getReversePaging() {
|
||||
|
|
|
@ -151,7 +151,7 @@ final class DifferentialDiffQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDifferential';
|
||||
return 'PhabricatorDifferentialApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -66,7 +66,6 @@ final class DifferentialHunkQuery
|
|||
}
|
||||
|
||||
public function willFilterPage(array $hunks) {
|
||||
|
||||
$changesets = mpull($this->changesets, null, 'getID');
|
||||
foreach ($hunks as $key => $hunk) {
|
||||
$changeset = idx($changesets, $hunk->getChangesetID());
|
||||
|
@ -110,7 +109,7 @@ final class DifferentialHunkQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDifferential';
|
||||
return 'PhabricatorDifferentialApplication';
|
||||
}
|
||||
|
||||
protected function getReversePaging() {
|
||||
|
|
|
@ -99,7 +99,7 @@ final class DifferentialRevisionQuery
|
|||
}
|
||||
|
||||
/**
|
||||
* Filter results to revisions with comments authored bythe given PHIDs
|
||||
* Filter results to revisions with comments authored by the given PHIDs.
|
||||
*
|
||||
* @param array List of PHIDs of authors
|
||||
* @return this
|
||||
|
@ -155,7 +155,7 @@ final class DifferentialRevisionQuery
|
|||
|
||||
/**
|
||||
* Filter results to revisions with a given status. Provide a class constant,
|
||||
* such as ##DifferentialRevisionQuery::STATUS_OPEN##.
|
||||
* such as `DifferentialRevisionQuery::STATUS_OPEN`.
|
||||
*
|
||||
* @param const Class STATUS constant, like STATUS_OPEN.
|
||||
* @return this
|
||||
|
@ -241,7 +241,7 @@ final class DifferentialRevisionQuery
|
|||
|
||||
/**
|
||||
* Set result ordering. Provide a class constant, such as
|
||||
* ##DifferentialRevisionQuery::ORDER_CREATED##.
|
||||
* `DifferentialRevisionQuery::ORDER_CREATED`.
|
||||
*
|
||||
* @task config
|
||||
*/
|
||||
|
@ -749,7 +749,7 @@ final class DifferentialRevisionQuery
|
|||
$conn_r,
|
||||
'r.status IN (%Ld)',
|
||||
array(
|
||||
ArcanistDifferentialRevisionStatus::NEEDS_REVIEW,
|
||||
ArcanistDifferentialRevisionStatus::NEEDS_REVIEW,
|
||||
));
|
||||
break;
|
||||
case self::STATUS_NEEDS_REVISION:
|
||||
|
@ -757,7 +757,7 @@ final class DifferentialRevisionQuery
|
|||
$conn_r,
|
||||
'r.status IN (%Ld)',
|
||||
array(
|
||||
ArcanistDifferentialRevisionStatus::NEEDS_REVISION,
|
||||
ArcanistDifferentialRevisionStatus::NEEDS_REVISION,
|
||||
));
|
||||
break;
|
||||
case self::STATUS_ACCEPTED:
|
||||
|
@ -1068,7 +1068,6 @@ final class DifferentialRevisionQuery
|
|||
|
||||
$revision->attachReviewerStatus($reviewers);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -1164,7 +1163,7 @@ final class DifferentialRevisionQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDifferential';
|
||||
return 'PhabricatorDifferentialApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ final class DifferentialRevisionSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationDifferential';
|
||||
return 'PhabricatorDifferentialApplication';
|
||||
}
|
||||
|
||||
public function getPageSize(PhabricatorSavedQuery $saved) {
|
||||
|
@ -194,7 +194,6 @@ final class DifferentialRevisionSearchEngine
|
|||
->setName('order')
|
||||
->setOptions($this->getOrderOptions())
|
||||
->setValue($saved->getParameter('order')));
|
||||
|
||||
}
|
||||
|
||||
protected function getURI($path) {
|
||||
|
|
|
@ -53,7 +53,7 @@ final class DifferentialRevision extends DifferentialDAO
|
|||
public static function initializeNewRevision(PhabricatorUser $actor) {
|
||||
$app = id(new PhabricatorApplicationQuery())
|
||||
->setViewer($actor)
|
||||
->withClasses(array('PhabricatorApplicationDifferential'))
|
||||
->withClasses(array('PhabricatorDifferentialApplication'))
|
||||
->executeOne();
|
||||
|
||||
$view_policy = $app->getPolicy(
|
||||
|
@ -269,7 +269,6 @@ final class DifferentialRevision extends DifferentialDAO
|
|||
}
|
||||
|
||||
public function hasAutomaticCapability($capability, PhabricatorUser $user) {
|
||||
|
||||
// A revision's author (which effectively means "owner" after we added
|
||||
// commandeering) can always view and edit it.
|
||||
$author_phid = $this->getAuthorPHID();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationDiffusion extends PhabricatorApplication {
|
||||
final class PhabricatorDiffusionApplication extends PhabricatorApplication {
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('Host and Browse Repositories');
|
||||
|
@ -103,9 +103,9 @@ final class PhabricatorApplicationDiffusion extends PhabricatorApplication {
|
|||
'(?P<callsign>[A-Z]+)(/|$).*' => 'DiffusionRepositoryDefaultController',
|
||||
|
||||
'inline/' => array(
|
||||
'edit/(?P<phid>[^/]+)/' => 'DiffusionInlineCommentController',
|
||||
'preview/(?P<phid>[^/]+)/' =>
|
||||
'DiffusionInlineCommentPreviewController',
|
||||
'edit/(?P<phid>[^/]+)/' => 'DiffusionInlineCommentController',
|
||||
'preview/(?P<phid>[^/]+)/'
|
||||
=> 'DiffusionInlineCommentPreviewController',
|
||||
),
|
||||
'services/' => array(
|
||||
'path/' => array(
|
||||
|
@ -126,13 +126,11 @@ final class PhabricatorApplicationDiffusion extends PhabricatorApplication {
|
|||
|
||||
protected function getCustomCapabilities() {
|
||||
return array(
|
||||
DiffusionCapabilityDefaultView::CAPABILITY => array(
|
||||
),
|
||||
DiffusionCapabilityDefaultView::CAPABILITY => array(),
|
||||
DiffusionCapabilityDefaultEdit::CAPABILITY => array(
|
||||
'default' => PhabricatorPolicies::POLICY_ADMIN,
|
||||
),
|
||||
DiffusionCapabilityDefaultPush::CAPABILITY => array(
|
||||
),
|
||||
DiffusionCapabilityDefaultPush::CAPABILITY => array(),
|
||||
DiffusionCapabilityCreateRepositories::CAPABILITY => array(
|
||||
'default' => PhabricatorPolicies::POLICY_ADMIN,
|
||||
),
|
|
@ -4,7 +4,7 @@ abstract class ConduitAPI_diffusion_Method extends ConduitAPIMethod {
|
|||
|
||||
public function getApplication() {
|
||||
return PhabricatorApplication::getByClass(
|
||||
'PhabricatorApplicationDiffusion');
|
||||
'PhabricatorDiffusionApplication');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -37,11 +37,9 @@ abstract class DiffusionBrowseController extends DiffusionController {
|
|||
break;
|
||||
}
|
||||
|
||||
|
||||
$filter = new AphrontListFilterView();
|
||||
$filter->appendChild($forms);
|
||||
|
||||
|
||||
if ($collapsed) {
|
||||
$filter->setCollapsed(
|
||||
pht('Show Search'),
|
||||
|
@ -112,7 +110,7 @@ abstract class DiffusionBrowseController extends DiffusionController {
|
|||
// TODO: Ideally, this should live in Owners and be event-triggered, but
|
||||
// there's no reasonable object for it to react to right now.
|
||||
|
||||
$owners = 'PhabricatorApplicationOwners';
|
||||
$owners = 'PhabricatorOwnersApplication';
|
||||
if (PhabricatorApplication::isClassInstalled($owners)) {
|
||||
$owners_uri = id(new PhutilURI('/owners/view/search/'))
|
||||
->setQueryParams(
|
||||
|
@ -220,7 +218,6 @@ abstract class DiffusionBrowseController extends DiffusionController {
|
|||
return id(new PHUIObjectBoxView())
|
||||
->setHeaderText(pht('Pending Differential Revisions'))
|
||||
->appendChild($view);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -999,7 +999,7 @@ final class DiffusionCommitController extends DiffusionController {
|
|||
require_celerity_resource('phabricator-object-selector-css');
|
||||
require_celerity_resource('javelin-behavior-phabricator-object-selector');
|
||||
|
||||
$maniphest = 'PhabricatorApplicationManiphest';
|
||||
$maniphest = 'PhabricatorManiphestApplication';
|
||||
if (PhabricatorApplication::isClassInstalled($maniphest)) {
|
||||
$action = id(new PhabricatorActionView())
|
||||
->setName(pht('Edit Maniphest Tasks'))
|
||||
|
@ -1176,5 +1176,4 @@ final class DiffusionCommitController extends DiffusionController {
|
|||
return $parser->processCorpus($corpus);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ abstract class HeraldPreCommitAdapter extends HeraldAdapter {
|
|||
}
|
||||
|
||||
public function getAdapterApplicationClass() {
|
||||
return 'PhabricatorApplicationDiffusion';
|
||||
return 'PhabricatorDiffusionApplication';
|
||||
}
|
||||
|
||||
public function getObject() {
|
||||
|
@ -56,8 +56,7 @@ abstract class HeraldPreCommitAdapter extends HeraldAdapter {
|
|||
}
|
||||
|
||||
public function explainValidTriggerObjects() {
|
||||
return pht(
|
||||
'This rule can trigger for **repositories** or **projects**.');
|
||||
return pht('This rule can trigger for **repositories** or **projects**.');
|
||||
}
|
||||
|
||||
public function getTriggerObjectPHIDs() {
|
||||
|
|
|
@ -16,6 +16,7 @@ final class DiffusionCommitQuery
|
|||
private $auditorPHIDs;
|
||||
private $auditAwaitingUser;
|
||||
private $auditStatus;
|
||||
|
||||
const AUDIT_STATUS_ANY = 'audit-status-any';
|
||||
const AUDIT_STATUS_OPEN = 'audit-status-open';
|
||||
const AUDIT_STATUS_CONCERN = 'audit-status-concern';
|
||||
|
@ -88,16 +89,15 @@ final class DiffusionCommitQuery
|
|||
}
|
||||
|
||||
/**
|
||||
* Retuns true if we should join the audit table, either because we're
|
||||
* interested in the information if it's available or because matching
|
||||
* rows must always have it.
|
||||
* Returns true if we should join the audit table, either because we're
|
||||
* interested in the information if it's available or because matching rows
|
||||
* must always have it.
|
||||
*/
|
||||
private function shouldJoinAudits() {
|
||||
return $this->auditStatus ||
|
||||
$this->rowsMustHaveAudits();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return true if we should `JOIN` (vs `LEFT JOIN`) the audit table, because
|
||||
* matching commits will always have audit rows.
|
||||
|
@ -194,7 +194,7 @@ final class DiffusionCommitQuery
|
|||
$result[$prefix.$suffix][] = $commit;
|
||||
}
|
||||
} else {
|
||||
// This awkward contruction is so we can link the commits up in O(N)
|
||||
// This awkward construction is so we can link the commits up in O(N)
|
||||
// time instead of O(N^2).
|
||||
for ($ii = $min_qualified; $ii <= strlen($suffix); $ii++) {
|
||||
$part = substr($suffix, 0, $ii);
|
||||
|
@ -225,7 +225,6 @@ final class DiffusionCommitQuery
|
|||
}
|
||||
|
||||
protected function didFilterPage(array $commits) {
|
||||
|
||||
if ($this->needCommitData) {
|
||||
$data = id(new PhabricatorRepositoryCommitData())->loadAllWhere(
|
||||
'commitID in (%Ld)',
|
||||
|
@ -508,7 +507,7 @@ final class DiffusionCommitQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDiffusion';
|
||||
return 'PhabricatorDiffusionApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ final class DiffusionArcanistProjectDatasource
|
|||
}
|
||||
|
||||
public function getDatasourceApplicationClass() {
|
||||
return 'PhabricatorApplicationDiffusion';
|
||||
return 'PhabricatorDiffusionApplication';
|
||||
}
|
||||
|
||||
public function loadResults() {
|
||||
|
|
|
@ -8,7 +8,7 @@ final class DiffusionAuditorDatasource
|
|||
}
|
||||
|
||||
public function getDatasourceApplicationClass() {
|
||||
return 'PhabricatorApplicationDiffusion';
|
||||
return 'PhabricatorDiffusionApplication';
|
||||
}
|
||||
|
||||
public function getComponentDatasources() {
|
||||
|
|
|
@ -8,7 +8,7 @@ final class DiffusionRepositoryDatasource
|
|||
}
|
||||
|
||||
public function getDatasourceApplicationClass() {
|
||||
return 'PhabricatorApplicationDiffusion';
|
||||
return 'PhabricatorDiffusionApplication';
|
||||
}
|
||||
|
||||
public function loadResults() {
|
||||
|
|
|
@ -8,7 +8,7 @@ final class DiffusionSymbolDatasource
|
|||
}
|
||||
|
||||
public function getDatasourceApplicationClass() {
|
||||
return 'PhabricatorApplicationDiffusion';
|
||||
return 'PhabricatorDiffusionApplication';
|
||||
}
|
||||
|
||||
public function loadResults() {
|
||||
|
|
|
@ -95,7 +95,7 @@ final class DiffusionHistoryTableView extends DiffusionView {
|
|||
}
|
||||
|
||||
$show_builds = PhabricatorApplication::isClassInstalledForViewer(
|
||||
'PhabricatorApplicationHarbormaster',
|
||||
'PhabricatorHarbormasterApplication',
|
||||
$this->getUser());
|
||||
|
||||
$rows = array();
|
||||
|
@ -254,13 +254,12 @@ final class DiffusionHistoryTableView extends DiffusionView {
|
|||
* |o
|
||||
* o
|
||||
*
|
||||
* ...which form an ASCII representation of the graph we eventaully want to
|
||||
* ...which form an ASCII representation of the graph we eventually want to
|
||||
* draw.
|
||||
*
|
||||
* NOTE: The actual implementation is black magic.
|
||||
*/
|
||||
private function renderGraph() {
|
||||
|
||||
// This keeps our accumulated information about each line of the
|
||||
// merge/branch graph.
|
||||
$graph = array();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationDiviner extends PhabricatorApplication {
|
||||
final class PhabricatorDivinerApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/diviner/';
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class DivinerAtomQuery
|
||||
extends PhabricatorCursorPagedPolicyAwareQuery {
|
||||
final class DivinerAtomQuery extends PhabricatorCursorPagedPolicyAwareQuery {
|
||||
|
||||
private $ids;
|
||||
private $phids;
|
||||
|
@ -104,7 +103,6 @@ final class DivinerAtomQuery
|
|||
return $this;
|
||||
}
|
||||
|
||||
|
||||
public function needExtends($need) {
|
||||
$this->needExtends = $need;
|
||||
return $this;
|
||||
|
@ -415,7 +413,7 @@ final class DivinerAtomQuery
|
|||
* Attach child atoms to existing atoms. In recursive mode, also attach child
|
||||
* atoms to atoms that these atoms extend.
|
||||
*
|
||||
* @param list<DivinerLiveSymbol> List of symbols to attach childeren to.
|
||||
* @param list<DivinerLiveSymbol> List of symbols to attach children to.
|
||||
* @param map<string, DivinerLiveSymbol> Map of symbols, keyed by node hash.
|
||||
* @param bool True to attach children to extended atoms, as well.
|
||||
* @return void
|
||||
|
@ -443,7 +441,7 @@ final class DivinerAtomQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDiviner';
|
||||
return 'PhabricatorDivinerApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
<?php
|
||||
|
||||
final class DivinerAtomSearchEngine
|
||||
extends PhabricatorApplicationSearchEngine {
|
||||
final class DivinerAtomSearchEngine extends PhabricatorApplicationSearchEngine {
|
||||
|
||||
public function getResultTypeDescription() {
|
||||
return pht('Documentation Atoms');
|
||||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationDiviner';
|
||||
return 'PhabricatorDivinerApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
|
@ -68,7 +67,6 @@ final class DivinerAtomSearchEngine
|
|||
->setName('name')
|
||||
->setValue($saved->getParameter('name')))
|
||||
->appendChild($type_control);
|
||||
|
||||
}
|
||||
|
||||
protected function getURI($path) {
|
||||
|
@ -76,15 +74,12 @@ final class DivinerAtomSearchEngine
|
|||
}
|
||||
|
||||
public function getBuiltinQueryNames() {
|
||||
$names = array(
|
||||
return array(
|
||||
'all' => pht('All'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
||||
$query = $this->newSavedQuery();
|
||||
$query->setQueryKey($query_key);
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class DivinerBookQuery
|
||||
extends PhabricatorCursorPagedPolicyAwareQuery {
|
||||
final class DivinerBookQuery extends PhabricatorCursorPagedPolicyAwareQuery {
|
||||
|
||||
private $ids;
|
||||
private $phids;
|
||||
|
@ -66,9 +65,8 @@ final class DivinerBookQuery
|
|||
return $this->formatWhereClause($where);
|
||||
}
|
||||
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDiviner';
|
||||
return 'PhabricatorDivinerApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationDoorkeeper extends PhabricatorApplication {
|
||||
final class PhabricatorDoorkeeperApplication extends PhabricatorApplication {
|
||||
|
||||
public function canUninstall() {
|
||||
return false;
|
|
@ -53,7 +53,7 @@ final class DoorkeeperExternalObjectQuery
|
|||
}
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDoorkeeper';
|
||||
return 'PhabricatorDoorkeeperApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationDrydock extends PhabricatorApplication {
|
||||
final class PhabricatorDrydockApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/drydock/';
|
||||
|
@ -63,8 +63,7 @@ final class PhabricatorApplicationDrydock extends PhabricatorApplication {
|
|||
|
||||
protected function getCustomCapabilities() {
|
||||
return array(
|
||||
DrydockCapabilityDefaultView::CAPABILITY => array(
|
||||
),
|
||||
DrydockCapabilityDefaultView::CAPABILITY => array(),
|
||||
DrydockCapabilityDefaultEdit::CAPABILITY => array(
|
||||
'default' => PhabricatorPolicies::POLICY_ADMIN,
|
||||
),
|
||||
|
@ -74,5 +73,4 @@ final class PhabricatorApplicationDrydock extends PhabricatorApplication {
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
|
@ -8,19 +8,15 @@ final class DrydockBlueprintSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationDrydock';
|
||||
return 'PhabricatorDrydockApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
$saved = new PhabricatorSavedQuery();
|
||||
|
||||
return $saved;
|
||||
return new PhabricatorSavedQuery();
|
||||
}
|
||||
|
||||
public function buildQueryFromSavedQuery(PhabricatorSavedQuery $saved) {
|
||||
$query = id(new DrydockBlueprintQuery());
|
||||
|
||||
return $query;
|
||||
return new DrydockBlueprintQuery();
|
||||
}
|
||||
|
||||
public function buildSearchForm(
|
||||
|
@ -34,11 +30,9 @@ final class DrydockBlueprintSearchEngine
|
|||
}
|
||||
|
||||
public function getBuiltinQueryNames() {
|
||||
$names = array(
|
||||
return array(
|
||||
'all' => pht('All Blueprints'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
|
|
@ -8,7 +8,7 @@ final class DrydockLeaseSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationDrydock';
|
||||
return 'PhabricatorDrydockApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
|
@ -58,12 +58,10 @@ final class DrydockLeaseSearchEngine
|
|||
}
|
||||
|
||||
public function getBuiltinQueryNames() {
|
||||
$names = array(
|
||||
return array(
|
||||
'active' => pht('Active Leases'),
|
||||
'all' => pht('All Leases'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
|
|
@ -1,26 +1,21 @@
|
|||
<?php
|
||||
|
||||
final class DrydockLogSearchEngine
|
||||
extends PhabricatorApplicationSearchEngine {
|
||||
final class DrydockLogSearchEngine extends PhabricatorApplicationSearchEngine {
|
||||
|
||||
public function getResultTypeDescription() {
|
||||
return pht('Drydock Logs');
|
||||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationDrydock';
|
||||
return 'PhabricatorDrydockApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
$saved = new PhabricatorSavedQuery();
|
||||
|
||||
return $saved;
|
||||
return new PhabricatorSavedQuery();
|
||||
}
|
||||
|
||||
public function buildQueryFromSavedQuery(PhabricatorSavedQuery $saved) {
|
||||
$query = id(new DrydockLogQuery());
|
||||
|
||||
return $query;
|
||||
return new DrydockLogQuery();
|
||||
}
|
||||
|
||||
public function buildSearchForm(
|
||||
|
@ -34,11 +29,9 @@ final class DrydockLogSearchEngine
|
|||
}
|
||||
|
||||
public function getBuiltinQueryNames() {
|
||||
$names = array(
|
||||
return array(
|
||||
'all' => pht('All Logs'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
<?php
|
||||
|
||||
abstract class DrydockQuery
|
||||
extends PhabricatorCursorPagedPolicyAwareQuery {
|
||||
abstract class DrydockQuery extends PhabricatorCursorPagedPolicyAwareQuery {
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationDrydock';
|
||||
return 'PhabricatorDrydockApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ final class DrydockResourceSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationDrydock';
|
||||
return 'PhabricatorDrydockApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
|
@ -50,7 +50,6 @@ final class DrydockResourceSearchEngine
|
|||
|
||||
$form
|
||||
->appendChild($status_control);
|
||||
|
||||
}
|
||||
|
||||
protected function getURI($path) {
|
||||
|
@ -58,12 +57,10 @@ final class DrydockResourceSearchEngine
|
|||
}
|
||||
|
||||
public function getBuiltinQueryNames() {
|
||||
$names = array(
|
||||
return array(
|
||||
'active' => pht('Active Resources'),
|
||||
'all' => pht('All Resources'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
|
|
@ -14,7 +14,7 @@ final class DrydockBlueprint extends DrydockDAO
|
|||
public static function initializeNewBlueprint(PhabricatorUser $actor) {
|
||||
$app = id(new PhabricatorApplicationQuery())
|
||||
->setViewer($actor)
|
||||
->withClasses(array('PhabricatorApplicationDrydock'))
|
||||
->withClasses(array('PhabricatorDrydockApplication'))
|
||||
->executeOne();
|
||||
|
||||
$view_policy = $app->getPolicy(
|
||||
|
@ -85,4 +85,5 @@ final class DrydockBlueprint extends DrydockDAO
|
|||
public function describeAutomaticCapability($capability) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationFact extends PhabricatorApplication {
|
||||
final class PhabricatorFactApplication extends PhabricatorApplication {
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('Chart and Analyze Data');
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationFeed extends PhabricatorApplication {
|
||||
final class PhabricatorFeedApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/feed/';
|
|
@ -3,8 +3,7 @@
|
|||
abstract class ConduitAPI_feed_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getApplication() {
|
||||
return PhabricatorApplication::getByClass(
|
||||
'PhabricatorApplicationFeed');
|
||||
return PhabricatorApplication::getByClass('PhabricatorFeedApplication');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -17,7 +17,6 @@ final class PhabricatorFeedQuery
|
|||
}
|
||||
|
||||
protected function loadPage() {
|
||||
|
||||
$story_table = new PhabricatorFeedStoryData();
|
||||
$conn = $story_table->establishConnection('r');
|
||||
|
||||
|
@ -104,9 +103,8 @@ final class PhabricatorFeedQuery
|
|||
return $item['chronologicalKey'];
|
||||
}
|
||||
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationFeed';
|
||||
return 'PhabricatorFeedApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationFiles extends PhabricatorApplication {
|
||||
final class PhabricatorFilesApplication extends PhabricatorApplication {
|
||||
|
||||
public function getBaseURI() {
|
||||
return '/file/';
|
||||
|
@ -36,7 +36,6 @@ final class PhabricatorApplicationFiles extends PhabricatorApplication {
|
|||
);
|
||||
}
|
||||
|
||||
|
||||
public function getRoutes() {
|
||||
return array(
|
||||
'/F(?P<id>[1-9]\d*)' => 'PhabricatorFileShortcutController',
|
|
@ -3,8 +3,7 @@
|
|||
abstract class ConduitAPI_file_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getApplication() {
|
||||
return PhabricatorApplication::getByClass(
|
||||
'PhabricatorApplicationFiles');
|
||||
return PhabricatorApplication::getByClass('PhabricatorFilesApplication');
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
final class FileCreateMailReceiver extends PhabricatorMailReceiver {
|
||||
|
||||
public function isEnabled() {
|
||||
$app_class = 'PhabricatorApplicationFiles';
|
||||
$app_class = 'PhabricatorFilesApplication';
|
||||
return PhabricatorApplication::isClassInstalled($app_class);
|
||||
}
|
||||
|
||||
|
@ -38,9 +38,7 @@ final class FileCreateMailReceiver extends PhabricatorMailReceiver {
|
|||
|
||||
$attachment_count = count($attachment_phids);
|
||||
if ($attachment_count > 1) {
|
||||
$subject = pht(
|
||||
'You successfully uploaded %d files.',
|
||||
$attachment_count);
|
||||
$subject = pht('You successfully uploaded %d files.', $attachment_count);
|
||||
} else {
|
||||
$subject = pht('You successfully uploaded a file.');
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
final class FileMailReceiver extends PhabricatorObjectMailReceiver {
|
||||
|
||||
public function isEnabled() {
|
||||
$app_class = 'PhabricatorApplicationFiles';
|
||||
$app_class = 'PhabricatorFilesApplication';
|
||||
return PhabricatorApplication::isClassInstalled($app_class);
|
||||
}
|
||||
|
||||
|
|
|
@ -245,9 +245,8 @@ final class PhabricatorFileQuery
|
|||
return 'f.id';
|
||||
}
|
||||
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationFiles';
|
||||
return 'PhabricatorFilesApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorFileSearchEngine
|
|||
}
|
||||
|
||||
public function getApplicationClassName() {
|
||||
return 'PhabricatorApplicationFiles';
|
||||
return 'PhabricatorFilesApplication';
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromRequest(AphrontRequest $request) {
|
||||
|
@ -94,14 +94,13 @@ final class PhabricatorFileSearchEngine
|
|||
}
|
||||
|
||||
$names += array(
|
||||
'all' => pht('All'),
|
||||
'all' => pht('All'),
|
||||
);
|
||||
|
||||
return $names;
|
||||
}
|
||||
|
||||
public function buildSavedQueryFromBuiltin($query_key) {
|
||||
|
||||
$query = $this->newSavedQuery();
|
||||
$query->setQueryKey($query_key);
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
final class PhabricatorApplicationFlags extends PhabricatorApplication {
|
||||
final class PhabricatorFlagsApplication extends PhabricatorApplication {
|
||||
|
||||
public function getShortDescription() {
|
||||
return pht('Personal Bookmarks');
|
|
@ -3,8 +3,7 @@
|
|||
abstract class ConduitAPI_flag_Method extends ConduitAPIMethod {
|
||||
|
||||
public function getApplication() {
|
||||
return PhabricatorApplication::getByClass(
|
||||
'PhabricatorApplicationFlags');
|
||||
return PhabricatorApplication::getByClass('PhabricatorFlagsApplication');
|
||||
}
|
||||
|
||||
protected function attachHandleToFlag($flag, PhabricatorUser $user) {
|
||||
|
@ -29,9 +28,9 @@ abstract class ConduitAPI_flag_Method extends ConduitAPIMethod {
|
|||
'colorName' => PhabricatorFlagColor::getColorName($color),
|
||||
'note' => $flag->getNote(),
|
||||
'handle' => array(
|
||||
'uri' => $uri,
|
||||
'name' => $flag->getHandle()->getName(),
|
||||
'fullname' => $flag->getHandle()->getFullName(),
|
||||
'uri' => $uri,
|
||||
'name' => $flag->getHandle()->getName(),
|
||||
'fullname' => $flag->getHandle()->getFullName(),
|
||||
),
|
||||
'dateCreated' => $flag->getDateCreated(),
|
||||
'dateModified' => $flag->getDateModified(),
|
||||
|
|
|
@ -36,7 +36,7 @@ final class PhabricatorFlagQuery
|
|||
}
|
||||
|
||||
/**
|
||||
* Note this is done in php and not in mySQL, which means its inappropriate
|
||||
* NOTE: this is done in PHP and not in MySQL, which means its inappropriate
|
||||
* for large datasets. Pragmatically, this is fine for user flags which are
|
||||
* typically well under 100 flags per user.
|
||||
*/
|
||||
|
@ -65,7 +65,6 @@ final class PhabricatorFlagQuery
|
|||
->executeOne();
|
||||
}
|
||||
|
||||
|
||||
public function loadPage() {
|
||||
$table = new PhabricatorFlag();
|
||||
$conn_r = $table->establishConnection('r');
|
||||
|
@ -82,7 +81,6 @@ final class PhabricatorFlagQuery
|
|||
}
|
||||
|
||||
public function willFilterPage(array $flags) {
|
||||
|
||||
if ($this->needObjects) {
|
||||
$objects = id(new PhabricatorObjectQuery())
|
||||
->setViewer($this->getViewer())
|
||||
|
@ -160,9 +158,8 @@ final class PhabricatorFlagQuery
|
|||
return $this->formatWhereClause($where);
|
||||
}
|
||||
|
||||
|
||||
public function getQueryApplicationClass() {
|
||||
return 'PhabricatorApplicationFlags';
|
||||
return 'PhabricatorFlagsApplication';
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue