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/nuance/storage/NuanceQueue.php | src/applications/nuance/storage/NuanceQueue.php | <?php
final class NuanceQueue
extends NuanceDAO
implements
PhabricatorPolicyInterface,
PhabricatorApplicationTransactionInterface {
protected $name;
protected $mailKey;
protected $viewPolicy;
protected $editPolicy;
protected function getConfiguration() {
return array(
self::CONFIG_AUX... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceItemTransactionComment.php | src/applications/nuance/storage/NuanceItemTransactionComment.php | <?php
final class NuanceItemTransactionComment
extends PhabricatorApplicationTransactionComment {
public function getApplicationTransactionObject() {
return new NuanceItemTransaction();
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceSourceTransactionComment.php | src/applications/nuance/storage/NuanceSourceTransactionComment.php | <?php
final class NuanceSourceTransactionComment
extends PhabricatorApplicationTransactionComment {
public function getApplicationTransactionObject() {
return new NuanceSourceTransaction();
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceDAO.php | src/applications/nuance/storage/NuanceDAO.php | <?php
abstract class NuanceDAO extends PhabricatorLiskDAO {
public function getApplicationName() {
return 'nuance';
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceSourceTransaction.php | src/applications/nuance/storage/NuanceSourceTransaction.php | <?php
final class NuanceSourceTransaction
extends NuanceTransaction {
public function getApplicationTransactionType() {
return NuanceSourcePHIDType::TYPECONST;
}
public function getApplicationTransactionCommentObject() {
return new NuanceSourceTransactionComment();
}
public function getBaseTrans... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceSourceNameNgrams.php | src/applications/nuance/storage/NuanceSourceNameNgrams.php | <?php
final class NuanceSourceNameNgrams
extends PhabricatorSearchNgrams {
public function getNgramKey() {
return 'sourcename';
}
public function getColumnName() {
return 'name';
}
public function getApplicationName() {
return 'nuance';
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceQueueTransaction.php | src/applications/nuance/storage/NuanceQueueTransaction.php | <?php
final class NuanceQueueTransaction extends NuanceTransaction {
public function getApplicationTransactionType() {
return NuanceQueuePHIDType::TYPECONST;
}
public function getApplicationTransactionCommentObject() {
return new NuanceQueueTransactionComment();
}
public function getBaseTransactio... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceItemTransaction.php | src/applications/nuance/storage/NuanceItemTransaction.php | <?php
final class NuanceItemTransaction
extends NuanceTransaction {
const PROPERTY_KEY = 'property.key';
public function getApplicationTransactionType() {
return NuanceItemPHIDType::TYPECONST;
}
public function getApplicationTransactionCommentObject() {
return new NuanceItemTransactionComment();
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceItem.php | src/applications/nuance/storage/NuanceItem.php | <?php
final class NuanceItem
extends NuanceDAO
implements
PhabricatorPolicyInterface,
PhabricatorApplicationTransactionInterface {
const STATUS_IMPORTING = 'importing';
const STATUS_ROUTING = 'routing';
const STATUS_OPEN = 'open';
const STATUS_CLOSED = 'closed';
protected $status;
protected $... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceSource.php | src/applications/nuance/storage/NuanceSource.php | <?php
final class NuanceSource extends NuanceDAO
implements
PhabricatorApplicationTransactionInterface,
PhabricatorPolicyInterface,
PhabricatorNgramsInterface {
protected $name;
protected $type;
protected $data = array();
protected $mailKey;
protected $viewPolicy;
protected $editPolicy;
pr... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceImportCursorData.php | src/applications/nuance/storage/NuanceImportCursorData.php | <?php
final class NuanceImportCursorData
extends NuanceDAO
implements PhabricatorPolicyInterface {
protected $sourcePHID;
protected $cursorKey;
protected $cursorType;
protected $properties = array();
protected function getConfiguration() {
return array(
self::CONFIG_AUX_PHID => true,
se... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceTransaction.php | src/applications/nuance/storage/NuanceTransaction.php | <?php
abstract class NuanceTransaction
extends PhabricatorModularTransaction {
public function getApplicationName() {
return 'nuance';
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceItemCommand.php | src/applications/nuance/storage/NuanceItemCommand.php | <?php
final class NuanceItemCommand
extends NuanceDAO
implements PhabricatorPolicyInterface {
const STATUS_ISSUED = 'issued';
const STATUS_EXECUTING = 'executing';
const STATUS_DONE = 'done';
const STATUS_FAILED = 'failed';
protected $itemPHID;
protected $authorPHID;
protected $queuePHID;
protect... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/storage/NuanceSchemaSpec.php | src/applications/nuance/storage/NuanceSchemaSpec.php | <?php
final class NuanceSchemaSpec
extends PhabricatorConfigSchemaSpec {
public function buildSchemata() {
$this->buildEdgeSchemata(new NuanceItem());
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/management/NuanceManagementImportWorkflow.php | src/applications/nuance/management/NuanceManagementImportWorkflow.php | <?php
final class NuanceManagementImportWorkflow
extends NuanceManagementWorkflow {
protected function didConstruct() {
$this
->setName('import')
->setExamples('**import** --source __source__ [__options__]')
->setSynopsis(pht('Import data from a source.'))
->setArguments(
array... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/management/NuanceManagementUpdateWorkflow.php | src/applications/nuance/management/NuanceManagementUpdateWorkflow.php | <?php
final class NuanceManagementUpdateWorkflow
extends NuanceManagementWorkflow {
protected function didConstruct() {
$this
->setName('update')
->setExamples('**update** --item __item__ [__options__]')
->setSynopsis(pht('Update or route an item.'))
->setArguments(
array(
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/management/NuanceManagementWorkflow.php | src/applications/nuance/management/NuanceManagementWorkflow.php | <?php
abstract class NuanceManagementWorkflow
extends PhabricatorManagementWorkflow {
protected function loadSource(PhutilArgumentParser $argv, $key) {
$source = $argv->getArg($key);
if (!phutil_nonempty_string($source)) {
throw new PhutilArgumentUsageException(
pht(
'Specify a sou... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/worker/NuanceWorker.php | src/applications/nuance/worker/NuanceWorker.php | <?php
abstract class NuanceWorker extends PhabricatorWorker {
protected function getViewer() {
return PhabricatorUser::getOmnipotentUser();
}
protected function loadItem($item_phid) {
$item = id(new NuanceItemQuery())
->setViewer($this->getViewer())
->withPHIDs(array($item_phid))
->ex... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/worker/NuanceItemUpdateWorker.php | src/applications/nuance/worker/NuanceItemUpdateWorker.php | <?php
final class NuanceItemUpdateWorker
extends NuanceWorker {
protected function doWork() {
$item_phid = $this->getTaskDataValue('itemPHID');
$lock = $this->newLock($item_phid);
$lock->lock(1);
try {
$item = $this->loadItem($item_phid);
$this->updateItem($item);
$this->routeI... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceImportCursorDataQuery.php | src/applications/nuance/query/NuanceImportCursorDataQuery.php | <?php
/**
* @extends NuanceQuery<NuanceImportCursorData>
*/
final class NuanceImportCursorDataQuery
extends NuanceQuery {
private $ids;
private $phids;
private $sourcePHIDs;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public function withPHIDs(array $phids) {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceSourceTransactionQuery.php | src/applications/nuance/query/NuanceSourceTransactionQuery.php | <?php
final class NuanceSourceTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new NuanceSourceTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorNuanceApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceQuery.php | src/applications/nuance/query/NuanceQuery.php | <?php
/**
* @template R of PhabricatorPolicyInterface
* @extends PhabricatorCursorPagedPolicyAwareQuery<R>
*/
abstract class NuanceQuery extends PhabricatorCursorPagedPolicyAwareQuery {
public function getQueryApplicationClass() {
return PhabricatorNuanceApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceItemTransactionQuery.php | src/applications/nuance/query/NuanceItemTransactionQuery.php | <?php
final class NuanceItemTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new NuanceItemTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorNuanceApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceItemQuery.php | src/applications/nuance/query/NuanceItemQuery.php | <?php
/**
* @extends NuanceQuery<NuanceItem>
*/
final class NuanceItemQuery
extends NuanceQuery {
private $ids;
private $phids;
private $sourcePHIDs;
private $queuePHIDs;
private $itemTypes;
private $itemKeys;
private $containerKeys;
private $statuses;
public function withIDs(array $ids) {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceQueueSearchEngine.php | src/applications/nuance/query/NuanceQueueSearchEngine.php | <?php
final class NuanceQueueSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getApplicationClassName() {
return PhabricatorNuanceApplication::class;
}
public function getResultTypeDescription() {
return pht('Nuance Queues');
}
public function newQuery() {
return new... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceSourceQuery.php | src/applications/nuance/query/NuanceSourceQuery.php | <?php
/**
* @extends NuanceQuery<NuanceSource>
*/
final class NuanceSourceQuery
extends NuanceQuery {
private $ids;
private $phids;
private $types;
private $isDisabled;
private $hasCursors;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public function withPHIDs... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceQueueTransactionQuery.php | src/applications/nuance/query/NuanceQueueTransactionQuery.php | <?php
final class NuanceQueueTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new NuanceQueueTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorNuanceApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceItemSearchEngine.php | src/applications/nuance/query/NuanceItemSearchEngine.php | <?php
final class NuanceItemSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getApplicationClassName() {
return PhabricatorNuanceApplication::class;
}
public function getResultTypeDescription() {
return pht('Nuance Items');
}
public function newQuery() {
return new N... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceItemCommandQuery.php | src/applications/nuance/query/NuanceItemCommandQuery.php | <?php
/**
* @extends NuanceQuery<NuanceItemCommand>
*/
final class NuanceItemCommandQuery
extends NuanceQuery {
private $ids;
private $itemPHIDs;
private $statuses;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public function withItemPHIDs(array $item_phids) {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceSourceSearchEngine.php | src/applications/nuance/query/NuanceSourceSearchEngine.php | <?php
final class NuanceSourceSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getApplicationClassName() {
return PhabricatorNuanceApplication::class;
}
public function getResultTypeDescription() {
return pht('Nuance Sources');
}
public function newQuery() {
return n... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/query/NuanceQueueQuery.php | src/applications/nuance/query/NuanceQueueQuery.php | <?php
/**
* @extends NuanceQuery<NuanceQueue>
*/
final class NuanceQueueQuery
extends NuanceQuery {
private $ids;
private $phids;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public function withPHIDs(array $phids) {
$this->phids = $phids;
return $this;
}
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/contentsource/NuanceContentSource.php | src/applications/nuance/contentsource/NuanceContentSource.php | <?php
final class NuanceContentSource
extends PhabricatorContentSource {
const SOURCECONST = 'nuance';
public function getSourceName() {
return pht('Nuance');
}
public function getSourceDescription() {
return pht('Content imported via Nuance.');
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/command/NuanceTrashCommand.php | src/applications/nuance/command/NuanceTrashCommand.php | <?php
final class NuanceTrashCommand
extends NuanceCommandImplementation {
const COMMANDKEY = 'trash';
public function getCommandName() {
return pht('Throw in Trash');
}
public function canApplyToItem(NuanceItem $item) {
$type = $item->getImplementation();
return ($type instanceof NuanceFormIt... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/command/NuanceCommandImplementation.php | src/applications/nuance/command/NuanceCommandImplementation.php | <?php
abstract class NuanceCommandImplementation
extends Phobject {
private $actor;
private $transactionQueue = array();
final public function setActor(PhabricatorUser $actor) {
$this->actor = $actor;
return $this;
}
final public function getActor() {
return $this->actor;
}
abstract pu... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/command/NuanceItemCommandSpec.php | src/applications/nuance/command/NuanceItemCommandSpec.php | <?php
final class NuanceItemCommandSpec
extends Phobject {
private $commandKey;
private $name;
private $icon;
public function setCommandKey($command_key) {
$this->commandKey = $command_key;
return $this;
}
public function getCommandKey() {
return $this->commandKey;
}
public function s... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/cursor/NuanceGitHubIssuesImportCursor.php | src/applications/nuance/cursor/NuanceGitHubIssuesImportCursor.php | <?php
final class NuanceGitHubIssuesImportCursor
extends NuanceGitHubImportCursor {
const CURSORTYPE = 'github.issues';
protected function getGitHubAPIEndpointURI($user, $repository) {
return "/repos/{$user}/{$repository}/issues/events";
}
protected function newNuanceItemFromGitHubRecord(array $record... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/cursor/NuanceImportCursor.php | src/applications/nuance/cursor/NuanceImportCursor.php | <?php
abstract class NuanceImportCursor extends Phobject {
private $cursorData;
private $cursorKey;
private $source;
private $viewer;
abstract protected function shouldPullDataFromSource();
abstract protected function pullDataFromSource();
final public function getCursorType() {
return $this->getP... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/cursor/NuanceGitHubRepositoryImportCursor.php | src/applications/nuance/cursor/NuanceGitHubRepositoryImportCursor.php | <?php
final class NuanceGitHubRepositoryImportCursor
extends NuanceGitHubImportCursor {
const CURSORTYPE = 'github.repository';
protected function getGitHubAPIEndpointURI($user, $repository) {
return "/repos/{$user}/{$repository}/events";
}
protected function getMaximumPage() {
return 10;
}
p... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/cursor/NuanceGitHubImportCursor.php | src/applications/nuance/cursor/NuanceGitHubImportCursor.php | <?php
abstract class NuanceGitHubImportCursor
extends NuanceImportCursor {
abstract protected function getGitHubAPIEndpointURI($user, $repository);
abstract protected function newNuanceItemFromGitHubRecord(array $record);
protected function getMaximumPage() {
return 100;
}
protected function getPage... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/editor/NuanceQueueEditEngine.php | src/applications/nuance/editor/NuanceQueueEditEngine.php | <?php
final class NuanceQueueEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'nuance.queue';
public function isEngineConfigurable() {
return false;
}
public function getEngineName() {
return pht('Nuance Queues');
}
public function getSummaryHeader() {
return pht('Edit Nuanc... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/editor/NuanceSourceEditor.php | src/applications/nuance/editor/NuanceSourceEditor.php | <?php
final class NuanceSourceEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return PhabricatorNuanceApplication::class;
}
public function getEditorObjectsDescription() {
return pht('Nuance Sources');
}
protected function supportsSearch() {... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/editor/NuanceSourceEditEngine.php | src/applications/nuance/editor/NuanceSourceEditEngine.php | <?php
final class NuanceSourceEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'nuance.source';
private $sourceDefinition;
public function setSourceDefinition(
NuanceSourceDefinition $source_definition) {
$this->sourceDefinition = $source_definition;
return $this;
}
public fun... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/editor/NuanceQueueEditor.php | src/applications/nuance/editor/NuanceQueueEditor.php | <?php
final class NuanceQueueEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return PhabricatorNuanceApplication::class;
}
public function getEditorObjectsDescription() {
return pht('Nuance Queues');
}
public function getTransactionTypes() {... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/editor/NuanceItemEditor.php | src/applications/nuance/editor/NuanceItemEditor.php | <?php
final class NuanceItemEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return PhabricatorNuanceApplication::class;
}
public function getEditorObjectsDescription() {
return pht('Nuance Items');
}
public function getTransactionTypes() {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/xaction/NuanceItemPropertyTransaction.php | src/applications/nuance/xaction/NuanceItemPropertyTransaction.php | <?php
final class NuanceItemPropertyTransaction
extends NuanceItemTransactionType {
const TRANSACTIONTYPE = 'nuance.item.property';
public function generateOldValue($object) {
$property_key = NuanceItemTransaction::PROPERTY_KEY;
$key = $this->getMetadataValue($property_key);
return $object->getItem... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/xaction/NuanceItemTransactionType.php | src/applications/nuance/xaction/NuanceItemTransactionType.php | <?php
abstract class NuanceItemTransactionType
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/nuance/xaction/NuanceSourceDefaultQueueTransaction.php | src/applications/nuance/xaction/NuanceSourceDefaultQueueTransaction.php | <?php
final class NuanceSourceDefaultQueueTransaction
extends NuanceSourceTransactionType {
const TRANSACTIONTYPE = 'source.queue.default';
public function generateOldValue($object) {
return $object->getDefaultQueuePHID();
}
public function applyInternalEffects($object, $value) {
$object->setDefau... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/xaction/NuanceItemRequestorTransaction.php | src/applications/nuance/xaction/NuanceItemRequestorTransaction.php | <?php
final class NuanceItemRequestorTransaction
extends NuanceItemTransactionType {
const TRANSACTIONTYPE = 'nuance.item.requestor';
public function generateOldValue($object) {
return $object->getRequestorPHID();
}
public function applyInternalEffects($object, $value) {
$object->setRequestorPHID(... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/xaction/NuanceQueueNameTransaction.php | src/applications/nuance/xaction/NuanceQueueNameTransaction.php | <?php
final class NuanceQueueNameTransaction
extends NuanceQueueTransactionType {
const TRANSACTIONTYPE = 'nuance.queue.name';
public function generateOldValue($object) {
return $object->getName();
}
public function applyInternalEffects($object, $value) {
$object->setName($value);
}
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/nuance/xaction/NuanceItemCommandTransaction.php | src/applications/nuance/xaction/NuanceItemCommandTransaction.php | <?php
final class NuanceItemCommandTransaction
extends NuanceItemTransactionType {
const TRANSACTIONTYPE = 'nuance.item.command';
public function generateOldValue($object) {
return null;
}
public function getTitle() {
$spec = $this->getNewValue();
$command_key = idx($spec, 'command', '???');
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/xaction/NuanceQueueTransactionType.php | src/applications/nuance/xaction/NuanceQueueTransactionType.php | <?php
abstract class NuanceQueueTransactionType
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/nuance/xaction/NuanceItemStatusTransaction.php | src/applications/nuance/xaction/NuanceItemStatusTransaction.php | <?php
final class NuanceItemStatusTransaction
extends NuanceItemTransactionType {
const TRANSACTIONTYPE = 'nuance.item.status';
public function generateOldValue($object) {
return $object->getStatus();
}
public function applyInternalEffects($object, $value) {
$object->setStatus($value);
}
publ... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/xaction/NuanceItemOwnerTransaction.php | src/applications/nuance/xaction/NuanceItemOwnerTransaction.php | <?php
final class NuanceItemOwnerTransaction
extends NuanceItemTransactionType {
const TRANSACTIONTYPE = 'nuance.item.owner';
public function generateOldValue($object) {
return $object->getOwnerPHID();
}
public function applyInternalEffects($object, $value) {
$object->setOwnerPHID($value);
}
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/xaction/NuanceSourceTransactionType.php | src/applications/nuance/xaction/NuanceSourceTransactionType.php | <?php
abstract class NuanceSourceTransactionType
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/nuance/xaction/NuanceItemQueueTransaction.php | src/applications/nuance/xaction/NuanceItemQueueTransaction.php | <?php
final class NuanceItemQueueTransaction
extends NuanceItemTransactionType {
const TRANSACTIONTYPE = 'nuance.item.queue';
public function generateOldValue($object) {
return $object->getQueuePHID();
}
public function applyInternalEffects($object, $value) {
$object->setQueuePHID($value);
}
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/xaction/NuanceItemSourceTransaction.php | src/applications/nuance/xaction/NuanceItemSourceTransaction.php | <?php
final class NuanceItemSourceTransaction
extends NuanceItemTransactionType {
const TRANSACTIONTYPE = 'nuance.item.source';
public function generateOldValue($object) {
return $object->getSourcePHID();
}
public function applyInternalEffects($object, $value) {
$object->setSourcePHID($value);
}... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/xaction/NuanceSourceNameTransaction.php | src/applications/nuance/xaction/NuanceSourceNameTransaction.php | <?php
final class NuanceSourceNameTransaction
extends NuanceSourceTransactionType {
const TRANSACTIONTYPE = 'source.name';
public function generateOldValue($object) {
return $object->getName();
}
public function applyInternalEffects($object, $value) {
$object->setName($value);
}
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/nuance/github/NuanceGitHubRawEvent.php | src/applications/nuance/github/NuanceGitHubRawEvent.php | <?php
final class NuanceGitHubRawEvent extends Phobject {
private $raw;
private $type;
const TYPE_ISSUE = 'issue';
const TYPE_REPOSITORY = 'repository';
public static function newEvent($type, array $raw) {
$event = new self();
$event->type = $type;
$event->raw = $raw;
return $event;
}
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/github/__tests__/NuanceGitHubRawEventTestCase.php | src/applications/nuance/github/__tests__/NuanceGitHubRawEventTestCase.php | <?php
final class NuanceGitHubRawEventTestCase
extends PhabricatorTestCase {
public function testIssueEvents() {
$path = dirname(__FILE__).'/issueevents/';
$cases = $this->readTestCases($path);
foreach ($cases as $name => $info) {
$input = $info['input'];
$expect = $info['expect'];
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/source/NuanceSourceDefinition.php | src/applications/nuance/source/NuanceSourceDefinition.php | <?php
/**
* @task action Handling Action Requests
*/
abstract class NuanceSourceDefinition extends Phobject {
private $viewer;
private $source;
public function setViewer(PhabricatorUser $viewer) {
$this->viewer = $viewer;
return $this;
}
public function getViewer() {
if (!$this->viewer) {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/source/NuancePhabricatorFormSourceDefinition.php | src/applications/nuance/source/NuancePhabricatorFormSourceDefinition.php | <?php
final class NuancePhabricatorFormSourceDefinition
extends NuanceSourceDefinition {
public function getName() {
return pht('Web Form');
}
public function getSourceDescription() {
return pht('Create a web form that submits into a Nuance queue.');
}
public function getSourceTypeConstant() {
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/source/NuanceGitHubRepositorySourceDefinition.php | src/applications/nuance/source/NuanceGitHubRepositorySourceDefinition.php | <?php
final class NuanceGitHubRepositorySourceDefinition
extends NuanceSourceDefinition {
public function getName() {
return pht('GitHub Repository');
}
public function getSourceDescription() {
return pht('Import issues and pull requests from a GitHub repository.');
}
public function getSourceTy... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/source/__tests__/NuanceSourceDefinitionTestCase.php | src/applications/nuance/source/__tests__/NuanceSourceDefinitionTestCase.php | <?php
final class NuanceSourceDefinitionTestCase extends PhabricatorTestCase {
public function testGetAllTypes() {
NuanceSourceDefinition::getAllDefinitions();
$this->assertTrue(true);
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/application/PhabricatorNuanceApplication.php | src/applications/nuance/application/PhabricatorNuanceApplication.php | <?php
final class PhabricatorNuanceApplication extends PhabricatorApplication {
public function getName() {
return pht('Nuance');
}
public function getIcon() {
return 'fa-fax';
}
public function getTitleGlyph() {
return "\xE2\x98\x8E";
}
public function isPrototype() {
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/nuance/item/NuanceGitHubEventItemType.php | src/applications/nuance/item/NuanceGitHubEventItemType.php | <?php
final class NuanceGitHubEventItemType
extends NuanceItemType {
const ITEMTYPE = 'github.event';
private $externalObject;
private $externalActor;
public function getItemTypeDisplayName() {
return pht('GitHub Event');
}
public function getItemTypeDisplayIcon() {
return 'fa-github';
}
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/item/NuanceFormItemType.php | src/applications/nuance/item/NuanceFormItemType.php | <?php
final class NuanceFormItemType
extends NuanceItemType {
const ITEMTYPE = 'form.item';
public function getItemTypeDisplayName() {
return pht('Form');
}
public function getItemDisplayName(NuanceItem $item) {
return pht('Complaint');
}
protected function newWorkCommands(NuanceItem $item) {... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/item/NuanceItemType.php | src/applications/nuance/item/NuanceItemType.php | <?php
abstract class NuanceItemType
extends Phobject {
private $viewer;
private $controller;
abstract protected function newWorkCommands(NuanceItem $item);
public function setViewer(PhabricatorUser $viewer) {
$this->viewer = $viewer;
return $this;
}
public function getViewer() {
return $t... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/phid/NuanceImportCursorPHIDType.php | src/applications/nuance/phid/NuanceImportCursorPHIDType.php | <?php
final class NuanceImportCursorPHIDType extends PhabricatorPHIDType {
const TYPECONST = 'NUAC';
public function getTypeName() {
return pht('Import Cursor');
}
public function newObject() {
return new NuanceImportCursorData();
}
public function getPHIDTypeApplicationClass() {
return Pha... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/phid/NuanceItemPHIDType.php | src/applications/nuance/phid/NuanceItemPHIDType.php | <?php
final class NuanceItemPHIDType extends PhabricatorPHIDType {
const TYPECONST = 'NUAI';
public function getTypeName() {
return pht('Item');
}
public function newObject() {
return new NuanceItem();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorNuanceApplication::cl... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/phid/NuanceSourcePHIDType.php | src/applications/nuance/phid/NuanceSourcePHIDType.php | <?php
final class NuanceSourcePHIDType extends PhabricatorPHIDType {
const TYPECONST = 'NUAS';
public function getTypeName() {
return pht('Source');
}
public function newObject() {
return new NuanceSource();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorNuanceApplicati... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/phid/NuanceQueuePHIDType.php | src/applications/nuance/phid/NuanceQueuePHIDType.php | <?php
final class NuanceQueuePHIDType extends PhabricatorPHIDType {
const TYPECONST = 'NUAQ';
public function getTypeName() {
return pht('Queue');
}
public function newObject() {
return new NuanceQueue();
}
public function getPHIDTypeApplicationClass() {
return PhabricatorNuanceApplication:... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/conduit/NuanceConduitAPIMethod.php | src/applications/nuance/conduit/NuanceConduitAPIMethod.php | <?php
abstract class NuanceConduitAPIMethod extends ConduitAPIMethod {
final public function getApplication() {
return PhabricatorApplication::getByClass(
PhabricatorNuanceApplication::class);
}
public function getMethodStatus() {
return self::METHOD_STATUS_UNSTABLE;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/typeahead/NuanceQueueDatasource.php | src/applications/nuance/typeahead/NuanceQueueDatasource.php | <?php
final class NuanceQueueDatasource
extends PhabricatorTypeaheadDatasource {
public function getBrowseTitle() {
return pht('Browse Queues');
}
public function getPlaceholderText() {
return pht('Type a queue name...');
}
public function getDatasourceApplicationClass() {
return Phabricator... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/nuance/capability/NuanceSourceDefaultViewCapability.php | src/applications/nuance/capability/NuanceSourceDefaultViewCapability.php | <?php
final class NuanceSourceDefaultViewCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'nuance.source.default.view';
public function getCapabilityName() {
return pht('Default Source 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/nuance/capability/NuanceSourceDefaultEditCapability.php | src/applications/nuance/capability/NuanceSourceDefaultEditCapability.php | <?php
final class NuanceSourceDefaultEditCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'nuance.source.default.edit';
public function getCapabilityName() {
return pht('Default Source 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/nuance/capability/NuanceSourceManageCapability.php | src/applications/nuance/capability/NuanceSourceManageCapability.php | <?php
final class NuanceSourceManageCapability extends PhabricatorPolicyCapability {
const CAPABILITY = 'nuance.source.manage';
public function getCapabilityName() {
return pht('Can Manage Sources');
}
public function describeCapabilityRejection() {
return pht('You do not have permission to manage s... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/controller/FundInitiativeEditController.php | src/applications/fund/controller/FundInitiativeEditController.php | <?php
final class FundInitiativeEditController extends
FundController {
public function handleRequest(AphrontRequest $request) {
return id(new FundInitiativeEditEngine())
->setController($this)
->buildResponse();
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/controller/FundController.php | src/applications/fund/controller/FundController.php | <?php
abstract class FundController extends PhabricatorController {}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/controller/FundInitiativeViewController.php | src/applications/fund/controller/FundInitiativeViewController.php | <?php
final class FundInitiativeViewController
extends FundController {
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$id = $request->getURIData('id');
$initiative = id(new FundInitiativeQuery())... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/controller/FundInitiativeCloseController.php | src/applications/fund/controller/FundInitiativeCloseController.php | <?php
final class FundInitiativeCloseController
extends FundController {
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$id = $request->getURIData('id');
$initiative = id(new FundInitiativeQuery())
->setViewer($viewer)
->withIDs(array($id))
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/controller/FundInitiativeBackController.php | src/applications/fund/controller/FundInitiativeBackController.php | <?php
final class FundInitiativeBackController
extends FundController {
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$id = $request->getURIData('id');
$initiative = id(new FundInitiativeQuery())
->setViewer($viewer)
->withIDs(array($id))
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/controller/FundInitiativeListController.php | src/applications/fund/controller/FundInitiativeListController.php | <?php
final class FundInitiativeListController
extends FundController {
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$querykey = $request->getURIData('queryKey');
$controller = id(new PhabricatorApplicationSearchController())
... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/controller/FundBackerListController.php | src/applications/fund/controller/FundBackerListController.php | <?php
final class FundBackerListController
extends FundController {
private $initiative;
public function shouldAllowPublic() {
return true;
}
public function handleRequest(AphrontRequest $request) {
$viewer = $request->getViewer();
$id = $request->getURIData('id');
$querykey = $request->ge... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/storage/FundBacker.php | src/applications/fund/storage/FundBacker.php | <?php
final class FundBacker extends FundDAO
implements
PhabricatorPolicyInterface,
PhabricatorApplicationTransactionInterface {
protected $initiativePHID;
protected $backerPHID;
protected $amountAsCurrency;
protected $status;
protected $properties = array();
private $initiative = self::ATTACHA... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/storage/FundBackerTransaction.php | src/applications/fund/storage/FundBackerTransaction.php | <?php
final class FundBackerTransaction
extends PhabricatorModularTransaction {
public function getApplicationName() {
return 'fund';
}
public function getApplicationTransactionType() {
return FundBackerPHIDType::TYPECONST;
}
public function getBaseTransactionClass() {
return 'FundBackerTran... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/storage/FundInitiative.php | src/applications/fund/storage/FundInitiative.php | <?php
final class FundInitiative extends FundDAO
implements
PhabricatorPolicyInterface,
PhabricatorProjectInterface,
PhabricatorApplicationTransactionInterface,
PhabricatorSubscribableInterface,
PhabricatorMentionableInterface,
PhabricatorFlaggableInterface,
PhabricatorTokenReceiverInterf... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/storage/FundInitiativeTransactionComment.php | src/applications/fund/storage/FundInitiativeTransactionComment.php | <?php
final class FundInitiativeTransactionComment
extends PhabricatorApplicationTransactionComment {
public function getApplicationTransactionObject() {
return new FundInitiativeTransaction();
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/storage/FundSchemaSpec.php | src/applications/fund/storage/FundSchemaSpec.php | <?php
final class FundSchemaSpec
extends PhabricatorConfigSchemaSpec {
public function buildSchemata() {
$this->buildEdgeSchemata(new FundInitiative());
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/storage/FundInitiativeTransaction.php | src/applications/fund/storage/FundInitiativeTransaction.php | <?php
final class FundInitiativeTransaction
extends PhabricatorModularTransaction {
const MAILTAG_BACKER = 'fund.backer';
const MAILTAG_STATUS = 'fund.status';
const MAILTAG_OTHER = 'fund.other';
const PROPERTY_AMOUNT = 'fund.amount';
const PROPERTY_BACKER = 'fund.backer';
public function getApplicat... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/storage/FundDAO.php | src/applications/fund/storage/FundDAO.php | <?php
abstract class FundDAO extends PhabricatorLiskDAO {
public function getApplicationName() {
return 'fund';
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/query/FundBackerQuery.php | src/applications/fund/query/FundBackerQuery.php | <?php
final class FundBackerQuery
extends PhabricatorCursorPagedPolicyAwareQuery {
private $ids;
private $phids;
private $statuses;
private $initiativePHIDs;
private $backerPHIDs;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public function withPHIDs(array $phi... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/query/FundInitiativeSearchEngine.php | src/applications/fund/query/FundInitiativeSearchEngine.php | <?php
final class FundInitiativeSearchEngine
extends PhabricatorApplicationSearchEngine {
public function getResultTypeDescription() {
return pht('Fund Initiatives');
}
public function getApplicationClassName() {
return PhabricatorFundApplication::class;
}
public function newQuery() {
return... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/query/FundBackerSearchEngine.php | src/applications/fund/query/FundBackerSearchEngine.php | <?php
final class FundBackerSearchEngine
extends PhabricatorApplicationSearchEngine {
private $initiative;
public function setInitiative(FundInitiative $initiative) {
$this->initiative = $initiative;
return $this;
}
public function getInitiative() {
return $this->initiative;
}
public func... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/query/FundBackerTransactionQuery.php | src/applications/fund/query/FundBackerTransactionQuery.php | <?php
final class FundBackerTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new FundBackerTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorFundApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/query/FundInitiativeTransactionQuery.php | src/applications/fund/query/FundInitiativeTransactionQuery.php | <?php
final class FundInitiativeTransactionQuery
extends PhabricatorApplicationTransactionQuery {
public function getTemplateApplicationTransaction() {
return new FundInitiativeTransaction();
}
public function getQueryApplicationClass() {
return PhabricatorFundApplication::class;
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/query/FundInitiativeQuery.php | src/applications/fund/query/FundInitiativeQuery.php | <?php
final class FundInitiativeQuery
extends PhabricatorCursorPagedPolicyAwareQuery {
private $ids;
private $phids;
private $ownerPHIDs;
private $statuses;
public function withIDs(array $ids) {
$this->ids = $ids;
return $this;
}
public function withPHIDs(array $phids) {
$this->phids = $... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/mail/FundInitiativeReplyHandler.php | src/applications/fund/mail/FundInitiativeReplyHandler.php | <?php
final class FundInitiativeReplyHandler
extends PhabricatorApplicationTransactionReplyHandler {
public function validateMailReceiver($mail_receiver) {
if (!($mail_receiver instanceof FundInitiative)) {
throw new Exception(pht('Mail receiver is not a %s!', 'FundInitiative'));
}
}
public fun... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/editor/FundBackerEditor.php | src/applications/fund/editor/FundBackerEditor.php | <?php
final class FundBackerEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return PhabricatorFundApplication::class;
}
public function getEditorObjectsDescription() {
return pht('Fund Backing');
}
}
| php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/editor/FundInitiativeEditEngine.php | src/applications/fund/editor/FundInitiativeEditEngine.php | <?php
final class FundInitiativeEditEngine
extends PhabricatorEditEngine {
const ENGINECONST = 'fund.initiative';
public function getEngineName() {
return pht('Fund');
}
public function getEngineApplicationClass() {
return PhabricatorFundApplication::class;
}
public function getSummaryHeader(... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
phorgeit/phorge | https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/fund/editor/FundInitiativeEditor.php | src/applications/fund/editor/FundInitiativeEditor.php | <?php
final class FundInitiativeEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorApplicationClass() {
return PhabricatorFundApplication::class;
}
public function getEditorObjectsDescription() {
return pht('Fund Initiatives');
}
public function getCreateObjectTitl... | php | Apache-2.0 | aceebaa4305332265a371282a841609fe926b819 | 2026-01-05T04:21:50.722734Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.