forked from GNUsocial/gnu-social
[VersionBump] 1.19.0, fairly late
The core plugins whose version was attached to GS's were reseted to 2.0.0. 2.0.0 was chosen as reset version for plugins because it is higher than the one that was set by inheriting GS version. Furthermore, it's a major change from prior plugin versioning system thus it also makes semantic sense. Justification for version bump: == GS == 9a4ab31f26 1.19.0c13b935201
1.18.3c13b935201
1.18.218fc39d2cf
1.18.1c083a8bcc2
1.18.0e8783d46d0
1.17.1d9a42550ff
1.17.01536d3ef29
1.16.0c03ed457a6
1.15.0d2e6519bad
1.14.2fe411e8138
1.14.1b17e0b4169
1.14.0daa5f87fd4
1.13.0d75b5d2f4a
1.11.7f6dbf66983
1.11.66cf674f8f8
1.11.57845a09b34
1.11.4e4d432295d
1.11.3339204f1ee
1.11.2a4e679a118
1.11.17967db6ff5
1.11.0bc030da320
1.10.19cc7df51d6
1.10.0bf7f17474d
1.9.28a07edec5f
1.9.10042971d74
1.9.06b5450b7e6
1.8.05dcc98d1c6
1.7.0e6667db0cd
1.6.03290227b50
1.5.0a59c439b46
1.4.0496ab8c920
1.3.10986030060b
1.3.91d529c021a
1.3.8f89c052cf8
1.3.738f2ecefac
1.3.6e473937cb9
1.3.59a39ebe66f
1.3.4ddc3cecfc0
1.3.32b43d484eb
1.3.2e8e487187e
1.3.1 == Plugins == XMPP plugine0887220b0
bump patche186ad57d0
bump patch OStatuse186ad57d0
bump patch Nodeinfoceae66a30f
bump minor586fb5a517
bump major195296846e
bump minor
This commit is contained in:
parent
72ee098e0b
commit
46f98b3142
@ -1,4 +1,4 @@
|
|||||||
# GNU social 1.3.x
|
# GNU social 1.19.x
|
||||||
(c) 2010 Free Software Foundation, Inc
|
(c) 2010 Free Software Foundation, Inc
|
||||||
|
|
||||||
This is the README file for GNU social, the free
|
This is the README file for GNU social, the free
|
||||||
|
@ -22,8 +22,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
define('GNUSOCIAL_ENGINE', 'GNU social');
|
define('GNUSOCIAL_ENGINE', 'GNU social');
|
||||||
define('GNUSOCIAL_ENGINE_URL', 'https://www.gnu.org/software/social/');
|
define('GNUSOCIAL_ENGINE_URL', 'https://www.gnu.org/software/social/');
|
||||||
|
|
||||||
define('GNUSOCIAL_BASE_VERSION', '1.3.0');
|
define('GNUSOCIAL_BASE_VERSION', '1.19.0');
|
||||||
define('GNUSOCIAL_LIFECYCLE', 'beta5'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
|
define('GNUSOCIAL_LIFECYCLE', 'rc0'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
|
||||||
|
|
||||||
define('GNUSOCIAL_VERSION', GNUSOCIAL_BASE_VERSION . '-' . GNUSOCIAL_LIFECYCLE);
|
define('GNUSOCIAL_VERSION', GNUSOCIAL_BASE_VERSION . '-' . GNUSOCIAL_LIFECYCLE);
|
||||||
|
|
||||||
|
@ -33,6 +33,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||||||
|
|
||||||
class AccountManagerPlugin extends Plugin
|
class AccountManagerPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
const AM_REL = 'acct-mgmt';
|
const AM_REL = 'acct-mgmt';
|
||||||
|
|
||||||
function __construct()
|
function __construct()
|
||||||
@ -90,7 +92,7 @@ class AccountManagerPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'AccountManager',
|
$versions[] = array('name' => 'AccountManager',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AccountManager',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AccountManager',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -46,7 +46,7 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class ActivityPlugin extends Plugin
|
class ActivityPlugin extends Plugin
|
||||||
{
|
{
|
||||||
const VERSION = '0.1';
|
const PLUGIN_VERSION = '0.1.0';
|
||||||
const SOURCE = 'activity';
|
const SOURCE = 'activity';
|
||||||
|
|
||||||
// Flags to switch off certain activity notices
|
// Flags to switch off certain activity notices
|
||||||
@ -342,7 +342,7 @@ class ActivityPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Activity',
|
$versions[] = array('name' => 'Activity',
|
||||||
'version' => self::VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Activity',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Activity',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -46,6 +46,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class ActivitySpamPlugin extends Plugin
|
class ActivitySpamPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $server = null;
|
public $server = null;
|
||||||
public $hideSpam = false;
|
public $hideSpam = false;
|
||||||
|
|
||||||
@ -218,7 +220,7 @@ class ActivitySpamPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'ActivitySpam',
|
$versions[] = array('name' => 'ActivitySpam',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ActivitySpam',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ActivitySpam',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -31,6 +31,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class ActivityVerbPlugin extends Plugin
|
class ActivityVerbPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public function onRouterInitialized(URLMapper $m)
|
public function onRouterInitialized(URLMapper $m)
|
||||||
{
|
{
|
||||||
@ -47,7 +48,7 @@ class ActivityVerbPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Activity Verb',
|
$versions[] = array('name' => 'Activity Verb',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'https://www.gnu.org/software/social/',
|
'homepage' => 'https://www.gnu.org/software/social/',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -25,6 +25,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class ActivityVerbPostPlugin extends ActivityVerbHandlerPlugin
|
class ActivityVerbPostPlugin extends ActivityVerbHandlerPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
// TODO: Implement a "fallback" feature which can handle anything _as_ an activityobject "note"
|
// TODO: Implement a "fallback" feature which can handle anything _as_ an activityobject "note"
|
||||||
|
|
||||||
public function tag()
|
public function tag()
|
||||||
@ -128,7 +130,7 @@ class ActivityVerbPostPlugin extends ActivityVerbHandlerPlugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Post verb',
|
$versions[] = array('name' => 'Post verb',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'https://gnu.io/',
|
'homepage' => 'https://gnu.io/',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -43,7 +43,7 @@ if (!defined('STATUSNET')) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
define('ANONYMOUS_FAVE_PLUGIN_VERSION', '0.1');
|
define('ANONYMOUS_FAVE_PLUGIN_VERSION', '0.1.0');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Anonymous Fave plugin to allow anonymous (not logged in) users
|
* Anonymous Fave plugin to allow anonymous (not logged in) users
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
if (!defined('GNUSOCIAL')) { exit(1); }
|
if (!defined('GNUSOCIAL')) { exit(1); }
|
||||||
|
|
||||||
class AntiBrutePlugin extends Plugin {
|
class AntiBrutePlugin extends Plugin {
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
protected $failed_attempts = 0;
|
protected $failed_attempts = 0;
|
||||||
protected $unauthed_user = null;
|
protected $unauthed_user = null;
|
||||||
protected $client_ip = null;
|
protected $client_ip = null;
|
||||||
@ -71,7 +72,7 @@ class AntiBrutePlugin extends Plugin {
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'AntiBrute',
|
$versions[] = array('name' => 'AntiBrute',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://gnu.io/',
|
'homepage' => 'http://gnu.io/',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -28,6 +28,7 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class ApiLoggerPlugin extends Plugin
|
class ApiLoggerPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
// Lower this to do random sampling of API requests rather than all.
|
// Lower this to do random sampling of API requests rather than all.
|
||||||
// 0.1 will check about 10% of hits, etc.
|
// 0.1 will check about 10% of hits, etc.
|
||||||
public $frequency = 1.0;
|
public $frequency = 1.0;
|
||||||
@ -78,7 +79,7 @@ class ApiLoggerPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'ApiLogger',
|
$versions[] = array('name' => 'ApiLogger',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ApiLogger',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ApiLogger',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -32,6 +32,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class AuthCryptPlugin extends AuthenticationPlugin
|
class AuthCryptPlugin extends AuthenticationPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
protected $hash = '$6$'; // defaults to SHA512, i.e. '$6$', in onInitializePlugin()
|
protected $hash = '$6$'; // defaults to SHA512, i.e. '$6$', in onInitializePlugin()
|
||||||
protected $statusnet = true; // if true, also check StatusNet style password hash
|
protected $statusnet = true; // if true, also check StatusNet style password hash
|
||||||
protected $overwrite = true; // if true, password change means overwrite with crypt()
|
protected $overwrite = true; // if true, password change means overwrite with crypt()
|
||||||
@ -153,7 +154,7 @@ class AuthCryptPlugin extends AuthenticationPlugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'AuthCrypt',
|
$versions[] = array('name' => 'AuthCrypt',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AuthCrypt',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AuthCrypt',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -38,6 +38,7 @@ define('AUTOSANDBOX', '0.1');
|
|||||||
|
|
||||||
class AutoSandboxPlugin extends Plugin
|
class AutoSandboxPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
var $contact;
|
var $contact;
|
||||||
var $debug;
|
var $debug;
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ class AutoSandboxPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'AutoSandbox',
|
$versions[] = array('name' => 'AutoSandbox',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Sean Carmody',
|
'author' => 'Sean Carmody',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AutoSandbox',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AutoSandbox',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -34,6 +34,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||||||
|
|
||||||
class AutocompletePlugin extends Plugin
|
class AutocompletePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
function __construct()
|
function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
@ -55,7 +56,7 @@ class AutocompletePlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Autocomplete',
|
$versions[] = array('name' => 'Autocomplete',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Autocomplete',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Autocomplete',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -42,13 +42,13 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class AwesomenessPlugin extends Plugin
|
class AwesomenessPlugin extends Plugin
|
||||||
{
|
{
|
||||||
const VERSION = '0.0.42';
|
const PLUGIN_VERSION = '0.0.42';
|
||||||
|
|
||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array(
|
$versions[] = array(
|
||||||
'name' => 'Awesomeness',
|
'name' => 'Awesomeness',
|
||||||
'version' => self::VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Jeroen De Dauw',
|
'author' => 'Jeroen De Dauw',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Awesomeness',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Awesomeness',
|
||||||
// TRANS: Plugin description for a sample plugin.
|
// TRANS: Plugin description for a sample plugin.
|
||||||
|
@ -35,6 +35,8 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class BitlyUrlPlugin extends UrlShortenerPlugin
|
class BitlyUrlPlugin extends UrlShortenerPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $shortenerName = 'bit.ly';
|
public $shortenerName = 'bit.ly';
|
||||||
public $serviceUrl = 'http://api.bit.ly/v3/shorten?longUrl=%s';
|
public $serviceUrl = 'http://api.bit.ly/v3/shorten?longUrl=%s';
|
||||||
public $login; // To set a site-default when admins or users don't override it.
|
public $login; // To set a site-default when admins or users don't override it.
|
||||||
@ -147,7 +149,7 @@ class BitlyUrlPlugin extends UrlShortenerPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => sprintf('BitlyUrl (%s)', $this->shortenerName),
|
$versions[] = array('name' => sprintf('BitlyUrl (%s)', $this->shortenerName),
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews, Brion Vibber',
|
'author' => 'Craig Andrews, Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BitlyUrl',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BitlyUrl',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -40,7 +40,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class BlacklistPlugin extends Plugin
|
class BlacklistPlugin extends Plugin
|
||||||
{
|
{
|
||||||
const VERSION = GNUSOCIAL_VERSION;
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $nicknames = array();
|
public $nicknames = array();
|
||||||
public $urls = array();
|
public $urls = array();
|
||||||
@ -265,7 +265,7 @@ class BlacklistPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Blacklist',
|
$versions[] = array('name' => 'Blacklist',
|
||||||
'version' => self::VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' =>
|
'homepage' =>
|
||||||
'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Blacklist',
|
'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Blacklist',
|
||||||
|
@ -53,6 +53,7 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class BlankAdPlugin extends UAPPlugin
|
class BlankAdPlugin extends UAPPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
/**
|
/**
|
||||||
* Show a medium rectangle 'ad'
|
* Show a medium rectangle 'ad'
|
||||||
*
|
*
|
||||||
@ -120,7 +121,7 @@ class BlankAdPlugin extends UAPPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'BlankAd',
|
$versions[] = array('name' => 'BlankAd',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BlankAdPlugin',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BlankAdPlugin',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -32,7 +32,7 @@ if (!defined('STATUSNET')) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
define('BLOGSPAMNETPLUGIN_VERSION', '0.1');
|
define('PLUGIN_VERSION', '0.1.0');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugin to check submitted notices with blogspam.net
|
* Plugin to check submitted notices with blogspam.net
|
||||||
@ -145,13 +145,13 @@ class BlogspamNetPlugin extends Plugin
|
|||||||
|
|
||||||
function version()
|
function version()
|
||||||
{
|
{
|
||||||
return BLOGSPAMNETPLUGIN_VERSION;
|
return PLUGIN_VERSION;
|
||||||
}
|
}
|
||||||
|
|
||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'BlogspamNet',
|
$versions[] = array('name' => 'BlogspamNet',
|
||||||
'version' => BLOGSPAMNETPLUGIN_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou, Brion Vibber',
|
'author' => 'Evan Prodromou, Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BlogspamNet',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BlogspamNet',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -43,7 +43,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class BookmarkPlugin extends MicroAppPlugin
|
class BookmarkPlugin extends MicroAppPlugin
|
||||||
{
|
{
|
||||||
const VERSION = '0.1';
|
const PLUGIN_VERSION = '0.1.0';
|
||||||
const IMPORTDELICIOUS = 'BookmarkPlugin:IMPORTDELICIOUS';
|
const IMPORTDELICIOUS = 'BookmarkPlugin:IMPORTDELICIOUS';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -180,7 +180,7 @@ class BookmarkPlugin extends MicroAppPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Bookmark',
|
$versions[] = array('name' => 'Bookmark',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou, Stephane Berube, Jean Baptiste Favre, Mikael Nordfeldth',
|
'author' => 'Evan Prodromou, Stephane Berube, Jean Baptiste Favre, Mikael Nordfeldth',
|
||||||
'homepage' => 'https://gnu.io/social',
|
'homepage' => 'https://gnu.io/social',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -52,6 +52,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class CacheLogPlugin extends Plugin
|
class CacheLogPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
function onStartCacheGet(&$key, &$value)
|
function onStartCacheGet(&$key, &$value)
|
||||||
{
|
{
|
||||||
$this->log(LOG_INFO, "Fetching key '$key'");
|
$this->log(LOG_INFO, "Fetching key '$key'");
|
||||||
@ -99,7 +101,7 @@ class CacheLogPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'CacheLog',
|
$versions[] = array('name' => 'CacheLog',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/CacheLog',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/CacheLog',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -36,6 +36,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/ext
|
|||||||
|
|
||||||
class CasAuthenticationPlugin extends AuthenticationPlugin
|
class CasAuthenticationPlugin extends AuthenticationPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $server;
|
public $server;
|
||||||
public $port = 443;
|
public $port = 443;
|
||||||
public $path = '';
|
public $path = '';
|
||||||
@ -152,7 +154,7 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'CAS Authentication',
|
$versions[] = array('name' => 'CAS Authentication',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/CasAuthentication',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/CasAuthentication',
|
||||||
// TRANS: Plugin description. CAS is Central Authentication Service.
|
// TRANS: Plugin description. CAS is Central Authentication Service.
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
class ChooseThemePlugin extends Plugin {
|
class ChooseThemePlugin extends Plugin {
|
||||||
|
const PLUGIN_VERSION = '0.1.0';
|
||||||
|
|
||||||
public function onRouterInitialized(URLMapper $m) {
|
public function onRouterInitialized(URLMapper $m) {
|
||||||
$m->connect('main/choosethemesettings', array('action' => 'choosethemesettings'));
|
$m->connect('main/choosethemesettings', array('action' => 'choosethemesettings'));
|
||||||
@ -31,7 +32,7 @@ class ChooseThemePlugin extends Plugin {
|
|||||||
public function onPluginVersion(array &$versions) {
|
public function onPluginVersion(array &$versions) {
|
||||||
|
|
||||||
$versions[] = array('name' => 'ChooseTheme',
|
$versions[] = array('name' => 'ChooseTheme',
|
||||||
'version' => '0.1',
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Knut Erik "abjectio" Hollund',
|
'author' => 'Knut Erik "abjectio" Hollund',
|
||||||
'homepage' => 'https://gitlab.com/kollektivet0x242/gsp-choosetheme',
|
'homepage' => 'https://gitlab.com/kollektivet0x242/gsp-choosetheme',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -33,6 +33,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||||||
|
|
||||||
class ClientSideShortenPlugin extends Plugin
|
class ClientSideShortenPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
function __construct()
|
function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
@ -57,7 +58,7 @@ class ClientSideShortenPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Shorten',
|
$versions[] = array('name' => 'Shorten',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ClientSideShorten',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ClientSideShorten',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -44,6 +44,8 @@ require_once INSTALLDIR.'/plugins/Realtime/RealtimePlugin.php';
|
|||||||
*/
|
*/
|
||||||
class CometPlugin extends RealtimePlugin
|
class CometPlugin extends RealtimePlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $server = null;
|
public $server = null;
|
||||||
public $username = null;
|
public $username = null;
|
||||||
public $password = null;
|
public $password = null;
|
||||||
@ -107,7 +109,7 @@ class CometPlugin extends RealtimePlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Comet',
|
$versions[] = array('name' => 'Comet',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Comet',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Comet',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -25,6 +25,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class ConversationTreePlugin extends Plugin
|
class ConversationTreePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public function onStartShowConversation(Action $action, Conversation $conv, Profile $scoped=null) {
|
public function onStartShowConversation(Action $action, Conversation $conv, Profile $scoped=null) {
|
||||||
$nl = new ConversationTree($conv->getNotices($action->getScoped()), $action);
|
$nl = new ConversationTree($conv->getNotices($action->getScoped()), $action);
|
||||||
$cnt = $nl->show();
|
$cnt = $nl->show();
|
||||||
@ -34,7 +36,7 @@ class ConversationTreePlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'ConversationTree',
|
$versions[] = array('name' => 'ConversationTree',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://gnu.io/',
|
'homepage' => 'http://gnu.io/',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
if (!defined('GNUSOCIAL')) { exit(1); }
|
if (!defined('GNUSOCIAL')) { exit(1); }
|
||||||
|
|
||||||
class CronishPlugin extends Plugin {
|
class CronishPlugin extends Plugin {
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public function onCronMinutely()
|
public function onCronMinutely()
|
||||||
{
|
{
|
||||||
common_debug('CRON: Running near-minutely cron job!');
|
common_debug('CRON: Running near-minutely cron job!');
|
||||||
@ -48,7 +50,7 @@ class CronishPlugin extends Plugin {
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Cronish',
|
$versions[] = array('name' => 'Cronish',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://www.gnu.org/software/social/',
|
'homepage' => 'http://www.gnu.org/software/social/',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -31,6 +31,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class DefaultLayoutPlugin extends Plugin
|
class DefaultLayoutPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $prerender_replyforms = false;
|
public $prerender_replyforms = false;
|
||||||
|
|
||||||
public function onEndShowThreadedNoticeTail(NoticeListItem $nli, Notice $notice, array $notices) {
|
public function onEndShowThreadedNoticeTail(NoticeListItem $nli, Notice $notice, array $notices) {
|
||||||
@ -46,7 +48,7 @@ class DefaultLayoutPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Default Layout',
|
$versions[] = array('name' => 'Default Layout',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'https://www.gnu.org/software/social/',
|
'homepage' => 'https://www.gnu.org/software/social/',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -35,6 +35,8 @@ addPlugin('OStatus');
|
|||||||
|
|
||||||
class DiasporaPlugin extends Plugin
|
class DiasporaPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '0.2.0';
|
||||||
|
|
||||||
const REL_SEED_LOCATION = 'http://joindiaspora.com/seed_location';
|
const REL_SEED_LOCATION = 'http://joindiaspora.com/seed_location';
|
||||||
const REL_GUID = 'http://joindiaspora.com/guid';
|
const REL_GUID = 'http://joindiaspora.com/guid';
|
||||||
const REL_PUBLIC_KEY = 'diaspora-public-key';
|
const REL_PUBLIC_KEY = 'diaspora-public-key';
|
||||||
@ -79,7 +81,7 @@ class DiasporaPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Diaspora',
|
$versions[] = array('name' => 'Diaspora',
|
||||||
'version' => '0.2',
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'https://gnu.io/social',
|
'homepage' => 'https://gnu.io/social',
|
||||||
// TRANS: Plugin description.
|
// TRANS: Plugin description.
|
||||||
|
@ -24,6 +24,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class DirectMessagePlugin extends Plugin
|
class DirectMessagePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public function onCheckSchema()
|
public function onCheckSchema()
|
||||||
{
|
{
|
||||||
$schema = Schema::get();
|
$schema = Schema::get();
|
||||||
@ -164,7 +166,7 @@ class DirectMessagePlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Direct Message',
|
$versions[] = array('name' => 'Direct Message',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://gnu.io/',
|
'homepage' => 'http://gnu.io/',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -44,6 +44,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class DirectoryPlugin extends Plugin
|
class DirectoryPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
private $dir = null;
|
private $dir = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -255,7 +257,7 @@ class DirectoryPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
$versions[] = array(
|
$versions[] = array(
|
||||||
'name' => 'Directory',
|
'name' => 'Directory',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Zach Copley',
|
'author' => 'Zach Copley',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Directory',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Directory',
|
||||||
// TRANS: Plugin description.
|
// TRANS: Plugin description.
|
||||||
|
@ -46,6 +46,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class DiskCachePlugin extends Plugin
|
class DiskCachePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
var $root = '/tmp';
|
var $root = '/tmp';
|
||||||
|
|
||||||
function keyToFilename($key)
|
function keyToFilename($key)
|
||||||
@ -164,7 +166,7 @@ class DiskCachePlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'DiskCache',
|
$versions[] = array('name' => 'DiskCache',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DiskCache',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DiskCache',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -52,6 +52,8 @@ require_once $_dir . '/extlib/regDomain.inc.php';
|
|||||||
*/
|
*/
|
||||||
class DomainStatusNetworkPlugin extends Plugin
|
class DomainStatusNetworkPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
static $_thetree = null;
|
static $_thetree = null;
|
||||||
|
|
||||||
function initialize()
|
function initialize()
|
||||||
@ -193,7 +195,7 @@ class DomainStatusNetworkPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'DomainStatusNetwork',
|
$versions[] = array('name' => 'DomainStatusNetwork',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DomainStatusNetwork',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DomainStatusNetwork',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -48,6 +48,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class DomainWhitelistPlugin extends Plugin
|
class DomainWhitelistPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the path to the plugin's installation directory. Used
|
* Get the path to the plugin's installation directory. Used
|
||||||
* to link in js files and whatnot.
|
* to link in js files and whatnot.
|
||||||
@ -270,7 +272,7 @@ class DomainWhitelistPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'DomainWhitelist',
|
$versions[] = array('name' => 'DomainWhitelist',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou, Zach Copley',
|
'author' => 'Evan Prodromou, Zach Copley',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DomainWhitelist',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DomainWhitelist',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -31,6 +31,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class EmailAuthenticationPlugin extends Plugin
|
class EmailAuthenticationPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
// $nickname for this plugin is the user's email address
|
// $nickname for this plugin is the user's email address
|
||||||
function onStartCheckPassword($nickname, $password, &$authenticatedUser)
|
function onStartCheckPassword($nickname, $password, &$authenticatedUser)
|
||||||
{
|
{
|
||||||
@ -52,7 +54,7 @@ class EmailAuthenticationPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Email Authentication',
|
$versions[] = array('name' => 'Email Authentication',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailAuthentication',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailAuthentication',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -47,6 +47,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class EmailRegistrationPlugin extends Plugin
|
class EmailRegistrationPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
const CONFIRMTYPE = 'register';
|
const CONFIRMTYPE = 'register';
|
||||||
|
|
||||||
function onArgsInitialize(&$args)
|
function onArgsInitialize(&$args)
|
||||||
@ -175,7 +177,7 @@ class EmailRegistrationPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'EmailRegistration',
|
$versions[] = array('name' => 'EmailRegistration',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailRegistration',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailRegistration',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -46,6 +46,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class EmailReminderPlugin extends Plugin
|
class EmailReminderPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set up email_reminder table
|
* Set up email_reminder table
|
||||||
*
|
*
|
||||||
@ -183,7 +185,7 @@ class EmailReminderPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
$versions[] = array(
|
$versions[] = array(
|
||||||
'name' => 'EmailReminder',
|
'name' => 'EmailReminder',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Zach Copley',
|
'author' => 'Zach Copley',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailReminder',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailReminder',
|
||||||
// TRANS: Plugin description.
|
// TRANS: Plugin description.
|
||||||
|
@ -45,6 +45,7 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class EmailSummaryPlugin extends Plugin
|
class EmailSummaryPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
/**
|
/**
|
||||||
* Database schema setup
|
* Database schema setup
|
||||||
*
|
*
|
||||||
@ -69,7 +70,7 @@ class EmailSummaryPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'EmailSummary',
|
$versions[] = array('name' => 'EmailSummary',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailSummary',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/EmailSummary',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -42,6 +42,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class EventPlugin extends ActivityVerbHandlerPlugin
|
class EventPlugin extends ActivityVerbHandlerPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set up our tables (event and rsvp)
|
* Set up our tables (event and rsvp)
|
||||||
*
|
*
|
||||||
@ -100,7 +102,7 @@ class EventPlugin extends ActivityVerbHandlerPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Event',
|
$versions[] = array('name' => 'Event',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Event',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Event',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -29,11 +29,13 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class ExtendedProfilePlugin extends Plugin
|
class ExtendedProfilePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array(
|
$versions[] = array(
|
||||||
'name' => 'ExtendedProfile',
|
'name' => 'ExtendedProfile',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber, Samantha Doherty, Zach Copley',
|
'author' => 'Brion Vibber, Samantha Doherty, Zach Copley',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ExtendedProfile',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ExtendedProfile',
|
||||||
// TRANS: Plugin description.
|
// TRANS: Plugin description.
|
||||||
|
@ -25,6 +25,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class FavoritePlugin extends ActivityVerbHandlerPlugin
|
class FavoritePlugin extends ActivityVerbHandlerPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
protected $email_notify_fave = 1;
|
protected $email_notify_fave = 1;
|
||||||
|
|
||||||
public function tag()
|
public function tag()
|
||||||
@ -558,7 +560,7 @@ class FavoritePlugin extends ActivityVerbHandlerPlugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Favorite',
|
$versions[] = array('name' => 'Favorite',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://gnu.io/',
|
'homepage' => 'http://gnu.io/',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
if (!defined('GNUSOCIAL')) { exit(1); }
|
if (!defined('GNUSOCIAL')) { exit(1); }
|
||||||
|
|
||||||
class FeedPollerPlugin extends Plugin {
|
class FeedPollerPlugin extends Plugin {
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $interval = 5; // interval in minutes for feed checks
|
public $interval = 5; // interval in minutes for feed checks
|
||||||
|
|
||||||
public function onEndInitializeQueueManager(QueueManager $qm)
|
public function onEndInitializeQueueManager(QueueManager $qm)
|
||||||
@ -50,7 +52,7 @@ class FeedPollerPlugin extends Plugin {
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'FeedPoller',
|
$versions[] = array('name' => 'FeedPoller',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://www.gnu.org/software/social/',
|
'homepage' => 'http://www.gnu.org/software/social/',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -30,6 +30,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class FetchRemotePlugin extends Plugin
|
class FetchRemotePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
static function fetchNoticeFromUrl($url)
|
static function fetchNoticeFromUrl($url)
|
||||||
{
|
{
|
||||||
if (!common_valid_http_url($url)) {
|
if (!common_valid_http_url($url)) {
|
||||||
@ -108,7 +110,7 @@ class FetchRemotePlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'FetchRemote',
|
$versions[] = array('name' => 'FetchRemote',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://www.gnu.org/software/social/',
|
'homepage' => 'http://www.gnu.org/software/social/',
|
||||||
// TRANS: Plugin description.
|
// TRANS: Plugin description.
|
||||||
|
@ -48,6 +48,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class FollowEveryonePlugin extends Plugin
|
class FollowEveryonePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when a new user is registered.
|
* Called when a new user is registered.
|
||||||
*
|
*
|
||||||
@ -168,7 +170,7 @@ class FollowEveryonePlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'FollowEveryone',
|
$versions[] = array('name' => 'FollowEveryone',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/FollowEveryone',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/FollowEveryone',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -26,6 +26,8 @@ if (!defined('STATUSNET')) { exit(1); }
|
|||||||
|
|
||||||
class ForceGroupPlugin extends Plugin
|
class ForceGroupPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Members of these groups will have all their posts mirrored into
|
* Members of these groups will have all their posts mirrored into
|
||||||
* the group even if they don't explicitly mention it.
|
* the group even if they don't explicitly mention it.
|
||||||
@ -110,7 +112,7 @@ class ForceGroupPlugin extends Plugin
|
|||||||
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ForceGroup';
|
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ForceGroup';
|
||||||
|
|
||||||
$versions[] = array('name' => 'ForceGroup',
|
$versions[] = array('name' => 'ForceGroup',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => $url,
|
'homepage' => $url,
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -48,6 +48,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class GeoURLPlugin extends Plugin
|
class GeoURLPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $ping = 'http://geourl.org/ping/';
|
public $ping = 'http://geourl.org/ping/';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -119,7 +121,7 @@ class GeoURLPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'GeoURL',
|
$versions[] = array('name' => 'GeoURL',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GeoURL',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GeoURL',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -48,6 +48,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class GeonamesPlugin extends Plugin
|
class GeonamesPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
const LOCATION_NS = 1;
|
const LOCATION_NS = 1;
|
||||||
|
|
||||||
public $host = 'ws.geonames.org';
|
public $host = 'ws.geonames.org';
|
||||||
@ -490,7 +492,7 @@ class GeonamesPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Geonames',
|
$versions[] = array('name' => 'Geonames',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Geonames',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Geonames',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -26,6 +26,8 @@ if (!defined('STATUSNET')) { exit(1); }
|
|||||||
|
|
||||||
class GroupFavoritedPlugin extends Plugin
|
class GroupFavoritedPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hook for RouterInitialized event.
|
* Hook for RouterInitialized event.
|
||||||
*
|
*
|
||||||
@ -70,7 +72,7 @@ class GroupFavoritedPlugin extends Plugin
|
|||||||
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GroupFavorited';
|
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GroupFavorited';
|
||||||
|
|
||||||
$versions[] = array('name' => 'GroupFavorited',
|
$versions[] = array('name' => 'GroupFavorited',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => $url,
|
'homepage' => $url,
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -48,6 +48,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class GroupPrivateMessagePlugin extends Plugin
|
class GroupPrivateMessagePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Database schema setup
|
* Database schema setup
|
||||||
*
|
*
|
||||||
@ -408,7 +410,7 @@ class GroupPrivateMessagePlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'GroupPrivateMessage',
|
$versions[] = array('name' => 'GroupPrivateMessage',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GroupPrivateMessage',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GroupPrivateMessage',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -28,10 +28,12 @@ require_once INSTALLDIR.'/extlib/HTMLPurifier/HTMLPurifier.auto.php';
|
|||||||
*/
|
*/
|
||||||
class HTMLPurifierSchemesPlugin extends Plugin
|
class HTMLPurifierSchemesPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'HTMLPurifier Schemes',
|
$versions[] = array('name' => 'HTMLPurifier Schemes',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'https://gnu.io/social',
|
'homepage' => 'https://gnu.io/social',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -46,6 +46,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class ImageMagickPlugin extends Plugin
|
class ImageMagickPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $preview_imageformat = 'PNG'; // Image format strings: http://www.imagemagick.org/script/formats.php#supported
|
public $preview_imageformat = 'PNG'; // Image format strings: http://www.imagemagick.org/script/formats.php#supported
|
||||||
public $rasterize_vectors = false; // Whether we want to turn SVG into PNG etc.
|
public $rasterize_vectors = false; // Whether we want to turn SVG into PNG etc.
|
||||||
|
|
||||||
@ -135,7 +137,7 @@ class ImageMagickPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'ImageMagick',
|
$versions[] = array('name' => 'ImageMagick',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://gnu.io/social',
|
'homepage' => 'http://gnu.io/social',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -44,6 +44,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class ImapPlugin extends Plugin
|
class ImapPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $mailbox;
|
public $mailbox;
|
||||||
public $user;
|
public $user;
|
||||||
public $password;
|
public $password;
|
||||||
@ -79,7 +81,7 @@ class ImapPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'IMAP',
|
$versions[] = array('name' => 'IMAP',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/IMAP',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/IMAP',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -55,6 +55,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class InProcessCachePlugin extends Plugin
|
class InProcessCachePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
private $_items = array();
|
private $_items = array();
|
||||||
private $_hits = array();
|
private $_hits = array();
|
||||||
private $active;
|
private $active;
|
||||||
@ -175,7 +177,7 @@ class InProcessCachePlugin extends Plugin
|
|||||||
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/InProcessCache';
|
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/InProcessCache';
|
||||||
|
|
||||||
$versions[] = array('name' => 'InProcessCache',
|
$versions[] = array('name' => 'InProcessCache',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => $url,
|
'homepage' => $url,
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -31,6 +31,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class InfiniteScrollPlugin extends Plugin
|
class InfiniteScrollPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $on_next_only = false;
|
public $on_next_only = false;
|
||||||
|
|
||||||
function onEndShowScripts(Action $action)
|
function onEndShowScripts(Action $action)
|
||||||
@ -44,7 +46,7 @@ class InfiniteScrollPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'InfiniteScroll',
|
$versions[] = array('name' => 'InfiniteScroll',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/InfiniteScroll',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/InfiniteScroll',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -31,6 +31,8 @@ set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__ . '/extlib/');
|
|||||||
|
|
||||||
class LRDDPlugin extends Plugin
|
class LRDDPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public function onAutoload($cls)
|
public function onAutoload($cls)
|
||||||
{
|
{
|
||||||
switch ($cls) {
|
switch ($cls) {
|
||||||
@ -55,7 +57,7 @@ class LRDDPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'LRDD',
|
$versions[] = array('name' => 'LRDD',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://www.gnu.org/software/social/',
|
'homepage' => 'http://www.gnu.org/software/social/',
|
||||||
// TRANS: Plugin description.
|
// TRANS: Plugin description.
|
||||||
|
@ -33,6 +33,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||||||
|
|
||||||
class LdapAuthenticationPlugin extends AuthenticationPlugin
|
class LdapAuthenticationPlugin extends AuthenticationPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
function onInitializePlugin(){
|
function onInitializePlugin(){
|
||||||
parent::onInitializePlugin();
|
parent::onInitializePlugin();
|
||||||
if(!isset($this->attributes['nickname'])){
|
if(!isset($this->attributes['nickname'])){
|
||||||
@ -145,7 +146,7 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'LDAP Authentication',
|
$versions[] = array('name' => 'LDAP Authentication',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LdapAuthentication',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LdapAuthentication',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -33,6 +33,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||||||
|
|
||||||
class LdapAuthorizationPlugin extends AuthorizationPlugin
|
class LdapAuthorizationPlugin extends AuthorizationPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $roles_to_groups = array();
|
public $roles_to_groups = array();
|
||||||
public $login_group = null;
|
public $login_group = null;
|
||||||
|
|
||||||
@ -121,7 +123,7 @@ class LdapAuthorizationPlugin extends AuthorizationPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'LDAP Authorization',
|
$versions[] = array('name' => 'LDAP Authorization',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LdapAuthorization',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LdapAuthorization',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -33,6 +33,8 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class LilUrlPlugin extends UrlShortenerPlugin
|
class LilUrlPlugin extends UrlShortenerPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $serviceUrl;
|
public $serviceUrl;
|
||||||
|
|
||||||
function onInitializePlugin(){
|
function onInitializePlugin(){
|
||||||
@ -60,7 +62,7 @@ class LilUrlPlugin extends UrlShortenerPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => sprintf('LilUrl (%s)', $this->shortenerName),
|
$versions[] = array('name' => sprintf('LilUrl (%s)', $this->shortenerName),
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LilUrl',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LilUrl',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -29,10 +29,12 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class LinkPreviewPlugin extends Plugin
|
class LinkPreviewPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'LinkPreview',
|
$versions[] = array('name' => 'LinkPreview',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LinkPreview',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LinkPreview',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -35,6 +35,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class LogFilterPlugin extends Plugin
|
class LogFilterPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $default = true; // Set to false to require opting things in
|
public $default = true; // Set to false to require opting things in
|
||||||
public $priority = array(); // override by priority: array(LOG_ERR => true, LOG_DEBUG => false)
|
public $priority = array(); // override by priority: array(LOG_ERR => true, LOG_DEBUG => false)
|
||||||
public $regex = array(); // override by regex match of message: array('/twitter/i' => false)
|
public $regex = array(); // override by regex match of message: array('/twitter/i' => false)
|
||||||
@ -42,7 +44,7 @@ class LogFilterPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'LogFilter',
|
$versions[] = array('name' => 'LogFilter',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LogFilter',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/LogFilter',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -46,7 +46,7 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class MapstractionPlugin extends Plugin
|
class MapstractionPlugin extends Plugin
|
||||||
{
|
{
|
||||||
const VERSION = GNUSOCIAL_VERSION;
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/** provider name, one of:
|
/** provider name, one of:
|
||||||
'cloudmade', 'microsoft', 'openlayers', 'yahoo' */
|
'cloudmade', 'microsoft', 'openlayers', 'yahoo' */
|
||||||
@ -168,7 +168,7 @@ class MapstractionPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Mapstraction',
|
$versions[] = array('name' => 'Mapstraction',
|
||||||
'version' => self::VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Mapstraction',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Mapstraction',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -50,6 +50,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class MemcachePlugin extends Plugin
|
class MemcachePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
static $cacheInitialized = false;
|
static $cacheInitialized = false;
|
||||||
|
|
||||||
private $_conn = null;
|
private $_conn = null;
|
||||||
@ -239,7 +241,7 @@ class MemcachePlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Memcache',
|
$versions[] = array('name' => 'Memcache',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou, Craig Andrews',
|
'author' => 'Evan Prodromou, Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Memcache',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Memcache',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -54,6 +54,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class MemcachedPlugin extends Plugin
|
class MemcachedPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
static $cacheInitialized = false;
|
static $cacheInitialized = false;
|
||||||
|
|
||||||
private $_conn = null;
|
private $_conn = null;
|
||||||
@ -210,7 +212,7 @@ class MemcachedPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Memcached',
|
$versions[] = array('name' => 'Memcached',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou, Craig Andrews',
|
'author' => 'Evan Prodromou, Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Memcached',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Memcached',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -10,6 +10,8 @@ require_once __DIR__ . '/lib/util.php';
|
|||||||
*/
|
*/
|
||||||
class MentionURLPlugin extends Plugin
|
class MentionURLPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
function onEndFindMentions(Profile $sender, $text, &$mentions)
|
function onEndFindMentions(Profile $sender, $text, &$mentions)
|
||||||
{
|
{
|
||||||
$matches = array();
|
$matches = array();
|
||||||
@ -73,7 +75,7 @@ class MentionURLPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'MentionURL',
|
$versions[] = array('name' => 'MentionURL',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Stephen Paul Weber',
|
'author' => 'Stephen Paul Weber',
|
||||||
'homepage' => 'http://gnu.io/',
|
'homepage' => 'http://gnu.io/',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -44,6 +44,8 @@ require_once INSTALLDIR.'/plugins/Realtime/RealtimePlugin.php';
|
|||||||
*/
|
*/
|
||||||
class MeteorPlugin extends RealtimePlugin
|
class MeteorPlugin extends RealtimePlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $webserver = null;
|
public $webserver = null;
|
||||||
public $webport = null;
|
public $webport = null;
|
||||||
public $controlport = null;
|
public $controlport = null;
|
||||||
@ -163,7 +165,7 @@ class MeteorPlugin extends RealtimePlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Meteor',
|
$versions[] = array('name' => 'Meteor',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Meteor',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Meteor',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -45,6 +45,8 @@ require_once INSTALLDIR.'/plugins/Mobile/WAP20Plugin.php';
|
|||||||
*/
|
*/
|
||||||
class MobileProfilePlugin extends WAP20Plugin
|
class MobileProfilePlugin extends WAP20Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $DTD = null;
|
public $DTD = null;
|
||||||
public $serveMobile = false;
|
public $serveMobile = false;
|
||||||
public $reallyMobile = false;
|
public $reallyMobile = false;
|
||||||
@ -371,7 +373,7 @@ class MobileProfilePlugin extends WAP20Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'MobileProfile',
|
$versions[] = array('name' => 'MobileProfile',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Sarven Capadisli',
|
'author' => 'Sarven Capadisli',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/MobileProfile',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/MobileProfile',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -25,12 +25,14 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class ModHelperPlugin extends Plugin
|
class ModHelperPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
static $rights = array(Right::SILENCEUSER, Right::TRAINSPAM, Right::REVIEWSPAM);
|
static $rights = array(Right::SILENCEUSER, Right::TRAINSPAM, Right::REVIEWSPAM);
|
||||||
|
|
||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'ModHelper',
|
$versions[] = array('name' => 'ModHelper',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ModHelper',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ModHelper',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -49,6 +49,7 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class ModLogPlugin extends Plugin
|
class ModLogPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
const VIEWMODLOG = 'ModLogPlugin::VIEWMODLOG';
|
const VIEWMODLOG = 'ModLogPlugin::VIEWMODLOG';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -187,7 +188,7 @@ class ModLogPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'ModLog',
|
$versions[] = array('name' => 'ModLog',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ModLog',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ModLog',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -27,10 +27,12 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class ModPlusPlugin extends Plugin
|
class ModPlusPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'ModPlus',
|
$versions[] = array('name' => 'ModPlus',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ModPlus',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ModPlus',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -6,7 +6,7 @@ if (!defined('GNUSOCIAL')) {
|
|||||||
|
|
||||||
class NodeinfoPlugin extends Plugin
|
class NodeinfoPlugin extends Plugin
|
||||||
{
|
{
|
||||||
const VERSION = '0.0.1';
|
const VERSION = '1.0.1';
|
||||||
|
|
||||||
public function onRouterInitialized($m)
|
public function onRouterInitialized($m)
|
||||||
{
|
{
|
||||||
|
@ -30,6 +30,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class OStatusPlugin extends Plugin
|
class OStatusPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hook for RouterInitialized event.
|
* Hook for RouterInitialized event.
|
||||||
*
|
*
|
||||||
@ -1350,7 +1352,7 @@ class OStatusPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'OStatus',
|
$versions[] = array('name' => 'OStatus',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou, James Walker, Brion Vibber, Zach Copley',
|
'author' => 'Evan Prodromou, James Walker, Brion Vibber, Zach Copley',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OStatus',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OStatus',
|
||||||
// TRANS: Plugin description.
|
// TRANS: Plugin description.
|
||||||
|
@ -4,6 +4,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class OembedPlugin extends Plugin
|
class OembedPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
// settings which can be set in config.php with addPlugin('Oembed', array('param'=>'value', ...));
|
// settings which can be set in config.php with addPlugin('Oembed', array('param'=>'value', ...));
|
||||||
// WARNING, these are _regexps_ (slashes added later). Always escape your dots and end your strings
|
// WARNING, these are _regexps_ (slashes added later). Always escape your dots and end your strings
|
||||||
public $domain_whitelist = array( // hostname => service provider
|
public $domain_whitelist = array( // hostname => service provider
|
||||||
@ -451,7 +453,7 @@ class OembedPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Oembed',
|
$versions[] = array('name' => 'Oembed',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://gnu.io/',
|
'homepage' => 'http://gnu.io/',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -49,6 +49,7 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class OfflineBackupPlugin extends Plugin
|
class OfflineBackupPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
function onRouterInitialized($m)
|
function onRouterInitialized($m)
|
||||||
{
|
{
|
||||||
@ -74,7 +75,7 @@ class OfflineBackupPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'OfflineBackup',
|
$versions[] = array('name' => 'OfflineBackup',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OfflineBackup',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OfflineBackup',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -42,6 +42,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||||||
*/
|
*/
|
||||||
class OpenExternalLinkTargetPlugin extends Plugin
|
class OpenExternalLinkTargetPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
function onEndShowScripts($action)
|
function onEndShowScripts($action)
|
||||||
{
|
{
|
||||||
$action->inlineScript('$(document).on("click", "a[rel~=external]:not([class~=attachment])", function () { window.open(this.href); return false; });');
|
$action->inlineScript('$(document).on("click", "a[rel~=external]:not([class~=attachment])", function () { window.open(this.href); return false; });');
|
||||||
@ -52,7 +54,7 @@ class OpenExternalLinkTargetPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'OpenExternalLinkTarget',
|
$versions[] = array('name' => 'OpenExternalLinkTarget',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Sarven Capadisli',
|
'author' => 'Sarven Capadisli',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OpenExternalLinkTarget',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OpenExternalLinkTarget',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -50,6 +50,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class OpenIDPlugin extends Plugin
|
class OpenIDPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
// Plugin parameter: set true to disallow non-OpenID logins
|
// Plugin parameter: set true to disallow non-OpenID logins
|
||||||
// If set, overrides the setting in database or $config['site']['openidonly']
|
// If set, overrides the setting in database or $config['site']['openidonly']
|
||||||
public $openidOnly = null;
|
public $openidOnly = null;
|
||||||
@ -595,7 +597,7 @@ class OpenIDPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'OpenID',
|
$versions[] = array('name' => 'OpenID',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou, Craig Andrews',
|
'author' => 'Evan Prodromou, Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OpenID',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OpenID',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -77,6 +77,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class OpenXPlugin extends UAPPlugin
|
class OpenXPlugin extends UAPPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $adScript = null;
|
public $adScript = null;
|
||||||
|
|
||||||
function initialize()
|
function initialize()
|
||||||
@ -202,7 +204,7 @@ ENDOFSCRIPT;
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'OpenX',
|
$versions[] = array('name' => 'OpenX',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OpenX',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/OpenX',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class OpportunisticQMPlugin extends Plugin {
|
class OpportunisticQMPlugin extends Plugin {
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $qmkey = false;
|
public $qmkey = false;
|
||||||
public $secs_per_action = 1; // total seconds to run script per action
|
public $secs_per_action = 1; // total seconds to run script per action
|
||||||
public $rel_to_pageload = true; // relative to pageload or queue start
|
public $rel_to_pageload = true; // relative to pageload or queue start
|
||||||
@ -37,7 +39,7 @@ class OpportunisticQMPlugin extends Plugin {
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'OpportunisticQM',
|
$versions[] = array('name' => 'OpportunisticQM',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'http://www.gnu.org/software/social/',
|
'homepage' => 'http://www.gnu.org/software/social/',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -47,6 +47,8 @@ require_once INSTALLDIR.'/plugins/Realtime/RealtimePlugin.php';
|
|||||||
*/
|
*/
|
||||||
class OrbitedPlugin extends RealtimePlugin
|
class OrbitedPlugin extends RealtimePlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $webserver = null;
|
public $webserver = null;
|
||||||
public $webport = null;
|
public $webport = null;
|
||||||
public $channelbase = null;
|
public $channelbase = null;
|
||||||
@ -162,7 +164,7 @@ class OrbitedPlugin extends RealtimePlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Orbited',
|
$versions[] = array('name' => 'Orbited',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Orbited',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Orbited',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -51,6 +51,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class PiwikAnalyticsPlugin extends Plugin
|
class PiwikAnalyticsPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/** the base of your Piwik installation */
|
/** the base of your Piwik installation */
|
||||||
public $piwikroot = null;
|
public $piwikroot = null;
|
||||||
/** the Piwik Id of your statusnet installation */
|
/** the Piwik Id of your statusnet installation */
|
||||||
@ -106,7 +108,7 @@ ENDOFPIWIK;
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'PiwikAnalytics',
|
$versions[] = array('name' => 'PiwikAnalytics',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Tobias Diekershoff, Evan Prodromou',
|
'author' => 'Tobias Diekershoff, Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Piwik',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Piwik',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -45,7 +45,7 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class PollPlugin extends MicroAppPlugin
|
class PollPlugin extends MicroAppPlugin
|
||||||
{
|
{
|
||||||
const VERSION = '0.1';
|
const PLUGIN_VERSION = '0.1.0';
|
||||||
|
|
||||||
// @fixme which domain should we use for these namespaces?
|
// @fixme which domain should we use for these namespaces?
|
||||||
const POLL_OBJECT = 'http://activityschema.org/object/poll';
|
const POLL_OBJECT = 'http://activityschema.org/object/poll';
|
||||||
@ -123,7 +123,7 @@ class PollPlugin extends MicroAppPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Poll',
|
$versions[] = array('name' => 'Poll',
|
||||||
'version' => self::VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Poll',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Poll',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -34,6 +34,8 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class PostDebugPlugin extends Plugin
|
class PostDebugPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set to a directory to dump individual items instead of
|
* Set to a directory to dump individual items instead of
|
||||||
* sending to the debug log
|
* sending to the debug log
|
||||||
@ -51,7 +53,7 @@ class PostDebugPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'PostDebug',
|
$versions[] = array('name' => 'PostDebug',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/PostDebug',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/PostDebug',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -33,6 +33,8 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class PtitUrlPlugin extends UrlShortenerPlugin
|
class PtitUrlPlugin extends UrlShortenerPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $serviceUrl;
|
public $serviceUrl;
|
||||||
|
|
||||||
function onInitializePlugin(){
|
function onInitializePlugin(){
|
||||||
@ -60,7 +62,7 @@ class PtitUrlPlugin extends UrlShortenerPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => sprintf('PtitUrl (%s)', $this->shortenerName),
|
$versions[] = array('name' => sprintf('PtitUrl (%s)', $this->shortenerName),
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/PtitUrl',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/PtitUrl',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -46,6 +46,7 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class QnAPlugin extends MicroAppPlugin
|
class QnAPlugin extends MicroAppPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
var $oldSaveNew = true;
|
var $oldSaveNew = true;
|
||||||
|
|
||||||
@ -128,7 +129,7 @@ class QnAPlugin extends MicroAppPlugin
|
|||||||
{
|
{
|
||||||
$versions[] = array(
|
$versions[] = array(
|
||||||
'name' => 'QnA',
|
'name' => 'QnA',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Zach Copley',
|
'author' => 'Zach Copley',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/QnA',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/QnA',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -31,7 +31,7 @@ if (!defined('STATUSNET')) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
define('RSSCLOUDPLUGIN_VERSION', '0.1');
|
define('RSSCLOUDPLUGIN_VERSION', '0.1.0');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugin class for adding RSSCloud capabilities to StatusNet
|
* Plugin class for adding RSSCloud capabilities to StatusNet
|
||||||
|
@ -45,6 +45,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class RegisterThrottlePlugin extends Plugin
|
class RegisterThrottlePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Array of time spans in seconds to limits.
|
* Array of time spans in seconds to limits.
|
||||||
*
|
*
|
||||||
@ -239,7 +241,7 @@ class RegisterThrottlePlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'RegisterThrottle',
|
$versions[] = array('name' => 'RegisterThrottle',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/RegisterThrottle',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/RegisterThrottle',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -53,6 +53,8 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||||||
*/
|
*/
|
||||||
class RequireValidatedEmailPlugin extends Plugin
|
class RequireValidatedEmailPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Users created before this time will be grandfathered in
|
* Users created before this time will be grandfathered in
|
||||||
* without the validation requirement.
|
* without the validation requirement.
|
||||||
@ -216,7 +218,7 @@ class RequireValidatedEmailPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
$versions[] =
|
$versions[] =
|
||||||
array('name' => 'Require Validated Email',
|
array('name' => 'Require Validated Email',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews, '.
|
'author' => 'Craig Andrews, '.
|
||||||
'Evan Prodromou, '.
|
'Evan Prodromou, '.
|
||||||
'Brion Vibber',
|
'Brion Vibber',
|
||||||
|
@ -33,6 +33,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
|
|||||||
|
|
||||||
class ReverseUsernameAuthenticationPlugin extends AuthenticationPlugin
|
class ReverseUsernameAuthenticationPlugin extends AuthenticationPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
//---interface implementation---//
|
//---interface implementation---//
|
||||||
|
|
||||||
function onInitializePlugin(){
|
function onInitializePlugin(){
|
||||||
@ -60,7 +61,7 @@ class ReverseUsernameAuthenticationPlugin extends AuthenticationPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Reverse Username Authentication',
|
$versions[] = array('name' => 'Reverse Username Authentication',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ReverseUsernameAuthentication',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ReverseUsernameAuthentication',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -29,12 +29,14 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class SQLProfilePlugin extends Plugin
|
class SQLProfilePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
private $recursionGuard = false;
|
private $recursionGuard = false;
|
||||||
|
|
||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'SQLProfile',
|
$versions[] = array('name' => 'SQLProfile',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SQLProfile',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SQLProfile',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -29,6 +29,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class SQLStatsPlugin extends Plugin
|
class SQLStatsPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
protected $queryCount = 0;
|
protected $queryCount = 0;
|
||||||
protected $queryStart = 0;
|
protected $queryStart = 0;
|
||||||
protected $queryTimes = array();
|
protected $queryTimes = array();
|
||||||
@ -37,7 +39,7 @@ class SQLStatsPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'SQLStats',
|
$versions[] = array('name' => 'SQLStats',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SQLStats',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SQLStats',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -103,6 +103,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class SamplePlugin extends Plugin
|
class SamplePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugins are configured using public instance attributes. To set
|
* Plugins are configured using public instance attributes. To set
|
||||||
* their values, site administrators use this syntax:
|
* their values, site administrators use this syntax:
|
||||||
@ -225,7 +227,7 @@ class SamplePlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Sample',
|
$versions[] = array('name' => 'Sample',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber, Evan Prodromou',
|
'author' => 'Brion Vibber, Evan Prodromou',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Sample',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Sample',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -44,7 +44,7 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class SearchSubPlugin extends Plugin
|
class SearchSubPlugin extends Plugin
|
||||||
{
|
{
|
||||||
const VERSION = '0.1';
|
const PLUGIN_VERSION = '0.1.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Database schema setup
|
* Database schema setup
|
||||||
@ -91,7 +91,7 @@ class SearchSubPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'SearchSub',
|
$versions[] = array('name' => 'SearchSub',
|
||||||
'version' => self::VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SearchSub',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SearchSub',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -6,12 +6,12 @@ if (!defined('GNUSOCIAL')) {
|
|||||||
|
|
||||||
class SensitiveContentPlugin extends Plugin
|
class SensitiveContentPlugin extends Plugin
|
||||||
{
|
{
|
||||||
const VERSION = '0.0.1';
|
const PLUGIN_VERSION = '0.0.1';
|
||||||
|
|
||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Sensitive Content',
|
$versions[] = array('name' => 'Sensitive Content',
|
||||||
'version' => self::VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'MoonMan',
|
'author' => 'MoonMan',
|
||||||
'homepage' => 'https://gitgud.io/ShitposterClub/SensitiveContent/',
|
'homepage' => 'https://gitgud.io/ShitposterClub/SensitiveContent/',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -25,6 +25,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class SharePlugin extends ActivityVerbHandlerPlugin
|
class SharePlugin extends ActivityVerbHandlerPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public function tag()
|
public function tag()
|
||||||
{
|
{
|
||||||
return 'share';
|
return 'share';
|
||||||
@ -360,7 +362,7 @@ class SharePlugin extends ActivityVerbHandlerPlugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Share verb',
|
$versions[] = array('name' => 'Share verb',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'https://gnu.io/',
|
'homepage' => 'https://gnu.io/',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -26,6 +26,8 @@ if (!defined('STATUSNET')) { exit(1); }
|
|||||||
|
|
||||||
class ShareNoticePlugin extends Plugin
|
class ShareNoticePlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $targets = array(
|
public $targets = array(
|
||||||
array('Twitter'),
|
array('Twitter'),
|
||||||
array('Facebook'),
|
array('Facebook'),
|
||||||
@ -214,7 +216,7 @@ class FacebookShareTarget extends NoticeShareTarget
|
|||||||
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ShareNotice';
|
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ShareNotice';
|
||||||
|
|
||||||
$versions[] = array('name' => 'ShareNotice',
|
$versions[] = array('name' => 'ShareNotice',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => $url,
|
'homepage' => $url,
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -25,6 +25,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
*/
|
*/
|
||||||
class SimpleCaptchaPlugin extends Plugin
|
class SimpleCaptchaPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public function initialize()
|
public function initialize()
|
||||||
{
|
{
|
||||||
// This probably needs some work. For example with IPv6 you can easily generate new IPs...
|
// This probably needs some work. For example with IPv6 you can easily generate new IPs...
|
||||||
@ -62,7 +64,7 @@ class SimpleCaptchaPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'Simple Captcha',
|
$versions[] = array('name' => 'Simple Captcha',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'https://gnu.io/social',
|
'homepage' => 'https://gnu.io/social',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -33,6 +33,8 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class SimpleUrlPlugin extends UrlShortenerPlugin
|
class SimpleUrlPlugin extends UrlShortenerPlugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $serviceUrl;
|
public $serviceUrl;
|
||||||
|
|
||||||
function onInitializePlugin(){
|
function onInitializePlugin(){
|
||||||
@ -50,7 +52,7 @@ class SimpleUrlPlugin extends UrlShortenerPlugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => sprintf('SimpleUrl (%s)', $this->shortenerName),
|
$versions[] = array('name' => sprintf('SimpleUrl (%s)', $this->shortenerName),
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SimpleUrl',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SimpleUrl',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -46,6 +46,8 @@ if (!defined('STATUSNET')) {
|
|||||||
*/
|
*/
|
||||||
class SitemapPlugin extends Plugin
|
class SitemapPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
const USERS_PER_MAP = 50000;
|
const USERS_PER_MAP = 50000;
|
||||||
const NOTICES_PER_MAP = 50000;
|
const NOTICES_PER_MAP = 50000;
|
||||||
|
|
||||||
@ -178,7 +180,7 @@ class SitemapPlugin extends Plugin
|
|||||||
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Sitemap';
|
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Sitemap';
|
||||||
|
|
||||||
$versions[] = array('name' => 'Sitemap',
|
$versions[] = array('name' => 'Sitemap',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Evan Prodromou',
|
'author' => 'Evan Prodromou',
|
||||||
'homepage' => $url,
|
'homepage' => $url,
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -26,6 +26,8 @@ if (!defined('STATUSNET')) { exit(1); }
|
|||||||
|
|
||||||
class SlicedFavoritesPlugin extends Plugin
|
class SlicedFavoritesPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Example:
|
* Example:
|
||||||
*
|
*
|
||||||
@ -100,7 +102,7 @@ class SlicedFavoritesPlugin extends Plugin
|
|||||||
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SlicedFavorites';
|
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SlicedFavorites';
|
||||||
|
|
||||||
$versions[] = array('name' => 'SlicedFavorites',
|
$versions[] = array('name' => 'SlicedFavorites',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => $url,
|
'homepage' => $url,
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -53,6 +53,8 @@ foreach($sphinxDefaults as $key => $val) {
|
|||||||
*/
|
*/
|
||||||
class SphinxSearchPlugin extends Plugin
|
class SphinxSearchPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Automatically load any classes used
|
* Automatically load any classes used
|
||||||
*
|
*
|
||||||
@ -110,7 +112,7 @@ class SphinxSearchPlugin extends Plugin
|
|||||||
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SphinxSearch';
|
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SphinxSearch';
|
||||||
|
|
||||||
$versions[] = array('name' => 'SphinxSearch',
|
$versions[] = array('name' => 'SphinxSearch',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Brion Vibber',
|
'author' => 'Brion Vibber',
|
||||||
'homepage' => $url,
|
'homepage' => $url,
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
@ -6,6 +6,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class StoreRemoteMediaPlugin extends Plugin
|
class StoreRemoteMediaPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
// settings which can be set in config.php with addPlugin('Oembed', array('param'=>'value', ...));
|
// settings which can be set in config.php with addPlugin('Oembed', array('param'=>'value', ...));
|
||||||
// WARNING, these are _regexps_ (slashes added later). Always escape your dots and end your strings
|
// WARNING, these are _regexps_ (slashes added later). Always escape your dots and end your strings
|
||||||
public $domain_whitelist = array( // hostname => service provider
|
public $domain_whitelist = array( // hostname => service provider
|
||||||
@ -201,7 +203,7 @@ class StoreRemoteMediaPlugin extends Plugin
|
|||||||
public function onPluginVersion(array &$versions)
|
public function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'StoreRemoteMedia',
|
$versions[] = array('name' => 'StoreRemoteMedia',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Mikael Nordfeldth',
|
'author' => 'Mikael Nordfeldth',
|
||||||
'homepage' => 'https://gnu.io/',
|
'homepage' => 'https://gnu.io/',
|
||||||
'description' =>
|
'description' =>
|
||||||
|
@ -31,6 +31,8 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
|||||||
|
|
||||||
class StrictTransportSecurityPlugin extends Plugin
|
class StrictTransportSecurityPlugin extends Plugin
|
||||||
{
|
{
|
||||||
|
const PLUGIN_VERSION = '2.0.0';
|
||||||
|
|
||||||
public $max_age = 15552000;
|
public $max_age = 15552000;
|
||||||
public $includeSubDomains = false;
|
public $includeSubDomains = false;
|
||||||
public $preloadToken = false;
|
public $preloadToken = false;
|
||||||
@ -53,7 +55,7 @@ class StrictTransportSecurityPlugin extends Plugin
|
|||||||
function onPluginVersion(array &$versions)
|
function onPluginVersion(array &$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'StrictTransportSecurity',
|
$versions[] = array('name' => 'StrictTransportSecurity',
|
||||||
'version' => GNUSOCIAL_VERSION,
|
'version' => self::PLUGIN_VERSION,
|
||||||
'author' => 'Craig Andrews',
|
'author' => 'Craig Andrews',
|
||||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/StrictTransportSecurity',
|
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/StrictTransportSecurity',
|
||||||
'rawdescription' =>
|
'rawdescription' =>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user