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
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/credentialtype/__tests__/PassphraseCredentialTypeTestCase.php
src/applications/passphrase/credentialtype/__tests__/PassphraseCredentialTypeTestCase.php
<?php final class PassphraseCredentialTypeTestCase extends PhabricatorTestCase { public function testGetAllTypes() { PassphraseCredentialType::getAllTypes(); $this->assertTrue(true); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/policyrule/PassphraseCredentialAuthorPolicyRule.php
src/applications/passphrase/policyrule/PassphraseCredentialAuthorPolicyRule.php
<?php final class PassphraseCredentialAuthorPolicyRule extends PhabricatorPolicyRule { public function getObjectPolicyKey() { return 'passphrase.author'; } public function getObjectPolicyName() { return pht('Credential Author'); } public function getPolicyExplanation() { return pht('The auth...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/view/PassphraseCredentialControl.php
src/applications/passphrase/view/PassphraseCredentialControl.php
<?php final class PassphraseCredentialControl extends AphrontFormControl { private $options = array(); private $credentialType; private $defaultUsername; private $allowNull; public function setAllowNull($allow_null) { $this->allowNull = $allow_null; return $this; } public function setDefaultUs...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/phid/PassphraseCredentialPHIDType.php
src/applications/passphrase/phid/PassphraseCredentialPHIDType.php
<?php final class PassphraseCredentialPHIDType extends PhabricatorPHIDType { const TYPECONST = 'CDTL'; public function getTypeName() { return pht('Passphrase Credential'); } public function newObject() { return new PassphraseCredential(); } public function getPHIDTypeApplicationClass() { re...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/conduit/PassphraseConduitAPIMethod.php
src/applications/passphrase/conduit/PassphraseConduitAPIMethod.php
<?php abstract class PassphraseConduitAPIMethod extends ConduitAPIMethod { final public function getApplication() { return PhabricatorApplication::getByClass( 'PhabricatorPassphraseApplication'); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/conduit/PassphraseQueryConduitAPIMethod.php
src/applications/passphrase/conduit/PassphraseQueryConduitAPIMethod.php
<?php final class PassphraseQueryConduitAPIMethod extends PassphraseConduitAPIMethod { public function getAPIMethodName() { return 'passphrase.query'; } public function getMethodDescription() { return pht('Query credentials.'); } public function newQueryObject() { return new PassphraseCreden...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/search/PassphraseCredentialFerretEngine.php
src/applications/passphrase/search/PassphraseCredentialFerretEngine.php
<?php final class PassphraseCredentialFerretEngine extends PhabricatorFerretEngine { public function getApplicationName() { return 'passphrase'; } public function getScopeName() { return 'credential'; } public function newSearchEngine() { return new PassphraseCredentialSearchEngine(); } }...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/search/PassphraseCredentialFulltextEngine.php
src/applications/passphrase/search/PassphraseCredentialFulltextEngine.php
<?php final class PassphraseCredentialFulltextEngine extends PhabricatorFulltextEngine { protected function buildAbstractDocument( PhabricatorSearchAbstractDocument $document, $object) { $credential = $object; $document->setDocumentTitle($credential->getName()); $document->addField( P...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/capability/PassphraseDefaultViewCapability.php
src/applications/passphrase/capability/PassphraseDefaultViewCapability.php
<?php final class PassphraseDefaultViewCapability extends PhabricatorPolicyCapability { const CAPABILITY = 'passphrase.default.view'; public function getCapabilityName() { return pht('Default View Policy'); } public function shouldAllowPublicPolicySetting() { return true; } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/capability/PassphraseDefaultEditCapability.php
src/applications/passphrase/capability/PassphraseDefaultEditCapability.php
<?php final class PassphraseDefaultEditCapability extends PhabricatorPolicyCapability { const CAPABILITY = 'passphrase.default.edit'; public function getCapabilityName() { return pht('Default Edit Policy'); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/keys/PassphrasePasswordKey.php
src/applications/passphrase/keys/PassphrasePasswordKey.php
<?php final class PassphrasePasswordKey extends PassphraseAbstractKey { public static function loadFromPHID($phid, PhabricatorUser $viewer) { $key = new PassphrasePasswordKey(); return $key->loadAndValidateFromPHID( $phid, $viewer, PassphrasePasswordCredentialType::PROVIDES_TYPE); } p...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/keys/PassphraseSSHKey.php
src/applications/passphrase/keys/PassphraseSSHKey.php
<?php final class PassphraseSSHKey extends PassphraseAbstractKey { private $keyFile; public static function loadFromPHID($phid, PhabricatorUser $viewer) { $key = new PassphraseSSHKey(); return $key->loadAndValidateFromPHID( $phid, $viewer, PassphraseSSHPrivateKeyCredentialType::PROVIDES...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/keys/PassphraseAbstractKey.php
src/applications/passphrase/keys/PassphraseAbstractKey.php
<?php abstract class PassphraseAbstractKey extends Phobject { private $credential; protected function requireCredential() { if (!$this->credential) { throw new Exception(pht('Credential is required!')); } return $this->credential; } private function loadCredential( $phid, Phabricat...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/passphrase/remarkup/PassphraseRemarkupRule.php
src/applications/passphrase/remarkup/PassphraseRemarkupRule.php
<?php final class PassphraseRemarkupRule extends PhabricatorObjectRemarkupRule { protected function getObjectNamePrefix() { return 'K'; } protected function loadObjects(array $ids) { $viewer = $this->getEngine()->getConfig('viewer'); return id(new PassphraseCredentialQuery()) ->setViewer($vi...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/lipsum/management/PhabricatorLipsumGenerateWorkflow.php
src/applications/lipsum/management/PhabricatorLipsumGenerateWorkflow.php
<?php final class PhabricatorLipsumGenerateWorkflow extends PhabricatorLipsumManagementWorkflow { protected function didConstruct() { $this ->setName('generate') ->setExamples('**generate**') ->setSynopsis(pht('Generate synthetic test objects.')) ->setArguments( array( ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/lipsum/management/PhabricatorLipsumManagementWorkflow.php
src/applications/lipsum/management/PhabricatorLipsumManagementWorkflow.php
<?php abstract class PhabricatorLipsumManagementWorkflow extends PhabricatorManagementWorkflow {}
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/lipsum/image/PhabricatorLipsumArtist.php
src/applications/lipsum/image/PhabricatorLipsumArtist.php
<?php abstract class PhabricatorLipsumArtist extends Phobject { protected function getHSBColor($h, $s, $b) { if ($s == 0) { $cr = $b; $cg = $b; $cb = $b; } else { $h /= 60; $i = (int)$h; $f = $h - $i; $p = $b * (1 - $s); $q = $b * (1 - $s * $f); $t = $b ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/lipsum/image/PhabricatorLipsumMondrianArtist.php
src/applications/lipsum/image/PhabricatorLipsumMondrianArtist.php
<?php final class PhabricatorLipsumMondrianArtist extends PhabricatorLipsumArtist { protected function draw($image, $x, $y) { $c_white = 0xFFFFFF; $c_black = 0x000000; imagefill($image, 0, 0, $c_white); $lines_h = mt_rand(2, 5); $lines_v = mt_rand(2, 5); for ($ii = 0; $ii < $lines_h; $ii++...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/lipsum/generator/PhabricatorTestDataGenerator.php
src/applications/lipsum/generator/PhabricatorTestDataGenerator.php
<?php abstract class PhabricatorTestDataGenerator extends Phobject { private $viewer; abstract public function getGeneratorName(); abstract public function generateObject(); final public function setViewer(PhabricatorUser $viewer) { $this->viewer = $viewer; return $this; } final public function...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/controller/PhluxListController.php
src/applications/phlux/controller/PhluxListController.php
<?php final class PhluxListController extends PhluxController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $pager = new AphrontCursorPagerView(); $pager->readFromRequest($request); $query = id(new PhluxVariableQuery()) ->setViewer($viewer); $va...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/controller/PhluxEditController.php
src/applications/phlux/controller/PhluxEditController.php
<?php final class PhluxEditController extends PhluxController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $key = $request->getURIData('key'); $is_new = ($key === null); if ($is_new) { $var = new PhluxVariable(); $var->setViewPolicy(Phabricato...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/controller/PhluxController.php
src/applications/phlux/controller/PhluxController.php
<?php abstract class PhluxController extends PhabricatorController { protected function buildApplicationCrumbs() { $crumbs = parent::buildApplicationCrumbs(); $crumbs->addAction( id(new PHUIListItemView()) ->setName(pht('Create Variable')) ->setHref($this->getApplicationURI('/edit/')) ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/controller/PhluxViewController.php
src/applications/phlux/controller/PhluxViewController.php
<?php final class PhluxViewController extends PhluxController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $key = $request->getURIData('key'); $var = id(new PhluxVariableQuery()) ->setViewer($viewer) ->withKeys(array($key)) ->executeOne(); ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/storage/PhluxSchemaSpec.php
src/applications/phlux/storage/PhluxSchemaSpec.php
<?php final class PhluxSchemaSpec extends PhabricatorConfigSchemaSpec { public function buildSchemata() { $this->buildEdgeSchemata(new PhluxVariable()); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/storage/PhluxTransaction.php
src/applications/phlux/storage/PhluxTransaction.php
<?php final class PhluxTransaction extends PhabricatorApplicationTransaction { const TYPE_EDIT_KEY = 'phlux:key'; const TYPE_EDIT_VALUE = 'phlux:value'; public function getApplicationName() { return 'phlux'; } public function getApplicationTransactionType() { return PhluxVariablePHIDType::TY...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/storage/PhluxDAO.php
src/applications/phlux/storage/PhluxDAO.php
<?php abstract class PhluxDAO extends PhabricatorLiskDAO { public function getApplicationName() { return 'phlux'; } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/storage/PhluxVariable.php
src/applications/phlux/storage/PhluxVariable.php
<?php final class PhluxVariable extends PhluxDAO implements PhabricatorApplicationTransactionInterface, PhabricatorFlaggableInterface, PhabricatorPolicyInterface { protected $variableKey; protected $variableValue; protected $viewPolicy; protected $editPolicy; protected function getConfigurati...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/query/PhluxTransactionQuery.php
src/applications/phlux/query/PhluxTransactionQuery.php
<?php final class PhluxTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new PhluxTransaction(); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/query/PhluxVariableQuery.php
src/applications/phlux/query/PhluxVariableQuery.php
<?php final class PhluxVariableQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $keys; private $phids; public function withIDs(array $ids) { $this->ids = $ids; return $this; } public function withPHIDs(array $phids) { $this->phids = $phids; return $this; }...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/editor/PhluxVariableEditor.php
src/applications/phlux/editor/PhluxVariableEditor.php
<?php final class PhluxVariableEditor extends PhabricatorApplicationTransactionEditor { public function getEditorApplicationClass() { return 'PhabricatorPhluxApplication'; } public function getEditorObjectsDescription() { return pht('Phlux Variables'); } public function getTransactionTypes() { ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/application/PhabricatorPhluxApplication.php
src/applications/phlux/application/PhabricatorPhluxApplication.php
<?php final class PhabricatorPhluxApplication extends PhabricatorApplication { public function getName() { return pht('Phlux'); } public function getBaseURI() { return '/phlux/'; } public function getShortDescription() { return pht('Key/Value Configuration Store'); } public function getIc...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phlux/phid/PhluxVariablePHIDType.php
src/applications/phlux/phid/PhluxVariablePHIDType.php
<?php final class PhluxVariablePHIDType extends PhabricatorPHIDType { const TYPECONST = 'PVAR'; public function getTypeName() { return pht('Variable'); } public function newObject() { return new PhluxVariable(); } public function getPHIDTypeApplicationClass() { return 'PhabricatorPhluxAppli...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/controller/PhabricatorAuditController.php
src/applications/audit/controller/PhabricatorAuditController.php
<?php abstract class PhabricatorAuditController extends PhabricatorController { public function buildSideNavView() { $user = $this->getRequest()->getUser(); $nav = new AphrontSideNavFilterView(); $nav->setBaseURI(new PhutilURI($this->getApplicationURI())); id(new PhabricatorCommitSearchEngine()) ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/storage/PhabricatorAuditTransaction.php
src/applications/audit/storage/PhabricatorAuditTransaction.php
<?php final class PhabricatorAuditTransaction extends PhabricatorModularTransaction { const TYPE_COMMIT = 'audit:commit'; const MAILTAG_ACTION_CONCERN = 'audit-action-concern'; const MAILTAG_ACTION_ACCEPT = 'audit-action-accept'; const MAILTAG_ACTION_RESIGN = 'audit-action-resign'; const MAILTAG_ACTION...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/storage/PhabricatorAuditInlineComment.php
src/applications/audit/storage/PhabricatorAuditInlineComment.php
<?php final class PhabricatorAuditInlineComment extends PhabricatorInlineComment { protected function newStorageObject() { return new PhabricatorAuditTransactionComment(); } public function getControllerURI() { return urisprintf( '/diffusion/inline/edit/%s/', $this->getCommitPHID()); } ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/storage/PhabricatorAuditTransactionComment.php
src/applications/audit/storage/PhabricatorAuditTransactionComment.php
<?php final class PhabricatorAuditTransactionComment extends PhabricatorApplicationTransactionComment implements PhabricatorInlineCommentInterface { protected $commitPHID; protected $pathID; protected $isNewFile = 0; protected $lineNumber = 0; protected $lineLength = 0; protected $fixedState; pr...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/management/PhabricatorAuditManagementDeleteWorkflow.php
src/applications/audit/management/PhabricatorAuditManagementDeleteWorkflow.php
<?php final class PhabricatorAuditManagementDeleteWorkflow extends PhabricatorAuditManagementWorkflow { protected function didConstruct() { $this ->setName('delete') ->setExamples('**delete** [--dry-run] ...') ->setSynopsis(pht('Delete audit requests matching parameters.')) ->setArgume...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/management/PhabricatorAuditUpdateOwnersManagementWorkflow.php
src/applications/audit/management/PhabricatorAuditUpdateOwnersManagementWorkflow.php
<?php final class PhabricatorAuditUpdateOwnersManagementWorkflow extends PhabricatorAuditManagementWorkflow { protected function didConstruct() { $this ->setName('update-owners') ->setExamples('**update-owners** ...') ->setSynopsis(pht('Update package relationships for commits.')) ->se...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/management/PhabricatorAuditManagementWorkflow.php
src/applications/audit/management/PhabricatorAuditManagementWorkflow.php
<?php abstract class PhabricatorAuditManagementWorkflow extends PhabricatorManagementWorkflow { protected function getCommitConstraintArguments() { return array( array( 'name' => 'all', 'help' => pht('Update all commits in all repositories.'), ), array( 'name' => 'ob...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/management/PhabricatorAuditSynchronizeManagementWorkflow.php
src/applications/audit/management/PhabricatorAuditSynchronizeManagementWorkflow.php
<?php final class PhabricatorAuditSynchronizeManagementWorkflow extends PhabricatorAuditManagementWorkflow { protected function didConstruct() { $this ->setName('synchronize') ->setExamples( "**synchronize** __repository__ ...\n". "**synchronize** __commit__ ...\n". "**sync...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/query/PhabricatorAuditTransactionQuery.php
src/applications/audit/query/PhabricatorAuditTransactionQuery.php
<?php final class PhabricatorAuditTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new PhabricatorAuditTransaction(); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/query/DiffusionInternalCommitSearchEngine.php
src/applications/audit/query/DiffusionInternalCommitSearchEngine.php
<?php final class DiffusionInternalCommitSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Diffusion Raw Commits'); } public function getApplicationClassName() { return 'PhabricatorDiffusionApplication'; } public function newQuery(...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/query/PhabricatorCommitSearchEngine.php
src/applications/audit/query/PhabricatorCommitSearchEngine.php
<?php final class PhabricatorCommitSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Diffusion Commits'); } public function getApplicationClassName() { return 'PhabricatorDiffusionApplication'; } public function newQuery() { re...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/mail/PhabricatorAuditReplyHandler.php
src/applications/audit/mail/PhabricatorAuditReplyHandler.php
<?php final class PhabricatorAuditReplyHandler extends PhabricatorApplicationTransactionReplyHandler { public function validateMailReceiver($mail_receiver) { if (!($mail_receiver instanceof PhabricatorRepositoryCommit)) { throw new Exception( pht( 'Mail receiver is not a %s!', ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/mail/PhabricatorAuditMailReceiver.php
src/applications/audit/mail/PhabricatorAuditMailReceiver.php
<?php final class PhabricatorAuditMailReceiver extends PhabricatorObjectMailReceiver { public function isEnabled() { return PhabricatorApplication::isClassInstalled( 'PhabricatorDiffusionApplication'); } protected function getObjectPattern() { return 'COMMIT[1-9]\d*'; } protected function lo...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/editor/PhabricatorAuditEditor.php
src/applications/audit/editor/PhabricatorAuditEditor.php
<?php final class PhabricatorAuditEditor extends PhabricatorApplicationTransactionEditor { const MAX_FILES_SHOWN_IN_EMAIL = 1000; private $affectedFiles; private $rawPatch; private $auditorPHIDs = array(); private $didExpandInlineState = false; private $oldAuditStatus = null; public function setRaw...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/editor/PhabricatorAuditCommentEditor.php
src/applications/audit/editor/PhabricatorAuditCommentEditor.php
<?php final class PhabricatorAuditCommentEditor extends PhabricatorEditor { public static function getMailThreading( PhabricatorRepository $repository, PhabricatorRepositoryCommit $commit) { return array( 'diffusion-audit-'.$commit->getPHID(), pht( 'Commit %s', $commit->getM...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/application/PhabricatorAuditApplication.php
src/applications/audit/application/PhabricatorAuditApplication.php
<?php final class PhabricatorAuditApplication extends PhabricatorApplication { public function getBaseURI() { return '/diffusion/commit/'; } public function getIcon() { return 'fa-check-circle-o'; } public function getName() { return pht('Audit'); } public function getShortDescription() {...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/view/PhabricatorAuditTransactionView.php
src/applications/audit/view/PhabricatorAuditTransactionView.php
<?php final class PhabricatorAuditTransactionView extends PhabricatorApplicationTransactionView { private $pathMap = array(); public function setPathMap(array $path_map) { $this->pathMap = $path_map; return $this; } public function getPathMap() { return $this->pathMap; } // TODO: This sha...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/conduit/AuditQueryConduitAPIMethod.php
src/applications/audit/conduit/AuditQueryConduitAPIMethod.php
<?php final class AuditQueryConduitAPIMethod extends AuditConduitAPIMethod { const AUDIT_LEGACYSTATUS_ANY = 'audit-status-any'; const AUDIT_LEGACYSTATUS_OPEN = 'audit-status-open'; const AUDIT_LEGACYSTATUS_CONCERN = 'audit-status-concern'; const AUDIT_LEGACYSTATUS_ACCEPTED = 'audit-status-accept...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/conduit/AuditConduitAPIMethod.php
src/applications/audit/conduit/AuditConduitAPIMethod.php
<?php abstract class AuditConduitAPIMethod extends ConduitAPIMethod { final public function getApplication() { return PhabricatorApplication::getByClass( 'PhabricatorDiffusionApplication'); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/constants/PhabricatorAuditRequestStatus.php
src/applications/audit/constants/PhabricatorAuditRequestStatus.php
<?php final class PhabricatorAuditRequestStatus extends Phobject { const AUDIT_REQUIRED = 'audit-required'; const CONCERNED = 'concerned'; const ACCEPTED = 'accepted'; const AUDIT_REQUESTED = 'requested'; const RESIGNED = 'resigned'; private $k...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/audit/constants/PhabricatorAuditActionConstants.php
src/applications/audit/constants/PhabricatorAuditActionConstants.php
<?php final class PhabricatorAuditActionConstants extends Phobject { const CONCERN = 'concern'; const ACCEPT = 'accept'; const COMMENT = 'comment'; const RESIGN = 'resign'; const CLOSE = 'close'; const ADD_CCS = 'add_ccs'; const ADD_AUDITORS = 'add_auditors'; const INLINE = 'audit:inline...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/controller/PhrequentListController.php
src/applications/phrequent/controller/PhrequentListController.php
<?php final class PhrequentListController extends PhrequentController { private $queryKey; public function shouldAllowPublic() { return true; } public function willProcessRequest(array $data) { $this->queryKey = idx($data, 'queryKey'); } public function processRequest() { $controller = id(n...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/controller/PhrequentController.php
src/applications/phrequent/controller/PhrequentController.php
<?php abstract class PhrequentController extends PhabricatorController { protected function buildSideNavView() { $user = $this->getRequest()->getUser(); $nav = new AphrontSideNavFilterView(); $nav->setBaseURI(new PhutilURI($this->getApplicationURI())); id(new PhrequentSearchEngine()) ->setVi...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/controller/PhrequentTrackController.php
src/applications/phrequent/controller/PhrequentTrackController.php
<?php final class PhrequentTrackController extends PhrequentController { private $verb; private $phid; public function willProcessRequest(array $data) { $this->phid = $data['phid']; $this->verb = $data['verb']; } public function processRequest() { $request = $this->getRequest(); $viewer ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/engineextension/PhrequentCurtainExtension.php
src/applications/phrequent/engineextension/PhrequentCurtainExtension.php
<?php final class PhrequentCurtainExtension extends PHUICurtainExtension { const EXTENSIONKEY = 'phrequent.time'; public function shouldEnableForObject($object) { return ($object instanceof PhrequentTrackableInterface); } public function getExtensionApplication() { return new PhabricatorPhrequentA...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/storage/PhrequentTimeBlock.php
src/applications/phrequent/storage/PhrequentTimeBlock.php
<?php final class PhrequentTimeBlock extends Phobject { private $events; public function __construct(array $events) { assert_instances_of($events, 'PhrequentUserTime'); $this->events = $events; } public function getTimeSpentOnObject($phid, $now) { $slices = idx($this->getObjectTimeRanges(), $phi...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/storage/PhrequentUserTime.php
src/applications/phrequent/storage/PhrequentUserTime.php
<?php final class PhrequentUserTime extends PhrequentDAO implements PhabricatorPolicyInterface { protected $userPHID; protected $objectPHID; protected $note; protected $dateStarted; protected $dateEnded; private $preemptingEvents = self::ATTACHABLE; protected function getConfiguration() { return...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/storage/PhrequentDAO.php
src/applications/phrequent/storage/PhrequentDAO.php
<?php abstract class PhrequentDAO extends PhabricatorLiskDAO { public function getApplicationName() { return 'phrequent'; } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/storage/PhrequentTimeSlices.php
src/applications/phrequent/storage/PhrequentTimeSlices.php
<?php final class PhrequentTimeSlices extends Phobject { private $objectPHID; private $isOngoing; private $ranges; public function __construct($object_phid, $is_ongoing, array $ranges) { $this->objectPHID = $object_phid; $this->isOngoing = $is_ongoing; $this->ranges = $ranges; } public funct...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/storage/__tests__/PhrequentTimeBlockTestCase.php
src/applications/phrequent/storage/__tests__/PhrequentTimeBlockTestCase.php
<?php final class PhrequentTimeBlockTestCase extends PhabricatorTestCase { public function testMergeTimeRanges() { // Overlapping ranges. $input = array( array(50, 150), array(100, 175), ); $expect = array( array(50, 175), ); $this->assertEqual($expect, PhrequentTimeBlock...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/query/PhrequentUserTimeQuery.php
src/applications/phrequent/query/PhrequentUserTimeQuery.php
<?php final class PhrequentUserTimeQuery extends PhabricatorCursorPagedPolicyAwareQuery { const ORDER_ID_ASC = 0; const ORDER_ID_DESC = 1; const ORDER_STARTED_ASC = 2; const ORDER_STARTED_DESC = 3; const ORDER_ENDED_ASC = 4; const ORDER_ENDED_DESC = 5; const ENDED_YES = 0; co...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/query/PhrequentSearchEngine.php
src/applications/phrequent/query/PhrequentSearchEngine.php
<?php final class PhrequentSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Phrequent Time'); } public function getApplicationClassName() { return 'PhabricatorPhrequentApplication'; } public function getPageSize(PhabricatorSavedQuer...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/interface/PhrequentTrackableInterface.php
src/applications/phrequent/interface/PhrequentTrackableInterface.php
<?php interface PhrequentTrackableInterface {}
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/editor/PhrequentTrackingEditor.php
src/applications/phrequent/editor/PhrequentTrackingEditor.php
<?php final class PhrequentTrackingEditor extends PhabricatorEditor { public function startTracking(PhabricatorUser $user, $phid, $timestamp) { $usertime = new PhrequentUserTime(); $usertime->setDateStarted($timestamp); $usertime->setUserPHID($user->getPHID()); $usertime->setObjectPHID($phid); $...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/application/PhabricatorPhrequentApplication.php
src/applications/phrequent/application/PhabricatorPhrequentApplication.php
<?php final class PhabricatorPhrequentApplication extends PhabricatorApplication { public function getName() { return pht('Phrequent'); } public function getShortDescription() { return pht('Track Time Spent'); } public function getBaseURI() { return '/phrequent/'; } public function isProt...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/event/PhrequentUIEventListener.php
src/applications/phrequent/event/PhrequentUIEventListener.php
<?php final class PhrequentUIEventListener extends PhabricatorEventListener { public function register() { $this->listen(PhabricatorEventType::TYPE_UI_DIDRENDERACTIONS); } public function handleEvent(PhutilEvent $event) { switch ($event->getType()) { case PhabricatorEventType::TYPE_UI_DIDRENDER...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/conduit/PhrequentPopConduitAPIMethod.php
src/applications/phrequent/conduit/PhrequentPopConduitAPIMethod.php
<?php final class PhrequentPopConduitAPIMethod extends PhrequentConduitAPIMethod { public function getAPIMethodName() { return 'phrequent.pop'; } public function getMethodDescription() { return pht('Stop tracking time on an object by popping it from the stack.'); } public function getMethodStatus(...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/conduit/PhrequentPushConduitAPIMethod.php
src/applications/phrequent/conduit/PhrequentPushConduitAPIMethod.php
<?php final class PhrequentPushConduitAPIMethod extends PhrequentConduitAPIMethod { public function getAPIMethodName() { return 'phrequent.push'; } public function getMethodDescription() { return pht( 'Start tracking time on an object by '. 'pushing it on the tracking stack.'); } publi...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/conduit/PhrequentTrackingConduitAPIMethod.php
src/applications/phrequent/conduit/PhrequentTrackingConduitAPIMethod.php
<?php final class PhrequentTrackingConduitAPIMethod extends PhrequentConduitAPIMethod { public function getAPIMethodName() { return 'phrequent.tracking'; } public function getMethodDescription() { return pht('Returns current objects being tracked in Phrequent.'); } public function getMethodStatu...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phrequent/conduit/PhrequentConduitAPIMethod.php
src/applications/phrequent/conduit/PhrequentConduitAPIMethod.php
<?php abstract class PhrequentConduitAPIMethod extends ConduitAPIMethod { final public function getApplication() { return PhabricatorApplication::getByClass( 'PhabricatorPhrequentApplication'); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFFragmentOffset.php
src/applications/phortune/pdf/PhabricatorPDFFragmentOffset.php
<?php final class PhabricatorPDFFragmentOffset extends Phobject { private $fragment; private $offset; public function setFragment(PhabricatorPDFFragment $fragment) { $this->fragment = $fragment; return $this; } public function getFragment() { return $this->fragment; } public function se...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFCatalogObject.php
src/applications/phortune/pdf/PhabricatorPDFCatalogObject.php
<?php final class PhabricatorPDFCatalogObject extends PhabricatorPDFObject { private $pagesObject; public function setPagesObject(PhabricatorPDFPagesObject $pages_object) { $this->pagesObject = $this->newChildObject($pages_object); return $this; } public function getPagesObject() { return $thi...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFObject.php
src/applications/phortune/pdf/PhabricatorPDFObject.php
<?php abstract class PhabricatorPDFObject extends PhabricatorPDFFragment { private $generator; private $objectIndex; private $children = array(); private $streams = array(); final public function hasRefTableEntry() { return true; } final protected function writeFragment() { $this->writeLine(...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFHeadFragment.php
src/applications/phortune/pdf/PhabricatorPDFHeadFragment.php
<?php final class PhabricatorPDFHeadFragment extends PhabricatorPDFFragment { protected function writeFragment() { $this->writeLine('%s', '%PDF-1.3'); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFIterator.php
src/applications/phortune/pdf/PhabricatorPDFIterator.php
<?php final class PhabricatorPDFIterator extends Phobject implements Iterator { private $generator; private $hasRewound; private $fragments; private $fragmentKey; private $fragmentBytes; private $fragmentOffsets = array(); private $byteLength; public function setGenerator(PhabricatorPDFGenerator...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFContentsObject.php
src/applications/phortune/pdf/PhabricatorPDFContentsObject.php
<?php final class PhabricatorPDFContentsObject extends PhabricatorPDFObject { private $rawContent; public function setRawContent($raw_content) { $this->rawContent = $raw_content; return $this; } public function getRawContent() { return $this->rawContent; } protected function writeObject()...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFFragment.php
src/applications/phortune/pdf/PhabricatorPDFFragment.php
<?php abstract class PhabricatorPDFFragment extends Phobject { private $rope; public function getAsBytes() { $this->rope = new PhutilRope(); $this->writeFragment(); $rope = $this->rope; $this->rope = null; return $rope->getAsString(); } public function hasRefTableEntry() { retur...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFInfoObject.php
src/applications/phortune/pdf/PhabricatorPDFInfoObject.php
<?php final class PhabricatorPDFInfoObject extends PhabricatorPDFObject { final protected function writeObject() { $this->writeLine('/Producer (Phabricator 20190801)'); $this->writeLine('/CreationDate (D:%s)', date('YmdHis')); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFTailFragment.php
src/applications/phortune/pdf/PhabricatorPDFTailFragment.php
<?php final class PhabricatorPDFTailFragment extends PhabricatorPDFFragment { private $iterator; public function setIterator(PhabricatorPDFIterator $iterator) { $this->iterator = $iterator; return $this; } public function getIterator() { return $this->iterator; } protected function writeF...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFGenerator.php
src/applications/phortune/pdf/PhabricatorPDFGenerator.php
<?php final class PhabricatorPDFGenerator extends Phobject { private $objects = array(); private $hasIterator = false; private $infoObject; private $catalogObject; public function addObject(PhabricatorPDFObject $object) { if ($this->hasIterator) { throw new Exception( pht( 'T...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFPageObject.php
src/applications/phortune/pdf/PhabricatorPDFPageObject.php
<?php final class PhabricatorPDFPageObject extends PhabricatorPDFObject { private $pagesObject; private $contentsObject; private $resourcesObject; public function setPagesObject(PhabricatorPDFPagesObject $pages) { $this->pagesObject = $pages; return $this; } public function setContentsObject(P...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFResourcesObject.php
src/applications/phortune/pdf/PhabricatorPDFResourcesObject.php
<?php final class PhabricatorPDFResourcesObject extends PhabricatorPDFObject { private $fontObjects = array(); public function addFontObject(PhabricatorPDFFontObject $font) { $this->fontObjects[] = $this->newChildObject($font); return $this; } public function getFontObjects() { return $this->f...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFFontObject.php
src/applications/phortune/pdf/PhabricatorPDFFontObject.php
<?php final class PhabricatorPDFFontObject extends PhabricatorPDFObject { protected function writeObject() { $this->writeLine('/Type /Font'); $this->writeLine('/BaseFont /Helvetica-Bold'); $this->writeLine('/Subtype /Type1'); $this->writeLine('/Encoding /WinAnsiEncoding'); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/pdf/PhabricatorPDFPagesObject.php
src/applications/phortune/pdf/PhabricatorPDFPagesObject.php
<?php final class PhabricatorPDFPagesObject extends PhabricatorPDFObject { private $pageObjects = array(); public function addPageObject(PhabricatorPDFPageObject $page) { $page->setPagesObject($this); $this->pageObjects[] = $this->newChildObject($page); return $this; } public function getPageO...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/PhortuneController.php
src/applications/phortune/controller/PhortuneController.php
<?php abstract class PhortuneController extends PhabricatorController { private function loadEnabledProvidersForMerchant(PhortuneMerchant $merchant) { $viewer = $this->getRequest()->getUser(); $provider_configs = id(new PhortunePaymentProviderConfigQuery()) ->setViewer($viewer) ->withMerchantPH...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/PhortuneLandingController.php
src/applications/phortune/controller/PhortuneLandingController.php
<?php final class PhortuneLandingController extends PhortuneController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $accounts = PhortuneAccountQuery::loadAccountsForUser( $viewer, PhabricatorContentSource::newFromRequest($request)); if (count(...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/product/PhortuneProductViewController.php
src/applications/phortune/controller/product/PhortuneProductViewController.php
<?php final class PhortuneProductViewController extends PhortuneController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); $product = id(new PhortuneProductQuery()) ->setViewer($viewer) ->withIDs(array($id)) ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/product/PhortuneProductListController.php
src/applications/phortune/controller/product/PhortuneProductListController.php
<?php final class PhortuneProductListController extends PhabricatorController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $pager = new AphrontCursorPagerView(); $pager->readFromRequest($request); $query = id(new PhortuneProductQuery()) ->setVie...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/external/PhortuneExternalOrderController.php
src/applications/phortune/controller/external/PhortuneExternalOrderController.php
<?php final class PhortuneExternalOrderController extends PhortuneExternalController { protected function handleExternalRequest(AphrontRequest $request) { $xviewer = $this->getExternalViewer(); $email = $this->getAccountEmail(); $account = $email->getAccount(); $order = id(new PhortuneCartQuery()...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/external/PhortuneExternalController.php
src/applications/phortune/controller/external/PhortuneExternalController.php
<?php abstract class PhortuneExternalController extends PhortuneController { private $email; final public function shouldAllowPublic() { return true; } abstract protected function handleExternalRequest(AphrontRequest $request); final protected function hasAccountEmail() { return (bool)$this->em...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/external/PhortuneExternalOverviewController.php
src/applications/phortune/controller/external/PhortuneExternalOverviewController.php
<?php final class PhortuneExternalOverviewController extends PhortuneExternalController { protected function handleExternalRequest(AphrontRequest $request) { $xviewer = $this->getExternalViewer(); $email = $this->getAccountEmail(); $account = $email->getAccount(); $crumbs = $this->newExternalCrum...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/external/PhortuneExternalUnsubscribeController.php
src/applications/phortune/controller/external/PhortuneExternalUnsubscribeController.php
<?php final class PhortuneExternalUnsubscribeController extends PhortuneExternalController { protected function handleExternalRequest(AphrontRequest $request) { $xviewer = $this->getExternalViewer(); $email = $this->getAccountEmail(); $account = $email->getAccount(); $email_uri = $email->getExter...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/account/PhortuneAccountChargesController.php
src/applications/phortune/controller/account/PhortuneAccountChargesController.php
<?php final class PhortuneAccountChargesController extends PhortuneAccountProfileController { protected function shouldRequireAccountEditCapability() { return false; } protected function handleAccountRequest(AphrontRequest $request) { $account = $this->getAccount(); $title = $account->getName(); ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/account/PhortuneAccountEmailViewController.php
src/applications/phortune/controller/account/PhortuneAccountEmailViewController.php
<?php final class PhortuneAccountEmailViewController extends PhortuneAccountController { protected function shouldRequireAccountEditCapability() { return true; } protected function handleAccountRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $account = $this->getAccount(); $...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/account/PhortuneAccountChargeListController.php
src/applications/phortune/controller/account/PhortuneAccountChargeListController.php
<?php final class PhortuneAccountChargeListController extends PhortuneAccountProfileController { protected function shouldRequireAccountEditCapability() { return false; } protected function handleAccountRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $account = $this->getAccou...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/account/PhortuneAccountEmailAddressesController.php
src/applications/phortune/controller/account/PhortuneAccountEmailAddressesController.php
<?php final class PhortuneAccountEmailAddressesController extends PhortuneAccountProfileController { protected function shouldRequireAccountEditCapability() { return true; } protected function handleAccountRequest(AphrontRequest $request) { $account = $this->getAccount(); $title = $account->getNa...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/account/PhortuneAccountAddManagerController.php
src/applications/phortune/controller/account/PhortuneAccountAddManagerController.php
<?php final class PhortuneAccountAddManagerController extends PhortuneAccountController { protected function shouldRequireAccountEditCapability() { return true; } protected function handleAccountRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $account = $this->getAccount(); ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phortune/controller/account/PhortuneAccountSubscriptionAutopayController.php
src/applications/phortune/controller/account/PhortuneAccountSubscriptionAutopayController.php
<?php final class PhortuneAccountSubscriptionAutopayController extends PhortuneAccountController { protected function shouldRequireAccountEditCapability() { return true; } protected function handleAccountRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $account = $this->getAccount...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false