diff --git a/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/Awesomeness/includes/AwesomenessPlugin.php b/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/Awesomeness/includes/AwesomenessPlugin.php index 14889baee9..f41cace015 100644 --- a/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/Awesomeness/includes/AwesomenessPlugin.php +++ b/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/Awesomeness/includes/AwesomenessPlugin.php @@ -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.') diff --git a/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/BlankAd/includes/BlankAdPlugin.php b/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/BlankAd/includes/BlankAdPlugin.php index 7581d5e6ba..cea6c7312a 100644 --- a/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/BlankAd/includes/BlankAdPlugin.php +++ b/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/BlankAd/includes/BlankAdPlugin.php @@ -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.')); diff --git a/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/Sample/includes/SamplePlugin.php b/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/Sample/includes/SamplePlugin.php index 88026860b3..cc728d789b 100644 --- a/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/Sample/includes/SamplePlugin.php +++ b/DOCUMENTATION/DEVELOPERS/Plugins/Sample Plugins/Sample/includes/SamplePlugin.php @@ -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.') diff --git a/lib/feeds/atom10feed.php b/lib/feeds/atom10feed.php index a2bd3af3de..b4fb4a745c 100644 --- a/lib/feeds/atom10feed.php +++ b/lib/feeds/atom10feed.php @@ -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' diff --git a/lib/util/framework.php b/lib/util/framework.php index 0fca2e2349..a2cd185d9f 100644 --- a/lib/util/framework.php +++ b/lib/util/framework.php @@ -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' diff --git a/modules/Activity/ActivityModule.php b/modules/Activity/ActivityModule.php index bbcab96a4a..55d4d45565 100644 --- a/modules/Activity/ActivityModule.php +++ b/modules/Activity/ActivityModule.php @@ -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.')); diff --git a/modules/ActivityVerbPost/ActivityVerbPostModule.php b/modules/ActivityVerbPost/ActivityVerbPostModule.php index 9d71ec73fa..f0b70219fe 100644 --- a/modules/ActivityVerbPost/ActivityVerbPostModule.php +++ b/modules/ActivityVerbPost/ActivityVerbPostModule.php @@ -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.')); diff --git a/modules/AuthCrypt/AuthCryptModule.php b/modules/AuthCrypt/AuthCryptModule.php index 8ec2a1a362..dcacd3cfc6 100644 --- a/modules/AuthCrypt/AuthCryptModule.php +++ b/modules/AuthCrypt/AuthCryptModule.php @@ -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()')); diff --git a/modules/Favorite/FavoriteModule.php b/modules/Favorite/FavoriteModule.php index c72214f401..4073690d06 100644 --- a/modules/Favorite/FavoriteModule.php +++ b/modules/Favorite/FavoriteModule.php @@ -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.')); diff --git a/modules/HTMLPurifierSchemes/HTMLPurifierSchemesModule.php b/modules/HTMLPurifierSchemes/HTMLPurifierSchemesModule.php index b94bd1bba2..59fe4ab911 100644 --- a/modules/HTMLPurifierSchemes/HTMLPurifierSchemesModule.php +++ b/modules/HTMLPurifierSchemes/HTMLPurifierSchemesModule.php @@ -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.')); diff --git a/modules/Share/ShareModule.php b/modules/Share/ShareModule.php index b37fab7c40..1ffff676ca 100644 --- a/modules/Share/ShareModule.php +++ b/modules/Share/ShareModule.php @@ -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.')); diff --git a/plugins/AccountManager/AccountManagerPlugin.php b/plugins/AccountManager/AccountManagerPlugin.php index 5b0dfaf399..d59e8f2f9d 100644 --- a/plugins/AccountManager/AccountManagerPlugin.php +++ b/plugins/AccountManager/AccountManagerPlugin.php @@ -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.')); diff --git a/plugins/ActivitySpam/ActivitySpamPlugin.php b/plugins/ActivitySpam/ActivitySpamPlugin.php index 582dfbf355..a04e609183 100644 --- a/plugins/ActivitySpam/ActivitySpamPlugin.php +++ b/plugins/ActivitySpam/ActivitySpamPlugin.php @@ -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; diff --git a/plugins/AnonymousFave/AnonymousFavePlugin.php b/plugins/AnonymousFave/AnonymousFavePlugin.php index 8396bbdd20..662e5da5e3 100644 --- a/plugins/AnonymousFave/AnonymousFavePlugin.php +++ b/plugins/AnonymousFave/AnonymousFavePlugin.php @@ -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, diff --git a/plugins/AntiBrute/AntiBrutePlugin.php b/plugins/AntiBrute/AntiBrutePlugin.php index ca13680a28..e51ac4aa54 100644 --- a/plugins/AntiBrute/AntiBrutePlugin.php +++ b/plugins/AntiBrute/AntiBrutePlugin.php @@ -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).')); diff --git a/plugins/ApiLogger/ApiLoggerPlugin.php b/plugins/ApiLogger/ApiLoggerPlugin.php index 24100bc180..21e2d800be 100644 --- a/plugins/ApiLogger/ApiLoggerPlugin.php +++ b/plugins/ApiLogger/ApiLoggerPlugin.php @@ -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.')); diff --git a/plugins/AutoSandbox/AutoSandboxPlugin.php b/plugins/AutoSandbox/AutoSandboxPlugin.php index c8fba8d37d..f024b27f61 100644 --- a/plugins/AutoSandbox/AutoSandboxPlugin.php +++ b/plugins/AutoSandbox/AutoSandboxPlugin.php @@ -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.')); diff --git a/plugins/Autocomplete/AutocompletePlugin.php b/plugins/Autocomplete/AutocompletePlugin.php index bb59f4a0c7..a4530bf2fe 100644 --- a/plugins/Autocomplete/AutocompletePlugin.php +++ b/plugins/Autocomplete/AutocompletePlugin.php @@ -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.')); diff --git a/plugins/BitlyUrl/BitlyUrlPlugin.php b/plugins/BitlyUrl/BitlyUrlPlugin.php index 3ae5e93c0e..7bcf44f8c9 100644 --- a/plugins/BitlyUrl/BitlyUrlPlugin.php +++ b/plugins/BitlyUrl/BitlyUrlPlugin.php @@ -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 %1$s URL-shortener service.'), diff --git a/plugins/Blacklist/BlacklistPlugin.php b/plugins/Blacklist/BlacklistPlugin.php index c68d604399..dd83d6d7e0 100644 --- a/plugins/Blacklist/BlacklistPlugin.php +++ b/plugins/Blacklist/BlacklistPlugin.php @@ -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 '. diff --git a/plugins/BlogspamNet/BlogspamNetPlugin.php b/plugins/BlogspamNet/BlogspamNetPlugin.php index 85741bcddb..d584852d2e 100644 --- a/plugins/BlogspamNet/BlogspamNetPlugin.php +++ b/plugins/BlogspamNet/BlogspamNetPlugin.php @@ -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.')); diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index ecb2474caf..fe106dac1c 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -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. ') . diff --git a/plugins/CacheLog/CacheLogPlugin.php b/plugins/CacheLog/CacheLogPlugin.php index 346d5e769b..ca9b9a4e99 100644 --- a/plugins/CacheLog/CacheLogPlugin.php +++ b/plugins/CacheLog/CacheLogPlugin.php @@ -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.')); diff --git a/plugins/CasAuthentication/CasAuthenticationPlugin.php b/plugins/CasAuthentication/CasAuthenticationPlugin.php index a2a2e95920..be37aebced 100644 --- a/plugins/CasAuthentication/CasAuthenticationPlugin.php +++ b/plugins/CasAuthentication/CasAuthenticationPlugin.php @@ -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; diff --git a/plugins/ClientSideShorten/ClientSideShortenPlugin.php b/plugins/ClientSideShorten/ClientSideShortenPlugin.php index a813a20b11..17f403a16a 100644 --- a/plugins/ClientSideShorten/ClientSideShortenPlugin.php +++ b/plugins/ClientSideShorten/ClientSideShortenPlugin.php @@ -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.')); diff --git a/plugins/Comet/CometPlugin.php b/plugins/Comet/CometPlugin.php index 0a6e19b368..e9ee3e1d40 100644 --- a/plugins/Comet/CometPlugin.php +++ b/plugins/Comet/CometPlugin.php @@ -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. diff --git a/plugins/ConversationTree/ConversationTreePlugin.php b/plugins/ConversationTree/ConversationTreePlugin.php index 94a7534a00..67812b2991 100644 --- a/plugins/ConversationTree/ConversationTreePlugin.php +++ b/plugins/ConversationTree/ConversationTreePlugin.php @@ -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.') diff --git a/plugins/Cronish/CronishPlugin.php b/plugins/Cronish/CronishPlugin.php index 6cce362625..30c96ab3f8 100644 --- a/plugins/Cronish/CronishPlugin.php +++ b/plugins/Cronish/CronishPlugin.php @@ -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.')); diff --git a/plugins/Diaspora/DiasporaPlugin.php b/plugins/Diaspora/DiasporaPlugin.php index b38351c48e..2d4f0a3008 100644 --- a/plugins/Diaspora/DiasporaPlugin.php +++ b/plugins/Diaspora/DiasporaPlugin.php @@ -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 Diaspora federation protocol.')); diff --git a/plugins/DirectionDetector/DirectionDetectorPlugin.php b/plugins/DirectionDetector/DirectionDetectorPlugin.php index 928c9b4647..deaf820826 100644 --- a/plugins/DirectionDetector/DirectionDetectorPlugin.php +++ b/plugins/DirectionDetector/DirectionDetectorPlugin.php @@ -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', diff --git a/plugins/Directory/DirectoryPlugin.php b/plugins/Directory/DirectoryPlugin.php index 64948fa270..f8a5dc7cce 100644 --- a/plugins/Directory/DirectoryPlugin.php +++ b/plugins/Directory/DirectoryPlugin.php @@ -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.') ); diff --git a/plugins/DiskCache/DiskCachePlugin.php b/plugins/DiskCache/DiskCachePlugin.php index 2eb30ca6b5..3d6a0115db 100644 --- a/plugins/DiskCache/DiskCachePlugin.php +++ b/plugins/DiskCache/DiskCachePlugin.php @@ -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.')); diff --git a/plugins/DomainStatusNetwork/DomainStatusNetworkPlugin.php b/plugins/DomainStatusNetwork/DomainStatusNetworkPlugin.php index 71871a8807..2ee39647df 100644 --- a/plugins/DomainStatusNetwork/DomainStatusNetworkPlugin.php +++ b/plugins/DomainStatusNetwork/DomainStatusNetworkPlugin.php @@ -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.')); diff --git a/plugins/DomainWhitelist/DomainWhitelistPlugin.php b/plugins/DomainWhitelist/DomainWhitelistPlugin.php index b24a9c18ac..b6382afc17 100644 --- a/plugins/DomainWhitelist/DomainWhitelistPlugin.php +++ b/plugins/DomainWhitelist/DomainWhitelistPlugin.php @@ -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.')); diff --git a/plugins/EmailAuthentication/EmailAuthenticationPlugin.php b/plugins/EmailAuthentication/EmailAuthenticationPlugin.php index 00329f7453..02c7ac0a51 100644 --- a/plugins/EmailAuthentication/EmailAuthenticationPlugin.php +++ b/plugins/EmailAuthentication/EmailAuthenticationPlugin.php @@ -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.')); diff --git a/plugins/EmailRegistration/EmailRegistrationPlugin.php b/plugins/EmailRegistration/EmailRegistrationPlugin.php index 8bee399726..7f495aacef 100644 --- a/plugins/EmailRegistration/EmailRegistrationPlugin.php +++ b/plugins/EmailRegistration/EmailRegistrationPlugin.php @@ -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.')); diff --git a/plugins/EmailReminder/EmailReminderPlugin.php b/plugins/EmailReminder/EmailReminderPlugin.php index a25b3318d8..206d61ddbf 100644 --- a/plugins/EmailReminder/EmailReminderPlugin.php +++ b/plugins/EmailReminder/EmailReminderPlugin.php @@ -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.') ); diff --git a/plugins/EmailSummary/EmailSummaryPlugin.php b/plugins/EmailSummary/EmailSummaryPlugin.php index d5b0077132..4cf823b6b8 100644 --- a/plugins/EmailSummary/EmailSummaryPlugin.php +++ b/plugins/EmailSummary/EmailSummaryPlugin.php @@ -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.')); diff --git a/plugins/Embed/EmbedPlugin.php b/plugins/Embed/EmbedPlugin.php index e8f5578b30..232d7af55b 100644 --- a/plugins/Embed/EmbedPlugin.php +++ b/plugins/Embed/EmbedPlugin.php @@ -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.')]; diff --git a/plugins/Embed/tests/EmbedTest.php b/plugins/Embed/tests/EmbedTest.php index 17dab7ce50..497ec28d1e 100644 --- a/plugins/Embed/tests/EmbedTest.php +++ b/plugins/Embed/tests/EmbedTest.php @@ -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'], diff --git a/plugins/Event/EventPlugin.php b/plugins/Event/EventPlugin.php index 48d8fe3d5a..f31a7f1507 100644 --- a/plugins/Event/EventPlugin.php +++ b/plugins/Event/EventPlugin.php @@ -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.')); diff --git a/plugins/ExtendedProfile/ExtendedProfilePlugin.php b/plugins/ExtendedProfile/ExtendedProfilePlugin.php index 6f1571e9cb..4be57be552 100644 --- a/plugins/ExtendedProfile/ExtendedProfilePlugin.php +++ b/plugins/ExtendedProfile/ExtendedProfilePlugin.php @@ -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.') ]; diff --git a/plugins/FeedPoller/FeedPollerPlugin.php b/plugins/FeedPoller/FeedPollerPlugin.php index d60ffdb597..114edcddff 100644 --- a/plugins/FeedPoller/FeedPollerPlugin.php +++ b/plugins/FeedPoller/FeedPollerPlugin.php @@ -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.')); diff --git a/plugins/FetchRemote/FetchRemotePlugin.php b/plugins/FetchRemote/FetchRemotePlugin.php index be597e20f6..7402a7516b 100644 --- a/plugins/FetchRemote/FetchRemotePlugin.php +++ b/plugins/FetchRemote/FetchRemotePlugin.php @@ -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')); diff --git a/plugins/FollowEveryone/FollowEveryonePlugin.php b/plugins/FollowEveryone/FollowEveryonePlugin.php index f5496afd27..233e568b56 100644 --- a/plugins/FollowEveryone/FollowEveryonePlugin.php +++ b/plugins/FollowEveryone/FollowEveryonePlugin.php @@ -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.')); diff --git a/plugins/ForceGroup/ForceGroupPlugin.php b/plugins/ForceGroup/ForceGroupPlugin.php index b3f7b053eb..d71bdf7414 100644 --- a/plugins/ForceGroup/ForceGroupPlugin.php +++ b/plugins/ForceGroup/ForceGroupPlugin.php @@ -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, diff --git a/plugins/Geonames/GeonamesPlugin.php b/plugins/Geonames/GeonamesPlugin.php index 1e66ce2b26..33ea9d51c1 100644 --- a/plugins/Geonames/GeonamesPlugin.php +++ b/plugins/Geonames/GeonamesPlugin.php @@ -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 Geonames service to get human-readable '. diff --git a/plugins/GroupFavorited/GroupFavoritedPlugin.php b/plugins/GroupFavorited/GroupFavoritedPlugin.php index 889f455902..6aa57f9cc3 100644 --- a/plugins/GroupFavorited/GroupFavoritedPlugin.php +++ b/plugins/GroupFavorited/GroupFavoritedPlugin.php @@ -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, diff --git a/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php b/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php index 5c8ee1dd75..c616ba76b6 100644 --- a/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php +++ b/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php @@ -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.')); diff --git a/plugins/ImageMagick/ImageMagickPlugin.php b/plugins/ImageMagick/ImageMagickPlugin.php index 622a194574..8e87dad01b 100644 --- a/plugins/ImageMagick/ImageMagickPlugin.php +++ b/plugins/ImageMagick/ImageMagickPlugin.php @@ -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.')); diff --git a/plugins/Imap/ImapPlugin.php b/plugins/Imap/ImapPlugin.php index 23a079cae0..51b25b8550 100644 --- a/plugins/Imap/ImapPlugin.php +++ b/plugins/Imap/ImapPlugin.php @@ -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.')); diff --git a/plugins/InProcessCache/InProcessCachePlugin.php b/plugins/InProcessCache/InProcessCachePlugin.php index cb9aba27a0..8085582a4d 100644 --- a/plugins/InProcessCache/InProcessCachePlugin.php +++ b/plugins/InProcessCache/InProcessCachePlugin.php @@ -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, diff --git a/plugins/InfiniteScroll/InfiniteScrollPlugin.php b/plugins/InfiniteScroll/InfiniteScrollPlugin.php index 8478e64b20..c89c82e579 100644 --- a/plugins/InfiniteScroll/InfiniteScrollPlugin.php +++ b/plugins/InfiniteScroll/InfiniteScrollPlugin.php @@ -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.') diff --git a/plugins/LRDD/LRDDPlugin.php b/plugins/LRDD/LRDDPlugin.php index f6e0b41570..549d331bf2 100644 --- a/plugins/LRDD/LRDDPlugin.php +++ b/plugins/LRDD/LRDDPlugin.php @@ -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.')); diff --git a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php index 371d6fcf75..9a7239e736 100644 --- a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php +++ b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php @@ -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.')); diff --git a/plugins/LdapAuthorization/LdapAuthorizationPlugin.php b/plugins/LdapAuthorization/LdapAuthorizationPlugin.php index 328d2d3ea5..eeeb0fe8fc 100644 --- a/plugins/LdapAuthorization/LdapAuthorizationPlugin.php +++ b/plugins/LdapAuthorization/LdapAuthorizationPlugin.php @@ -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.')); diff --git a/plugins/LilUrl/LilUrlPlugin.php b/plugins/LilUrl/LilUrlPlugin.php index e85d9c9c73..cbfb1a8dbe 100644 --- a/plugins/LilUrl/LilUrlPlugin.php +++ b/plugins/LilUrl/LilUrlPlugin.php @@ -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. diff --git a/plugins/LinkPreview/LinkPreviewPlugin.php b/plugins/LinkPreview/LinkPreviewPlugin.php index c2b182d043..172a75d02f 100644 --- a/plugins/LinkPreview/LinkPreviewPlugin.php +++ b/plugins/LinkPreview/LinkPreviewPlugin.php @@ -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.')); diff --git a/plugins/Linkback/LinkbackPlugin.php b/plugins/Linkback/LinkbackPlugin.php index 0fce09502b..79b20e677f 100644 --- a/plugins/Linkback/LinkbackPlugin.php +++ b/plugins/Linkback/LinkbackPlugin.php @@ -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 '. diff --git a/plugins/LogFilter/LogFilterPlugin.php b/plugins/LogFilter/LogFilterPlugin.php index d518b1106b..1b7808b0d6 100644 --- a/plugins/LogFilter/LogFilterPlugin.php +++ b/plugins/LogFilter/LogFilterPlugin.php @@ -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.')); diff --git a/plugins/Mapstraction/MapstractionPlugin.php b/plugins/Mapstraction/MapstractionPlugin.php index cf93af10cb..0f83a13fb5 100644 --- a/plugins/Mapstraction/MapstractionPlugin.php +++ b/plugins/Mapstraction/MapstractionPlugin.php @@ -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 '. diff --git a/plugins/Memcached/MemcachedPlugin.php b/plugins/Memcached/MemcachedPlugin.php index 5466996542..a806298a22 100644 --- a/plugins/Memcached/MemcachedPlugin.php +++ b/plugins/Memcached/MemcachedPlugin.php @@ -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 Memcached to cache query results.')); diff --git a/plugins/MentionURL/MentionURLPlugin.php b/plugins/MentionURL/MentionURLPlugin.php index 79d8596842..bb3d1e5511 100644 --- a/plugins/MentionURL/MentionURLPlugin.php +++ b/plugins/MentionURL/MentionURLPlugin.php @@ -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.')); diff --git a/plugins/Meteor/MeteorPlugin.php b/plugins/Meteor/MeteorPlugin.php index 3dab95885d..e064ed2c8a 100644 --- a/plugins/Meteor/MeteorPlugin.php +++ b/plugins/Meteor/MeteorPlugin.php @@ -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.') diff --git a/plugins/MobileProfile/MobileProfilePlugin.php b/plugins/MobileProfile/MobileProfilePlugin.php index 75b718ed91..e71c72fdb6 100644 --- a/plugins/MobileProfile/MobileProfilePlugin.php +++ b/plugins/MobileProfile/MobileProfilePlugin.php @@ -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.')); diff --git a/plugins/ModHelper/ModHelperPlugin.php b/plugins/ModHelper/ModHelperPlugin.php index ce6749c8c8..9d7d2637c2 100644 --- a/plugins/ModHelper/ModHelperPlugin.php +++ b/plugins/ModHelper/ModHelperPlugin.php @@ -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.')); diff --git a/plugins/ModLog/ModLogPlugin.php b/plugins/ModLog/ModLogPlugin.php index 44a5529e90..dab0859132 100644 --- a/plugins/ModLog/ModLogPlugin.php +++ b/plugins/ModLog/ModLogPlugin.php @@ -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; diff --git a/plugins/ModPlus/ModPlusPlugin.php b/plugins/ModPlus/ModPlusPlugin.php index bd06656eb3..e096c935ca 100644 --- a/plugins/ModPlus/ModPlusPlugin.php +++ b/plugins/ModPlus/ModPlusPlugin.php @@ -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.')); diff --git a/plugins/Nodeinfo/NodeinfoPlugin.php b/plugins/Nodeinfo/NodeinfoPlugin.php index 6a3d4e84b3..9f32dafa78 100644 --- a/plugins/Nodeinfo/NodeinfoPlugin.php +++ b/plugins/Nodeinfo/NodeinfoPlugin.php @@ -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 { diff --git a/plugins/Nodeinfo/actions/nodeinfo_2_0.php b/plugins/Nodeinfo/actions/nodeinfo_2_0.php index f49b9462ce..5be14aecb0 100644 --- a/plugins/Nodeinfo/actions/nodeinfo_2_0.php +++ b/plugins/Nodeinfo/actions/nodeinfo_2_0.php @@ -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' => [ diff --git a/plugins/NoticeTitle/NoticeTitlePlugin.php b/plugins/NoticeTitle/NoticeTitlePlugin.php index 966e3480d6..08687a7c85 100644 --- a/plugins/NoticeTitle/NoticeTitlePlugin.php +++ b/plugins/NoticeTitle/NoticeTitlePlugin.php @@ -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, diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 091fa61027..e0b7fb5b9f 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -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 '. 'OStatus.')); diff --git a/plugins/OfflineBackup/OfflineBackupPlugin.php b/plugins/OfflineBackup/OfflineBackupPlugin.php index fcd0add545..5a52abe64c 100644 --- a/plugins/OfflineBackup/OfflineBackupPlugin.php +++ b/plugins/OfflineBackup/OfflineBackupPlugin.php @@ -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.') diff --git a/plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php b/plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php index 4b2ae5effc..a0a28cb47d 100644 --- a/plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php +++ b/plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php @@ -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.')); diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php index b3c6b44103..dd012bb979 100644 --- a/plugins/OpenID/OpenIDPlugin.php +++ b/plugins/OpenID/OpenIDPlugin.php @@ -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 OpenID to login to the site.')); diff --git a/plugins/OpportunisticQM/OpportunisticQMPlugin.php b/plugins/OpportunisticQM/OpportunisticQMPlugin.php index 4a67a37602..e28cd1983a 100644 --- a/plugins/OpportunisticQM/OpportunisticQMPlugin.php +++ b/plugins/OpportunisticQM/OpportunisticQMPlugin.php @@ -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.')); diff --git a/plugins/Orbited/OrbitedPlugin.php b/plugins/Orbited/OrbitedPlugin.php index d9c12ccc43..39347a8237 100644 --- a/plugins/Orbited/OrbitedPlugin.php +++ b/plugins/Orbited/OrbitedPlugin.php @@ -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.')); diff --git a/plugins/PiwikAnalytics/PiwikAnalyticsPlugin.php b/plugins/PiwikAnalytics/PiwikAnalyticsPlugin.php index d47752fbdd..f3d83e0d1b 100644 --- a/plugins/PiwikAnalytics/PiwikAnalyticsPlugin.php +++ b/plugins/PiwikAnalytics/PiwikAnalyticsPlugin.php @@ -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 Piwik Open Source web analytics software.')); diff --git a/plugins/Poll/PollPlugin.php b/plugins/Poll/PollPlugin.php index 070689ecde..2bec003356 100644 --- a/plugins/Poll/PollPlugin.php +++ b/plugins/Poll/PollPlugin.php @@ -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.')); diff --git a/plugins/PostDebug/PostDebugPlugin.php b/plugins/PostDebug/PostDebugPlugin.php index d8a335870f..6cec85d251 100644 --- a/plugins/PostDebug/PostDebugPlugin.php +++ b/plugins/PostDebug/PostDebugPlugin.php @@ -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.')); diff --git a/plugins/PtitUrl/PtitUrlPlugin.php b/plugins/PtitUrl/PtitUrlPlugin.php index 83dccd2048..37550606e2 100644 --- a/plugins/PtitUrl/PtitUrlPlugin.php +++ b/plugins/PtitUrl/PtitUrlPlugin.php @@ -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 %1$s URL-shortener service.'), diff --git a/plugins/QnA/QnAPlugin.php b/plugins/QnA/QnAPlugin.php index 37a0a7b333..b27267710a 100644 --- a/plugins/QnA/QnAPlugin.php +++ b/plugins/QnA/QnAPlugin.php @@ -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.') diff --git a/plugins/RSSCloud/RSSCloudPlugin.php b/plugins/RSSCloud/RSSCloudPlugin.php index b6d637e5c2..4e9b9414ff 100644 --- a/plugins/RSSCloud/RSSCloudPlugin.php +++ b/plugins/RSSCloud/RSSCloudPlugin.php @@ -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 ' . diff --git a/plugins/RegisterThrottle/RegisterThrottlePlugin.php b/plugins/RegisterThrottle/RegisterThrottlePlugin.php index 6304bfec0d..dbc5cd74e1 100644 --- a/plugins/RegisterThrottle/RegisterThrottlePlugin.php +++ b/plugins/RegisterThrottle/RegisterThrottlePlugin.php @@ -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.')); diff --git a/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php b/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php index 819b01b07b..6cefe226c6 100644 --- a/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php +++ b/plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php @@ -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.')); diff --git a/plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php b/plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php index 576f9e9289..c1704b69af 100644 --- a/plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php +++ b/plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php @@ -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.')); diff --git a/plugins/SQLProfile/SQLProfilePlugin.php b/plugins/SQLProfile/SQLProfilePlugin.php index eb3468d448..4291329048 100644 --- a/plugins/SQLProfile/SQLProfilePlugin.php +++ b/plugins/SQLProfile/SQLProfilePlugin.php @@ -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.')); diff --git a/plugins/SQLStats/SQLStatsPlugin.php b/plugins/SQLStats/SQLStatsPlugin.php index fdadf0c1bd..20c74b5404 100644 --- a/plugins/SQLStats/SQLStatsPlugin.php +++ b/plugins/SQLStats/SQLStatsPlugin.php @@ -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.')); diff --git a/plugins/SearchSub/SearchSubPlugin.php b/plugins/SearchSub/SearchSubPlugin.php index 86da11a0ed..5c297e363c 100644 --- a/plugins/SearchSub/SearchSubPlugin.php +++ b/plugins/SearchSub/SearchSubPlugin.php @@ -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.')); diff --git a/plugins/ShareNotice/ShareNoticePlugin.php b/plugins/ShareNotice/ShareNoticePlugin.php index 3de48c6fef..0b44e63e73 100644 --- a/plugins/ShareNotice/ShareNoticePlugin.php +++ b/plugins/ShareNotice/ShareNoticePlugin.php @@ -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, diff --git a/plugins/SimpleCaptcha/SimpleCaptchaPlugin.php b/plugins/SimpleCaptcha/SimpleCaptchaPlugin.php index cf80b10b50..62be401d78 100644 --- a/plugins/SimpleCaptcha/SimpleCaptchaPlugin.php +++ b/plugins/SimpleCaptcha/SimpleCaptchaPlugin.php @@ -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.')); diff --git a/plugins/SimpleUrl/SimpleUrlPlugin.php b/plugins/SimpleUrl/SimpleUrlPlugin.php index 9ce7a63611..13e12c7471 100644 --- a/plugins/SimpleUrl/SimpleUrlPlugin.php +++ b/plugins/SimpleUrl/SimpleUrlPlugin.php @@ -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 %1$s URL-shortener service.'), diff --git a/plugins/Sitemap/SitemapPlugin.php b/plugins/Sitemap/SitemapPlugin.php index 9b15ec2d6c..0e060231fc 100644 --- a/plugins/Sitemap/SitemapPlugin.php +++ b/plugins/Sitemap/SitemapPlugin.php @@ -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, diff --git a/plugins/SlicedFavorites/SlicedFavoritesPlugin.php b/plugins/SlicedFavorites/SlicedFavoritesPlugin.php index 5ce28ca0c1..c9ad8f2c8c 100644 --- a/plugins/SlicedFavorites/SlicedFavoritesPlugin.php +++ b/plugins/SlicedFavorites/SlicedFavoritesPlugin.php @@ -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, diff --git a/plugins/SphinxSearch/SphinxSearchPlugin.php b/plugins/SphinxSearch/SphinxSearchPlugin.php index c451dda98a..fdf7357583 100644 --- a/plugins/SphinxSearch/SphinxSearchPlugin.php +++ b/plugins/SphinxSearch/SphinxSearchPlugin.php @@ -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, diff --git a/plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php b/plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php index dad40163c3..d3693b8c34 100644 --- a/plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php +++ b/plugins/StoreRemoteMedia/StoreRemoteMediaPlugin.php @@ -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.')); diff --git a/plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php b/plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php index ff2d9ac71e..2b0e502591 100644 --- a/plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php +++ b/plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php @@ -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.')); diff --git a/plugins/SubMirror/SubMirrorPlugin.php b/plugins/SubMirror/SubMirrorPlugin.php index ad60e96c5c..aabb1be7b4 100644 --- a/plugins/SubMirror/SubMirrorPlugin.php +++ b/plugins/SubMirror/SubMirrorPlugin.php @@ -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!')); diff --git a/plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php b/plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php index 797a3c5b6c..b4033fada9 100644 --- a/plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php +++ b/plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php @@ -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.')); diff --git a/plugins/TabFocus/TabFocusPlugin.php b/plugins/TabFocus/TabFocusPlugin.php index 996c1a86c4..d0fec47565 100644 --- a/plugins/TabFocus/TabFocusPlugin.php +++ b/plugins/TabFocus/TabFocusPlugin.php @@ -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.')); diff --git a/plugins/TagCloud/TagCloudPlugin.php b/plugins/TagCloud/TagCloudPlugin.php index ab75f5d980..affeb6f404 100644 --- a/plugins/TagCloud/TagCloudPlugin.php +++ b/plugins/TagCloud/TagCloudPlugin.php @@ -77,7 +77,7 @@ class TagCloudPlugin extends Plugin { 'name' => 'TagCloud', 'version' => self::PLUGIN_VERSION, 'author' => 'Mikael Nordfeldth', - 'homepage' => 'https://gnu.io/social', + 'homepage' => GNUSOCIAL_ENGINE_URL, 'description' => // TRANS: Module description. _m('Adds tag clouds to stream pages') diff --git a/plugins/TagSub/TagSubPlugin.php b/plugins/TagSub/TagSubPlugin.php index 3afc6ced4f..5c5d11c303 100644 --- a/plugins/TagSub/TagSubPlugin.php +++ b/plugins/TagSub/TagSubPlugin.php @@ -96,7 +96,7 @@ class TagSubPlugin extends Plugin $versions[] = ['name' => 'TagSub', 'version' => self::PLUGIN_VERSION, 'author' => 'Brion Vibber', - 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/TagSub', + 'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/TagSub', 'rawdescription' => // TRANS: Plugin description. _m('Plugin to allow following all messages with a given tag.')]; diff --git a/plugins/TightUrl/TightUrlPlugin.php b/plugins/TightUrl/TightUrlPlugin.php index d389feb407..e5fa6c5961 100644 --- a/plugins/TightUrl/TightUrlPlugin.php +++ b/plugins/TightUrl/TightUrlPlugin.php @@ -64,7 +64,7 @@ class TightUrlPlugin extends UrlShortenerPlugin $versions[] = array('name' => sprintf('TightUrl (%s)', $this->shortenerName), 'version' => self::PLUGIN_VERSION, 'author' => 'Craig Andrews', - 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/TightUrl', + 'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/TightUrl', 'rawdescription' => // TRANS: Plugin description. %s is the shortener name. sprintf(_m('Uses %1$s URL-shortener service.'), diff --git a/plugins/TwitterBridge/TwitterBridgePlugin.php b/plugins/TwitterBridge/TwitterBridgePlugin.php index b4badeed22..dfec33b95c 100644 --- a/plugins/TwitterBridge/TwitterBridgePlugin.php +++ b/plugins/TwitterBridge/TwitterBridgePlugin.php @@ -295,7 +295,7 @@ class TwitterBridgePlugin extends Plugin 'name' => 'TwitterBridge', 'version' => self::PLUGIN_VERSION, 'author' => 'Zach Copley, Julien C, Jean Baptiste Favre', - 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/TwitterBridge', + 'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/TwitterBridge', // TRANS: Plugin description. 'rawdescription' => _m('The Twitter "bridge" plugin allows integration ' . 'of a StatusNet instance with ' . diff --git a/plugins/UserFlag/UserFlagPlugin.php b/plugins/UserFlag/UserFlagPlugin.php index 8fb18616cc..f89d8d4330 100644 --- a/plugins/UserFlag/UserFlagPlugin.php +++ b/plugins/UserFlag/UserFlagPlugin.php @@ -231,7 +231,7 @@ class UserFlagPlugin extends Plugin */ public function onPluginVersion(array &$versions): bool { - $url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/UserFlag'; + $url = GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/UserFlag'; $versions[] = array('name' => 'UserFlag', 'version' => self::PLUGIN_VERSION, diff --git a/plugins/UserLimit/UserLimitPlugin.php b/plugins/UserLimit/UserLimitPlugin.php index 37ac69e00b..8c6b93ffcc 100644 --- a/plugins/UserLimit/UserLimitPlugin.php +++ b/plugins/UserLimit/UserLimitPlugin.php @@ -88,7 +88,7 @@ class UserLimitPlugin extends Plugin $versions[] = array('name' => 'UserLimit', 'version' => self::PLUGIN_VERSION, 'author' => 'Evan Prodromou', - 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/UserLimit', + 'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/UserLimit', 'description' => // TRANS: Plugin description. _m('Limit the number of users who can register.')); diff --git a/plugins/WebFinger/WebFingerPlugin.php b/plugins/WebFinger/WebFingerPlugin.php index da5ec19b8f..d050f34c87 100644 --- a/plugins/WebFinger/WebFingerPlugin.php +++ b/plugins/WebFinger/WebFingerPlugin.php @@ -225,7 +225,7 @@ class WebFingerPlugin extends Plugin $versions[] = array('name' => 'WebFinger', 'version' => self::PLUGIN_VERSION, 'author' => 'Mikael Nordfeldth', - 'homepage' => 'http://www.gnu.org/software/social/', + 'homepage' => GNUSOCIAL_ENGINE_URL, // TRANS: Plugin description. 'rawdescription' => _m('Adds WebFinger lookup to GNU Social')); diff --git a/plugins/WikiHashtags/WikiHashtagsPlugin.php b/plugins/WikiHashtags/WikiHashtagsPlugin.php index 4badc248bc..b5593cbf88 100644 --- a/plugins/WikiHashtags/WikiHashtagsPlugin.php +++ b/plugins/WikiHashtags/WikiHashtagsPlugin.php @@ -109,7 +109,7 @@ class WikiHashtagsPlugin extends Plugin $versions[] = array('name' => 'WikiHashtags', 'version' => self::PLUGIN_VERSION, 'author' => 'Evan Prodromou', - 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/WikiHashtags', + 'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/WikiHashtags', 'rawdescription' => // TRANS: Plugin description. _m('Gets hashtag descriptions from WikiHashtags.')); diff --git a/plugins/WikiHowProfile/WikiHowProfilePlugin.php b/plugins/WikiHowProfile/WikiHowProfilePlugin.php index 14bd19a926..07bc7b5254 100644 --- a/plugins/WikiHowProfile/WikiHowProfilePlugin.php +++ b/plugins/WikiHowProfile/WikiHowProfilePlugin.php @@ -56,7 +56,7 @@ class WikiHowProfilePlugin extends Plugin $versions[] = array('name' => 'WikiHow avatar fetcher', 'version' => self::PLUGIN_VERSION, 'author' => 'Brion Vibber', - '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('Fetches avatar and other profile information for WikiHow users when setting up an account via OpenID.')); diff --git a/plugins/Xmpp/XmppPlugin.php b/plugins/Xmpp/XmppPlugin.php index c7052f1d06..3822abb34a 100644 --- a/plugins/Xmpp/XmppPlugin.php +++ b/plugins/Xmpp/XmppPlugin.php @@ -436,7 +436,7 @@ class XmppPlugin extends ImPlugin $versions[] = array('name' => 'XMPP', 'version' => self::PLUGIN_VERSION, 'author' => 'Craig Andrews, Evan Prodromou', - 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/XMPP', + 'homepage' => GNUSOCIAL_ENGINE_REPO_URL . 'tree/master/plugins/XMPP', 'rawdescription' => // TRANS: Plugin description. _m('The XMPP plugin allows users to send and receive notices over the XMPP/Jabber network.'));