Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes

This commit is contained in:
Mikael Nordfeldth 2016-02-26 13:37:32 +01:00
commit 21778d057e
181 changed files with 1575 additions and 100 deletions

View File

@ -105,6 +105,11 @@ class User_group extends Managed_DataObject
return $this->getProfile()->getNickname(); return $this->getProfile()->getNickname();
} }
public function getFullname()
{
return $this->getProfile()->getFullname();
}
public static function defaultLogo($size) public static function defaultLogo($size)
{ {
static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile', static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',

View File

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

View File

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

View File

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

23
plugins/ActivitySpam/README Executable file
View File

@ -0,0 +1,23 @@
The ActivitySpam plugin is a spam filter for GNU social.
It needs to connect to a activityspam server.
You can run one yourself: https://github.com/e14n/activityspam
Or use a public instance ( ex: https://spamicity.info/ )
Installation
============
add "addPlugin('ActivitySpam');"
to the bottom of your config.php
Settings
========
server: URL to the activityspam server
consumerkey: The "key" provided by the activityspam server after you've registered and configured an account.
secret: The "secret" provided by the activityspam server after you've registered and configured an account
Example
=======
$config['activityspam']['server'] = 'https://spamicity.info/';
$config['activityspam']['consumerkey'] = 'CONSUMER_KEY';
$config['activityspam']['secret'] = 'SECRET';
addPlugin('ActivitySpam');

View File

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

14
plugins/AnonymousFave/README Executable file
View File

@ -0,0 +1,14 @@
The Anonymous Fave plugin allows anonymous (not logged in) users to favorite notices
Installation
============
add "addPlugin('AnonymousFave');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('AnonymousFave');

11
plugins/AntiBrute/README Executable file
View File

@ -0,0 +1,11 @@
The AntiBrute plugin implements a time delay between successive failed login
attempts to slow down brute force attacks ( https://en.wikipedia.org/wiki/Brute-force_attack#Countermeasures ).
Installation
============
This plugin is enabled by default
Settings
========
none

View File

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

18
plugins/ApiLogger/README Executable file
View File

@ -0,0 +1,18 @@
The ApiLogger plugin allows random sampling of API requests.
Installation
============
add "addPlugin('ApiLogger');"
to the bottom of your config.php
Settings
========
frequency: How often to sample (number between 0.0 and 1.0 representing
percentage -- e.g.: 0.1 will check about 10% of hits). Default 1.0
Example
=======
addPlugin('ApiLogger', array(
'frequency' => 1.0
));

View File

@ -155,7 +155,7 @@ class AuthCryptPlugin extends AuthenticationPlugin
$versions[] = array('name' => 'AuthCrypt', $versions[] = array('name' => 'AuthCrypt',
'version' => GNUSOCIAL_VERSION, 'version' => GNUSOCIAL_VERSION,
'author' => 'Mikael Nordfeldth', 'author' => 'Mikael Nordfeldth',
'homepage' => 'http://status.net/wiki/Plugin:AuthCrypt', 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AuthCrypt',
'rawdescription' => 'rawdescription' =>
// TRANS: Plugin description. // TRANS: Plugin description.
_m('Authentication and password hashing with crypt()')); _m('Authentication and password hashing with crypt()'));

View File

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

View File

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

View File

@ -50,7 +50,7 @@ class AwesomenessPlugin extends Plugin
'name' => 'Awesomeness', 'name' => 'Awesomeness',
'version' => self::VERSION, 'version' => self::VERSION,
'author' => 'Jeroen De Dauw', 'author' => 'Jeroen De Dauw',
'homepage' => 'http://status.net/wiki/Plugin: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.
'rawdescription' => _m('The Awesomeness plugin adds additional awesomeness ' . 'rawdescription' => _m('The Awesomeness plugin adds additional awesomeness ' .
'to a StatusNet installation.' 'to a StatusNet installation.'

14
plugins/Awesomeness/README Executable file
View File

@ -0,0 +1,14 @@
Fun sample plugin: tweaks input data and adds a 'Cornify' ( http://www.cornify.com ) widget to sidebar.
Installation
============
add "addPlugin('Awesomeness');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('Awesomeness');

View File

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

View File

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

17
plugins/Blacklist/README Executable file
View File

@ -0,0 +1,17 @@
Plugin to prevent use of nicknames or URLs on a blacklist
Installation
============
add "addPlugin('Blacklist');"
to the bottom of your config.php
Settings
========
nicknames: Array of nicknames to blacklist
urls: Array of URLs to blacklist
Example
=======
$config['blacklist']['nicknames'] = array('bad_nickname', 'worse_nickname');
$config['blacklist']['urls'] = array('http://example.org', 'http://example.net');
addPlugin('Blacklist');

View File

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

14
plugins/BlankAd/README Executable file
View File

@ -0,0 +1,14 @@
Plugin for testing ad layout
This plugin uses the UAPPlugin framework to output ad content. However,
its ad content is just images with one red pixel stretched to the
right size. It's mostly useful for debugging theme layout.
To use this plugin, set the parameter for the ad size you want to use
to true (or anything non-null).
Example
=======
To make a leaderboard:
addPlugin('BlankAd', array('leaderboard' => true));

View File

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

22
plugins/BlogspamNet/README Executable file
View File

@ -0,0 +1,22 @@
Plugin to check submitted notices with blogspam.net
When new notices are saved, we check their text with blogspam.net (or
a compatible service).
Blogspam.net is supposed to catch blog comment spam. Some of its tests
(min/max size, bayesian match) gave a lot of false positives so those
tests are turned off by default.
Installation
============
add "addPlugin('BlogspamNet');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('BlogspamNet');

View File

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

23
plugins/CacheLog/README Executable file
View File

@ -0,0 +1,23 @@
Log cache access
Adds "Cache MISS, Cache HIT, set cache value, delete cache value" etc.
information to the log file.
Note: entries are logged at the LOG_INFO level.
Installation
============
add "addPlugin('CacheLog');"
to the bottom of your config.php
Settings
========
none
Example
=======
Note that since most caching plugins return false for StartCache*
methods, you should add this plugin before them, i.e.
addPlugin('CacheLog');
addPlugin('XCache');

View File

@ -152,7 +152,7 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
$versions[] = array('name' => 'CAS Authentication', $versions[] = array('name' => 'CAS Authentication',
'version' => GNUSOCIAL_VERSION, 'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews', 'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin: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.
'rawdescription' => _m('The CAS Authentication plugin allows for StatusNet to handle authentication through CAS (Central Authentication Service).')); 'rawdescription' => _m('The CAS Authentication plugin allows for StatusNet to handle authentication through CAS (Central Authentication Service).'));
return true; return true;

View File

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

View File

@ -3,5 +3,5 @@ shorten URLs as they entered, and before the notice is submitted.
Installation Installation
============ ============
Add "addPlugin('ClientSideShorten');" to the bottom of your config.php This plugin is enabled by default
That's it!

View File

@ -109,7 +109,7 @@ class CometPlugin extends RealtimePlugin
$versions[] = array('name' => 'Comet', $versions[] = array('name' => 'Comet',
'version' => GNUSOCIAL_VERSION, 'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou', 'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Comet', 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Comet',
'rawdescription' => 'rawdescription' =>
// TRANS: Plugin description message. Bayeux is a protocol for transporting asynchronous messages // TRANS: Plugin description message. Bayeux is a protocol for transporting asynchronous messages
// TRANS: and Comet is a web application model. // TRANS: and Comet is a web application model.

15
plugins/ConversationTree/README Executable file
View File

@ -0,0 +1,15 @@
The ConversationTree plugin displays conversation replies in a hierarchical
manner like StatusNet pre-v1.0 used to.
Installation
============
add "addPlugin('ConversationTree');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('ConversationTree');

12
plugins/Cronish/README Executable file
View File

@ -0,0 +1,12 @@
The Cronish plugin executes events on a near-minutely/hour/day/week basis.
Intervals are approximate and will vary depending on how busy
the instance is.
Installation
============
This plugin is enabled by default
Settings
========
none

17
plugins/Diaspora/README Executable file
View File

@ -0,0 +1,17 @@
The Diaspora plugin allows GNU social users to subscribe to Diaspora feeds
Note: The feeds are read-only at the moment. That is, replying to an entry
coming from Diaspora will not propagate to Diaspora.
Installation
============
add "addPlugin('Diaspora');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('Diaspora');

10
plugins/DirectMessage/README Executable file
View File

@ -0,0 +1,10 @@
The DirectMessage plugin allows users to send Direct Message to other local users
Installation
============
This plugin is enabled by default
Settings
========
none

View File

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

View File

@ -0,0 +1,15 @@
The DirectionDetector plugin detects notices with RTL content and displays them
in the correct direction.
Installation
============
add "addPlugin('DirectionDetector');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('DirectionDetector');

View File

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

15
plugins/Directory/README Executable file
View File

@ -0,0 +1,15 @@
The Directory plugin adds a user directory (list)
Installation
============
This plugin is enabled by default except on single-user instances, in which
case, it can be enabled by adding "addPlugin('Directory');" to the bottom of
your config.php
Settings
========
none
Example
=======
addPlugin('Directory');

View File

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

17
plugins/DiskCache/README Executable file
View File

@ -0,0 +1,17 @@
The DiskCache plugin implements cache interface with disk files.
Installation
============
add "addPlugin('DiskCache');"
to the bottom of your config.php
Settings
========
root: Directory where to save cache data. Default /tmp
Example
=======
addPlugin('DiskCache', array(
'root' => '/tmp'
));

View File

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

View File

@ -0,0 +1,24 @@
The DomainStatusNetwork plugin adds tools to map one status_network to one
email domain in a multi-site installation.
Relates to "status_network":
* /scripts/setup.cfg.sample
* /scripts/setup_status_network.sh
* /scripts/settag.php
* /scripts/delete_status_network.sh
* /scripts/move_status_network.sh
Installation
============
add "addPlugin('DomainStatusNetwork');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('DomainStatusNetwork');

View File

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

16
plugins/DomainWhitelist/README Executable file
View File

@ -0,0 +1,16 @@
The DomainWhitelist plugin restricts the email addresses in a domain to a
select whitelist.
Installation
============
add "addPlugin('DomainWhitelist');"
to the bottom of your config.php
Settings
========
whitelist: An array of whitelisted domains
Example
=======
$config['email']['whitelist'] = array('example.org', 'example.net');
addPlugin('DomainWhitelist');

View File

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

View File

@ -5,4 +5,9 @@ nickname and the provided password is checked.
Installation Installation
============ ============
add "addPlugin('emailAuthentication');" to the bottom of your config.php. This plugin is enabled by default
Settings
========
none

View File

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

View File

@ -0,0 +1,25 @@
The EmailRegistration plugin allows user registration with just an email
address.
When users register, the part before '@' in their email address will become
their nickname/username (normalized). In case of collisions, a auto-increment
number will be added to the username.
For example, if someone registers with "user@example.org", their username
will be "user". If someone else registers with "user@example.net", their
username will be user1, and so on.
Installation
============
add "addPlugin('EmailRegistration');"
to the bottom of your config.php
Note: This plugin is enabled by default on private instances.
Settings
========
none
Example
=======
addPlugin('EmailRegistration');

View File

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

21
plugins/EmailReminder/README Executable file
View File

@ -0,0 +1,21 @@
The EmailReminder plugin sends email reminders about various things
It will send reminder emails to email addresses that have been invited
but haven't registered yet.
It will also send reminders to email addresses that have registered but
haven't verified their email address yet.
Installation
============
add "addPlugin('EmailReminder');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('EmailReminder');

View File

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

22
plugins/EmailSummary/README Executable file
View File

@ -0,0 +1,22 @@
The EmailSummary plugin sends an email summary of the inbox to users in the
network.
After enabling the plugin, users will have an option to enable/disable the
feature in their "Email Settings" section.
You can run ./script/sendemailsummary.php to send emails (options are
documented in the file). You can run this script automatically via your OS's
cron mechanism to send emails regularly.
Installation
============
add "addPlugin('EmailSummary');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('EmailSummary');

View File

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

10
plugins/Event/README Normal file
View File

@ -0,0 +1,10 @@
The Event plugin adds event invitations and RSVPs types of notices.
Installation
============
This plugin is enabled by default
Settings
========
none

View File

@ -35,7 +35,7 @@ class ExtendedProfilePlugin extends Plugin
'name' => 'ExtendedProfile', 'name' => 'ExtendedProfile',
'version' => GNUSOCIAL_VERSION, 'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber, Samantha Doherty, Zach Copley', 'author' => 'Brion Vibber, Samantha Doherty, Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:ExtendedProfile', 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/ExtendedProfile',
// TRANS: Plugin description. // TRANS: Plugin description.
'rawdescription' => _m('UI extensions for additional profile fields.') 'rawdescription' => _m('UI extensions for additional profile fields.')
); );

View File

@ -0,0 +1,23 @@
The ExtendedProfile plugin adds additional profile fields such as:
* Phone
* IM
* Website
* Work experience
* Education
Installation
============
add "addPlugin('ExtendedProfile');"
to the bottom of your config.php
Note: This plugin is enabled by default on private instances.
Settings
========
none
Example
=======
addPlugin('ExtendedProfile');

View File

@ -594,7 +594,7 @@ ENDOFSCRIPT;
'name' => 'Facebook Bridge', 'name' => 'Facebook Bridge',
'version' => GNUSOCIAL_VERSION, 'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews, Zach Copley', 'author' => 'Craig Andrews, Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:FacebookBridge', 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/FacebookBridge',
'rawdescription' => 'rawdescription' =>
// TRANS: Plugin description. // TRANS: Plugin description.
_m('A plugin for integrating StatusNet with Facebook.') _m('A plugin for integrating StatusNet with Facebook.')

11
plugins/Favorite/README Normal file
View File

@ -0,0 +1,11 @@
The Favorite plugin adds the ability to mark a notice as a "favorite"
(i.e. "like").
Installation
============
This plugin is enabled by default
Settings
========
none

16
plugins/FeedPoller/README Normal file
View File

@ -0,0 +1,16 @@
The FeedPoller plugin allows users to subscribe to non-PuSH-enabled feeds
by regularly polling the source for new content.
Installation
============
add "addPlugin('FeedPoller');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('FeedPoller');

View File

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

View File

@ -0,0 +1,16 @@
The FollowEveryone plugin makes it so that when a new user registers, all
existing users follow them automatically.
Installation
============
add "addPlugin('FollowEveryone');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('FollowEveryone');

View File

@ -107,7 +107,7 @@ class ForceGroupPlugin extends Plugin
*/ */
function onPluginVersion(array &$versions) function onPluginVersion(array &$versions)
{ {
$url = 'http://status.net/wiki/Plugin: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' => GNUSOCIAL_VERSION,

16
plugins/ForceGroup/README Normal file
View File

@ -0,0 +1,16 @@
The ForceGroup plugin allows forced group memberships and forces all notices
to appear in groups that users were forced in.
Installation
============
add "addPlugin('ForceGroup');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('ForceGroup');

View File

View File

View File

View File

@ -121,7 +121,7 @@ class GeoURLPlugin extends Plugin
$versions[] = array('name' => 'GeoURL', $versions[] = array('name' => 'GeoURL',
'version' => GNUSOCIAL_VERSION, 'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou', 'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:GeoURL', 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GeoURL',
'rawdescription' => 'rawdescription' =>
// TRANS: Plugin description. // TRANS: Plugin description.
_m('Ping <a href="http://geourl.org/">GeoURL</a> when '. _m('Ping <a href="http://geourl.org/">GeoURL</a> when '.

19
plugins/GeoURL/README Normal file
View File

@ -0,0 +1,19 @@
The GeoURL plugin add extra <meta> headers for certain pages that geourl.org
understands and pings geourl.org when those pages are created.
Note: The third-party service that this plugin depends on (geourl.org) seems to
be dead.
Installation
============
add "addPlugin('GeoURL');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('GeoURL');

View File

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

19
plugins/Geonames/README Normal file
View File

@ -0,0 +1,19 @@
The Geonames plugin uses geonames.org to get human-readable names for locations
based on user-provided lat/long pairs.
The human-readable names appear after notices that have a lat/long location
attached to them.
Installation
============
add "addPlugin('Geonames');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('Geonames');

View File

@ -67,7 +67,7 @@ class GroupFavoritedPlugin extends Plugin
*/ */
function onPluginVersion(array &$versions) function onPluginVersion(array &$versions)
{ {
$url = 'http://status.net/wiki/Plugin: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' => GNUSOCIAL_VERSION,

View File

@ -0,0 +1,15 @@
The GroupFavorited plugin adds a menu item for popular notices in groups.
Installation
============
add "addPlugin('GroupFavorited');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('GroupFavorited');

View File

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

View File

@ -0,0 +1,15 @@
The GroupPrivateMessage plugin allows users to send private messages to a group.
Installation
============
add "addPlugin('GroupPrivateMessage');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('GroupPrivateMessage');

View File

@ -0,0 +1,21 @@
The ImageMagick plugin handles more kinds of image formats for thumbnails,
thanks to ImageMagick.
Note: This plugin depends on php5-imagick
Installation
============
add "addPlugin('ImageMagick');"
to the bottom of your config.php
Settings
========
animated: Whether to resize animated GIFs.
Note: We are not infinitely fast, so resizing animated GIFs is _not_ recommended.
Example
=======
$config['thumbnail']['animated'] = true;
addPlugin('ImageMagick');

View File

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

View File

@ -172,7 +172,7 @@ class InProcessCachePlugin extends Plugin
*/ */
function onPluginVersion(array &$versions) function onPluginVersion(array &$versions)
{ {
$url = 'http://status.net/wiki/Plugin: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' => GNUSOCIAL_VERSION,

View File

@ -0,0 +1,23 @@
The InProcessCache plugin adds an extra level of in-process caching to any
regular cache system like APC, XCache, or Memcache.
Installation
============
add "addPlugin('InProcessCache');"
to the bottom of your config.php
Settings
========
stats: Whether to dump statistics (cache size, etc) in the log file.
Note: entries are logged at the LOG_INFO level.
Example
=======
Note: since most caching plugins return false for StartCache* methods, you
should add this plugin before them, i.e.
$config['inprocess']['stats'] = true;
addPlugin('InProcessCache');
addPlugin('XCache');

View File

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

14
plugins/LRDD/README Normal file
View File

@ -0,0 +1,14 @@
The LRDD plugin implements Link-based Resource Descriptor Discovery
based on RFC6415, Web Host Metadata, i.e. the predecessor to WebFinger resource
discovery.
See: http://tools.ietf.org/html/rfc6415
Installation
============
This plugin is enabled by default
Settings
========
none

View File

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

View File

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

View File

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

17
plugins/LilUrl/README Normal file
View File

@ -0,0 +1,17 @@
The LilUrl plugin shortens URLs via a lilURL instance.
See: http://lilurl.sourceforge.net/
Installation
============
add "addPlugin('LilUrl', array('serviceUrl' => 'http://example.org'));"
to the bottom of your config.php
Settings
========
serviceUrl: The URL to the LilUrl instance.
Example
=======
addPlugin('LilUrl', array('serviceUrl' => 'http://example.org'));

View File

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

View File

@ -1 +1,23 @@
Depends on the oEmbed plugin (Oembed) The LinkPreview plugin adds a UI for previewing thumbnails from links.
Note: This plugin depends on the "Oembed" plugin.
Installation
============
add "addPlugin('LinkPreview');"
to the bottom of your config.php
Settings
========
process_links: Whether to process links or not
thumbwidth: The width of the link preview
thumbheight: The height of the link preview
Example
=======
addPlugin('Oembed'); // Dependency
$config['attachments']['process_links'] = true;
$config['attachments']['thumbwidth'] = 42;
$config['attachments']['thumbheight'] = 42;
addPlugin('LinkPreview');

View File

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

19
plugins/Linkback/README Normal file
View File

@ -0,0 +1,19 @@
The Linkback plugin performs linkbacks (pingbacks, trackbacks, webmentions) for
notices containing links.
See:
* https://en.wikipedia.org/wiki/Linkback
Installation
============
add "addPlugin('Linkback');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('Linkback');

View File

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

20
plugins/LogFilter/README Normal file
View File

@ -0,0 +1,20 @@
The LogFilter plugin provides server-side setting to filter log output by type or keyword.
Installation
============
add "addPlugin('LogFilter');"
to the bottom of your config.php
Settings
========
none
Example
=======
Disable all debug messages and those containing 'About to push':
addPlugin('LogFilter', array(
'priority' => array(LOG_DEBUG => false),
'regex' => array('/About to push/' => false)
));

View File

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

View File

@ -0,0 +1,21 @@
The Mapstraction plugin provides map visualization of location data.
Show maps of users' and friends' notices with http://www.mapstraction.com/.
Installation
============
add "addPlugin('Mapstraction');"
to the bottom of your config.php
Settings
========
provider: Name of the service providing maps ('cloudmade', 'google', 'microsoft', 'openlayers', 'yahoo')
apikey: provider API key (or 'appid'), if required
Example
=======
addPlugin('Mapstraction', array(
'provider' => 'openlayers',
'apikey' => 'API_KEY'
));

View File

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

28
plugins/Memcache/README Normal file
View File

@ -0,0 +1,28 @@
The Memcache plugin implements cache interface for memcache.
See: http://memcached.org/
Installation
============
add "addPlugin('Memcache');"
to the bottom of your config.php
Settings
========
servers: Array of memcache servers addresses
defaultExpiry: How long before cache expires (in seconds)
compressThreshold: Items over this size threshold are eligible for compression (in bytes)
compressMinSaving: If the compression would save more than this ratio, items are eligible for compression
Note: To be compressed, an item must be both over the size threshold AND save
more than the minimum ratio.
Example
=======
addPlugin('Memcache', array(
'servers' => array('127.0.0.1;11211'),
'compressThreshold' => 20480,
'compressMinSaving' => 0.2,
'defaultExpiry' => 86400 // 24h
));

View File

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

21
plugins/Memcached/README Normal file
View File

@ -0,0 +1,21 @@
The Memcached plugin implements cache interface for memcached.
See: http://memcached.org/
Installation
============
add "addPlugin('Memcached');"
to the bottom of your config.php
Settings
========
servers: Array of memcached servers addresses
defaultExpiry: How long before cache expires (in seconds)
Example
=======
addPlugin('Memcached', array(
'servers' => array('127.0.0.1;11211'),
'defaultExpiry' => 86400 // 24h
));

15
plugins/MentionURL/README Normal file
View File

@ -0,0 +1,15 @@
The MentionURL plugin allows mentioning arbitrary URLs.
Installation
============
add "addPlugin('MentionURL');"
to the bottom of your config.php
Settings
========
none
Example
=======
addPlugin('MentionURL');

View File

@ -165,7 +165,7 @@ class MeteorPlugin extends RealtimePlugin
$versions[] = array('name' => 'Meteor', $versions[] = array('name' => 'Meteor',
'version' => GNUSOCIAL_VERSION, 'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou', 'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Meteor', 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Meteor',
'rawdescription' => 'rawdescription' =>
// TRANS: Plugin description. // TRANS: Plugin description.
_m('Plugin to do "real time" updates using Meteor.')); _m('Plugin to do "real time" updates using Meteor.'));

View File

@ -162,7 +162,7 @@ class MinifyPlugin extends Plugin
$versions[] = array('name' => 'Minify', $versions[] = array('name' => 'Minify',
'version' => GNUSOCIAL_VERSION, 'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews', 'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:Minify', 'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/Minify',
'rawdescription' => 'rawdescription' =>
// TRANS: Plugin description. // TRANS: Plugin description.
_m('The Minify plugin minifies StatusNet\'s CSS and JavaScript, removing whitespace and comments.')); _m('The Minify plugin minifies StatusNet\'s CSS and JavaScript, removing whitespace and comments.'));

10
plugins/Mobile/README Normal file
View File

@ -0,0 +1,10 @@
Superclass for WAP 2.0 support
Installation
============
N/A
Settings
========
none

View File

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

View File

@ -0,0 +1,20 @@
The MobileProfile plugin implements XHTML MobileProfile output for supporting
user agents.
See: https://en.wikipedia.org/wiki/XHTML_Mobile_Profile
Installation
============
add "addPlugin('MobileProfile');"
to the bottom of your config.php
Note: This plugin is enabled by default on private and single-user instances.
Settings
========
none
Example
=======
addPlugin('MobileProfile');

Some files were not shown because too many files have changed in this diff Show More