GNU social is with a minor s.
This commit is contained in:
parent
9be368006c
commit
f46d675a20
|
@ -21,7 +21,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Hannes Mannerheim <h@nnesmannerhe.im>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://www.gnu.org/software/social/
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Hannes Mannerheim <h@nnesmannerhe.im>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://www.gnu.org/software/social/
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Hannes Mannerheim <h@nnesmannerhe.im>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://www.gnu.org/software/social/
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Hannes Mannerheim <h@nnesmannerhe.im>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://www.gnu.org/software/social/
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Hannes Mannerheim <h@nnesmannerhe.im>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://www.gnu.org/software/social/
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Hannes Mannerheim <h@nnesmannerhe.im>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://www.gnu.org/software/social/
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Hannes Mannerheim <h@nnesmannerhe.im>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://www.gnu.org/software/social/
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Craig Andrews <candrews@integralblue.com>
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Jeffery To <jeffery.to@gmail.com>
|
||||
|
@ -40,7 +40,7 @@ if (!defined('GNUSOCIAL')) {
|
|||
* List 20 newest admins of the group specified by name or ID.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Craig Andrews <candrews@integralblue.com>
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Jeffery To <jeffery.to@gmail.com>
|
||||
|
|
|
@ -56,7 +56,7 @@ class ApiOAuthAccessTokenAction extends ApiOAuthAction
|
|||
{
|
||||
parent::handle($args);
|
||||
|
||||
$datastore = new ApiGNUSocialOAuthDataStore();
|
||||
$datastore = new ApiGNUsocialOAuthDataStore();
|
||||
$server = new OAuthServer($datastore);
|
||||
$hmac_method = new OAuthSignatureMethod_HMAC_SHA1();
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ class ApiOAuthAuthorizeAction extends ApiOAuthAction
|
|||
$this->password = $this->arg('password');
|
||||
$this->oauthTokenParam = $this->arg('oauth_token');
|
||||
$this->mode = $this->arg('mode');
|
||||
$this->store = new ApiGNUSocialOAuthDataStore();
|
||||
$this->store = new ApiGNUsocialOAuthDataStore();
|
||||
|
||||
try {
|
||||
$this->app = $this->store->getAppByRequestToken($this->oauthTokenParam);
|
||||
|
|
|
@ -73,7 +73,7 @@ class ApiOAuthRequestTokenAction extends ApiOAuthAction
|
|||
{
|
||||
parent::handle($args);
|
||||
|
||||
$datastore = new ApiGNUSocialOAuthDataStore();
|
||||
$datastore = new ApiGNUsocialOAuthDataStore();
|
||||
$server = new OAuthServer($datastore);
|
||||
$hmac_method = new OAuthSignatureMethod_HMAC_SHA1();
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Search
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Zach Copley <zach@status.net>
|
||||
* @copyright 2008-2010 StatusNet, Inc.
|
||||
* @copyright 2013 Free Software Foundation, Inc.
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category API
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Hannes Mannerheim <h@nnesmannerhe.im>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://www.gnu.org/software/social/
|
||||
|
|
|
@ -34,7 +34,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||
* Retrieve user avatar by nickname action class.
|
||||
*
|
||||
* @category Action
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Robin Millette <millette@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* PHP version 5
|
||||
*
|
||||
* @category Action
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Robin Millette <millette@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
|
@ -35,7 +35,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||
* DisfavorAction class.
|
||||
*
|
||||
* @category Action
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Robin Millette <millette@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* PHP version 5
|
||||
*
|
||||
* @category Action
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Robin Millette <millette@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
|
@ -37,7 +37,7 @@ require_once INSTALLDIR.'/lib/mail.php';
|
|||
* FavorAction class.
|
||||
*
|
||||
* @category Action
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Robin Millette <millette@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
|
|
|
@ -168,7 +168,7 @@ class OauthconnectionssettingsAction extends SettingsAction
|
|||
|
||||
$app = Oauth_application::getKV('id', $appUser->application_id);
|
||||
|
||||
$datastore = new ApiGNUSocialOAuthDataStore();
|
||||
$datastore = new ApiGNUsocialOAuthDataStore();
|
||||
$datastore->revoke_token($appUser->token, 1);
|
||||
|
||||
$result = $appUser->delete();
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Data
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
* @copyright 2013 Free Software Foundation, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
|
|
|
@ -51,7 +51,7 @@ A: If the upstream project is moribund and there's a way to adopt it,
|
|||
Q: What if there's no upstream authority and it can't be adopted?
|
||||
|
||||
A: Then we fork it. Make a new name and a new version. Include it in
|
||||
lib/ instead of extlib/, and use the GNUSocial_* prefix to change
|
||||
lib/ instead of extlib/, and use the GNUsocial_* prefix to change
|
||||
the namespace to avoid collisions.
|
||||
|
||||
This is a last resort; consult with the rest of the dev group
|
||||
|
|
|
@ -155,7 +155,7 @@ class ApiAuthAction extends ApiAction
|
|||
*/
|
||||
function checkOAuthRequest($request)
|
||||
{
|
||||
$datastore = new ApiGNUSocialOAuthDataStore();
|
||||
$datastore = new ApiGNUsocialOAuthDataStore();
|
||||
$server = new OAuthServer($datastore);
|
||||
$hmac_method = new OAuthSignatureMethod_HMAC_SHA1();
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ require_once 'OAuth.php';
|
|||
/**
|
||||
* @fixme class doc
|
||||
*/
|
||||
class ApiGNUSocialOAuthDataStore extends OAuthDataStore
|
||||
class ApiGNUsocialOAuthDataStore extends OAuthDataStore
|
||||
{
|
||||
function lookup_consumer($consumerKey)
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Form
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Sarven Capadisli <csarven@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
|
@ -35,7 +35,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||
* Form for disfavoring a notice
|
||||
*
|
||||
* @category Form
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Sarven Capadisli <csarven@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Form
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Sarven Capadisli <csarven@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
|
@ -35,7 +35,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||
* Form for favoring a notice
|
||||
*
|
||||
* @category Form
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @author Sarven Capadisli <csarven@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Exception
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
* @copyright 2013 Free Software Foundation, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPLv3
|
||||
|
|
|
@ -54,7 +54,7 @@ require_once 'HTTP/Request2/Response.php';
|
|||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
class GNUSocial_HTTPResponse extends HTTP_Request2_Response
|
||||
class GNUsocial_HTTPResponse extends HTTP_Request2_Response
|
||||
{
|
||||
function __construct(HTTP_Request2_Response $response, $url, $redirects=0)
|
||||
{
|
||||
|
@ -173,7 +173,7 @@ class HTTPClient extends HTTP_Request2
|
|||
/**
|
||||
* Convenience function to run a GET request.
|
||||
*
|
||||
* @return GNUSocial_HTTPResponse
|
||||
* @return GNUsocial_HTTPResponse
|
||||
* @throws HTTP_Request2_Exception
|
||||
*/
|
||||
public function get($url, $headers=array())
|
||||
|
@ -184,7 +184,7 @@ class HTTPClient extends HTTP_Request2
|
|||
/**
|
||||
* Convenience function to run a HEAD request.
|
||||
*
|
||||
* @return GNUSocial_HTTPResponse
|
||||
* @return GNUsocial_HTTPResponse
|
||||
* @throws HTTP_Request2_Exception
|
||||
*/
|
||||
public function head($url, $headers=array())
|
||||
|
@ -198,7 +198,7 @@ class HTTPClient extends HTTP_Request2
|
|||
* @param string $url
|
||||
* @param array $headers optional associative array of HTTP headers
|
||||
* @param array $data optional associative array or blob of form data to submit
|
||||
* @return GNUSocial_HTTPResponse
|
||||
* @return GNUsocial_HTTPResponse
|
||||
* @throws HTTP_Request2_Exception
|
||||
*/
|
||||
public function post($url, $headers=array(), $data=array())
|
||||
|
@ -210,7 +210,7 @@ class HTTPClient extends HTTP_Request2
|
|||
}
|
||||
|
||||
/**
|
||||
* @return GNUSocial_HTTPResponse
|
||||
* @return GNUsocial_HTTPResponse
|
||||
* @throws HTTP_Request2_Exception
|
||||
*/
|
||||
protected function doRequest($url, $method, $headers)
|
||||
|
@ -254,11 +254,11 @@ class HTTPClient extends HTTP_Request2
|
|||
|
||||
/**
|
||||
* Actually performs the HTTP request and returns a
|
||||
* GNUSocial_HTTPResponse object with response body and header info.
|
||||
* GNUsocial_HTTPResponse object with response body and header info.
|
||||
*
|
||||
* Wraps around parent send() to add logging and redirection processing.
|
||||
*
|
||||
* @return GNUSocial_HTTPResponse
|
||||
* @return GNUsocial_HTTPResponse
|
||||
* @throw HTTP_Request2_Exception
|
||||
*/
|
||||
public function send()
|
||||
|
@ -301,6 +301,6 @@ class HTTPClient extends HTTP_Request2
|
|||
}
|
||||
break;
|
||||
} while ($maxRedirs);
|
||||
return new GNUSocial_HTTPResponse($response, $this->getUrl(), $redirs);
|
||||
return new GNUsocial_HTTPResponse($response, $this->getUrl(), $redirs);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||
* Class for an exception when a URL is invalid
|
||||
*
|
||||
* @category Exception
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPLv3
|
||||
* @link http://status.net/
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Exception
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
* @copyright 2013 Free Software Foundation, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPLv3
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Exception
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
* @copyright 2013 Free Software Foundation, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPLv3
|
||||
|
|
|
@ -120,7 +120,7 @@ class PhotosAction extends Action
|
|||
|
||||
function showAlbum($album_id)
|
||||
{
|
||||
$album = GNUSocialPhotoAlbum::getKV('album_id', $album_id);
|
||||
$album = GNUsocialPhotoAlbum::getKV('album_id', $album_id);
|
||||
if (!$album) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* Implements Link-based Resource Descriptor Discovery based on RFC6415,
|
||||
* Web Host Metadata, i.e. the predecessor to WebFinger resource discovery.
|
||||
*
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
*/
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Discovery
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author James Walker <james@status.net>
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
* @copyright 2010 StatusNet, Inc.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Implementation of WebFinger resource discovery (RFC7033)
|
||||
*
|
||||
* @category Discovery
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
* @copyright 2013 Free Software Foundation, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
*
|
||||
* Depends on: LRDD plugin
|
||||
*
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Mikael Nordfeldth <mmn@hethane.se>
|
||||
*/
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @package GNUSocial
|
||||
* @package GNUsocial
|
||||
* @author Mikael Nordfeldth
|
||||
* @copyright 2013 Free Software Foundation, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||
|
|
Loading…
Reference in New Issue
Block a user