@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Provide "harbormaster.buildplan.edit" in the API

Summary: Depends on D20217. Ref T13258. Mostly for completeness. You can't edit build steps so this may not be terribly useful, but you can do bulk policy edits or whatever?

Test Plan: Edited a build plan via API.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13258

Differential Revision: https://secure.phabricator.com/D20218

+22
+2
src/__phutil_library_map__.php
··· 1331 1331 'HarbormasterBuildPlanDatasource' => 'applications/harbormaster/typeahead/HarbormasterBuildPlanDatasource.php', 1332 1332 'HarbormasterBuildPlanDefaultEditCapability' => 'applications/harbormaster/capability/HarbormasterBuildPlanDefaultEditCapability.php', 1333 1333 'HarbormasterBuildPlanDefaultViewCapability' => 'applications/harbormaster/capability/HarbormasterBuildPlanDefaultViewCapability.php', 1334 + 'HarbormasterBuildPlanEditAPIMethod' => 'applications/harbormaster/conduit/HarbormasterBuildPlanEditAPIMethod.php', 1334 1335 'HarbormasterBuildPlanEditEngine' => 'applications/harbormaster/editor/HarbormasterBuildPlanEditEngine.php', 1335 1336 'HarbormasterBuildPlanEditor' => 'applications/harbormaster/editor/HarbormasterBuildPlanEditor.php', 1336 1337 'HarbormasterBuildPlanNameNgrams' => 'applications/harbormaster/storage/configuration/HarbormasterBuildPlanNameNgrams.php', ··· 6943 6944 'HarbormasterBuildPlanDatasource' => 'PhabricatorTypeaheadDatasource', 6944 6945 'HarbormasterBuildPlanDefaultEditCapability' => 'PhabricatorPolicyCapability', 6945 6946 'HarbormasterBuildPlanDefaultViewCapability' => 'PhabricatorPolicyCapability', 6947 + 'HarbormasterBuildPlanEditAPIMethod' => 'PhabricatorEditEngineAPIMethod', 6946 6948 'HarbormasterBuildPlanEditEngine' => 'PhabricatorEditEngine', 6947 6949 'HarbormasterBuildPlanEditor' => 'PhabricatorApplicationTransactionEditor', 6948 6950 'HarbormasterBuildPlanNameNgrams' => 'PhabricatorSearchNgrams',
+20
src/applications/harbormaster/conduit/HarbormasterBuildPlanEditAPIMethod.php
··· 1 + <?php 2 + 3 + final class HarbormasterBuildPlanEditAPIMethod 4 + extends PhabricatorEditEngineAPIMethod { 5 + 6 + public function getAPIMethodName() { 7 + return 'harbormaster.buildplan.edit'; 8 + } 9 + 10 + public function newEditEngine() { 11 + return new HarbormasterBuildPlanEditEngine(); 12 + } 13 + 14 + public function getMethodSummary() { 15 + return pht( 16 + 'Apply transactions to create a new build plan or edit an existing '. 17 + 'one.'); 18 + } 19 + 20 + }