repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/infrastructure/markup/syntax/highlighter/pygments/PhutilDefaultSyntaxHighlighterEnginePygmentsFuture.php
src/infrastructure/markup/syntax/highlighter/pygments/PhutilDefaultSyntaxHighlighterEnginePygmentsFuture.php
<?php final class PhutilDefaultSyntaxHighlighterEnginePygmentsFuture extends FutureProxy { private $source; private $scrub; public function __construct(Future $proxied, $source, $scrub = false) { parent::__construct($proxied); $this->source = $source; $this->scrub = $scrub; } protected funct...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/infrastructure/markup/remarkup/PhutilRemarkupEngine.php
src/infrastructure/markup/remarkup/PhutilRemarkupEngine.php
<?php final class PhutilRemarkupEngine extends PhutilMarkupEngine { const MODE_DEFAULT = 0; const MODE_TEXT = 1; const MODE_HTML_MAIL = 2; const MAX_CHILD_DEPTH = 32; private $blockRules = array(); private $config = array(); private $mode; private $metadata = array(); private $states = array(); ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/infrastructure/markup/remarkup/__tests__/PhutilRemarkupEngineTestCase.php
src/infrastructure/markup/remarkup/__tests__/PhutilRemarkupEngineTestCase.php
<?php /** * Test cases for @{class:PhutilRemarkupEngine}. */ final class PhutilRemarkupEngineTestCase extends PhutilTestCase { public function testEngine() { $root = dirname(__FILE__).'/remarkup/'; foreach (Filesystem::listDirectory($root, $hidden = false) as $file) { $this->markupText($root.$file);...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/infrastructure/markup/interpreter/PhabricatorRemarkupCowsayBlockInterpreter.php
src/infrastructure/markup/interpreter/PhabricatorRemarkupCowsayBlockInterpreter.php
<?php final class PhabricatorRemarkupCowsayBlockInterpreter extends PhutilRemarkupBlockInterpreter { public function getInterpreterName() { return 'cowsay'; } public function markupContent($content, array $argv) { $action = idx($argv, 'think') ? 'think' : 'say'; $eyes = idx($argv, 'eyes', 'oo'); ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php
src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php
<?php final class PhabricatorRemarkupFigletBlockInterpreter extends PhutilRemarkupBlockInterpreter { public function getInterpreterName() { return 'figlet'; } /** * @phutil-external-symbol class Text_Figlet */ public function markupContent($content, array $argv) { $map = self::getFigletMap();...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionDeleteController.php
src/applications/phriction/controller/PhrictionDeleteController.php
<?php final class PhrictionDeleteController extends PhrictionController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); $document = id(new PhrictionDocumentQuery()) ->setViewer($viewer) ->withIDs(array($id)) ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionDiffController.php
src/applications/phriction/controller/PhrictionDiffController.php
<?php final class PhrictionDiffController extends PhrictionController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); $document = id(new PhrictionDocumentQuery()) ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionEditEngineController.php
src/applications/phriction/controller/PhrictionEditEngineController.php
<?php final class PhrictionEditEngineController extends PhrictionController { public function handleRequest(AphrontRequest $request) { // NOTE: For now, this controller is only used to handle comments. return id(new PhrictionDocumentEditEngine()) ->setController($this) ->buildResponse(); } ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionEditController.php
src/applications/phriction/controller/PhrictionEditController.php
<?php final class PhrictionEditController extends PhrictionController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('id'); $max_version = null; if ($id) { $is_new = false; $document = id(new PhrictionDocumentQuer...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionMarkupPreviewController.php
src/applications/phriction/controller/PhrictionMarkupPreviewController.php
<?php final class PhrictionMarkupPreviewController extends PhabricatorController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $text = $request->getStr('text'); $slug = $request->getStr('slug'); $document = id(new PhrictionDocumentQuery()) ->se...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionDocumentController.php
src/applications/phriction/controller/PhrictionDocumentController.php
<?php final class PhrictionDocumentController extends PhrictionController { private $slug; public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $this->slug = $request->getURIData('slug'); $slug = Ph...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionListController.php
src/applications/phriction/controller/PhrictionListController.php
<?php final class PhrictionListController extends PhrictionController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $querykey = $request->getURIData('queryKey'); $controller = id(new PhabricatorApplicationSearchController()) ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionPublishController.php
src/applications/phriction/controller/PhrictionPublishController.php
<?php final class PhrictionPublishController extends PhrictionController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $id = $request->getURIData('documentID'); $content_id = $request->getURIData('contentID'); $document = id(new PhrictionDocumentQuery...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionController.php
src/applications/phriction/controller/PhrictionController.php
<?php abstract class PhrictionController extends PhabricatorController { private $showingWelcomeDocument = false; public function setShowingWelcomeDocument($show_welcome) { $this->showingWelcomeDocument = $show_welcome; return $this; } public function buildSideNavView($for_app = false) { $user ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionHistoryController.php
src/applications/phriction/controller/PhrictionHistoryController.php
<?php final class PhrictionHistoryController extends PhrictionController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $slug = $request->getURIData('slug'); $document = id(new PhrictionDocument...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionMoveController.php
src/applications/phriction/controller/PhrictionMoveController.php
<?php final class PhrictionMoveController extends PhrictionController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $document = id(new PhrictionDocumentQuery()) ->setViewer($viewer) ->withIDs(array($request->getURIData('id'))) ->needContent(true)...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/controller/PhrictionNewController.php
src/applications/phriction/controller/PhrictionNewController.php
<?php final class PhrictionNewController extends PhrictionController { public function handleRequest(AphrontRequest $request) { $viewer = $request->getViewer(); $slug = PhabricatorSlug::normalize($request->getStr('slug')); if ($request->isFormPost()) { $document = id(new PhrictionDocumentQuery())...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/engineextension/PhrictionDatasourceEngineExtension.php
src/applications/phriction/engineextension/PhrictionDatasourceEngineExtension.php
<?php final class PhrictionDatasourceEngineExtension extends PhabricatorDatasourceEngineExtension { public function newQuickSearchDatasources() { return array( new PhrictionDocumentDatasource(), ); } public function newJumpURI($query) { $viewer = $this->getViewer(); // Send "w" to Phri...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/engineextension/PhrictionContentSearchEngineAttachment.php
src/applications/phriction/engineextension/PhrictionContentSearchEngineAttachment.php
<?php final class PhrictionContentSearchEngineAttachment extends PhabricatorSearchEngineAttachment { public function getAttachmentName() { return pht('Document Content'); } public function getAttachmentDescription() { return pht('Get the content of documents or document histories.'); } public fu...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/storage/PhrictionTransaction.php
src/applications/phriction/storage/PhrictionTransaction.php
<?php final class PhrictionTransaction extends PhabricatorModularTransaction { const MAILTAG_TITLE = 'phriction-title'; const MAILTAG_CONTENT = 'phriction-content'; const MAILTAG_DELETE = 'phriction-delete'; const MAILTAG_SUBSCRIBERS = 'phriction-subscribers'; const MAILTAG_OTHER = 'p...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/storage/PhrictionDocument.php
src/applications/phriction/storage/PhrictionDocument.php
<?php final class PhrictionDocument extends PhrictionDAO implements PhabricatorPolicyInterface, PhabricatorSubscribableInterface, PhabricatorFlaggableInterface, PhabricatorTokenReceiverInterface, PhabricatorDestructibleInterface, PhabricatorFulltextInterface, PhabricatorFerretInterface, ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/storage/PhrictionSchemaSpec.php
src/applications/phriction/storage/PhrictionSchemaSpec.php
<?php final class PhrictionSchemaSpec extends PhabricatorConfigSchemaSpec { public function buildSchemata() { $this->buildEdgeSchemata(new PhrictionDocument()); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/storage/PhrictionContent.php
src/applications/phriction/storage/PhrictionContent.php
<?php final class PhrictionContent extends PhrictionDAO implements PhabricatorPolicyInterface, PhabricatorDestructibleInterface, PhabricatorConduitResultInterface { protected $documentPHID; protected $version; protected $authorPHID; protected $title; protected $slug; protected $content; ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/storage/PhrictionTransactionComment.php
src/applications/phriction/storage/PhrictionTransactionComment.php
<?php final class PhrictionTransactionComment extends PhabricatorApplicationTransactionComment { public function getApplicationTransactionObject() { return new PhrictionTransaction(); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/storage/PhrictionDAO.php
src/applications/phriction/storage/PhrictionDAO.php
<?php abstract class PhrictionDAO extends PhabricatorLiskDAO { public function getApplicationName() { return 'phriction'; } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/query/PhrictionContentSearchEngine.php
src/applications/phriction/query/PhrictionContentSearchEngine.php
<?php final class PhrictionContentSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Phriction Document Content'); } public function getApplicationClassName() { return 'PhabricatorPhrictionApplication'; } public function newQuery() ...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/query/PhrictionDocumentSearchEngine.php
src/applications/phriction/query/PhrictionDocumentSearchEngine.php
<?php final class PhrictionDocumentSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Wiki Documents'); } public function getApplicationClassName() { return 'PhabricatorPhrictionApplication'; } public function newQuery() { retur...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/query/PhrictionTransactionQuery.php
src/applications/phriction/query/PhrictionTransactionQuery.php
<?php final class PhrictionTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new PhrictionTransaction(); } }
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/query/PhrictionContentQuery.php
src/applications/phriction/query/PhrictionContentQuery.php
<?php final class PhrictionContentQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $documentPHIDs; private $versions; public function withIDs(array $ids) { $this->ids = $ids; return $this; } public function withPHIDs(array $phids) { $this->phid...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/query/PhrictionDocumentQuery.php
src/applications/phriction/query/PhrictionDocumentQuery.php
<?php final class PhrictionDocumentQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $slugs; private $depths; private $slugPrefix; private $statuses; private $parentPaths; private $ancestorPaths; private $needContent; const ORDER_HIERARCHY = 'hierarc...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/xaction/PhrictionDocumentTransactionType.php
src/applications/phriction/xaction/PhrictionDocumentTransactionType.php
<?php abstract class PhrictionDocumentTransactionType extends PhabricatorModularTransactionType {}
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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 'Phab...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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'; } public function getAdapterContentDescription() { return pht('React to wiki documents being created or updated.'); }...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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'); } final protected function buildDocumentInfoDictionary(PhrictionDocument $doc) { $content = $doc->getCo...
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/phriction/constants/PhrictionConstants.php
src/applications/phriction/constants/PhrictionConstants.php
<?php abstract class PhrictionConstants extends Phobject {}
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/system/management/PhabricatorSystemRemoveWorkflow.php
src/applications/system/management/PhabricatorSystemRemoveWorkflow.php
<?php abstract class PhabricatorSystemRemoveWorkflow extends PhabricatorManagementWorkflow {}
php
Apache-2.0
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false
phacility/phabricator
https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/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
5720a38cfe95b00ca4be5016dd0d2f3195f4fa04
2026-01-04T15:03:23.651835Z
false