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/phriction/query/PhrictionTransactionQuery.php
src/applications/phriction/query/PhrictionTransactionQuery.php
<?php final class PhrictionTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new PhrictionTransaction(); } public function getQueryApplicationClass() { return PhabricatorPhrictionApplication::class; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/query/PhrictionContentQuery.php
src/applications/phriction/query/PhrictionContentQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhrictionContent> */ final class PhrictionContentQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $documentPHIDs; private $versions; public function withIDs(array $ids) { $this->ids = $ids; r...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/query/PhrictionDocumentQuery.php
src/applications/phriction/query/PhrictionDocumentQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhrictionDocument> */ final class PhrictionDocumentQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $slugs; private $depths; private $slugPrefix; private $statuses; private $parentPaths; privat...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/mail/PhrictionReplyHandler.php
src/applications/phriction/mail/PhrictionReplyHandler.php
<?php final class PhrictionReplyHandler extends PhabricatorApplicationTransactionReplyHandler { public function validateMailReceiver($mail_receiver) { if (!($mail_receiver instanceof PhrictionDocument)) { throw new Exception( pht('Mail receiver is not a %s!', 'PhrictionDocument')); } } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/editor/PhrictionDocumentEditEngine.php
src/applications/phriction/editor/PhrictionDocumentEditEngine.php
<?php final class PhrictionDocumentEditEngine extends PhabricatorEditEngine { const ENGINECONST = 'phriction.document'; public function isEngineConfigurable() { return false; } public function getEngineName() { return pht('Phriction Document'); } public function getSummaryHeader() { retur...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/editor/PhrictionTransactionEditor.php
src/applications/phriction/editor/PhrictionTransactionEditor.php
<?php final class PhrictionTransactionEditor extends PhabricatorApplicationTransactionEditor { const VALIDATE_CREATE_ANCESTRY = 'create'; const VALIDATE_MOVE_ANCESTRY = 'move'; private $description; private $oldContent; private $newContent; private $moveAwayDocument; private $skipAncestorCheck; p...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/xaction/PhrictionDocumentVersionTransaction.php
src/applications/phriction/xaction/PhrictionDocumentVersionTransaction.php
<?php abstract class PhrictionDocumentVersionTransaction extends PhrictionDocumentTransactionType { protected function getNewDocumentContent($object) { return $this->getEditor()->getNewDocumentContent($object); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/xaction/PhrictionDocumentEditTransaction.php
src/applications/phriction/xaction/PhrictionDocumentEditTransaction.php
<?php abstract class PhrictionDocumentEditTransaction extends PhrictionDocumentVersionTransaction { public function generateOldValue($object) { if ($this->getEditor()->getIsNewObject()) { return null; } // NOTE: We want to get the newest version of the content here, regardless // of whether...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/xaction/PhrictionDocumentContentTransaction.php
src/applications/phriction/xaction/PhrictionDocumentContentTransaction.php
<?php final class PhrictionDocumentContentTransaction extends PhrictionDocumentEditTransaction { const TRANSACTIONTYPE = 'content'; public function applyInternalEffects($object, $value) { parent::applyInternalEffects($object, $value); $object->setStatus(PhrictionDocumentStatus::STATUS_EXISTS); $t...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/xaction/PhrictionDocumentTransactionType.php
src/applications/phriction/xaction/PhrictionDocumentTransactionType.php
<?php abstract class PhrictionDocumentTransactionType 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/phriction/xaction/PhrictionDocumentDraftTransaction.php
src/applications/phriction/xaction/PhrictionDocumentDraftTransaction.php
<?php final class PhrictionDocumentDraftTransaction extends PhrictionDocumentEditTransaction { const TRANSACTIONTYPE = 'draft'; public function applyInternalEffects($object, $value) { parent::applyInternalEffects($object, $value); $this->getEditor()->setShouldPublishContent($object, false); } pub...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/xaction/PhrictionDocumentPublishTransaction.php
src/applications/phriction/xaction/PhrictionDocumentPublishTransaction.php
<?php final class PhrictionDocumentPublishTransaction extends PhrictionDocumentTransactionType { const TRANSACTIONTYPE = 'publish'; public function generateOldValue($object) { return $object->getContentPHID(); } public function applyInternalEffects($object, $value) { $object->setContentPHID($value...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/xaction/PhrictionDocumentMoveToTransaction.php
src/applications/phriction/xaction/PhrictionDocumentMoveToTransaction.php
<?php final class PhrictionDocumentMoveToTransaction extends PhrictionDocumentVersionTransaction { const TRANSACTIONTYPE = 'move-to'; public function generateOldValue($object) { return null; } public function generateNewValue($object, $value) { $document = $value; $dict = array( 'id' =>...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/xaction/PhrictionDocumentDeleteTransaction.php
src/applications/phriction/xaction/PhrictionDocumentDeleteTransaction.php
<?php final class PhrictionDocumentDeleteTransaction extends PhrictionDocumentVersionTransaction { const TRANSACTIONTYPE = 'delete'; public function generateOldValue($object) { return null; } public function applyInternalEffects($object, $value) { $object->setStatus(PhrictionDocumentStatus::STATUS...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/xaction/PhrictionDocumentMoveAwayTransaction.php
src/applications/phriction/xaction/PhrictionDocumentMoveAwayTransaction.php
<?php final class PhrictionDocumentMoveAwayTransaction extends PhrictionDocumentVersionTransaction { const TRANSACTIONTYPE = 'move-away'; public function generateOldValue($object) { return null; } public function generateNewValue($object, $value) { $document = $value; $dict = array( 'id'...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/xaction/PhrictionDocumentTitleTransaction.php
src/applications/phriction/xaction/PhrictionDocumentTitleTransaction.php
<?php final class PhrictionDocumentTitleTransaction extends PhrictionDocumentVersionTransaction { const TRANSACTIONTYPE = 'title'; public function generateOldValue($object) { if ($this->isNewObject()) { return null; } return $this->getEditor()->getOldContent()->getTitle(); } public funct...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/application/PhabricatorPhrictionApplication.php
src/applications/phriction/application/PhabricatorPhrictionApplication.php
<?php final class PhabricatorPhrictionApplication extends PhabricatorApplication { public function getName() { return pht('Phriction'); } public function getShortDescription() { return pht('Wiki Documents'); } public function getBaseURI() { return '/w/'; } 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/phriction/phid/PhrictionDocumentPHIDType.php
src/applications/phriction/phid/PhrictionDocumentPHIDType.php
<?php final class PhrictionDocumentPHIDType extends PhabricatorPHIDType { const TYPECONST = 'WIKI'; public function getTypeName() { return pht('Phriction Wiki Document'); } public function newObject() { return new PhrictionDocument(); } public function getPHIDTypeApplicationClass() { return...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/phid/PhrictionContentPHIDType.php
src/applications/phriction/phid/PhrictionContentPHIDType.php
<?php final class PhrictionContentPHIDType extends PhabricatorPHIDType { const TYPECONST = 'WRDS'; public function getTypeName() { return pht('Phriction Content'); } public function newObject() { return new PhrictionContent(); } public function getPHIDTypeApplicationClass() { return Phabr...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/herald/PhrictionDocumentHeraldField.php
src/applications/phriction/herald/PhrictionDocumentHeraldField.php
<?php abstract class PhrictionDocumentHeraldField extends HeraldField { public function supportsObject($object) { return ($object instanceof PhrictionDocument); } public function getFieldGroupKey() { return PhrictionDocumentHeraldFieldGroup::FIELDGROUPKEY; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/herald/PhrictionDocumentTitleHeraldField.php
src/applications/phriction/herald/PhrictionDocumentTitleHeraldField.php
<?php final class PhrictionDocumentTitleHeraldField extends PhrictionDocumentHeraldField { const FIELDCONST = 'phriction.document.title'; public function getHeraldFieldName() { return pht('Title'); } public function getHeraldFieldValue($object) { return $object->getContent()->getTitle(); } pr...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/herald/PhrictionDocumentPathHeraldField.php
src/applications/phriction/herald/PhrictionDocumentPathHeraldField.php
<?php final class PhrictionDocumentPathHeraldField extends PhrictionDocumentHeraldField { const FIELDCONST = 'path'; public function getHeraldFieldName() { return pht('Path'); } public function getHeraldFieldValue($object) { return $object->getcontent()->getSlug(); } protected function getHer...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/herald/PhrictionDocumentHeraldAdapter.php
src/applications/phriction/herald/PhrictionDocumentHeraldAdapter.php
<?php final class PhrictionDocumentHeraldAdapter extends HeraldAdapter { private $document; public function getAdapterApplicationClass() { return PhabricatorPhrictionApplication::class; } public function getAdapterContentDescription() { return pht('React to wiki documents being created or updated.')...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/herald/PhrictionDocumentContentHeraldField.php
src/applications/phriction/herald/PhrictionDocumentContentHeraldField.php
<?php final class PhrictionDocumentContentHeraldField extends PhrictionDocumentHeraldField { const FIELDCONST = 'phriction.document.content'; public function getHeraldFieldName() { return pht('Content'); } public function getHeraldFieldValue($object) { return $object->getContent()->getContent(); ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/herald/PhrictionDocumentPublishedHeraldField.php
src/applications/phriction/herald/PhrictionDocumentPublishedHeraldField.php
<?php final class PhrictionDocumentPublishedHeraldField extends PhrictionDocumentHeraldField { const FIELDCONST = 'phriction.document.published'; public function getHeraldFieldName() { return pht('Published document changed'); } public function getFieldGroupKey() { return HeraldTransactionsFieldGr...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/herald/PhrictionDocumentAuthorHeraldField.php
src/applications/phriction/herald/PhrictionDocumentAuthorHeraldField.php
<?php final class PhrictionDocumentAuthorHeraldField extends PhrictionDocumentHeraldField { const FIELDCONST = 'phriction.document.author'; public function getHeraldFieldName() { return pht('Author'); } public function getHeraldFieldValue($object) { return $object->getContent()->getAuthorPHID(); ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/herald/PhrictionDocumentHeraldFieldGroup.php
src/applications/phriction/herald/PhrictionDocumentHeraldFieldGroup.php
<?php final class PhrictionDocumentHeraldFieldGroup extends HeraldFieldGroup { const FIELDGROUPKEY = 'phriction.document'; public function getGroupLabel() { return pht('Document 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/phriction/conduit/PhrictionDocumentSearchConduitAPIMethod.php
src/applications/phriction/conduit/PhrictionDocumentSearchConduitAPIMethod.php
<?php final class PhrictionDocumentSearchConduitAPIMethod extends PhabricatorSearchEngineAPIMethod { public function getAPIMethodName() { return 'phriction.document.search'; } public function newSearchEngine() { return new PhrictionDocumentSearchEngine(); } public function getMethodSummary() { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/conduit/PhrictionEditConduitAPIMethod.php
src/applications/phriction/conduit/PhrictionEditConduitAPIMethod.php
<?php final class PhrictionEditConduitAPIMethod extends PhrictionConduitAPIMethod { public function getAPIMethodName() { return 'phriction.edit'; } public function getMethodDescription() { return pht('Update a Phriction document.'); } protected function defineParamTypes() { return array( ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/conduit/PhrictionConduitAPIMethod.php
src/applications/phriction/conduit/PhrictionConduitAPIMethod.php
<?php abstract class PhrictionConduitAPIMethod extends ConduitAPIMethod { final public function getApplication() { return PhabricatorApplication::getByClass( PhabricatorPhrictionApplication::class); } final protected function buildDocumentInfoDictionary(PhrictionDocument $doc) { $content = $doc->...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/conduit/PhrictionDocumentEditConduitAPIMethod.php
src/applications/phriction/conduit/PhrictionDocumentEditConduitAPIMethod.php
<?php final class PhrictionDocumentEditConduitAPIMethod extends PhabricatorEditEngineAPIMethod { public function getAPIMethodName() { return 'phriction.document.edit'; } public function newEditEngine() { return new PhrictionDocumentEditEngine(); } public function getMethodSummary() { return ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/conduit/PhrictionCreateConduitAPIMethod.php
src/applications/phriction/conduit/PhrictionCreateConduitAPIMethod.php
<?php final class PhrictionCreateConduitAPIMethod extends PhrictionConduitAPIMethod { public function getAPIMethodName() { return 'phriction.create'; } public function getMethodDescription() { return pht('Create a Phriction document.'); } protected function defineParamTypes() { return array( ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/conduit/PhrictionHistoryConduitAPIMethod.php
src/applications/phriction/conduit/PhrictionHistoryConduitAPIMethod.php
<?php final class PhrictionHistoryConduitAPIMethod extends PhrictionConduitAPIMethod { public function getAPIMethodName() { return 'phriction.history'; } public function getMethodDescription() { return pht('Retrieve history about a Phriction document.'); } public function getMethodStatus() { r...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/conduit/PhrictionContentSearchConduitAPIMethod.php
src/applications/phriction/conduit/PhrictionContentSearchConduitAPIMethod.php
<?php final class PhrictionContentSearchConduitAPIMethod extends PhabricatorSearchEngineAPIMethod { public function getAPIMethodName() { return 'phriction.content.search'; } public function newSearchEngine() { return new PhrictionContentSearchEngine(); } public function getMethodSummary() { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/conduit/PhrictionInfoConduitAPIMethod.php
src/applications/phriction/conduit/PhrictionInfoConduitAPIMethod.php
<?php final class PhrictionInfoConduitAPIMethod extends PhrictionConduitAPIMethod { public function getAPIMethodName() { return 'phriction.info'; } public function getMethodDescription() { return pht('Retrieve information about a Phriction document.'); } public function getMethodStatus() { ret...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/search/PhrictionDocumentFerretEngine.php
src/applications/phriction/search/PhrictionDocumentFerretEngine.php
<?php final class PhrictionDocumentFerretEngine extends PhabricatorFerretEngine { public function getApplicationName() { return 'phriction'; } public function getScopeName() { return 'document'; } public function newSearchEngine() { return new PhrictionDocumentSearchEngine(); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/search/PhrictionDocumentFulltextEngine.php
src/applications/phriction/search/PhrictionDocumentFulltextEngine.php
<?php final class PhrictionDocumentFulltextEngine extends PhabricatorFulltextEngine { protected function buildAbstractDocument( PhabricatorSearchAbstractDocument $document, $object) { $wiki = id(new PhrictionDocumentQuery()) ->setViewer($this->getViewer()) ->withPHIDs(array($document->get...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/typeahead/PhrictionDocumentDatasource.php
src/applications/phriction/typeahead/PhrictionDocumentDatasource.php
<?php final class PhrictionDocumentDatasource extends PhabricatorTypeaheadDatasource { public function getBrowseTitle() { return pht('Browse Documents'); } public function getPlaceholderText() { return pht('Type a document name...'); } public function getDatasourceApplicationClass() { return...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/codex/PhrictionDocumentPolicyCodex.php
src/applications/phriction/codex/PhrictionDocumentPolicyCodex.php
<?php final class PhrictionDocumentPolicyCodex extends PhabricatorPolicyCodex { public function getPolicySpecialRuleDescriptions() { $object = $this->getObject(); $strongest_policy = $this->getStrongestPolicy(); $rules = array(); $rules[] = $this->newRule() ->setDescription( pht('To...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/constants/PhrictionChangeType.php
src/applications/phriction/constants/PhrictionChangeType.php
<?php final class PhrictionChangeType extends PhrictionConstants { const CHANGE_EDIT = 0; const CHANGE_DELETE = 1; const CHANGE_MOVE_HERE = 2; const CHANGE_MOVE_AWAY = 3; const CHANGE_STUB = 4; public static function getChangeTypeLabel($const) { $map = array( self::CHANGE_EDIT...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/constants/PhrictionDocumentStatus.php
src/applications/phriction/constants/PhrictionDocumentStatus.php
<?php final class PhrictionDocumentStatus extends PhabricatorObjectStatus { const STATUS_EXISTS = 'active'; const STATUS_DELETED = 'deleted'; const STATUS_MOVED = 'moved'; const STATUS_STUB = 'stub'; public static function getConduitConstant($const) { static $map = array( self::STATUS_EXISTS ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/constants/PhrictionConstants.php
src/applications/phriction/constants/PhrictionConstants.php
<?php abstract class PhrictionConstants extends Phobject {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/phriction/markup/PhrictionRemarkupRule.php
src/applications/phriction/markup/PhrictionRemarkupRule.php
<?php final class PhrictionRemarkupRule extends PhutilRemarkupRule { const KEY_RULE_PHRICTION_LINK = 'phriction.link'; public function getPriority() { return 175.0; } public function apply($text) { return preg_replace_callback( '@\B\\[\\[([^|\\]]+)(?:\\|([^\\]]+))?\\]\\]\B@U', array($thi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/PhabricatorSystemSelectHighlightController.php
src/applications/system/controller/PhabricatorSystemSelectHighlightController.php
<?php final class PhabricatorSystemSelectHighlightController extends PhabricatorController { public function shouldRequireLogin() { return false; } public function processRequest() { $request = $this->getRequest(); if ($request->isFormPost()) { $result = array('highlight' => $request->getS...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/PhabricatorDebugController.php
src/applications/system/controller/PhabricatorDebugController.php
<?php /** * This controller eases debugging of application problems that don't repro * locally by allowing installs to add arbitrary debugging code easily. To use * it: * * - Write some diagnostic script. * - Instruct the user to install it in `/support/debug.php`. * - Tell them to visit `/debug/`. */ final...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/PhabricatorStatusController.php
src/applications/system/controller/PhabricatorStatusController.php
<?php final class PhabricatorStatusController extends PhabricatorController { public function shouldRequireLogin() { return false; } public function processRequest() { $response = new AphrontWebpageResponse(); $response->setContent("ALIVE\n"); return $response; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/PhabricatorSystemSelectViewAsController.php
src/applications/system/controller/PhabricatorSystemSelectViewAsController.php
<?php final class PhabricatorSystemSelectViewAsController extends PhabricatorController { public function shouldRequireLogin() { return false; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $v_engine = $request->getStr('engine'); if ($request->isForm...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/PhabricatorSystemObjectController.php
src/applications/system/controller/PhabricatorSystemObjectController.php
<?php final class PhabricatorSystemObjectController extends PhabricatorController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $name = $request->getURIData('name'); $object = id(new PhabricatorOb...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/PhabricatorFaviconController.php
src/applications/system/controller/PhabricatorFaviconController.php
<?php final class PhabricatorFaviconController extends PhabricatorController { public function shouldRequireLogin() { return false; } public function handleRequest(AphrontRequest $request) { // See PHI1719. Phabricator uses "<link /"> tags in the document body // to direct user agents to icons, l...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/PhabricatorSystemSelectEncodingController.php
src/applications/system/controller/PhabricatorSystemSelectEncodingController.php
<?php final class PhabricatorSystemSelectEncodingController extends PhabricatorController { public function shouldRequireLogin() { return false; } public function processRequest() { $request = $this->getRequest(); if (!function_exists('mb_list_encodings')) { return $this->newDialog() ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/PhabricatorSystemReadOnlyController.php
src/applications/system/controller/PhabricatorSystemReadOnlyController.php
<?php final class PhabricatorSystemReadOnlyController extends PhabricatorController { public function shouldRequireLogin() { return false; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $reason = $request->getURIData('reason'); $body = array(); s...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/robots/PhabricatorRobotsBlogController.php
src/applications/system/controller/robots/PhabricatorRobotsBlogController.php
<?php final class PhabricatorRobotsBlogController extends PhabricatorRobotsController { protected function newRobotsRules() { $out = array(); // Allow everything on blog domains to be indexed. $out[] = 'User-Agent: *'; $out[] = 'Crawl-delay: 1'; return $out; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/robots/PhabricatorRobotsShortController.php
src/applications/system/controller/robots/PhabricatorRobotsShortController.php
<?php final class PhabricatorRobotsShortController extends PhabricatorRobotsController { protected function newRobotsRules() { $out = array(); // See T13636. Prevent indexing of any content on short domains. $out[] = 'User-Agent: *'; $out[] = 'Disallow: /'; $out[] = 'Crawl-delay: 1'; re...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/robots/PhabricatorRobotsResourceController.php
src/applications/system/controller/robots/PhabricatorRobotsResourceController.php
<?php final class PhabricatorRobotsResourceController extends PhabricatorRobotsController { protected function newRobotsRules() { $out = array(); // See T13636. Prevent indexing of any content on resource domains. $out[] = 'User-Agent: *'; $out[] = 'Disallow: /'; $out[] = 'Crawl-delay: 1'; ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/robots/PhabricatorRobotsPlatformController.php
src/applications/system/controller/robots/PhabricatorRobotsPlatformController.php
<?php final class PhabricatorRobotsPlatformController extends PhabricatorRobotsController { protected function newRobotsRules() { $out = array(); // Prevent indexing of '/diffusion/', since the content is not generally // useful to index, web spiders get stuck scraping the history of every // fil...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/controller/robots/PhabricatorRobotsController.php
src/applications/system/controller/robots/PhabricatorRobotsController.php
<?php abstract class PhabricatorRobotsController extends PhabricatorController { public function shouldRequireLogin() { return false; } final public function processRequest() { $out = $this->newRobotsRules(); $content = implode("\n", $out)."\n"; return id(new AphrontPlainTextResponse()) ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/storage/PhabricatorSystemActionLog.php
src/applications/system/storage/PhabricatorSystemActionLog.php
<?php final class PhabricatorSystemActionLog extends PhabricatorSystemDAO { protected $actorHash; protected $actorIdentity; protected $action; protected $score; protected $epoch; protected function getConfiguration() { return array( self::CONFIG_TIMESTAMPS => false, self::CONFIG_COLUMN_SC...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/storage/PhabricatorSystemDestructionLog.php
src/applications/system/storage/PhabricatorSystemDestructionLog.php
<?php final class PhabricatorSystemDestructionLog extends PhabricatorSystemDAO { protected $objectClass; protected $rootLogID; protected $objectPHID; protected $objectMonogram; protected $epoch; protected function getConfiguration() { return array( self::CONFIG_TIMESTAMPS => false, self::...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/storage/PhabricatorSystemDAO.php
src/applications/system/storage/PhabricatorSystemDAO.php
<?php abstract class PhabricatorSystemDAO extends PhabricatorLiskDAO { public function getApplicationName() { return 'system'; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/management/PhabricatorSystemRemoveWorkflow.php
src/applications/system/management/PhabricatorSystemRemoveWorkflow.php
<?php abstract class PhabricatorSystemRemoveWorkflow extends PhabricatorManagementWorkflow {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/management/PhabricatorSystemRemoveDestroyWorkflow.php
src/applications/system/management/PhabricatorSystemRemoveDestroyWorkflow.php
<?php final class PhabricatorSystemRemoveDestroyWorkflow extends PhabricatorSystemRemoveWorkflow { protected function didConstruct() { $this ->setName('destroy') ->setSynopsis(pht('Permanently destroy objects.')) ->setExamples('**destroy** [__options__] __object__ ...') ->setArguments(...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/management/PhabricatorSystemRemoveLogWorkflow.php
src/applications/system/management/PhabricatorSystemRemoveLogWorkflow.php
<?php final class PhabricatorSystemRemoveLogWorkflow extends PhabricatorSystemRemoveWorkflow { protected function didConstruct() { $this ->setName('log') ->setSynopsis(pht('Show a log of permanently destroyed objects.')) ->setExamples('**log**') ->setArguments(array()); } 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/system/interface/PhabricatorDestructibleCodexInterface.php
src/applications/system/interface/PhabricatorDestructibleCodexInterface.php
<?php interface PhabricatorDestructibleCodexInterface { public function newDestructibleCodex(); } // TEMPLATE IMPLEMENTATION ///////////////////////////////////////////////////// /* -( PhabricatorDestructibleCodexInterface )------------------------------ */ /* public function newDestructibleCodex() { re...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/interface/PhabricatorDestructibleInterface.php
src/applications/system/interface/PhabricatorDestructibleInterface.php
<?php interface PhabricatorDestructibleInterface { public function destroyObjectPermanently( PhabricatorDestructionEngine $engine); } // TEMPLATE IMPLEMENTATION ///////////////////////////////////////////////////// /* -( PhabricatorDestructibleInterface )----------------------------------- */ /* publi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/interface/PhabricatorUnlockableInterface.php
src/applications/system/interface/PhabricatorUnlockableInterface.php
<?php interface PhabricatorUnlockableInterface { public function newUnlockEngine(); } // TEMPLATE IMPLEMENTATION ///////////////////////////////////////////////////// /* -( PhabricatorUnlockableInterface )------------------------------------- */ /* public function newUnlockEngine() { return new <<<...>>...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/action/PhabricatorSystemAction.php
src/applications/system/action/PhabricatorSystemAction.php
<?php abstract class PhabricatorSystemAction extends Phobject { final public function getActionConstant() { return $this->getPhobjectClassConstant('TYPECONST', 32); } abstract public function getScoreThreshold(); public function shouldBlockActor($actor, $score) { return ($score > $this->getScoreThre...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/exception/PhabricatorSystemActionRateLimitException.php
src/applications/system/exception/PhabricatorSystemActionRateLimitException.php
<?php final class PhabricatorSystemActionRateLimitException extends Exception { private $action; private $score; public function __construct(PhabricatorSystemAction $action, $score) { $this->action = $action; $this->score = $score; parent::__construct($action->getLimitExplanation()); } public ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/application/PhabricatorSystemApplication.php
src/applications/system/application/PhabricatorSystemApplication.php
<?php final class PhabricatorSystemApplication extends PhabricatorApplication { public function getName() { return pht('System'); } public function canUninstall() { return false; } public function isUnlisted() { return true; } public function getEventListeners() { return array( ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/events/PhorgeSystemDeprecationWarningListener.php
src/applications/system/events/PhorgeSystemDeprecationWarningListener.php
<?php final class PhorgeSystemDeprecationWarningListener extends PhabricatorEventListener { const CACHE_KEY = 'setup-check:deprecation-warnings'; const MAX_ENTRIES = 5; public function handleEvent(PhutilEvent $event) { // we're not an actual PhutilEventListener - we're just using the `register` // pa...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/events/PhabricatorSystemDebugUIEventListener.php
src/applications/system/events/PhabricatorSystemDebugUIEventListener.php
<?php final class PhabricatorSystemDebugUIEventListener extends PhabricatorEventListener { public function register() { $this->listen(PhabricatorEventType::TYPE_UI_DIDRENDERACTIONS); } public function handleEvent(PhutilEvent $event) { switch ($event->getType()) { case PhabricatorEventType::TYPE...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/garbagecollector/PhabricatorSystemDestructionGarbageCollector.php
src/applications/system/garbagecollector/PhabricatorSystemDestructionGarbageCollector.php
<?php final class PhabricatorSystemDestructionGarbageCollector extends PhabricatorGarbageCollector { const COLLECTORCONST = 'system.destruction.logs'; public function getCollectorName() { return pht('Destruction Logs'); } public function getDefaultRetentionPolicy() { return phutil_units('90 days i...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/garbagecollector/PhabricatorSystemActionGarbageCollector.php
src/applications/system/garbagecollector/PhabricatorSystemActionGarbageCollector.php
<?php final class PhabricatorSystemActionGarbageCollector extends PhabricatorGarbageCollector { const COLLECTORCONST = 'system.actions'; public function getCollectorName() { return pht('Rate Limiting Actions'); } public function getDefaultRetentionPolicy() { return phutil_units('3 days in seconds'...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/engine/PhabricatorDestructionEngine.php
src/applications/system/engine/PhabricatorDestructionEngine.php
<?php final class PhabricatorDestructionEngine extends Phobject { private $rootLogID; private $collectNotes; private $notes = array(); private $depth = 0; private $destroyedObjects = array(); private $waitToFinalizeDestruction = false; public function setCollectNotes($collect_notes) { $this->collec...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/engine/PhabricatorBeforeDestructionEngineExtension.php
src/applications/system/engine/PhabricatorBeforeDestructionEngineExtension.php
<?php /** * Abstract "Before Destruction Engine", * to fire a hook before something is permamently destroyed. * * This class is to be considered unstable and may receive variations * over time. If you want to use this engine or extend its features, please * share your use-case here, even if the task is closed: ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/engine/PhabricatorUnlockEngine.php
src/applications/system/engine/PhabricatorUnlockEngine.php
<?php abstract class PhabricatorUnlockEngine extends Phobject { final public static function newUnlockEngineForObject($object) { if (!($object instanceof PhabricatorApplicationTransactionInterface)) { throw new Exception( pht( 'Object ("%s") does not implement interface "%s", so this t...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/engine/PhabricatorDestructionEngineExtension.php
src/applications/system/engine/PhabricatorDestructionEngineExtension.php
<?php abstract class PhabricatorDestructionEngineExtension extends Phobject { final public function getExtensionKey() { return $this->getPhobjectClassConstant('EXTENSIONKEY'); } abstract public function getExtensionName(); public function canDestroyObject( PhabricatorDestructionEngine $engine, $...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/engine/PhabricatorCacheEngineExtension.php
src/applications/system/engine/PhabricatorCacheEngineExtension.php
<?php abstract class PhabricatorCacheEngineExtension extends Phobject { final public function getExtensionKey() { return $this->getPhobjectClassConstant('EXTENSIONKEY'); } abstract public function getExtensionName(); public function discoverLinkedObjects( PhabricatorCacheEngine $engine, array $o...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/engine/PhabricatorDestructionEngineExtensionModule.php
src/applications/system/engine/PhabricatorDestructionEngineExtensionModule.php
<?php final class PhabricatorDestructionEngineExtensionModule extends PhabricatorConfigModule { public function getModuleKey() { return 'destructionengine'; } public function getModuleName() { return pht('Engine: Destruction'); } public function renderModuleStatus(AphrontRequest $request) { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/engine/PhabricatorSystemActionEngine.php
src/applications/system/engine/PhabricatorSystemActionEngine.php
<?php final class PhabricatorSystemActionEngine extends Phobject { /** * Prepare to take an action, throwing an exception if the user has exceeded * the rate limit. * * The `$actors` are a list of strings. Normally this will be a list of * user PHIDs, but some systems use other identifiers (like emai...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/engine/PhabricatorCacheEngine.php
src/applications/system/engine/PhabricatorCacheEngine.php
<?php final class PhabricatorCacheEngine extends Phobject { public function getViewer() { return PhabricatorUser::getOmnipotentUser(); } public function updateObject($object) { $objects = array( $object->getPHID() => $object, ); $new_objects = $objects; while (true) { $discover...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/engine/PhabricatorDefaultUnlockEngine.php
src/applications/system/engine/PhabricatorDefaultUnlockEngine.php
<?php final class PhabricatorDefaultUnlockEngine extends PhabricatorUnlockEngine {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/system/codex/PhabricatorDestructibleCodex.php
src/applications/system/codex/PhabricatorDestructibleCodex.php
<?php abstract class PhabricatorDestructibleCodex extends Phobject { private $viewer; private $object; public function getDestructionNotes() { return array(); } final public function setViewer(PhabricatorUser $viewer) { $this->viewer = $viewer; return $this; } final public function getV...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceItemManageController.php
src/applications/nuance/controller/NuanceItemManageController.php
<?php final class NuanceItemManageController extends NuanceController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $id = $request->getURIData('id'); $item = id(new NuanceItemQuery()) ->setViewer($viewer) ->withIDs(array($id)) ->executeOne();...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceItemViewController.php
src/applications/nuance/controller/NuanceItemViewController.php
<?php final class NuanceItemViewController extends NuanceController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $id = $request->getURIData('id'); $item = id(new NuanceItemQuery()) ->setViewer($viewer) ->withIDs(array($id)) ->executeOne(); ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceController.php
src/applications/nuance/controller/NuanceController.php
<?php abstract class NuanceController extends PhabricatorController {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceQueueWorkController.php
src/applications/nuance/controller/NuanceQueueWorkController.php
<?php final class NuanceQueueWorkController extends NuanceQueueController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $queue = id(new NuanceQueueQuery()) ->setViewer($viewer) ->withIDs(array($request->getURIData('id'))) ->executeOne(); if...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceSourceListController.php
src/applications/nuance/controller/NuanceSourceListController.php
<?php final class NuanceSourceListController extends NuanceSourceController { public function handleRequest(AphrontRequest $request) { return id(new NuanceSourceSearchEngine()) ->setController($this) ->buildResponse(); } protected function buildApplicationCrumbs() { $crumbs = parent::buil...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceItemController.php
src/applications/nuance/controller/NuanceItemController.php
<?php abstract class NuanceItemController extends NuanceController { public function buildApplicationMenu() { return $this->newApplicationMenu() ->setSearchEngine(new NuanceItemSearchEngine()); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceQueueEditController.php
src/applications/nuance/controller/NuanceQueueEditController.php
<?php final class NuanceQueueEditController extends NuanceQueueController { public function handleRequest(AphrontRequest $request) { return id(new NuanceQueueEditEngine()) ->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/nuance/controller/NuanceSourceViewController.php
src/applications/nuance/controller/NuanceSourceViewController.php
<?php final class NuanceSourceViewController extends NuanceSourceController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $source = id(new NuanceSourceQuery()) ->setViewer($viewer) ->withIDs(array($request->getURIData('id'))) ->executeOne(); ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceItemActionController.php
src/applications/nuance/controller/NuanceItemActionController.php
<?php final class NuanceItemActionController extends NuanceController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $id = $request->getURIData('id'); if (!$request->validateCSRF()) { return new Aphront400Response(); } // NOTE: This controller ca...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceSourceController.php
src/applications/nuance/controller/NuanceSourceController.php
<?php abstract class NuanceSourceController extends NuanceController { public function buildApplicationMenu() { return $this->newApplicationMenu() ->setSearchEngine(new NuanceSourceSearchEngine()); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceSourceActionController.php
src/applications/nuance/controller/NuanceSourceActionController.php
<?php final class NuanceSourceActionController extends NuanceController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $source = id(new NuanceSourceQuery()) ->setViewer($viewer) ->withIDs(array($request->getURIData('id'))) ->executeOne(); if (...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceQueueViewController.php
src/applications/nuance/controller/NuanceQueueViewController.php
<?php final class NuanceQueueViewController extends NuanceQueueController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $queue = id(new NuanceQueueQuery()) ->setViewer($viewer) ->withIDs(array($request->getURIData('id'))) ->executeOne(); if...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceSourceEditController.php
src/applications/nuance/controller/NuanceSourceEditController.php
<?php final class NuanceSourceEditController extends NuanceSourceController { public function handleRequest(AphrontRequest $request) { $engine = id(new NuanceSourceEditEngine()) ->setController($this); $id = $request->getURIData('id'); if (!$id) { $this->requireApplicationCapability( ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceQueueListController.php
src/applications/nuance/controller/NuanceQueueListController.php
<?php final class NuanceQueueListController extends NuanceQueueController { public function handleRequest(AphrontRequest $request) { return id(new NuanceQueueSearchEngine()) ->setController($this) ->buildResponse(); } protected function buildApplicationCrumbs() { $crumbs = parent::buildAp...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceConsoleController.php
src/applications/nuance/controller/NuanceConsoleController.php
<?php final class NuanceConsoleController extends NuanceController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $menu = id(new PHUIObjectItemListView()) ->setUser($viewer); $menu->addItem...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceQueueController.php
src/applications/nuance/controller/NuanceQueueController.php
<?php abstract class NuanceQueueController extends NuanceController { public function buildApplicationMenu() { return $this->newApplicationMenu() ->setSearchEngine(new NuanceQueueSearchEngine()); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/controller/NuanceItemListController.php
src/applications/nuance/controller/NuanceItemListController.php
<?php final class NuanceItemListController extends NuanceItemController { public function handleRequest(AphrontRequest $request) { return id(new NuanceItemSearchEngine()) ->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/nuance/storage/NuanceQueueTransactionComment.php
src/applications/nuance/storage/NuanceQueueTransactionComment.php
<?php final class NuanceQueueTransactionComment extends PhabricatorApplicationTransactionComment { public function getApplicationTransactionObject() { return new NuanceQueueTransaction(); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false