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/phpast/storage/PhabricatorXHPASTParseTree.php
src/applications/phpast/storage/PhabricatorXHPASTParseTree.php
<?php final class PhabricatorXHPASTParseTree extends PhabricatorXHPASTDAO { protected $authorPHID; protected $input; protected $returnCode; protected $stdout; protected $stderr; protected function getConfiguration() { return array( self::CONFIG_COLUMN_SCHEMA => array( 'authorPHID' => 'p...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phpast/storage/PhabricatorXHPASTDAO.php
src/applications/phpast/storage/PhabricatorXHPASTDAO.php
<?php abstract class PhabricatorXHPASTDAO extends PhabricatorLiskDAO { public function getApplicationName() { return 'xhpast'; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phpast/application/PhabricatorPHPASTApplication.php
src/applications/phpast/application/PhabricatorPHPASTApplication.php
<?php final class PhabricatorPHPASTApplication extends PhabricatorApplication { public function getName() { return pht('PHPAST'); } public function getBaseURI() { return '/xhpast/'; } public function getIcon() { return 'fa-ambulance'; } public function getShortDescription() { return p...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/controller/PholioMockCommentController.php
src/applications/pholio/controller/PholioMockCommentController.php
<?php final class PholioMockCommentController extends PholioController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); if (!$request->isFormPost()) { return new Aphront400Response(); } $mock = id(new PholioMock...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/controller/PholioMockViewController.php
src/applications/pholio/controller/PholioMockViewController.php
<?php final class PholioMockViewController extends PholioController { private $maniphestTaskPHIDs = array(); private function setManiphestTaskPHIDs($maniphest_task_phids) { $this->maniphestTaskPHIDs = $maniphest_task_phids; return $this; } private function getManiphestTaskPHIDs() { return $this->...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/controller/PholioMockListController.php
src/applications/pholio/controller/PholioMockListController.php
<?php final class PholioMockListController extends PholioController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { return id(new PholioMockSearchEngine()) ->setController($this) ->buildResponse(); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/controller/PholioMockEditController.php
src/applications/pholio/controller/PholioMockEditController.php
<?php final class PholioMockEditController extends PholioController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); if ($id) { $mock = id(new PholioMockQuery()) ->setViewer($viewer) ->needImages(true) ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/controller/PholioInlineController.php
src/applications/pholio/controller/PholioInlineController.php
<?php final class PholioInlineController extends PholioController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); if ($id) { $inline = id(new PholioTransactionComment())->load($id); if (!$inline) { return...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/controller/PholioMockArchiveController.php
src/applications/pholio/controller/PholioMockArchiveController.php
<?php final class PholioMockArchiveController extends PholioController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); $mock = id(new PholioMockQuery()) ->setViewer($viewer) ->withIDs(array($id)) ->require...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/controller/PholioInlineListController.php
src/applications/pholio/controller/PholioInlineListController.php
<?php final class PholioInlineListController extends PholioController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); $image = id(new PholioImageQuery()) ->setViewer($viewer) ->withIDs(array($id)) ->executeO...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/controller/PholioImageUploadController.php
src/applications/pholio/controller/PholioImageUploadController.php
<?php final class PholioImageUploadController extends PholioController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $phid = $request->getStr('filePHID'); $replaces_phid = $request->getStr('replacesPHID'); $title = $request->getStr('title'); $descri...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/controller/PholioController.php
src/applications/pholio/controller/PholioController.php
<?php abstract class PholioController extends PhabricatorController { public function buildApplicationMenu() { return $this->newApplicationMenu() ->setSearchEngine(new PholioMockSearchEngine()); } protected function buildApplicationCrumbs() { $crumbs = parent::buildApplicationCrumbs(); $crum...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/storage/PholioDAO.php
src/applications/pholio/storage/PholioDAO.php
<?php abstract class PholioDAO extends PhabricatorLiskDAO { public function getApplicationName() { return 'pholio'; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/storage/PholioImage.php
src/applications/pholio/storage/PholioImage.php
<?php final class PholioImage extends PholioDAO implements PhabricatorPolicyInterface, PhabricatorExtendedPolicyInterface { protected $authorPHID; protected $mockPHID; protected $filePHID; protected $name; protected $description; protected $sequence; protected $isObsolete; protected $replace...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/storage/PholioTransactionComment.php
src/applications/pholio/storage/PholioTransactionComment.php
<?php final class PholioTransactionComment extends PhabricatorApplicationTransactionComment { protected $imageID; protected $x; protected $y; protected $width; protected $height; protected $content; public function getApplicationTransactionObject() { return new PholioTransaction(); } protect...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/storage/PholioTransaction.php
src/applications/pholio/storage/PholioTransaction.php
<?php final class PholioTransaction extends PhabricatorModularTransaction { const MAILTAG_STATUS = 'pholio-status'; const MAILTAG_COMMENT = 'pholio-comment'; const MAILTAG_UPDATED = 'pholio-updated'; const MAILTAG_OTHER = 'pholio-other'; public function getApplica...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/storage/PholioSchemaSpec.php
src/applications/pholio/storage/PholioSchemaSpec.php
<?php final class PholioSchemaSpec extends PhabricatorConfigSchemaSpec { public function buildSchemata() { $this->buildEdgeSchemata(new PholioMock()); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/storage/PholioMock.php
src/applications/pholio/storage/PholioMock.php
<?php final class PholioMock extends PholioDAO implements PhabricatorPolicyInterface, PhabricatorSubscribableInterface, PhabricatorTokenReceiverInterface, PhabricatorFlaggableInterface, PhabricatorApplicationTransactionInterface, PhabricatorTimelineInterface, PhabricatorProjectInterface, ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/query/PholioImageQuery.php
src/applications/pholio/query/PholioImageQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PholioImage> */ final class PholioImageQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $mockPHIDs; private $mocks; private $needInlineComments; public function withIDs(array $ids) { $this->id...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/query/PholioMockQuery.php
src/applications/pholio/query/PholioMockQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PholioMock> */ final class PholioMockQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $authorPHIDs; private $statuses; private $needCoverFiles; private $needImages; private $needInlineComments; ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/query/PholioTransactionQuery.php
src/applications/pholio/query/PholioTransactionQuery.php
<?php final class PholioTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new PholioTransaction(); } public function getQueryApplicationClass() { return PhabricatorPholioApplication::class; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/query/PholioMockSearchEngine.php
src/applications/pholio/query/PholioMockSearchEngine.php
<?php final class PholioMockSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Pholio Mocks'); } public function getApplicationClassName() { return PhabricatorPholioApplication::class; } public function newQuery() { return id(new ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/mail/PholioMockMailReceiver.php
src/applications/pholio/mail/PholioMockMailReceiver.php
<?php final class PholioMockMailReceiver extends PhabricatorObjectMailReceiver { public function isEnabled() { return PhabricatorApplication::isClassInstalled( PhabricatorPholioApplication::class); } protected function getObjectPattern() { return 'M[1-9]\d*'; } protected function loadObject(...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/mail/PholioReplyHandler.php
src/applications/pholio/mail/PholioReplyHandler.php
<?php final class PholioReplyHandler extends PhabricatorApplicationTransactionReplyHandler { public function validateMailReceiver($mail_receiver) { if (!($mail_receiver instanceof PholioMock)) { throw new Exception(pht('Mail receiver is not a %s!', 'PholioMock')); } } public function getObjectP...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/editor/PholioMockEditor.php
src/applications/pholio/editor/PholioMockEditor.php
<?php final class PholioMockEditor extends PhabricatorApplicationTransactionEditor { private $images = array(); public function getEditorApplicationClass() { return PhabricatorPholioApplication::class; } public function getEditorObjectsDescription() { return pht('Pholio Mocks'); } 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/pholio/xaction/PholioMockDescriptionTransaction.php
src/applications/pholio/xaction/PholioMockDescriptionTransaction.php
<?php final class PholioMockDescriptionTransaction extends PholioMockTransactionType { const TRANSACTIONTYPE = 'description'; public function generateOldValue($object) { return $object->getDescription(); } public function applyInternalEffects($object, $value) { $object->setDescription($value); }...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/xaction/PholioMockInlineTransaction.php
src/applications/pholio/xaction/PholioMockInlineTransaction.php
<?php final class PholioMockInlineTransaction extends PholioMockTransactionType { const TRANSACTIONTYPE = 'inline'; public function generateOldValue($object) { return null; } public function getTitle() { return pht( '%s added inline comment(s).', $this->renderAuthor()); } 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/pholio/xaction/PholioMockStatusTransaction.php
src/applications/pholio/xaction/PholioMockStatusTransaction.php
<?php final class PholioMockStatusTransaction extends PholioMockTransactionType { const TRANSACTIONTYPE = 'status'; public function generateOldValue($object) { return $object->getStatus(); } public function applyInternalEffects($object, $value) { $object->setStatus($value); } 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/pholio/xaction/PholioImageTransactionType.php
src/applications/pholio/xaction/PholioImageTransactionType.php
<?php abstract class PholioImageTransactionType extends PholioTransactionType { protected function getImageForXaction(PholioMock $mock) { $raw_new_value = $this->getNewValue(); $image_phid = head_key($raw_new_value); $images = $mock->getImages(); foreach ($images as $image) { if ($image->get...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/xaction/PholioImageNameTransaction.php
src/applications/pholio/xaction/PholioImageNameTransaction.php
<?php final class PholioImageNameTransaction extends PholioImageTransactionType { const TRANSACTIONTYPE = 'image-name'; public function generateOldValue($object) { $name = null; $phid = null; $image = $this->getImageForXaction($object); if ($image) { $name = $image->getName(); $phid...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/xaction/PholioMockNameTransaction.php
src/applications/pholio/xaction/PholioMockNameTransaction.php
<?php final class PholioMockNameTransaction extends PholioMockTransactionType { const TRANSACTIONTYPE = 'name'; public function generateOldValue($object) { return $object->getName(); } public function getActionStrength() { return 140; } 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/pholio/xaction/PholioMockTransactionType.php
src/applications/pholio/xaction/PholioMockTransactionType.php
<?php abstract class PholioMockTransactionType extends PholioTransactionType {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/xaction/PholioImageDescriptionTransaction.php
src/applications/pholio/xaction/PholioImageDescriptionTransaction.php
<?php final class PholioImageDescriptionTransaction extends PholioImageTransactionType { const TRANSACTIONTYPE = 'image-description'; public function generateOldValue($object) { $description = null; $phid = null; $image = $this->getImageForXaction($object); if ($image) { $description = $i...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/xaction/PholioImageSequenceTransaction.php
src/applications/pholio/xaction/PholioImageSequenceTransaction.php
<?php final class PholioImageSequenceTransaction extends PholioImageTransactionType { const TRANSACTIONTYPE = 'image-sequence'; public function generateOldValue($object) { $sequence = null; $phid = null; $image = $this->getImageForXaction($object); if ($image) { $sequence = $image->getSeq...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/xaction/PholioImageFileTransaction.php
src/applications/pholio/xaction/PholioImageFileTransaction.php
<?php final class PholioImageFileTransaction extends PholioImageTransactionType { const TRANSACTIONTYPE = 'image-file'; public function generateOldValue($object) { $images = $object->getActiveImages(); return array_values(mpull($images, 'getPHID')); } public function generateNewValue($object, $val...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/xaction/PholioImageReplaceTransaction.php
src/applications/pholio/xaction/PholioImageReplaceTransaction.php
<?php final class PholioImageReplaceTransaction extends PholioImageTransactionType { const TRANSACTIONTYPE = 'image-replace'; public function generateOldValue($object) { $editor = $this->getEditor(); $new_phid = $this->getNewValue(); return $editor->loadPholioImage($object, $new_phid) ->getR...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/xaction/PholioTransactionType.php
src/applications/pholio/xaction/PholioTransactionType.php
<?php abstract class PholioTransactionType extends PhabricatorModularTransactionType {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/relationships/PholioMockHasTaskRelationship.php
src/applications/pholio/relationships/PholioMockHasTaskRelationship.php
<?php final class PholioMockHasTaskRelationship extends PholioMockRelationship { const RELATIONSHIPKEY = 'mock.has-task'; public function getEdgeConstant() { return PholioMockHasTaskEdgeType::EDGECONST; } protected function getActionName() { return pht('Edit Tasks'); } protected function getA...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/relationships/PholioMockRelationship.php
src/applications/pholio/relationships/PholioMockRelationship.php
<?php abstract class PholioMockRelationship extends PhabricatorObjectRelationship { public function isEnabledForObject($object) { $viewer = $this->getViewer(); $has_app = PhabricatorApplication::isClassInstalledForViewer( PhabricatorPholioApplication::class, $viewer); if (!$has_app) { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/application/PhabricatorPholioApplication.php
src/applications/pholio/application/PhabricatorPholioApplication.php
<?php final class PhabricatorPholioApplication extends PhabricatorApplication { public function getName() { return pht('Pholio'); } public function getBaseURI() { return '/pholio/'; } public function getShortDescription() { return pht('Review Mocks and Design'); } 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/pholio/lipsum/PhabricatorPholioMockTestDataGenerator.php
src/applications/pholio/lipsum/PhabricatorPholioMockTestDataGenerator.php
<?php final class PhabricatorPholioMockTestDataGenerator extends PhabricatorTestDataGenerator { const GENERATORKEY = 'mocks'; public function getGeneratorName() { return pht('Pholio Mocks'); } public function generateObject() { $author_phid = $this->loadPhabricatorUserPHID(); $author = id(new ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/view/PholioMockImagesView.php
src/applications/pholio/view/PholioMockImagesView.php
<?php final class PholioMockImagesView extends AphrontView { private $mock; private $imageID; private $requestURI; private $commentFormID; private $panelID; private $viewportID; private $behaviorConfig; public function setCommentFormID($comment_form_id) { $this->commentFormID = $comment_form_id;...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/view/PholioTransactionView.php
src/applications/pholio/view/PholioTransactionView.php
<?php final class PholioTransactionView extends PhabricatorApplicationTransactionView { private $mock; public function setMock($mock) { $this->mock = $mock; return $this; } public function getMock() { return $this->mock; } protected function shouldGroupTransactions( PhabricatorApplica...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/view/PholioUploadedImageView.php
src/applications/pholio/view/PholioUploadedImageView.php
<?php final class PholioUploadedImageView extends AphrontView { private $image; private $replacesPHID; public function setReplacesPHID($replaces_phid) { $this->replacesPHID = $replaces_phid; return $this; } public function setImage(PholioImage $image) { $this->image = $image; return $this;...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/view/PholioMockThumbGridView.php
src/applications/pholio/view/PholioMockThumbGridView.php
<?php final class PholioMockThumbGridView extends AphrontView { private $mock; public function setMock(PholioMock $mock) { $this->mock = $mock; return $this; } public function render() { $mock = $this->mock; $all_images = $mock->getImages(); $all_images = mpull($all_images, null, 'getPH...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/view/PholioMockEmbedView.php
src/applications/pholio/view/PholioMockEmbedView.php
<?php final class PholioMockEmbedView extends AphrontView { private $mock; private $images = array(); public function setMock(PholioMock $mock) { $this->mock = $mock; return $this; } public function setImages(array $images) { $this->images = $images; return $this; } public function re...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/edge/PholioMockHasTaskEdgeType.php
src/applications/pholio/edge/PholioMockHasTaskEdgeType.php
<?php final class PholioMockHasTaskEdgeType extends PhabricatorEdgeType { const EDGECONST = 37; public function getInverseEdgeConstant() { return ManiphestTaskHasMockEdgeType::EDGECONST; } public function shouldWriteInverseTransactions() { return true; } public function getTransactionAddString(...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/phid/PholioMockPHIDType.php
src/applications/pholio/phid/PholioMockPHIDType.php
<?php final class PholioMockPHIDType extends PhabricatorPHIDType { const TYPECONST = 'MOCK'; public function getTypeName() { return pht('Pholio Mock'); } public function newObject() { return new PholioMock(); } public function getPHIDTypeApplicationClass() { return PhabricatorPholioApplicat...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/phid/PholioImagePHIDType.php
src/applications/pholio/phid/PholioImagePHIDType.php
<?php final class PholioImagePHIDType extends PhabricatorPHIDType { const TYPECONST = 'PIMG'; public function getTypeName() { return pht('Image'); } public function newObject() { return new PholioImage(); } public function getPHIDTypeApplicationClass() { return PhabricatorPholioApplication:...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/herald/PholioMockDescriptionHeraldField.php
src/applications/pholio/herald/PholioMockDescriptionHeraldField.php
<?php final class PholioMockDescriptionHeraldField extends PholioMockHeraldField { const FIELDCONST = 'pholio.mock.description'; public function getHeraldFieldName() { return pht('Description'); } public function getHeraldFieldValue($object) { return $object->getDescription(); } protected fun...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/herald/PholioMockNameHeraldField.php
src/applications/pholio/herald/PholioMockNameHeraldField.php
<?php final class PholioMockNameHeraldField extends PholioMockHeraldField { const FIELDCONST = 'pholio.mock.name'; public function getHeraldFieldName() { return pht('Name'); } public function getHeraldFieldValue($object) { return $object->getName(); } protected function getHeraldFieldStandard...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/herald/PholioMockHeraldFieldGroup.php
src/applications/pholio/herald/PholioMockHeraldFieldGroup.php
<?php final class PholioMockHeraldFieldGroup extends HeraldFieldGroup { const FIELDGROUPKEY = 'pholio.mock'; public function getGroupLabel() { return pht('Mock Fields'); } protected function getGroupOrder() { return 1000; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/herald/PholioMockHeraldField.php
src/applications/pholio/herald/PholioMockHeraldField.php
<?php abstract class PholioMockHeraldField extends HeraldField { public function supportsObject($object) { return ($object instanceof PholioMock); } public function getFieldGroupKey() { return PholioMockHeraldFieldGroup::FIELDGROUPKEY; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/herald/PholioMockAuthorHeraldField.php
src/applications/pholio/herald/PholioMockAuthorHeraldField.php
<?php final class PholioMockAuthorHeraldField extends PholioMockHeraldField { const FIELDCONST = 'pholio.mock.author'; public function getHeraldFieldName() { return pht('Author'); } public function getHeraldFieldValue($object) { return $object->getAuthorPHID(); } protected function getHeraldF...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/herald/HeraldPholioMockAdapter.php
src/applications/pholio/herald/HeraldPholioMockAdapter.php
<?php final class HeraldPholioMockAdapter extends HeraldAdapter { private $mock; public function getAdapterApplicationClass() { return PhabricatorPholioApplication::class; } public function getAdapterContentDescription() { return pht('React to mocks being created or updated.'); } protected func...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/search/PholioMockFerretEngine.php
src/applications/pholio/search/PholioMockFerretEngine.php
<?php final class PholioMockFerretEngine extends PhabricatorFerretEngine { public function getApplicationName() { return 'pholio'; } public function getScopeName() { return 'mock'; } public function newSearchEngine() { return new PholioMockSearchEngine(); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/search/PholioMockFulltextEngine.php
src/applications/pholio/search/PholioMockFulltextEngine.php
<?php final class PholioMockFulltextEngine extends PhabricatorFulltextEngine { protected function buildAbstractDocument( PhabricatorSearchAbstractDocument $document, $object) { $mock = $object; $document->setDocumentTitle($mock->getName()); $document->addField( PhabricatorSearchDocume...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/engine/PholioMockTimelineEngine.php
src/applications/pholio/engine/PholioMockTimelineEngine.php
<?php final class PholioMockTimelineEngine extends PhabricatorTimelineEngine { protected function newTimelineView() { $viewer = $this->getViewer(); $object = $this->getObject(); $images = id(new PholioImageQuery()) ->setViewer($viewer) ->withMocks(array($object)) ->needInlineComment...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/capability/PholioDefaultEditCapability.php
src/applications/pholio/capability/PholioDefaultEditCapability.php
<?php final class PholioDefaultEditCapability extends PhabricatorPolicyCapability { const CAPABILITY = 'pholio.default.edit'; public function getCapabilityName() { return pht('Default Edit Policy'); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/capability/PholioDefaultViewCapability.php
src/applications/pholio/capability/PholioDefaultViewCapability.php
<?php final class PholioDefaultViewCapability extends PhabricatorPolicyCapability { const CAPABILITY = 'pholio.default.view'; public function getCapabilityName() { return pht('Default View Policy'); } public function shouldAllowPublicPolicySetting() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/pholio/remarkup/PholioRemarkupRule.php
src/applications/pholio/remarkup/PholioRemarkupRule.php
<?php final class PholioRemarkupRule extends PhabricatorObjectRemarkupRule { protected function getObjectNamePrefix() { return 'M'; } /** * @return string Regex which defines a valid object ID */ protected function getObjectIDPattern() { // Match "M123", "M123/456", and "M123/456/". Users can h...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/controller/DoorkeeperTagsController.php
src/applications/doorkeeper/controller/DoorkeeperTagsController.php
<?php final class DoorkeeperTagsController extends PhabricatorController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $tags = $request->getStr('tags'); try { $tags = phutil_json_decode($tags); } catch (PhutilJSONParserException $ex) { $tags...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/bridge/DoorkeeperBridgedObjectInterface.php
src/applications/doorkeeper/bridge/DoorkeeperBridgedObjectInterface.php
<?php interface DoorkeeperBridgedObjectInterface { public function getBridgedObject(); public function attachBridgedObject(?DoorkeeperExternalObject $object = null); }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/bridge/DoorkeeperBridge.php
src/applications/doorkeeper/bridge/DoorkeeperBridge.php
<?php abstract class DoorkeeperBridge extends Phobject { private $viewer; private $context = array(); private $throwOnMissingLink; private $timeout; public function setTimeout($timeout) { $this->timeout = $timeout; return $this; } public function getTimeout() { return $this->timeout; } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/bridge/DoorkeeperBridgeGitHubUser.php
src/applications/doorkeeper/bridge/DoorkeeperBridgeGitHubUser.php
<?php final class DoorkeeperBridgeGitHubUser extends DoorkeeperBridgeGitHub { const OBJTYPE_GITHUB_USER = 'github.user'; public function canPullRef(DoorkeeperObjectRef $ref) { if (!parent::canPullRef($ref)) { return false; } if ($ref->getObjectType() !== self::OBJTYPE_GITHUB_USER) { re...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/bridge/DoorkeeperBridgeGitHub.php
src/applications/doorkeeper/bridge/DoorkeeperBridgeGitHub.php
<?php abstract class DoorkeeperBridgeGitHub extends DoorkeeperBridge { const APPTYPE_GITHUB = 'github'; const APPDOMAIN_GITHUB = 'github.com'; public function canPullRef(DoorkeeperObjectRef $ref) { if ($ref->getApplicationType() != self::APPTYPE_GITHUB) { return false; } if ($ref->getApplic...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/bridge/DoorkeeperBridgeJIRA.php
src/applications/doorkeeper/bridge/DoorkeeperBridgeJIRA.php
<?php final class DoorkeeperBridgeJIRA extends DoorkeeperBridge { const APPTYPE_JIRA = 'jira'; const OBJTYPE_ISSUE = 'jira:issue'; public function canPullRef(DoorkeeperObjectRef $ref) { if ($ref->getApplicationType() != self::APPTYPE_JIRA) { return false; } $types = array( self::OBJTYP...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/bridge/DoorkeeperBridgeAsana.php
src/applications/doorkeeper/bridge/DoorkeeperBridgeAsana.php
<?php final class DoorkeeperBridgeAsana extends DoorkeeperBridge { const APPTYPE_ASANA = 'asana'; const APPDOMAIN_ASANA = 'asana.com'; const OBJTYPE_TASK = 'asana:task'; public function canPullRef(DoorkeeperObjectRef $ref) { if ($ref->getApplicationType() != self::APPTYPE_ASANA) { return false...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/bridge/DoorkeeperBridgeGitHubIssue.php
src/applications/doorkeeper/bridge/DoorkeeperBridgeGitHubIssue.php
<?php final class DoorkeeperBridgeGitHubIssue extends DoorkeeperBridgeGitHub { const OBJTYPE_GITHUB_ISSUE = 'github.issue'; public function canPullRef(DoorkeeperObjectRef $ref) { if (!parent::canPullRef($ref)) { return false; } if ($ref->getObjectType() !== self::OBJTYPE_GITHUB_ISSUE) { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/bridge/__tests__/DoorkeeperBridgeJIRATestCase.php
src/applications/doorkeeper/bridge/__tests__/DoorkeeperBridgeJIRATestCase.php
<?php final class DoorkeeperBridgeJIRATestCase extends PhabricatorTestCase { public function testJIRABridgeRestAPIURIConversion() { $map = array( array( // Installed at domain root. 'http://jira.example.com/rest/api/2/issue/1', 'TP-1', 'http://jira.example.com/browse/TP-1',...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/engineextension/DoorkeeperHyperlinkEngineExtension.php
src/applications/doorkeeper/engineextension/DoorkeeperHyperlinkEngineExtension.php
<?php final class DoorkeeperHyperlinkEngineExtension extends PhabricatorRemarkupHyperlinkEngineExtension { const LINKENGINEKEY = 'doorkeeper'; public function processHyperlinks(array $hyperlinks) { $engine = $this->getEngine(); $viewer = $engine->getConfig('viewer'); if (!$viewer) { return; ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/engineextension/DoorkeeperBridgedObjectCurtainExtension.php
src/applications/doorkeeper/engineextension/DoorkeeperBridgedObjectCurtainExtension.php
<?php final class DoorkeeperBridgedObjectCurtainExtension extends PHUICurtainExtension { const EXTENSIONKEY = 'doorkeeper.bridged-object'; public function shouldEnableForObject($object) { return ($object instanceof DoorkeeperBridgedObjectInterface); } public function getExtensionApplication() { re...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/storage/DoorkeeperSchemaSpec.php
src/applications/doorkeeper/storage/DoorkeeperSchemaSpec.php
<?php final class DoorkeeperSchemaSpec extends PhabricatorConfigSchemaSpec { public function buildSchemata() { $this->buildEdgeSchemata(new DoorkeeperExternalObject()); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/storage/DoorkeeperDAO.php
src/applications/doorkeeper/storage/DoorkeeperDAO.php
<?php abstract class DoorkeeperDAO extends PhabricatorLiskDAO { public function getApplicationName() { return 'doorkeeper'; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/storage/DoorkeeperExternalObject.php
src/applications/doorkeeper/storage/DoorkeeperExternalObject.php
<?php final class DoorkeeperExternalObject extends DoorkeeperDAO implements PhabricatorPolicyInterface { protected $objectKey; protected $applicationType; protected $applicationDomain; protected $objectType; protected $objectID; protected $objectURI; protected $importerPHID; protected $properties = ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/worker/DoorkeeperFeedWorker.php
src/applications/doorkeeper/worker/DoorkeeperFeedWorker.php
<?php /** * Publish events (like comments on a revision) to external objects which are * linked through Doorkeeper (like a linked JIRA or Asana task). * * These workers are invoked by feed infrastructure during normal task queue * operations. They read feed stories and publish information about them to * externa...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/worker/DoorkeeperJIRAFeedWorker.php
src/applications/doorkeeper/worker/DoorkeeperJIRAFeedWorker.php
<?php /** * Publishes feed stories into JIRA, using the "JIRA Issues" field to identify * linked issues. */ final class DoorkeeperJIRAFeedWorker extends DoorkeeperFeedWorker { private $provider; /* -( Publishing Stories )------------------------------------------------- */ /** * This worker is enabled...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/worker/DoorkeeperAsanaFeedWorker.php
src/applications/doorkeeper/worker/DoorkeeperAsanaFeedWorker.php
<?php /** * Publishes tasks representing work that needs to be done into Asana, and * updates the tasks as the corresponding Phabricator objects are updated. */ final class DoorkeeperAsanaFeedWorker extends DoorkeeperFeedWorker { private $provider; /* -( Publishing Stories )----------------------------------...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php
src/applications/doorkeeper/query/DoorkeeperExternalObjectQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<DoorkeeperExternalObject> */ final class DoorkeeperExternalObjectQuery extends PhabricatorCursorPagedPolicyAwareQuery { protected $phids; protected $objectKeys; public function withPHIDs(array $phids) { $this->phids = $phids; return $this;...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/interface/DoorkeeperRemarkupURIInterface.php
src/applications/doorkeeper/interface/DoorkeeperRemarkupURIInterface.php
<?php interface DoorkeeperRemarkupURIInterface { public function getDoorkeeperURIRef(PhutilURI $uri); }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/exception/DoorkeeperMissingLinkException.php
src/applications/doorkeeper/exception/DoorkeeperMissingLinkException.php
<?php final class DoorkeeperMissingLinkException extends Exception {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php
src/applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php
<?php final class PhabricatorAsanaConfigOptions extends PhabricatorApplicationConfigOptions { public function getName() { return pht('Integration with Asana'); } public function getDescription() { return pht('Asana integration options.'); } public function getIcon() { return 'fa-exchange'; ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php
src/applications/doorkeeper/application/PhabricatorDoorkeeperApplication.php
<?php final class PhabricatorDoorkeeperApplication extends PhabricatorApplication { public function canUninstall() { return false; } public function isLaunchable() { return false; } public function getName() { return pht('Doorkeeper'); } public function getIcon() { return 'fa-recycle'...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/view/DoorkeeperTagView.php
src/applications/doorkeeper/view/DoorkeeperTagView.php
<?php final class DoorkeeperTagView extends AphrontView { private $xobj; public function setExternalObject(DoorkeeperExternalObject $xobj) { $this->xobj = $xobj; return $this; } public function render() { $xobj = $this->xobj; if (!$xobj) { throw new PhutilInvalidStateException('setExte...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/edge/PhabricatorObjectHasJiraIssueEdgeType.php
src/applications/doorkeeper/edge/PhabricatorObjectHasJiraIssueEdgeType.php
<?php final class PhabricatorObjectHasJiraIssueEdgeType extends PhabricatorEdgeType { const EDGECONST = 80005; public function getInverseEdgeConstant() { return PhabricatorJiraIssueHasObjectEdgeType::EDGECONST; } public function shouldWriteInverseTransactions() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/edge/PhabricatorJiraIssueHasObjectEdgeType.php
src/applications/doorkeeper/edge/PhabricatorJiraIssueHasObjectEdgeType.php
<?php final class PhabricatorJiraIssueHasObjectEdgeType extends PhabricatorEdgeType { const EDGECONST = 80004; public function getInverseEdgeConstant() { return PhabricatorObjectHasJiraIssueEdgeType::EDGECONST; } public function shouldWriteInverseTransactions() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/edge/PhabricatorObjectHasAsanaSubtaskEdgeType.php
src/applications/doorkeeper/edge/PhabricatorObjectHasAsanaSubtaskEdgeType.php
<?php final class PhabricatorObjectHasAsanaSubtaskEdgeType extends PhabricatorEdgeType { const EDGECONST = 80003; public function getInverseEdgeConstant() { return PhabricatorAsanaSubtaskHasObjectEdgeType::EDGECONST; } public function shouldWriteInverseTransactions() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/edge/PhabricatorAsanaTaskHasObjectEdgeType.php
src/applications/doorkeeper/edge/PhabricatorAsanaTaskHasObjectEdgeType.php
<?php final class PhabricatorAsanaTaskHasObjectEdgeType extends PhabricatorEdgeType { const EDGECONST = 80000; public function getInverseEdgeConstant() { return PhabricatorObjectHasAsanaTaskEdgeType::EDGECONST; } public function shouldWriteInverseTransactions() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/edge/PhabricatorAsanaSubtaskHasObjectEdgeType.php
src/applications/doorkeeper/edge/PhabricatorAsanaSubtaskHasObjectEdgeType.php
<?php final class PhabricatorAsanaSubtaskHasObjectEdgeType extends PhabricatorEdgeType { const EDGECONST = 80002; public function getInverseEdgeConstant() { return PhabricatorObjectHasAsanaSubtaskEdgeType::EDGECONST; } public function shouldWriteInverseTransactions() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/edge/PhabricatorObjectHasAsanaTaskEdgeType.php
src/applications/doorkeeper/edge/PhabricatorObjectHasAsanaTaskEdgeType.php
<?php final class PhabricatorObjectHasAsanaTaskEdgeType extends PhabricatorEdgeType { const EDGECONST = 80001; public function getInverseEdgeConstant() { return PhabricatorAsanaTaskHasObjectEdgeType::EDGECONST; } public function shouldWriteInverseTransactions() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/phid/DoorkeeperExternalObjectPHIDType.php
src/applications/doorkeeper/phid/DoorkeeperExternalObjectPHIDType.php
<?php final class DoorkeeperExternalObjectPHIDType extends PhabricatorPHIDType { const TYPECONST = 'XOBJ'; public function getTypeName() { return pht('External Object'); } public function newObject() { return new DoorkeeperExternalObject(); } public function getPHIDTypeApplicationClass() { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/engine/DoorkeeperURIRef.php
src/applications/doorkeeper/engine/DoorkeeperURIRef.php
<?php final class DoorkeeperURIRef extends Phobject { private $uri; private $applicationType; private $applicationDomain; private $objectType; private $objectID; private $text; private $displayMode = self::DISPLAY_FULL; const DISPLAY_FULL = 'full'; const DISPLAY_SHORT = 'short'; 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/doorkeeper/engine/DoorkeeperImportEngine.php
src/applications/doorkeeper/engine/DoorkeeperImportEngine.php
<?php final class DoorkeeperImportEngine extends Phobject { private $viewer; private $refs = array(); private $phids = array(); private $localOnly; private $throwOnMissingLink; private $context = array(); private $timeout; public function setViewer(PhabricatorUser $viewer) { $this->viewer = $view...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/engine/DoorkeeperFeedStoryPublisher.php
src/applications/doorkeeper/engine/DoorkeeperFeedStoryPublisher.php
<?php /** * @task config Configuration */ abstract class DoorkeeperFeedStoryPublisher extends Phobject { private $feedStory; private $viewer; private $renderWithImpliedContext; /* -( Configuration )------------------------------------------------------ */ /** * Render story text using contextual la...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/doorkeeper/engine/DoorkeeperObjectRef.php
src/applications/doorkeeper/engine/DoorkeeperObjectRef.php
<?php final class DoorkeeperObjectRef extends Phobject { private $objectKey; private $applicationType; private $applicationDomain; private $objectType; private $objectID; private $attributes = array(); private $isVisible; private $syncFailed; private $externalObject; public function newExternalOb...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/harbormaster/controller/HarbormasterPlanBehaviorController.php
src/applications/harbormaster/controller/HarbormasterPlanBehaviorController.php
<?php final class HarbormasterPlanBehaviorController extends HarbormasterPlanController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $plan = id(new HarbormasterBuildPlanQuery()) ->setViewer($viewer) ->withIDs(array($request->getURIData('id'))) ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/harbormaster/controller/HarbormasterPlanDisableController.php
src/applications/harbormaster/controller/HarbormasterPlanDisableController.php
<?php final class HarbormasterPlanDisableController extends HarbormasterPlanController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $plan = id(new HarbormasterBuildPlanQuery()) ->setViewer($viewer) ->withIDs(array($request->getURIData('id'))) ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/harbormaster/controller/HarbormasterBuildableViewController.php
src/applications/harbormaster/controller/HarbormasterBuildableViewController.php
<?php final class HarbormasterBuildableViewController extends HarbormasterController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $buildable = id(new HarbormasterBuildableQuery()) ->setViewer($...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/harbormaster/controller/HarbormasterBuildableActionController.php
src/applications/harbormaster/controller/HarbormasterBuildableActionController.php
<?php final class HarbormasterBuildableActionController extends HarbormasterController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $id = $request->getURIData('id'); $action = $request->getURIData('action'); $buildable = id(new HarbormasterBuildableQuer...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/harbormaster/controller/HarbormasterBuildLogViewController.php
src/applications/harbormaster/controller/HarbormasterBuildLogViewController.php
<?php final class HarbormasterBuildLogViewController extends HarbormasterController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $id = $request->getURIData('id'); $log = id(new HarbormasterBuild...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false