mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
Correct spelling mistakes
Test Plan: Only changes to spelling. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25238
This commit is contained in:
parent
c5a365e1b2
commit
4862eada5c
20 changed files with 20 additions and 20 deletions
|
@ -327,7 +327,7 @@ abstract class AphrontResponse extends Phobject {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($value instanceof PhutilSafeHTML) {
|
if ($value instanceof PhutilSafeHTML) {
|
||||||
// TODO: Javelin supports implicity conversion of '__html' objects to
|
// TODO: Javelin supports implicit conversion of '__html' objects to
|
||||||
// JX.HTML, but only for Ajax responses, not behaviors. Just leave things
|
// JX.HTML, but only for Ajax responses, not behaviors. Just leave things
|
||||||
// as they are for now (where behaviors treat responses as HTML or plain
|
// as they are for now (where behaviors treat responses as HTML or plain
|
||||||
// text at their discretion).
|
// text at their discretion).
|
||||||
|
|
|
@ -37,7 +37,7 @@ final class PhabricatorConduitAPIController
|
||||||
// TODO: The relationship between ConduitAPIRequest and ConduitCall is a
|
// TODO: The relationship between ConduitAPIRequest and ConduitCall is a
|
||||||
// little odd here and could probably be improved. Specifically, the
|
// little odd here and could probably be improved. Specifically, the
|
||||||
// APIRequest is a sub-object of the Call, which does not parallel the
|
// APIRequest is a sub-object of the Call, which does not parallel the
|
||||||
// role of AphrontRequest (which is an indepenent object).
|
// role of AphrontRequest (which is an independent object).
|
||||||
// In particular, the setUser() and getUser() existing independently on
|
// In particular, the setUser() and getUser() existing independently on
|
||||||
// the Call and APIRequest is very awkward.
|
// the Call and APIRequest is very awkward.
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ final class PhabricatorDatabaseSetupCheck extends PhabricatorSetupCheck {
|
||||||
'The "InnoDB" engine is not available in MySQL (on host "%s"). '.
|
'The "InnoDB" engine is not available in MySQL (on host "%s"). '.
|
||||||
'Enable InnoDB in your MySQL configuration.'.
|
'Enable InnoDB in your MySQL configuration.'.
|
||||||
"\n\n".
|
"\n\n".
|
||||||
'(If you aleady created tables, MySQL incorrectly used some other '.
|
'(If you already created tables, MySQL incorrectly used some other '.
|
||||||
'engine to create them. You need to convert them or drop and '.
|
'engine to create them. You need to convert them or drop and '.
|
||||||
'reinitialize them.)',
|
'reinitialize them.)',
|
||||||
$ref_key);
|
$ref_key);
|
||||||
|
|
|
@ -74,7 +74,7 @@ of each approach are:
|
||||||
- If you use mailing lists, recipients may sometimes get duplicate
|
- If you use mailing lists, recipients may sometimes get duplicate
|
||||||
mail.
|
mail.
|
||||||
- Getting threading to work properly is easier, and threading settings
|
- Getting threading to work properly is easier, and threading settings
|
||||||
can be customzied by each user.
|
can be customized by each user.
|
||||||
- "Reply All" will never send extra mail to other users involved in the
|
- "Reply All" will never send extra mail to other users involved in the
|
||||||
thread.
|
thread.
|
||||||
- Required if private reply-to addresses are configured.
|
- Required if private reply-to addresses are configured.
|
||||||
|
|
|
@ -99,7 +99,7 @@ final class HarbormasterBuildMessageResumeTransaction
|
||||||
throw new HarbormasterMessageException(
|
throw new HarbormasterMessageException(
|
||||||
pht('Unable to Resume Build'),
|
pht('Unable to Resume Build'),
|
||||||
pht(
|
pht(
|
||||||
'You can not resume this build beacuse it is already resuming.'));
|
'You can not resume this build because it is already resuming.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($build->isRestarting()) {
|
if ($build->isRestarting()) {
|
||||||
|
|
|
@ -23,7 +23,7 @@ final class PhabricatorRepositoryManagementMaintenanceWorkflow
|
||||||
'name' => 'stop',
|
'name' => 'stop',
|
||||||
'help' => pht(
|
'help' => pht(
|
||||||
'Take repositories out of maintenance mode, returning them '.
|
'Take repositories out of maintenance mode, returning them '.
|
||||||
'to normal serice.'),
|
'to normal service.'),
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'repositories',
|
'name' => 'repositories',
|
||||||
|
|
|
@ -517,7 +517,7 @@ final class PhabricatorChangeParserTestCase
|
||||||
'/dir',
|
'/dir',
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
// TODO: This might reasonbly be considered a bug in the parser; it
|
// TODO: This might reasonably be considered a bug in the parser; it
|
||||||
// should probably be COPY_AWAY.
|
// should probably be COPY_AWAY.
|
||||||
DifferentialChangeType::TYPE_CHILD,
|
DifferentialChangeType::TYPE_CHILD,
|
||||||
DifferentialChangeType::FILE_DIRECTORY,
|
DifferentialChangeType::FILE_DIRECTORY,
|
||||||
|
|
|
@ -297,7 +297,7 @@ final class PhutilSearchQueryCompiler
|
||||||
$use_substring = true;
|
$use_substring = true;
|
||||||
} else if (phutil_preg_match('/^_/', $value)) {
|
} else if (phutil_preg_match('/^_/', $value)) {
|
||||||
// See T13632. Assume users searching for any term that begins
|
// See T13632. Assume users searching for any term that begins
|
||||||
// with an undescore intend to perform substring search if they
|
// with an underscore intend to perform substring search if they
|
||||||
// don't provide an explicit search function.
|
// don't provide an explicit search function.
|
||||||
$use_substring = true;
|
$use_substring = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ basis for essentially all edits and comments. Reviewing the transaction
|
||||||
record allows you to see who edited an object, when, and how their edit changed
|
record allows you to see who edited an object, when, and how their edit changed
|
||||||
things.
|
things.
|
||||||
|
|
||||||
One common reason to call this method is that you're implmenting a webhook and
|
One common reason to call this method is that you're implementing a webhook and
|
||||||
just received a notification that an object has changed. See the Webhooks
|
just received a notification that an object has changed. See the Webhooks
|
||||||
documentation for more detailed discussion of this use case.
|
documentation for more detailed discussion of this use case.
|
||||||
|
|
||||||
|
|
|
@ -391,7 +391,7 @@ abstract class PhabricatorApplicationTransactionEditor
|
||||||
$new = $this->getTransactionNewValue($object, $xaction);
|
$new = $this->getTransactionNewValue($object, $xaction);
|
||||||
$xaction->setNewValue($new);
|
$xaction->setNewValue($new);
|
||||||
|
|
||||||
// Apply an optional transformation to convert "external" tranaction
|
// Apply an optional transformation to convert "external" transaction
|
||||||
// values (provided by APIs) into "internal" values.
|
// values (provided by APIs) into "internal" values.
|
||||||
|
|
||||||
$old = $xaction->getOldValue();
|
$old = $xaction->getOldValue();
|
||||||
|
|
|
@ -134,7 +134,7 @@ eventually, but there isn't a strong case for them at the present time.
|
||||||
PHIDs
|
PHIDs
|
||||||
=====
|
=====
|
||||||
|
|
||||||
Each globally referencable object in Phorge has an associated PHID
|
Each globally referenceable object in Phorge has an associated PHID
|
||||||
("Phorge ID") which serves as a global identifier, similar to a GUID.
|
("Phorge ID") which serves as a global identifier, similar to a GUID.
|
||||||
We use PHIDs for referencing data in different databases.
|
We use PHIDs for referencing data in different databases.
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,7 @@ example.
|
||||||
= Documentation, Comments and Formatting =
|
= Documentation, Comments and Formatting =
|
||||||
|
|
||||||
- Prefer to remove code by deleting it over removing it by commenting it out.
|
- Prefer to remove code by deleting it over removing it by commenting it out.
|
||||||
It shall live forever in source control, and can be retrieved therefrom if
|
It shall live forever in source control, and can be retrieved there from if
|
||||||
it is ever again called upon.
|
it is ever again called upon.
|
||||||
- In source code, use only ASCII printable characters plus space and linefeed.
|
- In source code, use only ASCII printable characters plus space and linefeed.
|
||||||
Do not use UTF-8 or other multibyte encodings.
|
Do not use UTF-8 or other multibyte encodings.
|
||||||
|
|
|
@ -60,7 +60,7 @@ as the "From" address when it sends mail. The exact address it uses can be
|
||||||
configured with `metamta.default-address`.
|
configured with `metamta.default-address`.
|
||||||
|
|
||||||
When a user takes an action that generates mail, Phorge sets the
|
When a user takes an action that generates mail, Phorge sets the
|
||||||
"Reply-To" addresss for the mail to that user's name and address. This means
|
"Reply-To" address for the mail to that user's name and address. This means
|
||||||
that users can reply to email to discuss changes, but: the conversation won't
|
that users can reply to email to discuss changes, but: the conversation won't
|
||||||
be recorded in Phorge; and users will not be able to use email commands
|
be recorded in Phorge; and users will not be able to use email commands
|
||||||
to take actions or make edits.
|
to take actions or make edits.
|
||||||
|
|
|
@ -134,7 +134,7 @@ Providers may be in these states:
|
||||||
- **Active**: Users may add new factors. Users will be prompted to respond
|
- **Active**: Users may add new factors. Users will be prompted to respond
|
||||||
to challenges from these providers when they take a sensitive action.
|
to challenges from these providers when they take a sensitive action.
|
||||||
- **Deprecated**: Users may not add new factors, but they will still be
|
- **Deprecated**: Users may not add new factors, but they will still be
|
||||||
asked to respond to challenges from exising factors.
|
asked to respond to challenges from existing factors.
|
||||||
- **Disabled**: Users may not add new factors, and existing factors will
|
- **Disabled**: Users may not add new factors, and existing factors will
|
||||||
not be used. If MFA is required and a user only has disabled factors,
|
not be used. If MFA is required and a user only has disabled factors,
|
||||||
they will be forced to add a new factor.
|
they will be forced to add a new factor.
|
||||||
|
|
|
@ -178,7 +178,7 @@ Retries and Rate Limiting
|
||||||
Test requests are never retried: they execute exactly once.
|
Test requests are never retried: they execute exactly once.
|
||||||
|
|
||||||
Live requests are automatically retried. If your endpoint does not return a
|
Live requests are automatically retried. If your endpoint does not return a
|
||||||
HTTP 2XX response, the request will be retried regularly until it suceeds.
|
HTTP 2XX response, the request will be retried regularly until it succeeds.
|
||||||
|
|
||||||
Retries will continue until the request succeeds or is garbage collected. By
|
Retries will continue until the request succeeds or is garbage collected. By
|
||||||
default, this is after 7 days.
|
default, this is after 7 days.
|
||||||
|
|
|
@ -1679,7 +1679,7 @@ abstract class PhabricatorCustomField extends Phobject {
|
||||||
foreach ($map as $field_key => $field) {
|
foreach ($map as $field_key => $field) {
|
||||||
// For now, only support overriding standard custom fields. In the
|
// For now, only support overriding standard custom fields. In the
|
||||||
// future there's no technical or product reason we couldn't let you
|
// future there's no technical or product reason we couldn't let you
|
||||||
// override (some properites of) other fields like "Title", but they
|
// override (some properties of) other fields like "Title", but they
|
||||||
// don't usually support appropriate "setX()" methods today.
|
// don't usually support appropriate "setX()" methods today.
|
||||||
if (!($field instanceof PhabricatorStandardCustomField)) {
|
if (!($field instanceof PhabricatorStandardCustomField)) {
|
||||||
// For fields that are proxies on top of StandardCustomField, which
|
// For fields that are proxies on top of StandardCustomField, which
|
||||||
|
|
|
@ -7,7 +7,7 @@ final class PhutilRemarkupLiteralBlockRule extends PhutilRemarkupBlockRule {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMatchingLineCount(array $lines, $cursor) {
|
public function getMatchingLineCount(array $lines, $cursor) {
|
||||||
// NOTE: We're consuming all continguous blocks of %%% literals, so this:
|
// NOTE: We're consuming all contiguous blocks of %%% literals, so this:
|
||||||
//
|
//
|
||||||
// %%%a%%%
|
// %%%a%%%
|
||||||
// %%%b%%%
|
// %%%b%%%
|
||||||
|
|
|
@ -32,7 +32,7 @@ final class PhutilXHPASTSyntaxHighlighterFuture extends FutureProxy {
|
||||||
|
|
||||||
// We perform two passes here: one using the AST to find symbols we care
|
// We perform two passes here: one using the AST to find symbols we care
|
||||||
// about -- particularly, class names and function names. These are used
|
// about -- particularly, class names and function names. These are used
|
||||||
// in the crossreference stuff to link into Diffusion. After we've done our
|
// in the cross-reference stuff to link into Diffusion. After we've done our
|
||||||
// AST pass, we do a followup pass on the token stream to catch all the
|
// AST pass, we do a followup pass on the token stream to catch all the
|
||||||
// simple stuff like strings and comments.
|
// simple stuff like strings and comments.
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ final class PhutilPygmentizeParser extends Phobject {
|
||||||
$c = $block[$ii];
|
$c = $block[$ii];
|
||||||
switch ($mode) {
|
switch ($mode) {
|
||||||
case 'text':
|
case 'text':
|
||||||
// We're in general text between tags, and just passing characers
|
// We're in general text between tags, and just passing characters
|
||||||
// through unmodified.
|
// through unmodified.
|
||||||
if ($c == '<') {
|
if ($c == '<') {
|
||||||
$mode = 'tag';
|
$mode = 'tag';
|
||||||
|
|
|
@ -392,7 +392,7 @@ final class AphrontTableView extends AphrontView {
|
||||||
// white-space: pre to prevent wrapping. We need to append a character
|
// white-space: pre to prevent wrapping. We need to append a character
|
||||||
// ( -- nonbreaking space) afterward to give the bounds div height
|
// ( -- nonbreaking space) afterward to give the bounds div height
|
||||||
// (alternatively, we could hard-code the line height). This is gross but
|
// (alternatively, we could hard-code the line height). This is gross but
|
||||||
// it's not clear that there's a better appraoch.
|
// it's not clear that there's a better approach.
|
||||||
|
|
||||||
return phutil_tag(
|
return phutil_tag(
|
||||||
'div',
|
'div',
|
||||||
|
|
Loading…
Reference in a new issue