@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.

Turn the "closed" property on cluster repositories into a nice boolean

Summary:
Ref T10883. Ref T13120. There's an existing "closed" property on repository services that stops new repositories from being allocated there.

Turn it into a nice boolean.

Test Plan: Toggled the value on/off using a nice `<select />` with helpful labels instead of a text area.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13120, T10883

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

+5 -1
+5 -1
src/applications/almanac/servicetype/AlmanacClusterRepositoryServiceType.php
··· 20 20 21 21 public function getFieldSpecifications() { 22 22 return array( 23 - 'closed' => id(new PhabricatorTextEditField()), 23 + 'closed' => id(new PhabricatorBoolEditField()) 24 + ->setOptions( 25 + pht('Allow New Repositories'), 26 + pht('Prevent New Repositories')) 27 + ->setValue(false), 24 28 ); 25 29 } 26 30