StatusNet to GNU social renaming in minor places
This commit is contained in:
parent
8fac7a9f6c
commit
7e65f4f6ea
@ -159,7 +159,7 @@ class ApiAction extends Action
|
|||||||
$this->limit = $this->count + 1;
|
$this->limit = $this->count + 1;
|
||||||
|
|
||||||
if ($this->arg('since')) {
|
if ($this->arg('since')) {
|
||||||
header('X-StatusNet-Warning: since parameter is disabled; use since_id');
|
header('X-GNUsocial-Warning: since parameter is disabled; use since_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->source = $this->trimmed('source');
|
$this->source = $this->trimmed('source');
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
/*! @page authentication Authentication
|
/*! @page authentication Authentication
|
||||||
|
|
||||||
StatusNet supports HTTP Basic Authentication and OAuth for API calls.
|
GNU social supports HTTP Basic Authentication and OAuth for API calls.
|
||||||
|
|
||||||
@warning Currently, users who have created accounts without setting a
|
@warning Currently, users who have created accounts without setting a
|
||||||
password via OpenID, Facebook Connect, etc., cannot use the API until
|
password via OpenID, Facebook Connect, etc., cannot use the API until
|
||||||
|
@ -167,10 +167,10 @@ class Atom10Feed extends XMLStringer
|
|||||||
|
|
||||||
$this->element(
|
$this->element(
|
||||||
'generator', array(
|
'generator', array(
|
||||||
'uri' => 'http://status.net',
|
'uri' => 'https://gnu.io/social',
|
||||||
'version' => GNUSOCIAL_VERSION
|
'version' => GNUSOCIAL_VERSION
|
||||||
),
|
),
|
||||||
'StatusNet'
|
'GNU social'
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->element('id', null, $this->id);
|
$this->element('id', null, $this->id);
|
||||||
|
@ -89,7 +89,7 @@ class Rss10Action extends Action
|
|||||||
if (!isset($_SERVER['PHP_AUTH_USER'])) {
|
if (!isset($_SERVER['PHP_AUTH_USER'])) {
|
||||||
|
|
||||||
// This header makes basic auth go
|
// This header makes basic auth go
|
||||||
header('WWW-Authenticate: Basic realm="StatusNet RSS"');
|
header('WWW-Authenticate: Basic realm="GNU social RSS"');
|
||||||
|
|
||||||
// If the user hits cancel -- bam!
|
// If the user hits cancel -- bam!
|
||||||
$this->show_basic_auth_error();
|
$this->show_basic_auth_error();
|
||||||
|
Loading…
Reference in New Issue
Block a user