Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION

This commit is contained in:
Mikael Nordfeldth 2013-11-01 13:51:41 +01:00
parent 255943d78f
commit f110fc5c9a
104 changed files with 110 additions and 111 deletions

View File

@ -52,12 +52,12 @@ class ApiGNUsocialVersionAction extends ApiPrivateAuthAction
switch ($this->format) {
case 'xml':
$this->initDocument('xml');
$this->element('version', null, STATUSNET_VERSION);
$this->element('version', null, GNUSOCIAL_VERSION);
$this->endDocument('xml');
break;
case 'json':
$this->initDocument('json');
print '"'.STATUSNET_VERSION.'"';
print '"'.GNUSOCIAL_VERSION.'"';
$this->endDocument('json');
break;
default:

View File

@ -302,17 +302,17 @@ class Action extends HTMLOutputter // lawsuit
if (Event::handle('StartShowUAStyles', array($this))) {
$this->comment('[if IE]><link rel="stylesheet" type="text/css" '.
'href="'.Theme::path('css/ie.css', 'base').'?version='.STATUSNET_VERSION.'" /><![endif]');
'href="'.Theme::path('css/ie.css', 'base').'?version='.GNUSOCIAL_VERSION.'" /><![endif]');
foreach (array(6,7) as $ver) {
if (file_exists(Theme::file('css/ie'.$ver.'.css', 'base'))) {
// Yes, IE people should be put in jail.
$this->comment('[if lte IE '.$ver.']><link rel="stylesheet" type="text/css" '.
'href="'.Theme::path('css/ie'.$ver.'.css', 'base').'?version='.STATUSNET_VERSION.'" /><![endif]');
'href="'.Theme::path('css/ie'.$ver.'.css', 'base').'?version='.GNUSOCIAL_VERSION.'" /><![endif]');
}
}
if (file_exists(Theme::file('css/ie.css'))) {
$this->comment('[if IE]><link rel="stylesheet" type="text/css" '.
'href="'.Theme::path('css/ie.css', null).'?version='.STATUSNET_VERSION.'" /><![endif]');
'href="'.Theme::path('css/ie.css', null).'?version='.GNUSOCIAL_VERSION.'" /><![endif]');
}
Event::handle('EndShowUAStyles', array($this));
}

View File

@ -168,7 +168,7 @@ class Atom10Feed extends XMLStringer
$this->element(
'generator', array(
'uri' => 'http://status.net',
'version' => STATUSNET_VERSION
'version' => GNUSOCIAL_VERSION
),
'StatusNet'
);

View File

@ -141,7 +141,7 @@ class Cache
$build = common_config('site', 'build');
$prefix = STATUSNET_VERSION.':'.$build.':'.$uniq;
$prefix = GNUSOCIAL_VERSION.':'.$build.':'.$uniq;
}
return Cache::key($prefix.':'.$extra);

View File

@ -26,7 +26,6 @@ define('GNUSOCIAL_BASE_VERSION', '1.1.1');
define('GNUSOCIAL_LIFECYCLE', 'alpha'); // 'dev', 'alpha[0-9]+', 'beta[0-9]+', 'rc[0-9]+', 'release'
define('GNUSOCIAL_VERSION', GNUSOCIAL_BASE_VERSION . '-' . GNUSOCIAL_LIFECYCLE);
define('STATUSNET_VERSION', GNUSOCIAL_VERSION); // compatibility
define('GNUSOCIAL_CODENAME', 'Not decided yet');

View File

@ -377,7 +377,7 @@ class HTMLOutputter extends XMLOutputter
if (strpos($src, 'plugins/') === 0 || strpos($src, 'local/') === 0) {
$src = common_path($src, StatusNet::isHTTPS()) . '?version=' . STATUSNET_VERSION;
$src = common_path($src, StatusNet::isHTTPS()) . '?version=' . GNUSOCIAL_VERSION;
} else {
@ -428,7 +428,7 @@ class HTMLOutputter extends XMLOutputter
$path = '/'.$path;
}
$src = $protocol.'://'.$server.$path.$src . '?version=' . STATUSNET_VERSION;
$src = $protocol.'://'.$server.$path.$src . '?version=' . GNUSOCIAL_VERSION;
}
}
@ -486,7 +486,7 @@ class HTMLOutputter extends XMLOutputter
}else{
$src = common_path($src, StatusNet::isHTTPS());
}
$src.= '?version=' . STATUSNET_VERSION;
$src.= '?version=' . GNUSOCIAL_VERSION;
}
$this->element('link', array('rel' => 'stylesheet',
'type' => 'text/css',

View File

@ -125,7 +125,7 @@ class Snapshot
// Some basic identification stuff
$this->stats['version'] = STATUSNET_VERSION;
$this->stats['version'] = GNUSOCIAL_VERSION;
$this->stats['phpversion'] = phpversion();
$this->stats['name'] = common_config('site', 'name');
$this->stats['root'] = common_root_url();

View File

@ -105,7 +105,7 @@ class APCPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'APC',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:APC',
'rawdescription' =>

View File

@ -90,7 +90,7 @@ class AccountManagerPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'AccountManager',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:AccountManager',
'rawdescription' =>

View File

@ -218,7 +218,7 @@ class ActivitySpamPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ActivitySpam',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:ActivitySpam',
'description' =>

View File

@ -188,7 +188,7 @@ class AdsensePlugin extends UAPPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'BlankAdPlugin',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Adsense',
'rawdescription' =>

View File

@ -154,7 +154,7 @@ class AimPlugin extends ImPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'AIM',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:AIM',
'rawdescription' =>

View File

@ -78,7 +78,7 @@ class ApiLoggerPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ApiLogger',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:ApiLogger',
'rawdescription' =>

View File

@ -149,7 +149,7 @@ class AuthCryptPlugin extends AuthenticationPlugin
public function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'AuthCrypt',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://status.net/wiki/Plugin:AuthCrypt',
'rawdescription' =>

View File

@ -59,7 +59,7 @@ class AutoSandboxPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'AutoSandbox',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Sean Carmody',
'homepage' => 'http://status.net/wiki/Plugin:AutoSandbox',
'rawdescription' =>

View File

@ -55,7 +55,7 @@ class AutocompletePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Autocomplete',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:Autocomplete',
'rawdescription' =>

View File

@ -148,7 +148,7 @@ class BitlyUrlPlugin extends UrlShortenerPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => sprintf('BitlyUrl (%s)', $this->shortenerName),
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews, Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:BitlyUrl',
'rawdescription' =>

View File

@ -42,7 +42,7 @@ if (!defined('STATUSNET')) {
*/
class BlacklistPlugin extends Plugin
{
const VERSION = STATUSNET_VERSION;
const VERSION = GNUSOCIAL_VERSION;
public $nicknames = array();
public $urls = array();

View File

@ -120,7 +120,7 @@ class BlankAdPlugin extends UAPPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'BlankAd',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:BlankAdPlugin',
'rawdescription' =>

View File

@ -87,7 +87,7 @@ class BlogPlugin extends MicroAppPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Blog',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Blog',
'rawdescription' =>

View File

@ -99,7 +99,7 @@ class CacheLogPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'CacheLog',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:CacheLog',
'description' =>

View File

@ -150,7 +150,7 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'CAS Authentication',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:CasAuthentication',
// TRANS: Plugin description. CAS is Central Authentication Service.

View File

@ -57,7 +57,7 @@ class ClientSideShortenPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Shorten',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:ClientSideShorten',
'rawdescription' =>

View File

@ -107,7 +107,7 @@ class CometPlugin extends RealtimePlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Comet',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Comet',
'rawdescription' =>

View File

@ -220,7 +220,7 @@ class DirectoryPlugin extends Plugin
{
$versions[] = array(
'name' => 'Directory',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:Directory',
// TRANS: Plugin description.

View File

@ -164,7 +164,7 @@ class DiskCachePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'DiskCache',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:DiskCache',
'rawdescription' =>

View File

@ -238,7 +238,7 @@ ENDOFSCRIPT;
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Disqus',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:Disqus',
'rawdescription' =>

View File

@ -193,7 +193,7 @@ class DomainStatusNetworkPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'DomainStatusNetwork',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:DomainStatusNetwork',
'rawdescription' =>

View File

@ -270,7 +270,7 @@ class DomainWhitelistPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'DomainWhitelist',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou, Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:DomainWhitelist',
'rawdescription' =>

View File

@ -104,7 +104,7 @@ class EchoPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Echo',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:Echo',
'rawdescription' =>

View File

@ -53,7 +53,7 @@ class EmailAuthenticationPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Email Authentication',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:EmailAuthentication',
'rawdescription' =>

View File

@ -175,7 +175,7 @@ class EmailRegistrationPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'EmailRegistration',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:EmailRegistration',
'rawdescription' =>

View File

@ -183,7 +183,7 @@ class EmailReminderPlugin extends Plugin
{
$versions[] = array(
'name' => 'EmailReminder',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:EmailReminder',
// TRANS: Plugin description.

View File

@ -69,7 +69,7 @@ class EmailSummaryPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'EmailSummary',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:EmailSummary',
'rawdescription' =>

View File

@ -93,7 +93,7 @@ class EventPlugin extends MicroappPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Event',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Event',
'description' =>

View File

@ -33,7 +33,7 @@ class ExtendedProfilePlugin extends Plugin
{
$versions[] = array(
'name' => 'ExtendedProfile',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber, Samantha Doherty, Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:ExtendedProfile',
// TRANS: Plugin description.

View File

@ -617,7 +617,7 @@ ENDOFSCRIPT;
{
$versions[] = array(
'name' => 'Facebook Bridge',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews, Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:FacebookBridge',
'rawdescription' =>

View File

@ -61,7 +61,7 @@ class FirePHPPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'FirePHP',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:FirePHP',
'rawdescription' =>

View File

@ -168,7 +168,7 @@ class FollowEveryonePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'FollowEveryone',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:FollowEveryone',
'rawdescription' =>

View File

@ -110,7 +110,7 @@ class ForceGroupPlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:ForceGroup';
$versions[] = array('name' => 'ForceGroup',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => $url,
'rawdescription' =>

View File

@ -117,7 +117,7 @@ class GeoURLPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'GeoURL',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:GeoURL',
'rawdescription' =>

View File

@ -490,7 +490,7 @@ class GeonamesPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Geonames',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Geonames',
'rawdescription' =>

View File

@ -62,7 +62,7 @@ class GravatarPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Gravatar',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Eric Helgeson, Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Gravatar',
'rawdescription' =>

View File

@ -70,7 +70,7 @@ class GroupFavoritedPlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:GroupFavorited';
$versions[] = array('name' => 'GroupFavorited',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => $url,
'rawdescription' =>

View File

@ -405,7 +405,7 @@ class GroupPrivateMessagePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'GroupPrivateMessage',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:GroupPrivateMessage',
'rawdescription' =>

View File

@ -79,7 +79,7 @@ class ImapPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'IMAP',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:IMAP',
'rawdescription' =>

View File

@ -175,7 +175,7 @@ class InProcessCachePlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:InProcessCache';
$versions[] = array('name' => 'InProcessCache',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => $url,
'description' =>

View File

@ -52,7 +52,7 @@ class InfiniteScrollPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'InfiniteScroll',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:InfiniteScroll',
'rawdescription' =>

View File

@ -374,7 +374,7 @@ class IrcPlugin extends ImPlugin {
*/
public function onPluginVersion(&$versions) {
$versions[] = array('name' => 'IRC',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Luke Fitzgerald',
'homepage' => 'http://status.net/wiki/Plugin:IRC',
'rawdescription' =>

View File

@ -54,7 +54,7 @@ class LRDDPlugin extends Plugin
public function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LRDD',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://www.gnu.org/software/social/',
// TRANS: Plugin description.

View File

@ -145,7 +145,7 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LDAP Authentication',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:LdapAuthentication',
'rawdescription' =>

View File

@ -121,7 +121,7 @@ class LdapAuthorizationPlugin extends AuthorizationPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LDAP Authorization',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:LdapAuthorization',
'rawdescription' =>

View File

@ -60,7 +60,7 @@ class LilUrlPlugin extends UrlShortenerPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => sprintf('LilUrl (%s)', $this->shortenerName),
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:LilUrl',
'rawdescription' =>

View File

@ -32,7 +32,7 @@ class LinkPreviewPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LinkPreview',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:LinkPreview',
'rawdescription' =>

View File

@ -42,7 +42,7 @@ class LogFilterPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'LogFilter',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:LogFilter',
'rawdescription' =>

View File

@ -46,7 +46,7 @@ if (!defined('STATUSNET')) {
*/
class MapstractionPlugin extends Plugin
{
const VERSION = STATUSNET_VERSION;
const VERSION = GNUSOCIAL_VERSION;
/** provider name, one of:
'cloudmade', 'google', 'microsoft', 'openlayers', 'yahoo' */

View File

@ -239,7 +239,7 @@ class MemcachePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Memcache',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou, Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:Memcache',
'rawdescription' =>

View File

@ -210,7 +210,7 @@ class MemcachedPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Memcached',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou, Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:Memcached',
'rawdescription' =>

View File

@ -162,7 +162,7 @@ class MeteorPlugin extends RealtimePlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Meteor',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Meteor',
'rawdescription' =>

View File

@ -144,7 +144,7 @@ class MinifyPlugin extends Plugin
}
function minifyUrl($src) {
return common_local_url('minify',null,array('f' => $src ,v => STATUSNET_VERSION));
return common_local_url('minify',null,array('f' => $src ,v => GNUSOCIAL_VERSION));
}
static function minifyJs($code) {
@ -160,7 +160,7 @@ class MinifyPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Minify',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:Minify',
'rawdescription' =>

View File

@ -410,7 +410,7 @@ class MobileProfilePlugin extends WAP20Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'MobileProfile',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Sarven Capadisli',
'homepage' => 'http://status.net/wiki/Plugin:MobileProfile',
'rawdescription' =>

View File

@ -32,7 +32,7 @@ class ModHelperPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ModHelper',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:ModHelper',
'rawdescription' =>

View File

@ -186,7 +186,7 @@ class ModLogPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ModLog',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:ModLog',
'description' =>

View File

@ -32,7 +32,7 @@ class ModPlusPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'ModPlus',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:ModPlus',
'rawdescription' =>

View File

@ -197,7 +197,7 @@ class MsnPlugin extends ImPlugin {
public function onPluginVersion(&$versions) {
$versions[] = array(
'name' => 'MSN',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Luke Fitzgerald',
'homepage' => 'http://status.net/wiki/Plugin:MSN',
'rawdescription' =>

View File

@ -1237,7 +1237,7 @@ class OStatusPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'OStatus',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou, James Walker, Brion Vibber, Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:OStatus',
// TRANS: Plugin description.

View File

@ -74,7 +74,7 @@ class OfflineBackupPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'OfflineBackup',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:OfflineBackup',
'rawdescription' =>

View File

@ -52,7 +52,7 @@ class OpenExternalLinkTargetPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'OpenExternalLinkTarget',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Sarven Capadisli',
'homepage' => 'http://status.net/wiki/Plugin:OpenExternalLinkTarget',
'rawdescription' =>

View File

@ -647,7 +647,7 @@ class OpenIDPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'OpenID',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou, Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:OpenID',
'rawdescription' =>

View File

@ -202,7 +202,7 @@ ENDOFSCRIPT;
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'OpenX',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:OpenX',
'rawdescription' =>

View File

@ -162,7 +162,7 @@ class OrbitedPlugin extends RealtimePlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Orbited',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Orbited',
'rawdescription' =>

View File

@ -106,7 +106,7 @@ ENDOFPIWIK;
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'PiwikAnalytics',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Tobias Diekershoff, Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Piwik',
'rawdescription' =>

View File

@ -51,7 +51,7 @@ class PostDebugPlugin extends Plugin
public function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'PostDebug',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:PostDebug',
'rawdescription' =>

View File

@ -56,7 +56,7 @@ class PoweredByStatusNetPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'PoweredByStatusNet',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Sarven Capadisli',
'homepage' => 'http://status.net/wiki/Plugin:PoweredByStatusNet',
'rawdescription' =>

View File

@ -60,7 +60,7 @@ class PtitUrlPlugin extends UrlShortenerPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => sprintf('PtitUrl (%s)', $this->shortenerName),
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:PtitUrl',
'rawdescription' =>

View File

@ -121,7 +121,7 @@ class QnAPlugin extends MicroAppPlugin
{
$versions[] = array(
'name' => 'QnA',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Zach Copley',
'homepage' => 'http://status.net/wiki/Plugin:QnA',
'description' =>

View File

@ -107,7 +107,7 @@ class RecaptchaPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Recaptcha',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Eric Helgeson',
'homepage' => 'http://status.net/wiki/Plugin:Recaptcha',
'rawdescription' =>

View File

@ -179,7 +179,7 @@ class RegisterThrottlePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'RegisterThrottle',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:RegisterThrottle',
'description' =>

View File

@ -213,7 +213,7 @@ class RequireValidatedEmailPlugin extends Plugin
{
$versions[] =
array('name' => 'Require Validated Email',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews, '.
'Evan Prodromou, '.
'Brion Vibber',

View File

@ -60,7 +60,7 @@ class ReverseUsernameAuthenticationPlugin extends AuthenticationPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Reverse Username Authentication',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:ReverseUsernameAuthentication',
'rawdescription' =>

View File

@ -34,7 +34,7 @@ class SQLProfilePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'SQLProfile',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:SQLProfile',
'rawdescription' =>

View File

@ -37,7 +37,7 @@ class SQLStatsPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'SQLStats',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:SQLStats',
'rawdescription' =>

View File

@ -225,7 +225,7 @@ class SamplePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Sample',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber, Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Sample',
'rawdescription' =>

View File

@ -214,7 +214,7 @@ class FacebookShareTarget extends NoticeShareTarget
$url = 'http://status.net/wiki/Plugin:ShareNotice';
$versions[] = array('name' => 'ShareNotice',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => $url,
'rawdescription' =>

View File

@ -50,7 +50,7 @@ class SimpleUrlPlugin extends UrlShortenerPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => sprintf('SimpleUrl (%s)', $this->shortenerName),
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:SimpleUrl',
'rawdescription' =>

View File

@ -179,7 +179,7 @@ class SitemapPlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:Sitemap';
$versions[] = array('name' => 'Sitemap',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => $url,
'rawdescription' =>

View File

@ -100,7 +100,7 @@ class SlicedFavoritesPlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:SlicedFavorites';
$versions[] = array('name' => 'SlicedFavorites',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => $url,
'rawdescription' =>

View File

@ -110,7 +110,7 @@ class SphinxSearchPlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:SphinxSearch';
$versions[] = array('name' => 'SphinxSearch',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => $url,
'rawdescription' =>

View File

@ -52,7 +52,7 @@ class StrictTransportSecurityPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'StrictTransportSecurity',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:StrictTransportSecurity',
'rawdescription' =>

View File

@ -60,7 +60,7 @@ class SubMirrorPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'SubMirror',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:SubMirror',
'rawdescription' =>

View File

@ -160,7 +160,7 @@ class SubscriptionThrottlePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'SubscriptionThrottle',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:SubscriptionThrottle',
'rawdescription' =>

View File

@ -47,7 +47,7 @@ class TabFocusPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'TabFocus',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews and Paul Irish',
'homepage' => 'http://status.net/wiki/Plugin:TabFocus',
'rawdescription' =>

View File

@ -60,7 +60,7 @@ class TightUrlPlugin extends UrlShortenerPlugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => sprintf('TightUrl (%s)', $this->shortenerName),
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:TightUrl',
'rawdescription' =>

View File

@ -79,7 +79,7 @@ class TinyMCEPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'TinyMCE',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:TinyMCE',
'rawdescription' =>

View File

@ -47,7 +47,7 @@ require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
*/
class TwitterBridgePlugin extends Plugin
{
const VERSION = STATUSNET_VERSION;
const VERSION = GNUSOCIAL_VERSION;
public $adminImportControl = false; // Should the 'import' checkbox be exposed in the admin panel?
/**

View File

@ -232,7 +232,7 @@ class UserFlagPlugin extends Plugin
$url = 'http://status.net/wiki/Plugin:UserFlag';
$versions[] = array('name' => 'UserFlag',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => $url,
'rawdescription' =>

View File

@ -84,7 +84,7 @@ class UserLimitPlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'UserLimit',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:UserLimit',
'description' =>

View File

@ -140,7 +140,7 @@ class WebFingerPlugin extends Plugin
public function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'WebFinger',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Mikael Nordfeldth',
'homepage' => 'http://www.gnu.org/software/social/',
// TRANS: Plugin description.

View File

@ -52,7 +52,7 @@ class WikiHowProfilePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'WikiHow avatar fetcher',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Brion Vibber',
'homepage' => 'http://status.net/wiki/Plugin:Sample',
'rawdescription' =>

View File

@ -109,7 +109,7 @@ class XCachePlugin extends Plugin
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'XCache',
'version' => STATUSNET_VERSION,
'version' => GNUSOCIAL_VERSION,
'author' => 'Craig Andrews',
'homepage' => 'http://status.net/wiki/Plugin:XCache',
'rawdescription' =>

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