repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/storage/AlmanacServiceTransaction.php | src/applications/almanac/storage/AlmanacServiceTransaction.php | <?php
final class AlmanacServiceTransaction
extends AlmanacModularTransaction {
public function getApplicationTransactionType() {
return AlmanacServicePHIDType::TYPECONST;
}
public function getBaseTransactionClass() {
return AlmanacServiceTransactionType::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/storage/AlmanacInterface.php | src/applications/almanac/storage/AlmanacInterface.php | <?php
final class AlmanacInterface
extends AlmanacDAO
implements
PhabricatorPolicyInterface,
PhabricatorDestructibleInterface,
PhabricatorExtendedPolicyInterface,
PhabricatorApplicationTransactionInterface,
PhabricatorConduitResultInterface {
protected $devicePHID;
protected $networkPHID;
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/storage/AlmanacDAO.php | src/applications/almanac/storage/AlmanacDAO.php | <?php
abstract class AlmanacDAO extends PhabricatorLiskDAO {
public function getApplicationName() {
return 'almanac';
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/management/AlmanacManagementWorkflow.php | src/applications/almanac/management/AlmanacManagementWorkflow.php | <?php
abstract class AlmanacManagementWorkflow
extends PhabricatorManagementWorkflow {
protected function loadServices(array $names) {
if (!$names) {
return array();
}
$services = id(new AlmanacServiceQuery())
->setViewer($this->getViewer())
->withNames($names)
->execute();
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/management/AlmanacManagementRegisterWorkflow.php | src/applications/almanac/management/AlmanacManagementRegisterWorkflow.php | <?php
final class AlmanacManagementRegisterWorkflow
extends AlmanacManagementWorkflow {
protected function didConstruct() {
$this
->setName('register')
->setSynopsis(pht('Register this host as an Almanac device.'))
->setArguments(
array(
array(
'name' => 'device... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/management/AlmanacManagementUntrustKeyWorkflow.php | src/applications/almanac/management/AlmanacManagementUntrustKeyWorkflow.php | <?php
final class AlmanacManagementUntrustKeyWorkflow
extends AlmanacManagementWorkflow {
protected function didConstruct() {
$this
->setName('untrust-key')
->setSynopsis(pht('Revoke trust of a public key.'))
->setArguments(
array(
array(
'name' => 'id',
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/management/AlmanacManagementTrustKeyWorkflow.php | src/applications/almanac/management/AlmanacManagementTrustKeyWorkflow.php | <?php
final class AlmanacManagementTrustKeyWorkflow
extends AlmanacManagementWorkflow {
protected function didConstruct() {
$this
->setName('trust-key')
->setSynopsis(pht('Mark a public key as trusted.'))
->setArguments(
array(
array(
'name' => 'id',
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/util/AlmanacNames.php | src/applications/almanac/util/AlmanacNames.php | <?php
final class AlmanacNames extends Phobject {
public static function validateName($name) {
if (strlen($name) < 3) {
throw new Exception(
pht(
'Almanac service, device, property, network and namespace names '.
'must be at least 3 characters long.'));
}
if (strlen($n... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/util/AlmanacAddress.php | src/applications/almanac/util/AlmanacAddress.php | <?php
final class AlmanacAddress extends Phobject {
private $networkPHID;
private $address;
private $port;
private function __construct() {
// <private>
}
public function getNetworkPHID() {
return $this->networkPHID;
}
public function getAddress() {
return $this->address;
}
public ... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/util/AlmanacKeys.php | src/applications/almanac/util/AlmanacKeys.php | <?php
final class AlmanacKeys extends Phobject {
public static function getKeyPath($key_name) {
$root = dirname(phutil_get_library_root('phabricator'));
$keys = $root.'/conf/keys/';
return $keys.ltrim($key_name, '/');
}
public static function getDeviceID() {
// While running unit tests, ignore... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/util/__tests__/AlmanacNamesTestCase.php | src/applications/almanac/util/__tests__/AlmanacNamesTestCase.php | <?php
final class AlmanacNamesTestCase extends PhabricatorTestCase {
public function testServiceOrDeviceNames() {
$map = array(
'' => false,
'a' => false,
'ab' => false,
'...' => false,
'ab.' => false,
'.ab' => false,
'A-B' => false,
'A!B' => false,
'A.B' =>... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacNamespaceSearchEngine.php | src/applications/almanac/query/AlmanacNamespaceSearchEngine.php | <?php
final class AlmanacNamespaceSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Almanac Namespaces');
}
public function getApplicationClassName() {
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacNamespaceTransactionQuery.php | src/applications/almanac/query/AlmanacNamespaceTransactionQuery.php | <?php
final class AlmanacNamespaceTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new AlmanacNamespaceTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorAlmanacApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacServiceTransactionQuery.php | src/applications/almanac/query/AlmanacServiceTransactionQuery.php | <?php
final class AlmanacServiceTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new AlmanacServiceTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorAlmanacApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacBindingSearchEngine.php | src/applications/almanac/query/AlmanacBindingSearchEngine.php | <?php
final class AlmanacBindingSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Almanac Bindings');
}
public function getApplicationClassName() {
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
ret... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacNetworkSearchEngine.php | src/applications/almanac/query/AlmanacNetworkSearchEngine.php | <?php
final class AlmanacNetworkSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Almanac Networks');
}
public function getApplicationClassName() {
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
ret... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacServiceSearchEngine.php | src/applications/almanac/query/AlmanacServiceSearchEngine.php | <?php
final class AlmanacServiceSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Almanac Services');
}
public function getApplicationClassName() {
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
ret... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacNamespaceQuery.php | src/applications/almanac/query/AlmanacNamespaceQuery.php | <?php
/**
* @extends AlmanacQuery<AlmanacNamespace>
*/
final class AlmanacNamespaceQuery
extends AlmanacQuery {
private $ids;
private $phids;
private $names;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public function withPHIDs(array $phids) {
$this->phids = ... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacDeviceTransactionQuery.php | src/applications/almanac/query/AlmanacDeviceTransactionQuery.php | <?php
final class AlmanacDeviceTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new AlmanacDeviceTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorAlmanacApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacNetworkTransactionQuery.php | src/applications/almanac/query/AlmanacNetworkTransactionQuery.php | <?php
final class AlmanacNetworkTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new AlmanacNetworkTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorAlmanacApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacDeviceQuery.php | src/applications/almanac/query/AlmanacDeviceQuery.php | <?php
/**
* @extends AlmanacQuery<AlmanacDevice>
*/
final class AlmanacDeviceQuery
extends AlmanacQuery {
private $ids;
private $phids;
private $names;
private $namePrefix;
private $nameSuffix;
private $isClusterDevice;
private $statuses;
public function withIDs(array $ids) {
$this->ids = $id... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacDeviceSearchEngine.php | src/applications/almanac/query/AlmanacDeviceSearchEngine.php | <?php
final class AlmanacDeviceSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Almanac Devices');
}
public function getApplicationClassName() {
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
retur... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacBindingQuery.php | src/applications/almanac/query/AlmanacBindingQuery.php | <?php
/**
* @extends AlmanacQuery<AlmanacBinding>
*/
final class AlmanacBindingQuery
extends AlmanacQuery {
private $ids;
private $phids;
private $servicePHIDs;
private $devicePHIDs;
private $interfacePHIDs;
private $isActive;
public function withIDs(array $ids) {
$this->ids = $ids;
return ... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacBindingTransactionQuery.php | src/applications/almanac/query/AlmanacBindingTransactionQuery.php | <?php
final class AlmanacBindingTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new AlmanacBindingTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorAlmanacApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacInterfaceSearchEngine.php | src/applications/almanac/query/AlmanacInterfaceSearchEngine.php | <?php
final class AlmanacInterfaceSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Almanac Interfaces');
}
public function getApplicationClassName() {
return PhabricatorAlmanacApplication::class;
}
public function newQuery() {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacQuery.php | src/applications/almanac/query/AlmanacQuery.php | <?php
/**
* @template R of PhabricatorPolicyInterface
* @extends PhabricatorCursorPagedPolicyAwareQuery<R>
*/
abstract class AlmanacQuery
extends PhabricatorCursorPagedPolicyAwareQuery {
private $needProperties;
public function needProperties($need_properties) {
$this->needProperties = $need_properties;... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacPropertyQuery.php | src/applications/almanac/query/AlmanacPropertyQuery.php | <?php
/**
* @extends PhabricatorCursorPagedPolicyAwareQuery<AlmanacProperty>
*/
final class AlmanacPropertyQuery
extends PhabricatorCursorPagedPolicyAwareQuery {
private $ids;
private $objectPHIDs;
private $objects;
private $names;
public function withIDs(array $ids) {
$this->ids = $ids;
return... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacInterfaceQuery.php | src/applications/almanac/query/AlmanacInterfaceQuery.php | <?php
/**
* @extends AlmanacQuery<AlmanacInterface>
*/
final class AlmanacInterfaceQuery
extends AlmanacQuery {
private $ids;
private $phids;
private $networkPHIDs;
private $devicePHIDs;
private $addresses;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public f... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacNetworkQuery.php | src/applications/almanac/query/AlmanacNetworkQuery.php | <?php
/**
* @extends AlmanacQuery<AlmanacNetwork>
*/
final class AlmanacNetworkQuery
extends AlmanacQuery {
private $ids;
private $phids;
private $names;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public function withPHIDs(array $phids) {
$this->phids = $phi... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacServiceQuery.php | src/applications/almanac/query/AlmanacServiceQuery.php | <?php
/**
* @extends AlmanacQuery<AlmanacService>
*/
final class AlmanacServiceQuery
extends AlmanacQuery {
private $ids;
private $phids;
private $names;
private $serviceTypes;
private $devicePHIDs;
private $namePrefix;
private $nameSuffix;
private $needBindings;
private $needActiveBindings;
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/query/AlmanacInterfaceTransactionQuery.php | src/applications/almanac/query/AlmanacInterfaceTransactionQuery.php | <?php
final class AlmanacInterfaceTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new AlmanacInterfaceTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorAlmanacApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacNetworkEditor.php | src/applications/almanac/editor/AlmanacNetworkEditor.php | <?php
final class AlmanacNetworkEditor
extends AlmanacEditor {
public function getEditorObjectsDescription() {
return pht('Almanac Network');
}
public function getCreateObjectTitle($author, $object) {
return pht('%s created this network.', $author);
}
public function getCreateObjectTitleForFeed(... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacServicePropertyEditEngine.php | src/applications/almanac/editor/AlmanacServicePropertyEditEngine.php | <?php
final class AlmanacServicePropertyEditEngine
extends AlmanacPropertyEditEngine {
const ENGINECONST = 'almanac.service.property';
protected function newObjectQuery() {
return new AlmanacServiceQuery();
}
protected function getObjectViewURI($object) {
return $object->getURI();
}
protected... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacDeviceEditEngine.php | src/applications/almanac/editor/AlmanacDeviceEditEngine.php | <?php
final class AlmanacDeviceEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'almanac.device';
public function isEngineConfigurable() {
return false;
}
public function getEngineName() {
return pht('Almanac Devices');
}
public function getSummaryHeader() {
return pht('Edit... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacBindingPropertyEditEngine.php | src/applications/almanac/editor/AlmanacBindingPropertyEditEngine.php | <?php
final class AlmanacBindingPropertyEditEngine
extends AlmanacPropertyEditEngine {
const ENGINECONST = 'almanac.binding.property';
protected function newObjectQuery() {
return new AlmanacBindingQuery();
}
protected function getObjectViewURI($object) {
return $object->getURI();
}
protected... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacNamespaceEditor.php | src/applications/almanac/editor/AlmanacNamespaceEditor.php | <?php
final class AlmanacNamespaceEditor
extends AlmanacEditor {
public function getEditorObjectsDescription() {
return pht('Almanac Namespace');
}
public function getCreateObjectTitle($author, $object) {
return pht('%s created this namespace.', $author);
}
public function getCreateObjectTitleFo... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacEditor.php | src/applications/almanac/editor/AlmanacEditor.php | <?php
abstract class AlmanacEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return PhabricatorAlmanacApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacBindingEditEngine.php | src/applications/almanac/editor/AlmanacBindingEditEngine.php | <?php
final class AlmanacBindingEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'almanac.binding';
private $service;
public function setService(AlmanacService $service) {
$this->service = $service;
return $this;
}
public function getService() {
if (!$this->service) {
th... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacServiceEditor.php | src/applications/almanac/editor/AlmanacServiceEditor.php | <?php
final class AlmanacServiceEditor
extends AlmanacEditor {
public function getEditorObjectsDescription() {
return pht('Almanac Service');
}
public function getCreateObjectTitle($author, $object) {
return pht('%s created this service.', $author);
}
public function getCreateObjectTitleForFeed(... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacInterfaceEditEngine.php | src/applications/almanac/editor/AlmanacInterfaceEditEngine.php | <?php
final class AlmanacInterfaceEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'almanac.interface';
private $device;
public function setDevice(AlmanacDevice $device) {
$this->device = $device;
return $this;
}
public function getDevice() {
if (!$this->device) {
throw ... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacDevicePropertyEditEngine.php | src/applications/almanac/editor/AlmanacDevicePropertyEditEngine.php | <?php
final class AlmanacDevicePropertyEditEngine
extends AlmanacPropertyEditEngine {
const ENGINECONST = 'almanac.device.property';
protected function newObjectQuery() {
return new AlmanacDeviceQuery();
}
protected function getObjectViewURI($object) {
return $object->getURI();
}
protected fu... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacBindingEditor.php | src/applications/almanac/editor/AlmanacBindingEditor.php | <?php
final class AlmanacBindingEditor
extends AlmanacEditor {
public function getEditorObjectsDescription() {
return pht('Almanac Binding');
}
public function getCreateObjectTitle($author, $object) {
return pht('%s created this binding.', $author);
}
public function getCreateObjectTitleForFeed(... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacDeviceEditor.php | src/applications/almanac/editor/AlmanacDeviceEditor.php | <?php
final class AlmanacDeviceEditor
extends AlmanacEditor {
public function getEditorObjectsDescription() {
return pht('Almanac Device');
}
public function getCreateObjectTitle($author, $object) {
return pht('%s created this device.', $author);
}
public function getCreateObjectTitleForFeed($au... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacNamespaceEditEngine.php | src/applications/almanac/editor/AlmanacNamespaceEditEngine.php | <?php
final class AlmanacNamespaceEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'almanac.namespace';
public function isEngineConfigurable() {
return false;
}
public function getEngineName() {
return pht('Almanac Namespaces');
}
public function getSummaryHeader() {
return ... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacServiceEditEngine.php | src/applications/almanac/editor/AlmanacServiceEditEngine.php | <?php
final class AlmanacServiceEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'almanac.service';
private $serviceType;
public function setServiceType($service_type) {
$this->serviceType = $service_type;
return $this;
}
public function getServiceType() {
return $this->servic... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacPropertyEditEngine.php | src/applications/almanac/editor/AlmanacPropertyEditEngine.php | <?php
abstract class AlmanacPropertyEditEngine
extends PhabricatorEditEngine {
private $propertyKey;
public function setPropertyKey($property_key) {
$this->propertyKey = $property_key;
return $this;
}
public function getPropertyKey() {
return $this->propertyKey;
}
public function isEngine... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacNetworkEditEngine.php | src/applications/almanac/editor/AlmanacNetworkEditEngine.php | <?php
final class AlmanacNetworkEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'almanac.network';
public function isEngineConfigurable() {
return false;
}
public function getEngineName() {
return pht('Almanac Networks');
}
public function getSummaryHeader() {
return pht('E... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/editor/AlmanacInterfaceEditor.php | src/applications/almanac/editor/AlmanacInterfaceEditor.php | <?php
final class AlmanacInterfaceEditor
extends AlmanacEditor {
public function getEditorObjectsDescription() {
return pht('Almanac Interface');
}
public function getCreateObjectTitle($author, $object) {
return pht('%s created this interface.', $author);
}
public function getCreateObjectTitleFo... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacServiceSetPropertyTransaction.php | src/applications/almanac/xaction/AlmanacServiceSetPropertyTransaction.php | <?php
final class AlmanacServiceSetPropertyTransaction
extends AlmanacServiceTransactionType {
const TRANSACTIONTYPE = 'almanac:property:update';
public function generateOldValue($object) {
return $this->getAlmanacPropertyOldValue($object);
}
public function applyExternalEffects($object, $value) {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacInterfaceDeviceTransaction.php | src/applications/almanac/xaction/AlmanacInterfaceDeviceTransaction.php | <?php
final class AlmanacInterfaceDeviceTransaction
extends AlmanacInterfaceTransactionType {
const TRANSACTIONTYPE = 'almanac:interface:device';
public function generateOldValue($object) {
return $object->getDevicePHID();
}
public function applyInternalEffects($object, $value) {
$object->setDevic... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacNamespaceNameTransaction.php | src/applications/almanac/xaction/AlmanacNamespaceNameTransaction.php | <?php
final class AlmanacNamespaceNameTransaction
extends AlmanacNamespaceTransactionType {
const TRANSACTIONTYPE = 'almanac:namespace:name';
public function generateOldValue($object) {
return $object->getName();
}
public function applyInternalEffects($object, $value) {
$object->setName($value);
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacInterfaceTransactionType.php | src/applications/almanac/xaction/AlmanacInterfaceTransactionType.php | <?php
abstract class AlmanacInterfaceTransactionType
extends AlmanacTransactionType {}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacNetworkNameTransaction.php | src/applications/almanac/xaction/AlmanacNetworkNameTransaction.php | <?php
final class AlmanacNetworkNameTransaction
extends AlmanacNetworkTransactionType {
const TRANSACTIONTYPE = 'almanac:network:name';
public function generateOldValue($object) {
return $object->getName();
}
public function applyInternalEffects($object, $value) {
$object->setName($value);
}
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacBindingTransactionType.php | src/applications/almanac/xaction/AlmanacBindingTransactionType.php | <?php
abstract class AlmanacBindingTransactionType
extends AlmanacTransactionType {}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacServiceNameTransaction.php | src/applications/almanac/xaction/AlmanacServiceNameTransaction.php | <?php
final class AlmanacServiceNameTransaction
extends AlmanacServiceTransactionType {
const TRANSACTIONTYPE = 'almanac:service:name';
public function generateOldValue($object) {
return $object->getName();
}
public function applyInternalEffects($object, $value) {
$object->setName($value);
}
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacInterfaceDestroyTransaction.php | src/applications/almanac/xaction/AlmanacInterfaceDestroyTransaction.php | <?php
final class AlmanacInterfaceDestroyTransaction
extends AlmanacInterfaceTransactionType {
const TRANSACTIONTYPE = 'almanac:interface:destroy';
public function generateOldValue($object) {
return false;
}
public function applyExternalEffects($object, $value) {
id(new PhabricatorDestructionEngin... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacInterfaceAddressTransaction.php | src/applications/almanac/xaction/AlmanacInterfaceAddressTransaction.php | <?php
final class AlmanacInterfaceAddressTransaction
extends AlmanacInterfaceTransactionType {
const TRANSACTIONTYPE = 'almanac:interface:address';
public function generateOldValue($object) {
return $object->getAddress();
}
public function applyInternalEffects($object, $value) {
$object->setAddres... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacDeviceSetPropertyTransaction.php | src/applications/almanac/xaction/AlmanacDeviceSetPropertyTransaction.php | <?php
final class AlmanacDeviceSetPropertyTransaction
extends AlmanacDeviceTransactionType {
const TRANSACTIONTYPE = 'almanac:property:update';
public function generateOldValue($object) {
return $this->getAlmanacPropertyOldValue($object);
}
public function applyExternalEffects($object, $value) {
r... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacServiceTypeTransaction.php | src/applications/almanac/xaction/AlmanacServiceTypeTransaction.php | <?php
final class AlmanacServiceTypeTransaction
extends AlmanacServiceTransactionType {
const TRANSACTIONTYPE = 'almanac:service:type';
public function generateOldValue($object) {
return $object->getServiceType();
}
public function applyInternalEffects($object, $value) {
$object->setServiceType($v... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacServiceTransactionType.php | src/applications/almanac/xaction/AlmanacServiceTransactionType.php | <?php
abstract class AlmanacServiceTransactionType
extends AlmanacTransactionType {}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacDeviceStatusTransaction.php | src/applications/almanac/xaction/AlmanacDeviceStatusTransaction.php | <?php
final class AlmanacDeviceStatusTransaction
extends AlmanacDeviceTransactionType {
const TRANSACTIONTYPE = 'almanac:device:status';
public function generateOldValue($object) {
return $object->getStatus();
}
public function applyInternalEffects($object, $value) {
$object->setStatus($value);
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacInterfaceNetworkTransaction.php | src/applications/almanac/xaction/AlmanacInterfaceNetworkTransaction.php | <?php
final class AlmanacInterfaceNetworkTransaction
extends AlmanacInterfaceTransactionType {
const TRANSACTIONTYPE = 'almanac:interface:network';
public function generateOldValue($object) {
return $object->getNetworkPHID();
}
public function applyInternalEffects($object, $value) {
$object->setNe... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacBindingInterfaceTransaction.php | src/applications/almanac/xaction/AlmanacBindingInterfaceTransaction.php | <?php
final class AlmanacBindingInterfaceTransaction
extends AlmanacBindingTransactionType {
const TRANSACTIONTYPE = 'almanac:binding:interface';
public function generateOldValue($object) {
return $object->getInterfacePHID();
}
public function applyInternalEffects($object, $value) {
$interface = $... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacServiceDeletePropertyTransaction.php | src/applications/almanac/xaction/AlmanacServiceDeletePropertyTransaction.php | <?php
final class AlmanacServiceDeletePropertyTransaction
extends AlmanacServiceTransactionType {
const TRANSACTIONTYPE = 'almanac:property:remove';
public function generateOldValue($object) {
return $this->getAlmanacPropertyOldValue($object);
}
public function applyInternalEffects($object, $value) {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacDeviceDeletePropertyTransaction.php | src/applications/almanac/xaction/AlmanacDeviceDeletePropertyTransaction.php | <?php
final class AlmanacDeviceDeletePropertyTransaction
extends AlmanacDeviceTransactionType {
const TRANSACTIONTYPE = 'almanac:property:remove';
public function generateOldValue($object) {
return $this->getAlmanacPropertyOldValue($object);
}
public function applyInternalEffects($object, $value) {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacDeviceNameTransaction.php | src/applications/almanac/xaction/AlmanacDeviceNameTransaction.php | <?php
final class AlmanacDeviceNameTransaction
extends AlmanacDeviceTransactionType {
const TRANSACTIONTYPE = 'almanac:device:name';
public function generateOldValue($object) {
return $object->getName();
}
public function applyInternalEffects($object, $value) {
$object->setName($value);
}
pub... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacBindingDisableTransaction.php | src/applications/almanac/xaction/AlmanacBindingDisableTransaction.php | <?php
final class AlmanacBindingDisableTransaction
extends AlmanacBindingTransactionType {
const TRANSACTIONTYPE = 'almanac:binding:disable';
public function generateOldValue($object) {
return (bool)$object->getIsDisabled();
}
public function applyInternalEffects($object, $value) {
$object->setIsD... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacNetworkTransactionType.php | src/applications/almanac/xaction/AlmanacNetworkTransactionType.php | <?php
abstract class AlmanacNetworkTransactionType
extends AlmanacTransactionType {}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacNamespaceTransactionType.php | src/applications/almanac/xaction/AlmanacNamespaceTransactionType.php | <?php
abstract class AlmanacNamespaceTransactionType
extends AlmanacTransactionType {}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacInterfacePortTransaction.php | src/applications/almanac/xaction/AlmanacInterfacePortTransaction.php | <?php
final class AlmanacInterfacePortTransaction
extends AlmanacInterfaceTransactionType {
const TRANSACTIONTYPE = 'almanac:interface:port';
public function generateOldValue($object) {
$port = $object->getPort();
if ($port !== null) {
$port = (int)$port;
}
return $port;
}
public f... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacBindingServiceTransaction.php | src/applications/almanac/xaction/AlmanacBindingServiceTransaction.php | <?php
final class AlmanacBindingServiceTransaction
extends AlmanacBindingTransactionType {
const TRANSACTIONTYPE = 'almanac:binding:service';
public function generateOldValue($object) {
return $object->getServicePHID();
}
public function applyInternalEffects($object, $value) {
$object->setServiceP... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacDeviceTransactionType.php | src/applications/almanac/xaction/AlmanacDeviceTransactionType.php | <?php
abstract class AlmanacDeviceTransactionType
extends AlmanacTransactionType {}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacTransactionType.php | src/applications/almanac/xaction/AlmanacTransactionType.php | <?php
abstract class AlmanacTransactionType
extends PhabricatorModularTransactionType {
protected function getAlmanacPropertyOldValue($object) {
$property_key = $this->getMetadataValue('almanac.property');
$exists = $object->hasAlmanacProperty($property_key);
$value = $object->getAlmanacPropertyValue(... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacBindingDeletePropertyTransaction.php | src/applications/almanac/xaction/AlmanacBindingDeletePropertyTransaction.php | <?php
final class AlmanacBindingDeletePropertyTransaction
extends AlmanacBindingTransactionType {
const TRANSACTIONTYPE = 'almanac:property:remove';
public function generateOldValue($object) {
return $this->getAlmanacPropertyOldValue($object);
}
public function applyInternalEffects($object, $value) {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/xaction/AlmanacBindingSetPropertyTransaction.php | src/applications/almanac/xaction/AlmanacBindingSetPropertyTransaction.php | <?php
final class AlmanacBindingSetPropertyTransaction
extends AlmanacBindingTransactionType {
const TRANSACTIONTYPE = 'almanac:property:update';
public function generateOldValue($object) {
return $this->getAlmanacPropertyOldValue($object);
}
public function applyExternalEffects($object, $value) {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/servicetype/AlmanacDrydockPoolServiceType.php | src/applications/almanac/servicetype/AlmanacDrydockPoolServiceType.php | <?php
final class AlmanacDrydockPoolServiceType extends AlmanacServiceType {
const SERVICETYPE = 'drydock.pool';
public function getServiceTypeShortName() {
return pht('Drydock Pool');
}
public function getServiceTypeName() {
return pht('Drydock: Resource Pool');
}
public function getServiceTyp... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/servicetype/AlmanacClusterDatabaseServiceType.php | src/applications/almanac/servicetype/AlmanacClusterDatabaseServiceType.php | <?php
final class AlmanacClusterDatabaseServiceType
extends AlmanacClusterServiceType {
const SERVICETYPE = 'cluster.database';
public function getServiceTypeShortName() {
return pht('Cluster Database');
}
public function getServiceTypeName() {
return pht('Cluster: Database');
}
public functi... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/servicetype/AlmanacCustomServiceType.php | src/applications/almanac/servicetype/AlmanacCustomServiceType.php | <?php
final class AlmanacCustomServiceType extends AlmanacServiceType {
const SERVICETYPE = 'almanac.custom';
public function getServiceTypeShortName() {
return pht('Custom');
}
public function getServiceTypeName() {
return pht('Custom Service');
}
public function getServiceTypeDescription() {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/servicetype/AlmanacServiceType.php | src/applications/almanac/servicetype/AlmanacServiceType.php | <?php
abstract class AlmanacServiceType extends Phobject {
/**
* Return a very short human-readable name for this service type, like
* "Custom".
*
* @return string Very short human-readable service type name.
*/
abstract public function getServiceTypeShortName();
/**
* Return a short, human-... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/servicetype/AlmanacClusterServiceType.php | src/applications/almanac/servicetype/AlmanacClusterServiceType.php | <?php
abstract class AlmanacClusterServiceType
extends AlmanacServiceType {
public function isClusterServiceType() {
return true;
}
public function getServiceTypeIcon() {
return 'fa-sitemap';
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/servicetype/AlmanacClusterRepositoryServiceType.php | src/applications/almanac/servicetype/AlmanacClusterRepositoryServiceType.php | <?php
final class AlmanacClusterRepositoryServiceType
extends AlmanacClusterServiceType {
const SERVICETYPE = 'cluster.repository';
public function getServiceTypeShortName() {
return pht('Cluster Repository');
}
public function getServiceTypeName() {
return pht('Cluster: Repository');
}
publi... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/servicetype/__tests__/AlmanacServiceTypeTestCase.php | src/applications/almanac/servicetype/__tests__/AlmanacServiceTypeTestCase.php | <?php
final class AlmanacServiceTypeTestCase extends PhabricatorTestCase {
public function testGetAllServiceTypes() {
AlmanacServiceType::getAllServiceTypes();
$this->assertTrue(true);
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/application/PhabricatorAlmanacApplication.php | src/applications/almanac/application/PhabricatorAlmanacApplication.php | <?php
final class PhabricatorAlmanacApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/almanac/';
}
public function getName() {
return pht('Almanac');
}
public function getShortDescription() {
return pht('Service Directory');
}
public function getIcon() {... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/property/AlmanacPropertyInterface.php | src/applications/almanac/property/AlmanacPropertyInterface.php | <?php
interface AlmanacPropertyInterface {
public function attachAlmanacProperties(array $properties);
public function getAlmanacProperties();
public function hasAlmanacProperty($key);
public function getAlmanacProperty($key);
public function getAlmanacPropertyValue($key, $default = null);
public function... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/view/AlmanacBindingTableView.php | src/applications/almanac/view/AlmanacBindingTableView.php | <?php
final class AlmanacBindingTableView extends AphrontView {
private $bindings;
private $noDataString;
private $hideServiceColumn;
public function setNoDataString($no_data_string) {
$this->noDataString = $no_data_string;
return $this;
}
public function getNoDataString() {
return $this->n... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/view/AlmanacInterfaceTableView.php | src/applications/almanac/view/AlmanacInterfaceTableView.php | <?php
final class AlmanacInterfaceTableView extends AphrontView {
private $interfaces;
private $canEdit;
public function setInterfaces(array $interfaces) {
$this->interfaces = $interfaces;
return $this;
}
public function getInterfaces() {
return $this->interfaces;
}
public function setCan... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/phid/AlmanacNetworkPHIDType.php | src/applications/almanac/phid/AlmanacNetworkPHIDType.php | <?php
final class AlmanacNetworkPHIDType extends PhabricatorPHIDType {
const TYPECONST = 'ANET';
public function getTypeName() {
return pht('Almanac Network');
}
public function newObject() {
return new AlmanacNetwork();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorAl... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/phid/AlmanacServicePHIDType.php | src/applications/almanac/phid/AlmanacServicePHIDType.php | <?php
final class AlmanacServicePHIDType extends PhabricatorPHIDType {
const TYPECONST = 'ASRV';
public function getTypeName() {
return pht('Almanac Service');
}
public function newObject() {
return new AlmanacService();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorAl... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/phid/AlmanacDevicePHIDType.php | src/applications/almanac/phid/AlmanacDevicePHIDType.php | <?php
final class AlmanacDevicePHIDType extends PhabricatorPHIDType {
const TYPECONST = 'ADEV';
public function getTypeName() {
return pht('Almanac Device');
}
public function newObject() {
return new AlmanacDevice();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorAlman... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/phid/AlmanacBindingPHIDType.php | src/applications/almanac/phid/AlmanacBindingPHIDType.php | <?php
final class AlmanacBindingPHIDType extends PhabricatorPHIDType {
const TYPECONST = 'ABND';
public function getTypeName() {
return pht('Almanac Binding');
}
public function newObject() {
return new AlmanacBinding();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorAl... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/phid/AlmanacInterfacePHIDType.php | src/applications/almanac/phid/AlmanacInterfacePHIDType.php | <?php
final class AlmanacInterfacePHIDType extends PhabricatorPHIDType {
const TYPECONST = 'AINT';
public function getTypeName() {
return pht('Almanac Interface');
}
public function newObject() {
return new AlmanacInterface();
}
public function getPHIDTypeApplicationClass() {
return Phabric... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/phid/AlmanacNamespacePHIDType.php | src/applications/almanac/phid/AlmanacNamespacePHIDType.php | <?php
final class AlmanacNamespacePHIDType extends PhabricatorPHIDType {
const TYPECONST = 'ANAM';
public function getTypeName() {
return pht('Almanac Namespace');
}
public function newObject() {
return new AlmanacNamespace();
}
public function getPHIDTypeApplicationClass() {
return Phabric... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/conduit/AlmanacBindingSearchConduitAPIMethod.php | src/applications/almanac/conduit/AlmanacBindingSearchConduitAPIMethod.php | <?php
final class AlmanacBindingSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'almanac.binding.search';
}
public function newSearchEngine() {
return new AlmanacBindingSearchEngine();
}
public function getMethodSummary() {
return... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/conduit/AlmanacBindingEditConduitAPIMethod.php | src/applications/almanac/conduit/AlmanacBindingEditConduitAPIMethod.php | <?php
final class AlmanacBindingEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'almanac.binding.edit';
}
public function newEditEngine() {
return new AlmanacBindingEditEngine();
}
public function getMethodSummary() {
return pht(
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/conduit/AlmanacNamespaceEditConduitAPIMethod.php | src/applications/almanac/conduit/AlmanacNamespaceEditConduitAPIMethod.php | <?php
final class AlmanacNamespaceEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'almanac.namespace.edit';
}
public function newEditEngine() {
return new AlmanacNamespaceEditEngine();
}
public function getMethodSummary() {
return pht... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/conduit/AlmanacInterfaceEditConduitAPIMethod.php | src/applications/almanac/conduit/AlmanacInterfaceEditConduitAPIMethod.php | <?php
final class AlmanacInterfaceEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'almanac.interface.edit';
}
public function newEditEngine() {
return new AlmanacInterfaceEditEngine();
}
public function getMethodSummary() {
return pht... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/conduit/AlmanacNetworkEditConduitAPIMethod.php | src/applications/almanac/conduit/AlmanacNetworkEditConduitAPIMethod.php | <?php
final class AlmanacNetworkEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'almanac.network.edit';
}
public function newEditEngine() {
return new AlmanacNetworkEditEngine();
}
public function getMethodSummary() {
return pht(
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/conduit/AlmanacInterfaceSearchConduitAPIMethod.php | src/applications/almanac/conduit/AlmanacInterfaceSearchConduitAPIMethod.php | <?php
final class AlmanacInterfaceSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'almanac.interface.search';
}
public function newSearchEngine() {
return new AlmanacInterfaceSearchEngine();
}
public function getMethodSummary() {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/conduit/AlmanacDeviceSearchConduitAPIMethod.php | src/applications/almanac/conduit/AlmanacDeviceSearchConduitAPIMethod.php | <?php
final class AlmanacDeviceSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'almanac.device.search';
}
public function newSearchEngine() {
return new AlmanacDeviceSearchEngine();
}
public function getMethodSummary() {
return ph... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/almanac/conduit/AlmanacDeviceEditConduitAPIMethod.php | src/applications/almanac/conduit/AlmanacDeviceEditConduitAPIMethod.php | <?php
final class AlmanacDeviceEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'almanac.device.edit';
}
public function newEditEngine() {
return new AlmanacDeviceEditEngine();
}
public function getMethodSummary() {
return pht(
'... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.