From 78c695bad23aa4bda9ce66fc77c1b2475ce133ed Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 4 Jul 2011 13:04:22 -0700 Subject: [PATCH] Slightly improve Maniphest documentation. --- src/__phutil_library_map__.php | 15 ++++++++---- .../constants/base/ManiphestConstants.php | 24 +++++++++++++++++++ .../maniphest/constants/base/__init__.php | 10 ++++++++ .../constants/owner/ManiphestTaskOwner.php | 5 +++- .../maniphest/constants/owner/__init__.php | 2 ++ .../priority/ManiphestTaskPriority.php | 5 +++- .../maniphest/constants/priority/__init__.php | 2 ++ .../constants/status/ManiphestTaskStatus.php | 5 +++- .../maniphest/constants/status/__init__.php | 2 ++ .../ManiphestTransactionType.php | 5 +++- .../constants/transactiontype/__init__.php | 2 ++ .../controller/base/ManiphestController.php | 3 +++ ...niphestTaskDescriptionChangeController.php | 3 +++ .../ManiphestTaskDetailController.php | 3 +++ .../taskedit/ManiphestTaskEditController.php | 3 +++ .../tasklist/ManiphestTaskListController.php | 3 +++ .../ManiphestTransactionPreviewController.php | 3 +++ .../ManiphestTransactionSaveController.php | 3 +++ .../ManiphestTransactionEditor.php | 3 +++ .../maniphest/query/ManiphestTaskQuery.php | 2 ++ .../replyhandler/ManiphestReplyHandler.php | 3 +++ .../maniphest/storage/base/ManiphestDAO.php | 3 +++ .../maniphest/storage/task/ManiphestTask.php | 3 +++ .../transaction/ManiphestTransaction.php | 3 +++ .../maniphest/view/base/ManiphestView.php | 24 +++++++++++++++++++ .../maniphest/view/base/__init__.php | 12 ++++++++++ .../view/tasklist/ManiphestTaskListView.php | 5 +++- .../maniphest/view/tasklist/__init__.php | 2 +- .../tasksummary/ManiphestTaskSummaryView.php | 5 +++- .../maniphest/view/tasksummary/__init__.php | 2 +- .../ManiphestTransactionDetailView.php | 5 +++- .../view/transactiondetail/__init__.php | 2 +- .../ManiphestTransactionListView.php | 5 +++- .../view/transactionlist/__init__.php | 2 +- src/docs/userguide/remarkup.diviner | 2 +- 35 files changed, 164 insertions(+), 17 deletions(-) create mode 100644 src/applications/maniphest/constants/base/ManiphestConstants.php create mode 100644 src/applications/maniphest/constants/base/__init__.php create mode 100644 src/applications/maniphest/view/base/ManiphestView.php create mode 100644 src/applications/maniphest/view/base/__init__.php diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index d050187ca1..af7dba56bd 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -261,6 +261,7 @@ phutil_register_library_map(array( 'LiskIsolationTestCase' => 'storage/lisk/dao/__tests__', 'LiskIsolationTestDAO' => 'storage/lisk/dao/__tests__', 'LiskIsolationTestDAOException' => 'storage/lisk/dao/__tests__', + 'ManiphestConstants' => 'applications/maniphest/constants/base', 'ManiphestController' => 'applications/maniphest/controller/base', 'ManiphestDAO' => 'applications/maniphest/storage/base', 'ManiphestReplyHandler' => 'applications/maniphest/replyhandler', @@ -283,6 +284,7 @@ phutil_register_library_map(array( 'ManiphestTransactionPreviewController' => 'applications/maniphest/controller/transactionpreview', 'ManiphestTransactionSaveController' => 'applications/maniphest/controller/transactionsave', 'ManiphestTransactionType' => 'applications/maniphest/constants/transactiontype', + 'ManiphestView' => 'applications/maniphest/view/base', 'Phabricator404Controller' => 'applications/base/controller/404', 'PhabricatorAuthController' => 'applications/auth/controller/base', 'PhabricatorConduitAPIController' => 'applications/conduit/controller/api', @@ -766,14 +768,19 @@ phutil_register_library_map(array( 'ManiphestTaskDetailController' => 'ManiphestController', 'ManiphestTaskEditController' => 'ManiphestController', 'ManiphestTaskListController' => 'ManiphestController', - 'ManiphestTaskListView' => 'AphrontView', + 'ManiphestTaskListView' => 'ManiphestView', + 'ManiphestTaskOwner' => 'ManiphestConstants', + 'ManiphestTaskPriority' => 'ManiphestConstants', 'ManiphestTaskProject' => 'ManiphestDAO', - 'ManiphestTaskSummaryView' => 'AphrontView', + 'ManiphestTaskStatus' => 'ManiphestConstants', + 'ManiphestTaskSummaryView' => 'ManiphestView', 'ManiphestTransaction' => 'ManiphestDAO', - 'ManiphestTransactionDetailView' => 'AphrontView', - 'ManiphestTransactionListView' => 'AphrontView', + 'ManiphestTransactionDetailView' => 'ManiphestView', + 'ManiphestTransactionListView' => 'ManiphestView', 'ManiphestTransactionPreviewController' => 'ManiphestController', 'ManiphestTransactionSaveController' => 'ManiphestController', + 'ManiphestTransactionType' => 'ManiphestConstants', + 'ManiphestView' => 'AphrontView', 'Phabricator404Controller' => 'PhabricatorController', 'PhabricatorAuthController' => 'PhabricatorController', 'PhabricatorConduitAPIController' => 'PhabricatorConduitController', diff --git a/src/applications/maniphest/constants/base/ManiphestConstants.php b/src/applications/maniphest/constants/base/ManiphestConstants.php new file mode 100644 index 0000000000..7e12478621 --- /dev/null +++ b/src/applications/maniphest/constants/base/ManiphestConstants.php @@ -0,0 +1,24 @@ +