[CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL

This commit is contained in:
Diogo Cordeiro 2019-11-21 00:21:22 +00:00
父節點 1b429dd2e5
當前提交 b730582336
共有 110 個檔案被更改,包括 112 行新增111 行删除

查看文件

@ -36,7 +36,7 @@ class AwesomenessPlugin extends Plugin
'name' => 'Awesomeness',
'version' => self::PLUGIN_VERSION,
'author' => 'Jeroen De Dauw',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Awesomeness',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Awesomeness',
// TRANS: Plugin description for a sample plugin.
'rawdescription' => _m('The Awesomeness plugin adds additional awesomeness ' .
'to a GNU social installation.')

查看文件

@ -123,7 +123,7 @@ class BlankAdPlugin extends UAPPlugin
$versions[] = array('name' => 'BlankAd',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BlankAdPlugin',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/BlankAdPlugin',
'rawdescription' =>
// TRANS: Plugin description.
_m('Plugin for testing ad layout.'));

查看文件

@ -236,7 +236,7 @@ class SamplePlugin extends Plugin
'name' => 'Sample',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber, Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Sample',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Sample',
'rawdescription' =>
// TRANS: Plugin description.
_m('A sample plugin to show basics of development for new hackers.')

查看文件

@ -167,7 +167,7 @@ class Atom10Feed extends XMLStringer
$this->element(
'generator', array(
'uri' => 'https://gnu.io/social',
'uri' => GNUSOCIAL_ENGINE_URL,
'version' => GNUSOCIAL_VERSION
),
'GNU social'

查看文件

@ -31,7 +31,8 @@
defined('GNUSOCIAL') || die();
define('GNUSOCIAL_ENGINE', 'GNU social');
define('GNUSOCIAL_ENGINE_URL', 'https://www.gnu.org/software/social/');
define('GNUSOCIAL_ENGINE_URL', 'https://gnusocial.network/'); // Change to https://gnu.io/social/
define('GNUSOCIAL_ENGINE_REPO_URL', 'https://notabug.org/diogo/gnu-social/'); // Change to https://git.gnu.io/gnu/gnu-social
define('GNUSOCIAL_BASE_VERSION', '2.0.0');
define('GNUSOCIAL_LIFECYCLE', 'dev'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'

查看文件

@ -344,7 +344,7 @@ class ActivityModule extends Module
$versions[] = array('name' => 'Activity',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Activity',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Activity',
'rawdescription' =>
// TRANS: Module description.
_m('Emits notices when social activities happen.'));

查看文件

@ -132,7 +132,7 @@ class ActivityVerbPostModule extends ActivityVerbHandlerModule
$versions[] = array('name' => 'Post verb',
'version' => self::MODULE_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'https://gnu.io/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'rawdescription' =>
// TRANS: Module description.
_m('Post handling with ActivityStreams.'));

查看文件

@ -179,7 +179,7 @@ class AuthCryptModule extends AuthenticationModule
$versions[] = array('name' => 'AuthCrypt',
'version' => self::MODULE_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AuthCrypt',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/AuthCrypt',
'rawdescription' =>
// TRANS: Module description.
_m('Authentication and password hashing with crypt()'));

查看文件

@ -631,7 +631,7 @@ class FavoriteModule extends ActivityVerbHandlerModule
$versions[] = array('name' => 'Favorite',
'version' => self::MODULE_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://gnu.io/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'rawdescription' =>
// TRANS: Plugin description.
_m('Favorites (likes) using ActivityStreams.'));

查看文件

@ -32,7 +32,7 @@ class HTMLPurifierSchemesModule extends Module
$versions[] = array('name' => 'HTMLPurifier Schemes',
'version' => self::MODULE_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'https://gnu.io/social',
'homepage' => GNUSOCIAL_ENGINE_URL,
'rawdescription' =>
// TRANS: Module description.
_m('Additional URI schemes for HTMLPurifier.'));

查看文件

@ -373,7 +373,7 @@ class ShareModule extends ActivityVerbHandlerModule
$versions[] = array('name' => 'Share verb',
'version' => self::MODULE_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'https://gnu.io/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'rawdescription' =>
// TRANS: Plugin description.
_m('Shares (repeats) using ActivityStreams.'));

查看文件

@ -94,7 +94,7 @@ class AccountManagerPlugin extends Plugin
$versions[] = array('name' => 'AccountManager',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AccountManager',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/AccountManager',
'rawdescription' =>
// TRANS: Plugin description.
_m('The Account Manager plugin implements the Account Manager specification.'));

查看文件

@ -224,7 +224,7 @@ class ActivitySpamPlugin extends Plugin
$versions[] = array('name' => 'ActivitySpam',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ActivitySpam',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ActivitySpam',
'description' =>
_m('Test notices against the Activity Spam service.'));
return true;

查看文件

@ -273,7 +273,7 @@ class AnonymousFavePlugin extends Plugin
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AnonymousFave';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/AnonymousFave';
$versions[] = array('name' => 'AnonymousFave',
'version' => ANONYMOUS_FAVE_PLUGIN_VERSION,

查看文件

@ -74,7 +74,7 @@ class AntiBrutePlugin extends Plugin {
$versions[] = array('name' => 'AntiBrute',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://gnu.io/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Anti bruteforce method(s).'));

查看文件

@ -81,7 +81,7 @@ class ApiLoggerPlugin extends Plugin
$versions[] = array('name' => 'ApiLogger',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ApiLogger',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ApiLogger',
'rawdescription' =>
// TRANS: Plugin description.
_m('Allows random sampling of API requests.'));

查看文件

@ -62,7 +62,7 @@ class AutoSandboxPlugin extends Plugin
$versions[] = array('name' => 'AutoSandbox',
'version' => self::PLUGIN_VERSION,
'author' => 'Sean Carmody',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AutoSandbox',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/AutoSandbox',
'rawdescription' =>
// TRANS: Plugin description.
_m('Automatically sandboxes newly registered members.'));

查看文件

@ -59,7 +59,7 @@ class AutocompletePlugin extends Plugin
$versions[] = array('name' => 'Autocomplete',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Autocomplete',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Autocomplete',
'rawdescription' =>
// TRANS: Plugin description.
_m('The autocomplete plugin adds autocompletion for @ replies.'));

查看文件

@ -151,7 +151,7 @@ class BitlyUrlPlugin extends UrlShortenerPlugin
$versions[] = array('name' => sprintf('BitlyUrl (%s)', $this->shortenerName),
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews, Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BitlyUrl',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/BitlyUrl',
'rawdescription' =>
// TRANS: Plugin description. %1$s is the URL shortening service base URL (for example "bit.ly").
sprintf(_m('Uses <a href="http://%1$s/">%1$s</a> URL-shortener service.'),

查看文件

@ -269,7 +269,7 @@ class BlacklistPlugin extends Plugin
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' =>
'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Blacklist',
GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Blacklist',
'description' =>
// TRANS: Plugin description.
_m('Keeps a blacklist of forbidden nickname '.

查看文件

@ -153,7 +153,7 @@ class BlogspamNetPlugin extends Plugin
$versions[] = array('name' => 'BlogspamNet',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou, Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BlogspamNet',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/BlogspamNet',
'rawdescription' =>
// TRANS: Plugin description.
_m('Plugin to check submitted notices with blogspam.net.'));

查看文件

@ -183,7 +183,7 @@ class BookmarkPlugin extends MicroAppPlugin
$versions[] = array('name' => 'Bookmark',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou, Stephane Berube, Jean Baptiste Favre, Mikael Nordfeldth',
'homepage' => 'https://gnu.io/social',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Plugin for posting bookmarks. ') .

查看文件

@ -103,7 +103,7 @@ class CacheLogPlugin extends Plugin
$versions[] = array('name' => 'CacheLog',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/CacheLog',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/CacheLog',
'description' =>
// TRANS: Plugin description.
_m('Log reads and writes to the cache.'));

查看文件

@ -135,7 +135,7 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
$versions[] = array('name' => 'CAS Authentication',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/CasAuthentication',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/CasAuthentication',
// TRANS: Plugin description. CAS is Central Authentication Service.
'rawdescription' => _m('The CAS Authentication plugin allows for StatusNet to handle authentication through CAS (Central Authentication Service).'));
return true;

查看文件

@ -61,7 +61,7 @@ class ClientSideShortenPlugin extends Plugin
$versions[] = array('name' => 'Shorten',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ClientSideShorten',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ClientSideShorten',
'rawdescription' =>
// TRANS: Plugin description.
_m('ClientSideShorten causes the web interface\'s notice form to automatically shorten URLs as they entered, and before the notice is submitted.'));

查看文件

@ -116,7 +116,7 @@ class CometPlugin extends RealtimePlugin
'name' => 'Comet',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Comet',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Comet',
'rawdescription' =>
// TRANS: Plugin description message. Bayeux is a protocol for transporting asynchronous messages
// TRANS: and Comet is a web application model.

查看文件

@ -44,7 +44,7 @@ class ConversationTreePlugin extends Plugin
'name' => 'ConversationTree',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou, Mikael Nordfeldth',
'homepage' => 'http://gnu.io/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'rawdescription' =>
// TRANS: Module description.
_m('Enables conversation tree view.')

查看文件

@ -52,7 +52,7 @@ class CronishPlugin extends Plugin {
$versions[] = array('name' => 'Cronish',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://www.gnu.org/software/social/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Cronish plugin that executes events on a near-minutely/hour/day/week basis.'));

查看文件

@ -83,7 +83,7 @@ class DiasporaPlugin extends Plugin
$versions[] = array('name' => 'Diaspora',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'https://gnu.io/social',
'homepage' => GNUSOCIAL_ENGINE_URL,
// TRANS: Plugin description.
'rawdescription' => _m('Follow people across social networks that implement '.
'the <a href="https://diasporafoundation.org/">Diaspora</a> federation protocol.'));

查看文件

@ -246,7 +246,7 @@ class DirectionDetectorPlugin extends Plugin {
* plugin details
*/
public function onPluginVersion(array &$versions): bool{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DirectionDetector';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/DirectionDetector';
$versions[] = array(
'name' => 'Direction detector',

查看文件

@ -239,7 +239,7 @@ class DirectoryPlugin extends Plugin
'name' => 'Directory',
'version' => self::PLUGIN_VERSION,
'author' => 'Zach Copley',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Directory',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Directory',
// TRANS: Plugin description.
'rawdescription' => _m('Add a user directory.')
);

查看文件

@ -163,7 +163,7 @@ class DiskCachePlugin extends Plugin
$versions[] = array('name' => 'DiskCache',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DiskCache',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/DiskCache',
'rawdescription' =>
// TRANS: Plugin description.
_m('Plugin to implement cache interface with disk files.'));

查看文件

@ -197,7 +197,7 @@ class DomainStatusNetworkPlugin extends Plugin
$versions[] = array('name' => 'DomainStatusNetwork',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DomainStatusNetwork',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/DomainStatusNetwork',
'rawdescription' =>
// TRANS: Plugin description.
_m('A plugin that maps a single status_network to an email domain.'));

查看文件

@ -274,7 +274,7 @@ class DomainWhitelistPlugin extends Plugin
$versions[] = array('name' => 'DomainWhitelist',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou, Zach Copley',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DomainWhitelist',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/DomainWhitelist',
'rawdescription' =>
// TRANS: Plugin description.
_m('Restrict domains for email users.'));

查看文件

@ -56,7 +56,7 @@ class EmailAuthenticationPlugin extends Plugin
$versions[] = array('name' => 'Email Authentication',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailAuthentication',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/EmailAuthentication',
'rawdescription' =>
// TRANS: Plugin description.
_m('The Email Authentication plugin allows users to login using their email address.'));

查看文件

@ -179,7 +179,7 @@ class EmailRegistrationPlugin extends Plugin
$versions[] = array('name' => 'EmailRegistration',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailRegistration',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/EmailRegistration',
'rawdescription' =>
// TRANS: Plugin description.
_m('Use email only for registration.'));

查看文件

@ -187,7 +187,7 @@ class EmailReminderPlugin extends Plugin
'name' => 'EmailReminder',
'version' => self::PLUGIN_VERSION,
'author' => 'Zach Copley',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailReminder',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/EmailReminder',
// TRANS: Plugin description.
'rawdescription' => _m('Send email reminders for various things.')
);

查看文件

@ -72,7 +72,7 @@ class EmailSummaryPlugin extends Plugin
$versions[] = array('name' => 'EmailSummary',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailSummary',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/EmailSummary',
'rawdescription' =>
// TRANS: Plugin description.
_m('Send an email summary of the inbox to users.'));

查看文件

@ -681,7 +681,7 @@ class EmbedPlugin extends Plugin
$versions[] = ['name' => 'Embed',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://gnu.io/social/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Plugin for using and representing oEmbed, OpenGraph and other data.')];

查看文件

@ -78,7 +78,7 @@ final class oEmbedTest extends TestCase
return [
['https://notabug.org/', 'link'],
['http://www.youtube.com/watch?v=eUgLR232Cnw', 'video'],
['https://gnu.io/', 'link'],
[GNUSOCIAL_ENGINE_URL, 'link'],
['https://www.gnu.org/graphics/heckert_gnu.transp.small.png', 'photo'],
['http://vimeo.com/9283184', 'video'],
['http://leuksman.com/log/2010/10/29/statusnet-0-9-6-release/', 'none'],

查看文件

@ -104,7 +104,7 @@ class EventPlugin extends ActivityVerbHandlerPlugin
$versions[] = array('name' => 'Event',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Event',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Event',
'description' =>
// TRANS: Plugin description.
_m('Event invitations and RSVPs.'));

查看文件

@ -41,7 +41,7 @@ class ExtendedProfilePlugin extends Plugin
'name' => 'ExtendedProfile',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber, Samantha Doherty, Zach Copley, Max Shinn, Diogo Cordeiro',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ExtendedProfile',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ExtendedProfile',
// TRANS: Module description.
'rawdescription' => _m('UI extensions for additional profile fields.')
];

查看文件

@ -54,7 +54,7 @@ class FeedPollerPlugin extends Plugin {
$versions[] = array('name' => 'FeedPoller',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://www.gnu.org/software/social/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Feed polling plugin to avoid using external push hubs.'));

查看文件

@ -112,7 +112,7 @@ class FetchRemotePlugin extends Plugin
$versions[] = array('name' => 'FetchRemote',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://www.gnu.org/software/social/',
'homepage' => GNUSOCIAL_ENGINE_URL,
// TRANS: Plugin description.
'rawdescription' => _m('Retrieves remote notices (and serves local) via WebFinger'));

查看文件

@ -172,7 +172,7 @@ class FollowEveryonePlugin extends Plugin
$versions[] = array('name' => 'FollowEveryone',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/FollowEveryone',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/FollowEveryone',
'rawdescription' =>
// TRANS: Plugin description.
_m('New users follow everyone at registration and are followed in return.'));

查看文件

@ -126,7 +126,7 @@ class ForceGroupPlugin extends Plugin
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ForceGroup';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ForceGroup';
$versions[] = array('name' => 'ForceGroup',
'version' => self::PLUGIN_VERSION,

查看文件

@ -494,7 +494,7 @@ class GeonamesPlugin extends Plugin
$versions[] = array('name' => 'Geonames',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Geonames',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Geonames',
'rawdescription' =>
// TRANS: Plugin description.
_m('Uses <a href="http://geonames.org/">Geonames</a> service to get human-readable '.

查看文件

@ -79,7 +79,7 @@ class GroupFavoritedPlugin extends Plugin
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GroupFavorited';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/GroupFavorited';
$versions[] = ['name' => 'GroupFavorited',
'version' => self::PLUGIN_VERSION,

查看文件

@ -412,7 +412,7 @@ class GroupPrivateMessagePlugin extends Plugin
$versions[] = array('name' => 'GroupPrivateMessage',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GroupPrivateMessage',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/GroupPrivateMessage',
'rawdescription' =>
// TRANS: Plugin description.
_m('Allow posting private messages to groups.'));

查看文件

@ -139,7 +139,7 @@ class ImageMagickPlugin extends Plugin
$versions[] = array('name' => 'ImageMagick',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://gnu.io/social',
'homepage' => GNUSOCIAL_ENGINE_URL,
'rawdescription' =>
// TRANS: Plugin description.
_m('Use ImageMagick for some more image support.'));

查看文件

@ -83,7 +83,7 @@ class ImapPlugin extends Plugin
$versions[] = array('name' => 'IMAP',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/IMAP',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/IMAP',
'rawdescription' =>
// TRANS: Plugin description.
_m('The IMAP plugin allows for StatusNet to check a POP or IMAP mailbox for incoming mail containing user posts.'));

查看文件

@ -173,7 +173,7 @@ class InProcessCachePlugin extends Plugin
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/InProcessCache';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/InProcessCache';
$versions[] = array('name' => 'InProcessCache',
'version' => self::PLUGIN_VERSION,

查看文件

@ -45,7 +45,7 @@ class InfiniteScrollPlugin extends Plugin
'name' => 'InfiniteScroll',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/InfiniteScroll',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/InfiniteScroll',
'rawdescription' =>
// TRANS: Plugin dscription.
_m('Infinite Scroll adds the following functionality to your StatusNet installation: When a user scrolls towards the bottom of the page, the next page of notices is automatically retrieved and appended. This means they never need to click "Next Page", which dramatically increases stickiness.')

查看文件

@ -59,7 +59,7 @@ class LRDDPlugin extends Plugin
$versions[] = array('name' => 'LRDD',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://www.gnu.org/software/social/',
'homepage' => GNUSOCIAL_ENGINE_URL,
// TRANS: Plugin description.
'rawdescription' => _m('Implements LRDD support for GNU Social.'));

查看文件

@ -148,7 +148,7 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin
$versions[] = array('name' => 'LDAP Authentication',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LdapAuthentication',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/LdapAuthentication',
'rawdescription' =>
// TRANS: Plugin description.
_m('The LDAP Authentication plugin allows for StatusNet to handle authentication through LDAP.'));

查看文件

@ -125,7 +125,7 @@ class LdapAuthorizationPlugin extends AuthorizationPlugin
$versions[] = array('name' => 'LDAP Authorization',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LdapAuthorization',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/LdapAuthorization',
'rawdescription' =>
// TRANS: Plugin description.
_m('The LDAP Authorization plugin allows for StatusNet to handle authorization through LDAP.'));

查看文件

@ -64,7 +64,7 @@ class LilUrlPlugin extends UrlShortenerPlugin
$versions[] = array('name' => sprintf('LilUrl (%s)', $this->shortenerName),
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LilUrl',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/LilUrl',
'rawdescription' =>
// TRANS: Plugin description.
// TRANS: %1$s is the service URL.

查看文件

@ -36,7 +36,7 @@ class LinkPreviewPlugin extends Plugin
$versions[] = array('name' => 'LinkPreview',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LinkPreview',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/LinkPreview',
'rawdescription' =>
// TRANS: Plugin description.
_m('UI extension for previewing thumbnails from links.'));

查看文件

@ -360,7 +360,7 @@ class LinkbackPlugin extends Plugin
$versions[] = array('name' => 'Linkback',
'version' => LINKBACKPLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Linkback',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Linkback',
'rawdescription' =>
// TRANS: Plugin description.
_m('Notify blog authors when their posts have been linked in '.

查看文件

@ -46,7 +46,7 @@ class LogFilterPlugin extends Plugin
$versions[] = array('name' => 'LogFilter',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LogFilter',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/LogFilter',
'rawdescription' =>
// TRANS: Plugin description.
_m('Provides server-side setting to filter log output by type or keyword.'));

查看文件

@ -170,7 +170,7 @@ class MapstractionPlugin extends Plugin
$versions[] = array('name' => 'Mapstraction',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Mapstraction',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Mapstraction',
'rawdescription' =>
// TRANS: Plugin description.
_m('Show maps of users\' and friends\' notices '.

查看文件

@ -264,7 +264,7 @@ class MemcachedPlugin extends Plugin
$versions[] = array('name' => 'Memcached',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou, Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Memcached',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Memcached',
'rawdescription' =>
// TRANS: Plugin description.
_m('Use <a href="http://memcached.org/">Memcached</a> to cache query results.'));

查看文件

@ -77,7 +77,7 @@ class MentionURLPlugin extends Plugin
$versions[] = array('name' => 'MentionURL',
'version' => self::PLUGIN_VERSION,
'author' => 'Stephen Paul Weber',
'homepage' => 'http://gnu.io/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Plugin to allow mentioning arbitrary URLs.'));

查看文件

@ -180,7 +180,7 @@ class MeteorPlugin extends RealtimePlugin
'name' => 'Meteor',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Meteor',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Meteor',
'rawdescription' =>
// TRANS: Plugin description.
_m('Plugin to do "real time" updates using Meteor.')

查看文件

@ -375,7 +375,7 @@ class MobileProfilePlugin extends WAP20Plugin
$versions[] = array('name' => 'MobileProfile',
'version' => self::PLUGIN_VERSION,
'author' => 'Sarven Capadisli',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/MobileProfile',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/MobileProfile',
'rawdescription' =>
// TRANS: Plugin description.
_m('XHTML MobileProfile output for supporting user agents.'));

查看文件

@ -34,7 +34,7 @@ class ModHelperPlugin extends Plugin
$versions[] = array('name' => 'ModHelper',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ModHelper',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ModHelper',
'rawdescription' =>
// TRANS: Plugin description.
_m('Lets users who have been manually marked as "modhelper"s silence accounts.'));

查看文件

@ -180,7 +180,7 @@ class ModLogPlugin extends Plugin
$versions[] = array('name' => 'ModLog',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ModLog',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ModLog',
'description' =>
_m('Show the moderation history for a profile in the sidebar'));
return true;

查看文件

@ -34,7 +34,7 @@ class ModPlusPlugin extends Plugin
$versions[] = array('name' => 'ModPlus',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ModPlus',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ModPlus',
'rawdescription' =>
// TRANS: Plugin description.
_m('UI extension for profile moderation actions.'));

查看文件

@ -34,7 +34,7 @@ defined('GNUSOCIAL') || die();
*/
class NodeinfoPlugin extends Plugin
{
const PLUGIN_VERSION = '2.0.0';
const PLUGIN_VERSION = '2.0.1';
public function onRouterInitialized($m): bool
{

查看文件

@ -384,8 +384,8 @@ class Nodeinfo_2_0Action extends Action
$metadata = [
'nodeName' => common_config('site', 'name'),
'software' => [
'homepage' => 'https://gnu.social/',
'repository' => 'https://notabug.org/diogo/gnu-social',
'homepage' => GNUSOCIAL_ENGINE_URL,
'repository' => GNUSOCIAL_ENGINE_REPO_URL,
],
'uploadLimit' => common_get_preferred_php_upload_limit(),
'postFormats' => [

查看文件

@ -86,7 +86,7 @@ class NoticeTitlePlugin extends Plugin
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/NoticeTitle';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/NoticeTitle';
$versions[] = array('name' => 'NoticeTitle',
'version' => NOTICE_TITLE_PLUGIN_VERSION,

查看文件

@ -1432,7 +1432,7 @@ class OStatusPlugin extends Plugin
$versions[] = array('name' => 'OStatus',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou, James Walker, Brion Vibber, Zach Copley',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OStatus',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/OStatus',
// TRANS: Plugin description.
'rawdescription' => _m('Follow people across social networks that implement '.
'<a href="http://ostatus.org/">OStatus</a>.'));

查看文件

@ -80,7 +80,7 @@ class OfflineBackupPlugin extends Plugin
'name' => 'OfflineBackup',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OfflineBackup',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/OfflineBackup',
'rawdescription' =>
// TRANS: Module description.
_m('Backup user data in offline queue and email when ready.')

查看文件

@ -56,7 +56,7 @@ class OpenExternalLinkTargetPlugin extends Plugin
$versions[] = array('name' => 'OpenExternalLinkTarget',
'version' => self::PLUGIN_VERSION,
'author' => 'Sarven Capadisli',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OpenExternalLinkTarget',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/OpenExternalLinkTarget',
'rawdescription' =>
// TRANS: Plugin description.
_m('Opens external links (i.e. with rel=external) on a new window or tab.'));

查看文件

@ -601,7 +601,7 @@ class OpenIDPlugin extends Plugin
$versions[] = array('name' => 'OpenID',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou, Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OpenID',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/OpenID',
'rawdescription' =>
// TRANS: Plugin description.
_m('Use <a href="http://openid.net/">OpenID</a> to login to the site.'));

查看文件

@ -39,7 +39,7 @@ class OpportunisticQMPlugin extends Plugin {
$versions[] = array('name' => 'OpportunisticQM',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://www.gnu.org/software/social/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Opportunistic queue manager plugin for background processing.'));

查看文件

@ -157,7 +157,7 @@ class OrbitedPlugin extends RealtimePlugin
$versions[] = array('name' => 'Orbited',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Orbited',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Orbited',
'rawdescription' =>
// TRANS: Plugin description.
_m('Plugin to make updates using Orbited and STOMP.'));

查看文件

@ -110,7 +110,7 @@ ENDOFPIWIK;
$versions[] = array('name' => 'PiwikAnalytics',
'version' => self::PLUGIN_VERSION,
'author' => 'Tobias Diekershoff, Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Piwik',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Piwik',
'rawdescription' =>
// TRANS: Plugin description.
_m('Use <a href="http://piwik.org/">Piwik</a> Open Source web analytics software.'));

查看文件

@ -126,7 +126,7 @@ class PollPlugin extends MicroAppPlugin
$versions[] = array('name' => 'Poll',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Poll',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Poll',
'rawdescription' =>
// TRANS: Plugin description.
_m('Simple extension for supporting basic polls.'));

查看文件

@ -55,7 +55,7 @@ class PostDebugPlugin extends Plugin
$versions[] = array('name' => 'PostDebug',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/PostDebug',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/PostDebug',
'rawdescription' =>
// TRANS: Plugin description.
_m('Debugging tool to record request details on POST.'));

查看文件

@ -64,7 +64,7 @@ class PtitUrlPlugin extends UrlShortenerPlugin
$versions[] = array('name' => sprintf('PtitUrl (%s)', $this->shortenerName),
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/PtitUrl',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/PtitUrl',
'rawdescription' =>
// TRANS: Plugin description. %1$s is the URL shortening service base URL (for example "bit.ly").
sprintf(_m('Uses <a href="http://%1$s/">%1$s</a> URL-shortener service.'),

查看文件

@ -124,7 +124,7 @@ class QnAPlugin extends MicroAppPlugin
'name' => 'QnA',
'version' => self::PLUGIN_VERSION,
'author' => 'Zach Copley',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/QnA',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/QnA',
'description' =>
// TRANS: Plugin description.
_m('Question and Answers micro-app.')

查看文件

@ -203,7 +203,7 @@ class RSSCloudPlugin extends Plugin
$versions[] = array('name' => 'RSSCloud',
'version' => RSSCLOUDPLUGIN_VERSION,
'author' => 'Zach Copley',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/RSSCloud',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/RSSCloud',
'rawdescription' =>
// TRANS: Plugin description.
_m('The RSSCloud plugin enables your StatusNet instance to publish ' .

查看文件

@ -243,7 +243,7 @@ class RegisterThrottlePlugin extends Plugin
$versions[] = array('name' => 'RegisterThrottle',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/RegisterThrottle',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/RegisterThrottle',
'description' =>
// TRANS: Plugin description.
_m('Throttles excessive registration from a single IP address.'));

查看文件

@ -215,7 +215,7 @@ class RequireValidatedEmailPlugin extends Plugin
'Evan Prodromou, '.
'Brion Vibber',
'homepage' =>
'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/RequireValidatedEmail',
GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/RequireValidatedEmail',
'rawdescription' =>
// TRANS: Plugin description.
_m('Disables posting without a validated email address.'));

查看文件

@ -63,7 +63,7 @@ class ReverseUsernameAuthenticationPlugin extends AuthenticationPlugin
$versions[] = array('name' => 'Reverse Username Authentication',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ReverseUsernameAuthentication',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ReverseUsernameAuthentication',
'rawdescription' =>
// TRANS: Plugin description.
_m('The Reverse Username Authentication plugin allows for StatusNet to handle authentication by checking if the provided password is the same as the reverse of the username.'));

查看文件

@ -38,7 +38,7 @@ class SQLProfilePlugin extends Plugin
$versions[] = array('name' => 'SQLProfile',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SQLProfile',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/SQLProfile',
'rawdescription' =>
// TRANS: Plugin description.
_m('Debug tool to watch for poorly indexed DB queries.'));

查看文件

@ -41,7 +41,7 @@ class SQLStatsPlugin extends Plugin
$versions[] = array('name' => 'SQLStats',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SQLStats',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/SQLStats',
'rawdescription' =>
// TRANS: Plugin decription.
_m('Debug tool to watch for poorly indexed DB queries.'));

查看文件

@ -85,7 +85,7 @@ class SearchSubPlugin extends Plugin
$versions[] = array('name' => 'SearchSub',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SearchSub',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/SearchSub',
'rawdescription' =>
// TRANS: Module description.
_m('Module to allow following all messages with a given search.'));

查看文件

@ -213,7 +213,7 @@ class FacebookShareTarget extends NoticeShareTarget
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ShareNotice';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/ShareNotice';
$versions[] = array('name' => 'ShareNotice',
'version' => self::PLUGIN_VERSION,

查看文件

@ -66,7 +66,7 @@ class SimpleCaptchaPlugin extends Plugin
$versions[] = array('name' => 'Simple Captcha',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'https://gnu.io/social',
'homepage' => GNUSOCIAL_ENGINE_URL,
'rawdescription' =>
// TRANS: Plugin description.
_m('A simple captcha to get rid of spambots.'));

查看文件

@ -54,7 +54,7 @@ class SimpleUrlPlugin extends UrlShortenerPlugin
$versions[] = array('name' => sprintf('SimpleUrl (%s)', $this->shortenerName),
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SimpleUrl',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/SimpleUrl',
'rawdescription' =>
// TRANS: Plugin description.
sprintf(_m('Uses <a href="http://%1$s/">%1$s</a> URL-shortener service.'),

查看文件

@ -181,7 +181,7 @@ class SitemapPlugin extends Plugin
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Sitemap';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/Sitemap';
$versions[] = array('name' => 'Sitemap',
'version' => self::PLUGIN_VERSION,

查看文件

@ -99,7 +99,7 @@ class SlicedFavoritesPlugin extends Plugin
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SlicedFavorites';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/SlicedFavorites';
$versions[] = array('name' => 'SlicedFavorites',
'version' => self::PLUGIN_VERSION,

查看文件

@ -109,7 +109,7 @@ class SphinxSearchPlugin extends Plugin
*/
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SphinxSearch';
$url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/SphinxSearch';
$versions[] = array('name' => 'SphinxSearch',
'version' => self::PLUGIN_VERSION,

查看文件

@ -214,7 +214,7 @@ class StoreRemoteMediaPlugin extends Plugin
$versions[] = array('name' => 'StoreRemoteMedia',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'https://gnu.io/',
'homepage' => GNUSOCIAL_ENGINE_URL,
'description' =>
// TRANS: Plugin description.
_m('Plugin for downloading remotely attached files to local server.'));

查看文件

@ -57,7 +57,7 @@ class StrictTransportSecurityPlugin extends Plugin
$versions[] = array('name' => 'StrictTransportSecurity',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/StrictTransportSecurity',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/StrictTransportSecurity',
'rawdescription' =>
// TRANS: Plugin description.
_m('The Strict Transport Security plugin implements the Strict Transport Security header, improving the security of HTTPS only sites.'));

查看文件

@ -64,7 +64,7 @@ class SubMirrorPlugin extends Plugin
$versions[] = array('name' => 'SubMirror',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SubMirror',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/SubMirror',
'rawdescription' =>
// TRANS: Plugin description.
_m('Pull feeds into your timeline!'));

查看文件

@ -164,7 +164,7 @@ class SubscriptionThrottlePlugin extends Plugin
$versions[] = array('name' => 'SubscriptionThrottle',
'version' => self::PLUGIN_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SubscriptionThrottle',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/SubscriptionThrottle',
'rawdescription' =>
// TRANS: Plugin description.
_m('Configurable limits for subscriptions and group memberships.'));

查看文件

@ -51,7 +51,7 @@ class TabFocusPlugin extends Plugin
$versions[] = array('name' => 'TabFocus',
'version' => self::PLUGIN_VERSION,
'author' => 'Craig Andrews and Paul Irish',
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/TabFocus',
'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/TabFocus',
'rawdescription' =>
// TRANS: Plugin description.
_m('TabFocus changes the notice form behavior so that, while in the text area, pressing the tab key focuses the "Send" button, matching the behavior of Twitter.'));

本差異變更的檔案數量過多導致部分檔案未顯示 顯示更多