diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 2600ee6413..e48564d167 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -554,6 +554,7 @@ phutil_register_library_map(array( 'PhabricatorApplicationApplications' => 'applications/meta/application/PhabricatorApplicationApplications.php', 'PhabricatorApplicationAudit' => 'applications/audit/application/PhabricatorApplicationAudit.php', 'PhabricatorApplicationAuth' => 'applications/auth/application/PhabricatorApplicationAuth.php', + 'PhabricatorApplicationCountdown' => 'applications/countdown/application/PhabricatorApplicationCountdown.php', 'PhabricatorApplicationDaemons' => 'applications/daemon/application/PhabricatorApplicationDaemons.php', 'PhabricatorApplicationDifferential' => 'applications/differential/application/PhabricatorApplicationDifferential.php', 'PhabricatorApplicationDiffusion' => 'applications/diffusion/application/PhabricatorApplicationDiffusion.php', @@ -570,6 +571,7 @@ phutil_register_library_map(array( 'PhabricatorApplicationPonder' => 'applications/ponder/application/PhabricatorApplicationPonder.php', 'PhabricatorApplicationProject' => 'applications/project/application/PhabricatorApplicationProject.php', 'PhabricatorApplicationSettings' => 'applications/settings/application/PhabricatorApplicationSettings.php', + 'PhabricatorApplicationSlowvote' => 'applications/slowvote/application/PhabricatorApplicationSlowvote.php', 'PhabricatorApplicationStatusView' => 'applications/meta/view/PhabricatorApplicationStatusView.php', 'PhabricatorApplicationUIExamples' => 'applications/uiexample/application/PhabricatorApplicationUIExamples.php', 'PhabricatorApplicationsListController' => 'applications/meta/controller/PhabricatorApplicationsListController.php', @@ -1707,6 +1709,7 @@ phutil_register_library_map(array( 'PhabricatorApplicationApplications' => 'PhabricatorApplication', 'PhabricatorApplicationAudit' => 'PhabricatorApplication', 'PhabricatorApplicationAuth' => 'PhabricatorApplication', + 'PhabricatorApplicationCountdown' => 'PhabricatorApplication', 'PhabricatorApplicationDaemons' => 'PhabricatorApplication', 'PhabricatorApplicationDifferential' => 'PhabricatorApplication', 'PhabricatorApplicationDiffusion' => 'PhabricatorApplication', @@ -1723,6 +1726,7 @@ phutil_register_library_map(array( 'PhabricatorApplicationPonder' => 'PhabricatorApplication', 'PhabricatorApplicationProject' => 'PhabricatorApplication', 'PhabricatorApplicationSettings' => 'PhabricatorApplication', + 'PhabricatorApplicationSlowvote' => 'PhabricatorApplication', 'PhabricatorApplicationStatusView' => 'AphrontView', 'PhabricatorApplicationUIExamples' => 'PhabricatorApplication', 'PhabricatorApplicationsListController' => 'PhabricatorController', diff --git a/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php b/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php index 0770c5dc5f..71258ad51e 100644 --- a/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php +++ b/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php @@ -197,23 +197,6 @@ class AphrontDefaultApplicationConfiguration 'keyboardshortcut/' => 'PhabricatorHelpKeyboardShortcutController', ), - '/countdown/' => array( - '' - => 'PhabricatorCountdownListController', - '(?P\d+)/' - => 'PhabricatorCountdownViewController', - 'edit/(?:(?P\d+)/)?' - => 'PhabricatorCountdownEditController', - 'delete/(?P\d+)/' - => 'PhabricatorCountdownDeleteController' - ), - - '/V(?P\d+)' => 'PhabricatorSlowvotePollController', - '/vote/' => array( - '(?:view/(?P\w+)/)?' => 'PhabricatorSlowvoteListController', - 'create/' => 'PhabricatorSlowvoteCreateController', - ), - '/phame/' => array( '' => 'PhameAllPostListController', 'post/' => array( diff --git a/src/applications/countdown/application/PhabricatorApplicationCountdown.php b/src/applications/countdown/application/PhabricatorApplicationCountdown.php new file mode 100644 index 0000000000..0602328d8a --- /dev/null +++ b/src/applications/countdown/application/PhabricatorApplicationCountdown.php @@ -0,0 +1,52 @@ + array( + '' + => 'PhabricatorCountdownListController', + '(?P\d+)/' + => 'PhabricatorCountdownViewController', + 'edit/(?:(?P\d+)/)?' + => 'PhabricatorCountdownEditController', + 'delete/(?P\d+)/' + => 'PhabricatorCountdownDeleteController' + ), + ); + } + +} diff --git a/src/applications/slowvote/application/PhabricatorApplicationSlowvote.php b/src/applications/slowvote/application/PhabricatorApplicationSlowvote.php new file mode 100644 index 0000000000..671a2568d4 --- /dev/null +++ b/src/applications/slowvote/application/PhabricatorApplicationSlowvote.php @@ -0,0 +1,47 @@ +\d+)' => 'PhabricatorSlowvotePollController', + '/vote/' => array( + '(?:view/(?P\w+)/)?' => 'PhabricatorSlowvoteListController', + 'create/' => 'PhabricatorSlowvoteCreateController', + ), + ); + } + +}