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/owners/customfield/PhabricatorOwnersConfiguredCustomField.php
src/applications/owners/customfield/PhabricatorOwnersConfiguredCustomField.php
<?php final class PhabricatorOwnersConfiguredCustomField extends PhabricatorOwnersCustomField implements PhabricatorStandardCustomFieldInterface { public function getStandardCustomFieldNamespace() { return 'owners'; } public function createFields($object) { $config = PhabricatorEnv::getEnvConfig('o...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/editor/PhabricatorOwnersPackageTransactionEditor.php
src/applications/owners/editor/PhabricatorOwnersPackageTransactionEditor.php
<?php final class PhabricatorOwnersPackageTransactionEditor extends PhabricatorApplicationTransactionEditor { public function getEditorApplicationClass() { return PhabricatorOwnersApplication::class; } public function getEditorObjectsDescription() { return pht('Owners Packages'); } public functi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/editor/PhabricatorOwnersPackageEditEngine.php
src/applications/owners/editor/PhabricatorOwnersPackageEditEngine.php
<?php final class PhabricatorOwnersPackageEditEngine extends PhabricatorEditEngine { const ENGINECONST = 'owners.package'; public function getEngineName() { return pht('Owners Packages'); } public function getSummaryHeader() { return pht('Configure Owners Package Forms'); } public function ge...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackageAutoreviewTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackageAutoreviewTransaction.php
<?php final class PhabricatorOwnersPackageAutoreviewTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.autoreview'; public function generateOldValue($object) { return $object->getAutoReview(); } public function validateTransactions($object, array $xactions) {...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackagePathsTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackagePathsTransaction.php
<?php final class PhabricatorOwnersPackagePathsTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.paths'; public function generateOldValue($object) { $paths = $object->getPaths(); return mpull($paths, 'getRef'); } public function generateNewValue($object,...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackageAuthorityTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackageAuthorityTransaction.php
<?php final class PhabricatorOwnersPackageAuthorityTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.authority'; public function generateOldValue($object) { return $object->getAuthorityMode(); } public function validateTransactions($object, array $xactions) ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackageAuditingTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackageAuditingTransaction.php
<?php final class PhabricatorOwnersPackageAuditingTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.auditing'; public function generateOldValue($object) { return $object->getAuditingState(); } public function generateNewValue($object, $value) { return Ph...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackageDominionTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackageDominionTransaction.php
<?php final class PhabricatorOwnersPackageDominionTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.dominion'; public function generateOldValue($object) { return $object->getDominion(); } public function validateTransactions($object, array $xactions) { $...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackageOwnersTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackageOwnersTransaction.php
<?php final class PhabricatorOwnersPackageOwnersTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.owners'; public function generateOldValue($object) { $phids = mpull($object->getOwners(), 'getUserPHID'); $phids = array_values($phids); return $phids; } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackageIgnoredTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackageIgnoredTransaction.php
<?php final class PhabricatorOwnersPackageIgnoredTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.ignored'; public function generateOldValue($object) { return $object->getIgnoredPathAttributes(); } public function generateNewValue($object, $value) { ret...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackageDescriptionTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackageDescriptionTransaction.php
<?php final class PhabricatorOwnersPackageDescriptionTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.description'; public function generateOldValue($object) { return $object->getDescription(); } public function applyInternalEffects($object, $value) { $...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackagePrimaryTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackagePrimaryTransaction.php
<?php /** * @deprecated */ final class PhabricatorOwnersPackagePrimaryTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.primary'; public function shouldHide() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackageNameTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackageNameTransaction.php
<?php final class PhabricatorOwnersPackageNameTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.name'; public function generateOldValue($object) { return $object->getName(); } public function validateTransactions($object, array $xactions) { $errors = arr...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/xaction/PhabricatorOwnersPackageTransactionType.php
src/applications/owners/xaction/PhabricatorOwnersPackageTransactionType.php
<?php abstract class PhabricatorOwnersPackageTransactionType 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/owners/xaction/PhabricatorOwnersPackageStatusTransaction.php
src/applications/owners/xaction/PhabricatorOwnersPackageStatusTransaction.php
<?php final class PhabricatorOwnersPackageStatusTransaction extends PhabricatorOwnersPackageTransactionType { const TRANSACTIONTYPE = 'owners.status'; public function generateOldValue($object) { return $object->getStatus(); } public function applyInternalEffects($object, $value) { $object->setStat...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/searchfield/PhabricatorOwnersSearchField.php
src/applications/owners/searchfield/PhabricatorOwnersSearchField.php
<?php final class PhabricatorOwnersSearchField extends PhabricatorSearchTokenizerField { protected function getDefaultValue() { return array(); } protected function getValueFromRequest(AphrontRequest $request, $key) { return $this->getUsersFromRequest($request, $key); } protected function newDat...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/application/PhabricatorOwnersApplication.php
src/applications/owners/application/PhabricatorOwnersApplication.php
<?php final class PhabricatorOwnersApplication extends PhabricatorApplication { public function getName() { return pht('Owners'); } public function getBaseURI() { return '/owners/'; } public function getIcon() { return 'fa-gift'; } public function getShortDescription() { return pht('O...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/lipsum/PhabricatorOwnersPackageTestDataGenerator.php
src/applications/owners/lipsum/PhabricatorOwnersPackageTestDataGenerator.php
<?php final class PhabricatorOwnersPackageTestDataGenerator extends PhabricatorTestDataGenerator { const GENERATORKEY = 'owners'; public function getGeneratorName() { return pht('Owners Packages'); } public function generateObject() { $author = $this->loadRandomUser(); $name = id(new Phabrica...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/lipsum/PhabricatorOwnersPackageContextFreeGrammar.php
src/applications/owners/lipsum/PhabricatorOwnersPackageContextFreeGrammar.php
<?php final class PhabricatorOwnersPackageContextFreeGrammar extends PhutilContextFreeGrammar { protected function getRules() { return array( 'start' => array( '[package]', ), 'package' => array( '[adjective] [noun]', '[adjective] [noun]', '[adjective] [noun]'...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/lipsum/PhabricatorOwnersPathContextFreeGrammar.php
src/applications/owners/lipsum/PhabricatorOwnersPathContextFreeGrammar.php
<?php final class PhabricatorOwnersPathContextFreeGrammar extends PhutilContextFreeGrammar { protected function getRules() { return array( 'start' => array( '[path]', ), 'path' => array( '/', '/[directories]', ), 'directories' => array( '[directory...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/phid/PhabricatorOwnersPackagePHIDType.php
src/applications/owners/phid/PhabricatorOwnersPackagePHIDType.php
<?php final class PhabricatorOwnersPackagePHIDType extends PhabricatorPHIDType { const TYPECONST = 'OPKG'; public function getTypeName() { return pht('Owners Package'); } public function getTypeIcon() { return 'fa-shopping-bag'; } public function newObject() { return new PhabricatorOwnersPa...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/config/PhabricatorOwnersConfigOptions.php
src/applications/owners/config/PhabricatorOwnersConfigOptions.php
<?php final class PhabricatorOwnersConfigOptions extends PhabricatorApplicationConfigOptions { public function getName() { return pht('Owners'); } public function getDescription() { return pht('Configure Owners.'); } public function getIcon() { return 'fa-gift'; } public function getGro...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/conduit/OwnersEditConduitAPIMethod.php
src/applications/owners/conduit/OwnersEditConduitAPIMethod.php
<?php final class OwnersEditConduitAPIMethod extends PhabricatorEditEngineAPIMethod { public function getAPIMethodName() { return 'owners.edit'; } public function newEditEngine() { return new PhabricatorOwnersPackageEditEngine(); } public function getMethodSummary() { return pht( 'Appl...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/conduit/OwnersConduitAPIMethod.php
src/applications/owners/conduit/OwnersConduitAPIMethod.php
<?php abstract class OwnersConduitAPIMethod extends ConduitAPIMethod { final public function getApplication() { return PhabricatorApplication::getByClass( PhabricatorOwnersApplication::class); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/conduit/OwnersSearchConduitAPIMethod.php
src/applications/owners/conduit/OwnersSearchConduitAPIMethod.php
<?php final class OwnersSearchConduitAPIMethod extends PhabricatorSearchEngineAPIMethod { public function getAPIMethodName() { return 'owners.search'; } public function newSearchEngine() { return new PhabricatorOwnersPackageSearchEngine(); } public function getMethodSummary() { return pht('R...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/search/PhabricatorOwnersPackageFulltextEngine.php
src/applications/owners/search/PhabricatorOwnersPackageFulltextEngine.php
<?php final class PhabricatorOwnersPackageFulltextEngine extends PhabricatorFulltextEngine { protected function buildAbstractDocument( PhabricatorSearchAbstractDocument $document, $object) { $package = $object; $document->setDocumentTitle($package->getName()); // TODO: These are bogus, but n...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/search/PhabricatorOwnersPackageFerretEngine.php
src/applications/owners/search/PhabricatorOwnersPackageFerretEngine.php
<?php final class PhabricatorOwnersPackageFerretEngine extends PhabricatorFerretEngine { public function getApplicationName() { return 'owners'; } public function getScopeName() { return 'package'; } public function newSearchEngine() { return new PhabricatorOwnersPackageSearchEngine(); } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/typeahead/PhabricatorOwnersPackageOwnerDatasource.php
src/applications/owners/typeahead/PhabricatorOwnersPackageOwnerDatasource.php
<?php final class PhabricatorOwnersPackageOwnerDatasource extends PhabricatorTypeaheadCompositeDatasource { public function getBrowseTitle() { return pht('Browse Packages by Owner'); } public function getPlaceholderText() { return pht('Type packages(<user>) or packages(<project>)...'); } public ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
src/applications/owners/typeahead/PhabricatorOwnersPackageDatasource.php
<?php final class PhabricatorOwnersPackageDatasource extends PhabricatorTypeaheadDatasource { public function getBrowseTitle() { return pht('Browse Packages'); } public function getPlaceholderText() { return pht('Type a package name...'); } public function getDatasourceApplicationClass() { r...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/typeahead/PhabricatorOwnersPackageFunctionDatasource.php
src/applications/owners/typeahead/PhabricatorOwnersPackageFunctionDatasource.php
<?php final class PhabricatorOwnersPackageFunctionDatasource extends PhabricatorTypeaheadCompositeDatasource { public function getBrowseTitle() { return pht('Browse Packages'); } public function getPlaceholderText() { return pht('Type a package name or function...'); } public function getDatasou...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/capability/PhabricatorOwnersDefaultEditCapability.php
src/applications/owners/capability/PhabricatorOwnersDefaultEditCapability.php
<?php final class PhabricatorOwnersDefaultEditCapability extends PhabricatorPolicyCapability { const CAPABILITY = 'owners.default.edit'; public function getCapabilityName() { return pht('Default Edit Policy'); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/capability/PhabricatorOwnersDefaultViewCapability.php
src/applications/owners/capability/PhabricatorOwnersDefaultViewCapability.php
<?php final class PhabricatorOwnersDefaultViewCapability extends PhabricatorPolicyCapability { const CAPABILITY = 'owners.default.view'; public function getCapabilityName() { return pht('Default View Policy'); } public function shouldAllowPublicPolicySetting() { return true; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/remarkup/PhabricatorOwnersPackageRemarkupRule.php
src/applications/owners/remarkup/PhabricatorOwnersPackageRemarkupRule.php
<?php final class PhabricatorOwnersPackageRemarkupRule extends PhabricatorObjectRemarkupRule { protected function getObjectNamePrefix() { return 'O'; } protected function loadObjects(array $ids) { $viewer = $this->getEngine()->getConfig('viewer'); return id(new PhabricatorOwnersPackageQuery()) ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/owners/constants/PhabricatorOwnersAuditRule.php
src/applications/owners/constants/PhabricatorOwnersAuditRule.php
<?php final class PhabricatorOwnersAuditRule extends Phobject { const AUDITING_NONE = 'none'; const AUDITING_NO_OWNER = 'audit'; const AUDITING_UNREVIEWED = 'unreviewed'; const AUDITING_NO_OWNER_AND_UNREVIEWED = 'uninvolved-unreviewed'; const AUDITING_ALL = 'all'; private $key; private $spec; publ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/DifferentialGetWorkingCopy.php
src/applications/differential/DifferentialGetWorkingCopy.php
<?php /** * Can't find a good place for this, so I'm putting it in the most notably * wrong place. */ final class DifferentialGetWorkingCopy extends Phobject { /** * Creates and/or cleans a workspace for the requested repo. * * return ArcanistGitAPI */ public static function getCleanGitWorkspace( ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialRevisionInlinesController.php
src/applications/differential/controller/DifferentialRevisionInlinesController.php
<?php final class DifferentialRevisionInlinesController extends DifferentialController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $id = $request->getURIData('id'); $revision = id(new Differenti...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialRevisionListController.php
src/applications/differential/controller/DifferentialRevisionListController.php
<?php final class DifferentialRevisionListController extends DifferentialController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $controller = id(new PhabricatorApplicationSearchController()) ->setQueryKey($request->getURIData('qu...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialController.php
src/applications/differential/controller/DifferentialController.php
<?php abstract class DifferentialController extends PhabricatorController { private $packageChangesetMap; private $pathPackageMap; private $authorityPackages; public function buildSideNavView($for_app = false) { $viewer = $this->getRequest()->getUser(); $nav = new AphrontSideNavFilterView(); $na...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialRevisionViewController.php
src/applications/differential/controller/DifferentialRevisionViewController.php
<?php final class DifferentialRevisionViewController extends DifferentialController { private $revisionID; private $changesetCount; private $hiddenChangesets; private $warnings = array(); public function shouldAllowPublic() { return true; } public function isLargeDiff() { return ($this->getC...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
true
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialRevisionOperationController.php
src/applications/differential/controller/DifferentialRevisionOperationController.php
<?php final class DifferentialRevisionOperationController extends DifferentialController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $id = $request->getURIData('id'); $revision = id(new DifferentialRevisionQuery()) ->withIDs(array($id)) ->setVi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialChangesetListController.php
src/applications/differential/controller/DifferentialChangesetListController.php
<?php final class DifferentialChangesetListController extends DifferentialController { private $diff; public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $diff = id(new DifferentialDiffQuery()) ->set...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialRevisionEditController.php
src/applications/differential/controller/DifferentialRevisionEditController.php
<?php final class DifferentialRevisionEditController extends DifferentialController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); // If we have a Diff ID, this is an "/attach/123/to/456/" action. The // user just created a diff and is trying to use it to cre...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialInlineCommentEditController.php
src/applications/differential/controller/DifferentialInlineCommentEditController.php
<?php final class DifferentialInlineCommentEditController extends PhabricatorInlineCommentController { protected function newInlineCommentQuery() { return new DifferentialDiffInlineCommentQuery(); } protected function newContainerObject() { return $this->loadRevision(); } private function getRev...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialDiffViewController.php
src/applications/differential/controller/DifferentialDiffViewController.php
<?php final class DifferentialDiffViewController extends DifferentialController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $id = $request->getURIData('id'); $diff = id(new DifferentialDiffQuery()...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialDiffCreateController.php
src/applications/differential/controller/DifferentialDiffCreateController.php
<?php final class DifferentialDiffCreateController extends DifferentialController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); // If we're on the "Update Diff" workflow, load the revision we're going // to update. $revision = null; $revision_id = $req...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialChangesetViewController.php
src/applications/differential/controller/DifferentialChangesetViewController.php
<?php final class DifferentialChangesetViewController extends DifferentialController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $rendering_reference = $request->getStr('ref'); $parts = explode('/...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialRevisionCloseDetailsController.php
src/applications/differential/controller/DifferentialRevisionCloseDetailsController.php
<?php final class DifferentialRevisionCloseDetailsController extends DifferentialController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $xaction = id(new PhabricatorObjectQuery()) ->withPHIDs(array($request->getURIData('phid'))) ->setViewer($viewer...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/controller/DifferentialRevisionAffectedPathsController.php
src/applications/differential/controller/DifferentialRevisionAffectedPathsController.php
<?php final class DifferentialRevisionAffectedPathsController extends DifferentialController { public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer(); $id = $request->getURIData('id'); $revision = id(new DifferentialRevisionQuery()) ->withIDs(array($id)) ->s...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/engineextension/DifferentialMailEngineExtension.php
src/applications/differential/engineextension/DifferentialMailEngineExtension.php
<?php final class DifferentialMailEngineExtension extends PhabricatorMailEngineExtension { const EXTENSIONKEY = 'differential'; public function supportsObject($object) { return ($object instanceof DifferentialRevision); } public function newMailStampTemplates($object) { return array( id(new ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/engineextension/DifferentialCommitsSearchEngineAttachment.php
src/applications/differential/engineextension/DifferentialCommitsSearchEngineAttachment.php
<?php final class DifferentialCommitsSearchEngineAttachment extends PhabricatorSearchEngineAttachment { public function getAttachmentName() { return pht('Diff Commits'); } public function getAttachmentDescription() { return pht('Get the local commits (if any) for each diff.'); } public function ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/engineextension/DifferentialHovercardEngineExtension.php
src/applications/differential/engineextension/DifferentialHovercardEngineExtension.php
<?php final class DifferentialHovercardEngineExtension extends PhabricatorHovercardEngineExtension { const EXTENSIONKEY = 'differential'; public function isExtensionEnabled() { return PhabricatorApplication::isClassInstalled( PhabricatorDifferentialApplication::class); } public function getExten...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/engineextension/DifferentialReviewersSearchEngineAttachment.php
src/applications/differential/engineextension/DifferentialReviewersSearchEngineAttachment.php
<?php final class DifferentialReviewersSearchEngineAttachment extends PhabricatorSearchEngineAttachment { public function getAttachmentName() { return pht('Differential Reviewers'); } public function getAttachmentDescription() { return pht('Get the reviewers for each revision.'); } public functi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialDiff.php
src/applications/differential/storage/DifferentialDiff.php
<?php final class DifferentialDiff extends DifferentialDAO implements PhabricatorPolicyInterface, PhabricatorExtendedPolicyInterface, HarbormasterBuildableInterface, HarbormasterCircleCIBuildableInterface, HarbormasterBuildkiteBuildableInterface, PhabricatorApplicationTransactionInterface, ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialSchemaSpec.php
src/applications/differential/storage/DifferentialSchemaSpec.php
<?php final class DifferentialSchemaSpec extends PhabricatorConfigSchemaSpec { public function buildSchemata() { $this->buildEdgeSchemata(new DifferentialRevision()); $this->buildRawSchema( id(new DifferentialRevision())->getApplicationName(), DifferentialChangeset::TABLE_CACHE, array( ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialAffectedPath.php
src/applications/differential/storage/DifferentialAffectedPath.php
<?php /** * Denormalized index table which stores relationships between revisions in * Differential and paths in Diffusion. */ final class DifferentialAffectedPath extends DifferentialDAO { protected $repositoryID; protected $pathID; protected $revisionID; protected function getConfiguration() { retur...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialInlineComment.php
src/applications/differential/storage/DifferentialInlineComment.php
<?php final class DifferentialInlineComment extends PhabricatorInlineComment { protected function newStorageObject() { return new DifferentialTransactionComment(); } public function getControllerURI() { return urisprintf( '/differential/comment/inline/edit/%s/', $this->getRevisionID()); ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialViewState.php
src/applications/differential/storage/DifferentialViewState.php
<?php final class DifferentialViewState extends DifferentialDAO implements PhabricatorPolicyInterface { protected $viewerPHID; protected $objectPHID; protected $viewState = array(); private $hasModifications; protected function getConfiguration() { return array( self::CONFIG_SERIALIZATION =>...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialTransactionComment.php
src/applications/differential/storage/DifferentialTransactionComment.php
<?php final class DifferentialTransactionComment extends PhabricatorApplicationTransactionComment implements PhabricatorInlineCommentInterface { protected $revisionPHID; protected $changesetID; protected $isNewFile = 0; protected $lineNumber = 0; protected $lineLength = 0; protected $fixedState; ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialChangeset.php
src/applications/differential/storage/DifferentialChangeset.php
<?php final class DifferentialChangeset extends DifferentialDAO implements PhabricatorPolicyInterface, PhabricatorDestructibleInterface, PhabricatorConduitResultInterface { protected $diffID; protected $oldFile; protected $filename; protected $awayPaths; protected $changeType; protected $f...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialHiddenComment.php
src/applications/differential/storage/DifferentialHiddenComment.php
<?php final class DifferentialHiddenComment extends DifferentialDAO { protected $userPHID; protected $commentID; protected function getConfiguration() { return array( self::CONFIG_TIMESTAMPS => false, self::CONFIG_KEY_SCHEMA => array( 'key_user' => array( 'columns' => array(...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialDiffTransaction.php
src/applications/differential/storage/DifferentialDiffTransaction.php
<?php final class DifferentialDiffTransaction extends PhabricatorApplicationTransaction { const TYPE_DIFF_CREATE = 'differential:diff:create'; public function getApplicationName() { return 'differential'; } public function getApplicationTransactionType() { return DifferentialDiffPHIDType::TYPECONS...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialReviewer.php
src/applications/differential/storage/DifferentialReviewer.php
<?php final class DifferentialReviewer extends DifferentialDAO { protected $revisionPHID; protected $reviewerPHID; protected $reviewerStatus; protected $lastActionDiffPHID; protected $lastCommentDiffPHID; protected $lastActorPHID; protected $voidedPHID; protected $options = array(); private $auth...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialDAO.php
src/applications/differential/storage/DifferentialDAO.php
<?php abstract class DifferentialDAO extends PhabricatorLiskDAO { public function getApplicationName() { return 'differential'; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialTransaction.php
src/applications/differential/storage/DifferentialTransaction.php
<?php final class DifferentialTransaction extends PhabricatorModularTransaction { private $isCommandeerSideEffect; const TYPE_INLINE = 'differential:inline'; const TYPE_ACTION = 'differential:action'; const MAILTAG_REVIEWERS = 'differential-reviewers'; const MAILTAG_CLOSED = 'differential...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialDiffProperty.php
src/applications/differential/storage/DifferentialDiffProperty.php
<?php final class DifferentialDiffProperty extends DifferentialDAO { protected $diffID; protected $name; protected $data; protected function getConfiguration() { return array( self::CONFIG_SERIALIZATION => array( 'data' => self::SERIALIZATION_JSON, ), self::CONFIG_COLUMN_SCHEMA ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialRevision.php
src/applications/differential/storage/DifferentialRevision.php
<?php final class DifferentialRevision extends DifferentialDAO implements PhabricatorTokenReceiverInterface, PhabricatorPolicyInterface, PhabricatorExtendedPolicyInterface, PhabricatorFlaggableInterface, PhrequentTrackableInterface, HarbormasterBuildableInterface, PhabricatorSubscribableI...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
true
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialCustomFieldNumericIndex.php
src/applications/differential/storage/DifferentialCustomFieldNumericIndex.php
<?php final class DifferentialCustomFieldNumericIndex extends PhabricatorCustomFieldNumericIndexStorage { public function getApplicationName() { return 'differential'; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialCustomFieldStorage.php
src/applications/differential/storage/DifferentialCustomFieldStorage.php
<?php final class DifferentialCustomFieldStorage extends PhabricatorCustomFieldStorage { public function getApplicationName() { return 'differential'; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialHunk.php
src/applications/differential/storage/DifferentialHunk.php
<?php final class DifferentialHunk extends DifferentialDAO implements PhabricatorPolicyInterface, PhabricatorDestructibleInterface { protected $changesetID; protected $oldOffset; protected $oldLen; protected $newOffset; protected $newLen; protected $dataType; protected $dataEncoding; prote...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/DifferentialCustomFieldStringIndex.php
src/applications/differential/storage/DifferentialCustomFieldStringIndex.php
<?php final class DifferentialCustomFieldStringIndex extends PhabricatorCustomFieldStringIndexStorage { public function getApplicationName() { return 'differential'; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/__tests__/DifferentialDiffTestCase.php
src/applications/differential/storage/__tests__/DifferentialDiffTestCase.php
<?php final class DifferentialDiffTestCase extends PhabricatorTestCase { protected function getPhabricatorTestCaseConfiguration() { return array( self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true, ); } public function testDetectCopiedCode() { $copies = $this->detectCopiesIn('lint_en...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/__tests__/DifferentialChangesetTestCase.php
src/applications/differential/storage/__tests__/DifferentialChangesetTestCase.php
<?php final class DifferentialChangesetTestCase extends PhabricatorTestCase { public function testPhp81() { $diff_change_set = new DifferentialChangeset(); try { $old_state_vector = $diff_change_set->getOldStatePathVector(); $this->assertTrue(true, 'getOldStatePathVector did not throw an error')...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/__tests__/DifferentialHunkTestCase.php
src/applications/differential/storage/__tests__/DifferentialHunkTestCase.php
<?php final class DifferentialHunkTestCase extends PhutilTestCase { public function testMakeChanges() { $root = dirname(__FILE__).'/hunk/'; $hunk = new DifferentialHunk(); $hunk->setChanges(Filesystem::readFile($root.'basic.diff')); $hunk->setOldOffset(1); $hunk->setNewOffset(11); $old = F...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/storage/__tests__/DifferentialAdjustmentMapTestCase.php
src/applications/differential/storage/__tests__/DifferentialAdjustmentMapTestCase.php
<?php final class DifferentialAdjustmentMapTestCase extends PhabricatorTestCase { public function testBasicMaps() { $change_map = array( 1 => array(1), 2 => array(2), 3 => array(3), 4 => array(), 5 => array(), 6 => array(), 7 => array(4), 8 => array(5), 9 ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/management/PhabricatorDifferentialRebuildChangesetsWorkflow.php
src/applications/differential/management/PhabricatorDifferentialRebuildChangesetsWorkflow.php
<?php final class PhabricatorDifferentialRebuildChangesetsWorkflow extends PhabricatorDifferentialManagementWorkflow { protected function didConstruct() { $this ->setName('rebuild-changesets') ->setExamples('**rebuild-changesets** --revision __revision__') ->setSynopsis(pht('Rebuild changese...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/management/PhabricatorDifferentialAttachCommitWorkflow.php
src/applications/differential/management/PhabricatorDifferentialAttachCommitWorkflow.php
<?php final class PhabricatorDifferentialAttachCommitWorkflow extends PhabricatorDifferentialManagementWorkflow { protected function didConstruct() { $this ->setName('attach-commit') ->setExamples('**attach-commit** __commit__ __revision__') ->setSynopsis(pht('Forcefully attach a commit to a...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/management/PhabricatorDifferentialManagementWorkflow.php
src/applications/differential/management/PhabricatorDifferentialManagementWorkflow.php
<?php abstract class PhabricatorDifferentialManagementWorkflow 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/differential/management/PhabricatorDifferentialExtractWorkflow.php
src/applications/differential/management/PhabricatorDifferentialExtractWorkflow.php
<?php final class PhabricatorDifferentialExtractWorkflow extends PhabricatorDifferentialManagementWorkflow { protected function didConstruct() { $this ->setName('extract') ->setExamples('**extract** __commit__') ->setSynopsis(pht('Extract a diff from a commit.')) ->setArguments( ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/management/PhabricatorDifferentialMigrateHunkWorkflow.php
src/applications/differential/management/PhabricatorDifferentialMigrateHunkWorkflow.php
<?php final class PhabricatorDifferentialMigrateHunkWorkflow extends PhabricatorDifferentialManagementWorkflow { protected function didConstruct() { $this ->setName('migrate-hunk') ->setExamples( "**migrate-hunk** --id __hunk__ --to __storage__\n". "**migrate-hunk** --all") -...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialDiffInlineCommentQuery.php
src/applications/differential/query/DifferentialDiffInlineCommentQuery.php
<?php final class DifferentialDiffInlineCommentQuery extends PhabricatorDiffInlineCommentQuery { private $revisionPHIDs; protected function newApplicationTransactionCommentTemplate() { return new DifferentialTransactionComment(); } public function withRevisionPHIDs(array $phids) { $this->revisionP...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialDiffQuery.php
src/applications/differential/query/DifferentialDiffQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<DifferentialDiff> */ final class DifferentialDiffQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $revisionIDs; private $revisionPHIDs; private $commitPHIDs; private $hasRevision; private $needCh...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialChangesetSearchEngine.php
src/applications/differential/query/DifferentialChangesetSearchEngine.php
<?php final class DifferentialChangesetSearchEngine extends PhabricatorApplicationSearchEngine { private $diff; public function setDiff(DifferentialDiff $diff) { $this->diff = $diff; return $this; } public function getDiff() { return $this->diff; } public function getResultTypeDescription...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialTransactionQuery.php
src/applications/differential/query/DifferentialTransactionQuery.php
<?php final class DifferentialTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new DifferentialTransaction(); } public function getQueryApplicationClass() { return PhabricatorDifferentialApplication::class; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialRepositoryLookup.php
src/applications/differential/query/DifferentialRepositoryLookup.php
<?php /** * Guess which tracked repository a diff comes from. */ final class DifferentialRepositoryLookup extends Phobject { private $viewer; private $diff; public function setDiff(DifferentialDiff $diff) { $this->diff = $diff; return $this; } public function setViewer(PhabricatorUser $viewer) {...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialRevisionRequiredActionResultBucket.php
src/applications/differential/query/DifferentialRevisionRequiredActionResultBucket.php
<?php final class DifferentialRevisionRequiredActionResultBucket extends DifferentialRevisionResultBucket { const BUCKETKEY = 'action'; const KEY_MUSTREVIEW = 'must-review'; const KEY_SHOULDREVIEW = 'should-review'; private $objects; public function getResultBucketName() { return pht('Bucket by Req...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialRevisionQuery.php
src/applications/differential/query/DifferentialRevisionQuery.php
<?php /** * @task config Query Configuration * @task exec Query Execution * @task internal Internals * * @extends PhabricatorCursorPagedPolicyAwareQuery<DifferentialRevision> */ final class DifferentialRevisionQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $authors = array(); private...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialRevisionSearchEngine.php
src/applications/differential/query/DifferentialRevisionSearchEngine.php
<?php final class DifferentialRevisionSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Differential Revisions'); } public function getApplicationClassName() { return PhabricatorDifferentialApplication::class; } protected function ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialDiffTransactionQuery.php
src/applications/differential/query/DifferentialDiffTransactionQuery.php
<?php final class DifferentialDiffTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new DifferentialDiffTransaction(); } public function getQueryApplicationClass() { return PhabricatorDifferentialApplication::class; } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialViewStateQuery.php
src/applications/differential/query/DifferentialViewStateQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<DifferentialViewState> */ final class DifferentialViewStateQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $viewerPHIDs; private $objectPHIDs; public function withIDs(array $ids) { $this->ids = $ids; return $...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialHunkQuery.php
src/applications/differential/query/DifferentialHunkQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<DifferentialHunk> */ final class DifferentialHunkQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $changesets; private $shouldAttachToChangesets; /** * @param array<DifferentialChangeset> $changesets */ public function withCh...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialChangesetQuery.php
src/applications/differential/query/DifferentialChangesetQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<DifferentialChangeset> */ final class DifferentialChangesetQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $diffPHIDs; private $diffs; private $needAttachToDiffs; private $needHunks; public fu...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialDiffSearchEngine.php
src/applications/differential/query/DifferentialDiffSearchEngine.php
<?php final class DifferentialDiffSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Differential Diffs'); } public function getApplicationClassName() { return PhabricatorDifferentialApplication::class; } public function newQuery() ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/query/DifferentialRevisionResultBucket.php
src/applications/differential/query/DifferentialRevisionResultBucket.php
<?php abstract class DifferentialRevisionResultBucket extends PhabricatorSearchResultBucket { public static function getAllResultBuckets() { return id(new PhutilClassMapQuery()) ->setAncestorClass(self::class) ->setUniqueMethod('getResultBucketKey') ->execute(); } protected function get...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php
src/applications/differential/doorkeeper/DifferentialDoorkeeperRevisionFeedStoryPublisher.php
<?php final class DifferentialDoorkeeperRevisionFeedStoryPublisher extends DoorkeeperFeedStoryPublisher { public function canPublishStory(PhabricatorFeedStory $story, $object) { return ($object instanceof DifferentialRevision); } public function isStoryAboutObjectCreation($object) { $story = $this->g...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/harbormaster/DifferentialBuildableEngine.php
src/applications/differential/harbormaster/DifferentialBuildableEngine.php
<?php final class DifferentialBuildableEngine extends HarbormasterBuildableEngine { protected function getPublishableObject() { $object = $this->getObject(); if ($object instanceof DifferentialDiff) { if ($object->getRevisionID()) { return $object->getRevision(); } else { retu...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/mail/DifferentialChangeDetailMailView.php
src/applications/differential/mail/DifferentialChangeDetailMailView.php
<?php final class DifferentialChangeDetailMailView extends DifferentialMailView { private $viewer; private $diff; private $patch; public function setViewer(PhabricatorUser $viewer) { $this->viewer = $viewer; return $this; } public function getViewer() { return $this->viewer; } public ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/mail/DifferentialCreateMailReceiver.php
src/applications/differential/mail/DifferentialCreateMailReceiver.php
<?php final class DifferentialCreateMailReceiver extends PhabricatorApplicationMailReceiver { protected function newApplication() { return new PhabricatorDifferentialApplication(); } protected function processReceivedMail( PhabricatorMetaMTAReceivedMail $mail, PhutilEmailAddress $target) { $...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/mail/DifferentialReplyHandler.php
src/applications/differential/mail/DifferentialReplyHandler.php
<?php final class DifferentialReplyHandler extends PhabricatorApplicationTransactionReplyHandler { public function validateMailReceiver($mail_receiver) { if (!($mail_receiver instanceof DifferentialRevision)) { throw new Exception(pht('Receiver is not a %s!', 'DifferentialRevision')); } } publi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/mail/DifferentialMailView.php
src/applications/differential/mail/DifferentialMailView.php
<?php abstract class DifferentialMailView extends Phobject { protected function renderCodeBlock($block) { $style = array( 'font: 11px/15px "Menlo", "Consolas", "Monaco", monospace;', 'white-space: pre-wrap;', 'clear: both;', 'padding: 4px 0;', 'margin: 0;', ); return phu...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/differential/mail/DifferentialRevisionMailReceiver.php
src/applications/differential/mail/DifferentialRevisionMailReceiver.php
<?php final class DifferentialRevisionMailReceiver extends PhabricatorObjectMailReceiver { public function isEnabled() { return PhabricatorApplication::isClassInstalled( PhabricatorDifferentialApplication::class); } protected function getObjectPattern() { return 'D[1-9]\d*'; } protected fu...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false