]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 1 Nov 2013 12:51:41 +0000 (13:51 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 1 Nov 2013 12:51:41 +0000 (13:51 +0100)
104 files changed:
actions/apignusocialversion.php
lib/action.php
lib/atom10feed.php
lib/cache.php
lib/framework.php
lib/htmloutputter.php
lib/snapshot.php
plugins/APC/APCPlugin.php
plugins/AccountManager/AccountManagerPlugin.php
plugins/ActivitySpam/ActivitySpamPlugin.php
plugins/Adsense/AdsensePlugin.php
plugins/Aim/AimPlugin.php
plugins/ApiLogger/ApiLoggerPlugin.php
plugins/AuthCrypt/AuthCryptPlugin.php
plugins/AutoSandbox/AutoSandboxPlugin.php
plugins/Autocomplete/AutocompletePlugin.php
plugins/BitlyUrl/BitlyUrlPlugin.php
plugins/Blacklist/BlacklistPlugin.php
plugins/BlankAd/BlankAdPlugin.php
plugins/Blog/BlogPlugin.php
plugins/CacheLog/CacheLogPlugin.php
plugins/CasAuthentication/CasAuthenticationPlugin.php
plugins/ClientSideShorten/ClientSideShortenPlugin.php
plugins/Comet/CometPlugin.php
plugins/Directory/DirectoryPlugin.php
plugins/DiskCache/DiskCachePlugin.php
plugins/Disqus/DisqusPlugin.php
plugins/DomainStatusNetwork/DomainStatusNetworkPlugin.php
plugins/DomainWhitelist/DomainWhitelistPlugin.php
plugins/Echo/EchoPlugin.php
plugins/EmailAuthentication/EmailAuthenticationPlugin.php
plugins/EmailRegistration/EmailRegistrationPlugin.php
plugins/EmailReminder/EmailReminderPlugin.php
plugins/EmailSummary/EmailSummaryPlugin.php
plugins/Event/EventPlugin.php
plugins/ExtendedProfile/ExtendedProfilePlugin.php
plugins/FacebookBridge/FacebookBridgePlugin.php
plugins/FirePHP/FirePHPPlugin.php
plugins/FollowEveryone/FollowEveryonePlugin.php
plugins/ForceGroup/ForceGroupPlugin.php
plugins/GeoURL/GeoURLPlugin.php
plugins/Geonames/GeonamesPlugin.php
plugins/Gravatar/GravatarPlugin.php
plugins/GroupFavorited/GroupFavoritedPlugin.php
plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php
plugins/Imap/ImapPlugin.php
plugins/InProcessCache/InProcessCachePlugin.php
plugins/InfiniteScroll/InfiniteScrollPlugin.php
plugins/Irc/IrcPlugin.php
plugins/LRDD/LRDDPlugin.php
plugins/LdapAuthentication/LdapAuthenticationPlugin.php
plugins/LdapAuthorization/LdapAuthorizationPlugin.php
plugins/LilUrl/LilUrlPlugin.php
plugins/LinkPreview/LinkPreviewPlugin.php
plugins/LogFilter/LogFilterPlugin.php
plugins/Mapstraction/MapstractionPlugin.php
plugins/Memcache/MemcachePlugin.php
plugins/Memcached/MemcachedPlugin.php
plugins/Meteor/MeteorPlugin.php
plugins/Minify/MinifyPlugin.php
plugins/MobileProfile/MobileProfilePlugin.php
plugins/ModHelper/ModHelperPlugin.php
plugins/ModLog/ModLogPlugin.php
plugins/ModPlus/ModPlusPlugin.php
plugins/Msn/MsnPlugin.php
plugins/OStatus/OStatusPlugin.php
plugins/OfflineBackup/OfflineBackupPlugin.php
plugins/OpenExternalLinkTarget/OpenExternalLinkTargetPlugin.php
plugins/OpenID/OpenIDPlugin.php
plugins/OpenX/OpenXPlugin.php
plugins/Orbited/OrbitedPlugin.php
plugins/PiwikAnalytics/PiwikAnalyticsPlugin.php
plugins/PostDebug/PostDebugPlugin.php
plugins/PoweredByStatusNet/PoweredByStatusNetPlugin.php
plugins/PtitUrl/PtitUrlPlugin.php
plugins/QnA/QnAPlugin.php
plugins/Recaptcha/RecaptchaPlugin.php
plugins/RegisterThrottle/RegisterThrottlePlugin.php
plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php
plugins/ReverseUsernameAuthentication/ReverseUsernameAuthenticationPlugin.php
plugins/SQLProfile/SQLProfilePlugin.php
plugins/SQLStats/SQLStatsPlugin.php
plugins/Sample/SamplePlugin.php
plugins/ShareNotice/ShareNoticePlugin.php
plugins/SimpleUrl/SimpleUrlPlugin.php
plugins/Sitemap/SitemapPlugin.php
plugins/SlicedFavorites/SlicedFavoritesPlugin.php
plugins/SphinxSearch/SphinxSearchPlugin.php
plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php
plugins/SubMirror/SubMirrorPlugin.php
plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php
plugins/TabFocus/TabFocusPlugin.php
plugins/TightUrl/TightUrlPlugin.php
plugins/TinyMCE/TinyMCEPlugin.php
plugins/TwitterBridge/TwitterBridgePlugin.php
plugins/UserFlag/UserFlagPlugin.php
plugins/UserLimit/UserLimitPlugin.php
plugins/WebFinger/WebFingerPlugin.php
plugins/WikiHowProfile/WikiHowProfilePlugin.php
plugins/XCache/XCachePlugin.php
plugins/Xmpp/XmppPlugin.php
scripts/docgen.php
scripts/gnusocialversion.php
scripts/make-release.php

index 88fb5c51a62c2521c57414b6f17fdf3701ed5508..a56630c666f5d33e6531f66e4f3c7cabe8fba0b7 100644 (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:
index 5974a136beb23923e2fa6b3d97aa2e20f5fb34eb..da73c6cd09b6cc2496262f22edd512aca1adab15 100644 (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));
             }
index 0d2e0796da61642e7e876038e285a8e505e7b1c0..77e05b8ca56f5d4ee4d461fb1bc15c0b46c265d5 100644 (file)
@@ -168,7 +168,7 @@ class Atom10Feed extends XMLStringer
         $this->element(
             'generator', array(
                 'uri'     => 'http://status.net',
-                'version' => STATUSNET_VERSION
+                'version' => GNUSOCIAL_VERSION
             ),
             'StatusNet'
         );
index 59110f74d845f1a425ffbcdbca7cab44a9a75c2f..e087c2e6461d532a491fe4094054aed038f5b5d8 100644 (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);
index ab918dd768b24d54c3bf5f5149d29a681f79937d..3ef76ea4b5296981f07ca3c7a3823f1808f247c6 100644 (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');
 
index 578518ea411a7ae219500d3439e4fd1835379276..9ec7850402be85c99ea9d15d18fa377278bf63c0 100644 (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',
index 54cf512743e0bb6d5ea4d84a83908e01aae16272..f41efba7d7420a4714cf622077945209199aff0b 100644 (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();
index 851a4b4abce449486fd4fa71c7abc5dba2e1c82a..284a658239c09ad584c7dbc0da24b5e8100f980b 100644 (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' =>
index 3cf4bf440b59006218f82017f2bb773581e079ae..3dea569dfff312555c34c54e4d614bdb44fb44c5 100644 (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' =>
index 0f84006a6589be9d046b3a18e7ed2c60981b8400..a18d52c5dbdfc2cfe35d463a9a96e0c8ce7549f7 100644 (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' =>
index 78637b446e75df8dc24090b26678302546a0263c..742e7bf3666ffd9619567c330a19fab9f6de2ba3 100644 (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' =>
index f24472820503d334d0aadd420d2c676ec946c7db..034c40fa843ddbf3dcdd1d8c8cc099978343a006 100644 (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' =>
index bea78f78a3f86f7d17e0f1e104561e86c2cefa46..ba09e35f24a5d5cd4dcc23c712be25aa5bdf5765 100644 (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' =>
index 560df10559a492a855c7f584986de4ac63f00e5b..5e9d9835077dbe3c05fb39c2a605795c70387015 100644 (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' =>
index ca48020ea3b8668d73947010a2eff615eb121914..9e930c0cc4610d947ea15cbef1da9ce4df4a82bf 100644 (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' =>
index c1f61e416e2c2247485110dfc1d9759cb0e48652..ff56b60fc463cb210f1c4e83f90cf0cc440e2106 100644 (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' =>
index 8b2fc6551f0b53a95b886d2dc801aaa5dff8afaa..2286d1da3d5cc3ab8d2edb6550358266297cc3b6 100644 (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' =>
index 142ec2d056d4c0adfa572d8ee3bcf5b5085c1c04..4e1b030893b23e117118bafc6391ca58bf7a80cc 100644 (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();
index 1205cc0f7e4ffb39d388bae58b88e9da1cd40f6d..49f70e68a4e8fb4ea3aee7912b1e6e9ef29aafa0 100644 (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' =>
index 7fa23461d616e8597643133a6d6cdd1c4ca193f2..2d74b6531e241e247e63e6ce590c2da48db0adc5 100644 (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' =>
index 9eb3350784b5b98a4410193d9235cbaa244f85da..e722972bfce6dfe7251e69d83b3f244819c5ef78 100644 (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' =>
index 0efbb7519b5041628059fb4a2506c81666a81aa1..2f17492a8e2dd4c35356a954272eabc40644c6aa 100644 (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.
index ba4f05fc20b22be9e820a643812115a42f612e6f..0c2c9b76cc3aac751c3a8e22418a518abdcab108 100644 (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' =>
index c8072ac190af95bf939f35656279bd75469f3f50..70f5ab85fe45ac0e59404cac9b9eb734eebb5753 100644 (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' =>
index a3cc01c935e14405a5a0800da46a7ac93dcd2580..e061b89e467ea61215af4b70a4eeca880db0de76 100644 (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.
index d021a6641aa7dba0e025ab6620b1e6307f68be17..5d23d45f590f2f3fda92e063c35794b6034cb067 100644 (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' =>
index d6e29264d905a60da0ee3a88624ae75fa39715c3..28e0d80e9b952442785e8353e0b5220790d9f5f3 100644 (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' =>
index 732a85f373fc2d4de274d2d639b2ea3d693e41b5..0d0f74427722841a6045e7988b5c24d308ae2de5 100644 (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' =>
index 9aa67ab8450d32d08ee9c7ebfd6db2f8acc7c3d5..20073a07c409a1a3af67727fb10ca3fa5f5105bb 100644 (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' =>
index a6f87bc38d0e82557aea9e4d9078d7a487cc7887..b76ee27875d949c8f0b9fe6eb58be2eaf88d32a1 100644 (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' =>
index ba131945c167150a64ee2463e4af4f3991de2983..eb2bebac656e2b3b002862f87b65e4216f24a2c5 100644 (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' =>
index 14af35ec118327831a887fe21dcfe61b872b70b5..741f24305b9cdd6bdec67c88f592020fd3c363b0 100644 (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' =>
index e55f134a9492b4ee6c487c777777e6014ff5dd88..51950542b2b93a0487f089c3e02936048616f4f3 100644 (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.
index 0ba80e1e36521a492238772485e43e06ec96d0c7..d67ddf9fb3deffc8069c6c88f93f3ca2f28cec79 100644 (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' =>
index 2a8a078c747e717b294dbf0218b4928aeaaa60a5..07394d30c35099c3d989fb615f0dc7762899fffa 100644 (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' =>
index 578825aa34e8e8a3fcb5743fb19136f056d37a18..aa456c2f9b700890103592f3a9a1dde8ec9c84ae 100644 (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.
index 3bace7341b2b99aa614cb7abb3ae314012b7dcc5..21b2cd1f2c9bf54fc44495f671e8abbff7631d43 100644 (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' =>
index 8c6fae4d5f260c48212faa9b596b37c820717650..b6d3773c2082f343745767703bfb5dd4ed164d6f 100644 (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' =>
index b3f9341e1d3e89d688e7dc76a253905bd4b6ecca..ee38c7a3117f78f289a7b33e1c7483e3dc9bcfd2 100644 (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' =>
index be4fd7807055af0d94043095674f73f75a787bd1..a79c9d312bbbdd88dba8f3e164c46fdb890fe890 100644 (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' =>
index 9f2670eb822f40ce438ae11cf842aa6f3c565f95..d548de925adec7d2674f07ea94460d9cdbcbb838 100644 (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' =>
index ea9899442cd47c8c2d42f8db65086f8e7b9e90fd..68d66bc0b15a5d19f2808ef02f5d14167283709d 100644 (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' =>
index 2cb6bd8cac5a6da6426601d91a0f1d2eb44953ec..d7163988895ff02e1b218e32b50e1c36f1abf833 100644 (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' =>
index ee541f2dc04d140ca00d2a3be00583bd37f9230b..944a7251050a11e5058dfca143c1ac6b4de9a79c 100644 (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' =>
index 1cbf3c31f1f557606e27152b791e18685787b0ed..fd9667cb998fb1a4a666cdd53bc6f067377b2a58 100644 (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' =>
index 1d23e384a74a2016abd453df0dbb0121ea7db157..5711951e264f11157c917909ff40b3da37f761bb 100644 (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' =>
index 240b4e3188c938b7b85b9075411e65cefcaa7bcc..af3d822dfd034b4c442639b9f744a0c888da986b 100644 (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' =>
index cec1a5352473f3cb0679e355ff3c55033aa2cab0..44c5c5e880bc555c5e07421fb8f269ecfdeea9cd 100644 (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' =>
index 0610625a13f9cf0f77662c60af58337a3af3846e..7fe58e06aca2e4616f1c7e77e13a168a9679dadb 100644 (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' =>
index 23a10322dc44207f4c181c2787e38bf41cb8e8b0..e8bf82ec315f572f53e098dd84fac00f600491b8 100644 (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.
index 8da4ba4d53ab775006985d081d6ae81b476eab35..df28c5a09f5566113c775354af6302f3269295a9 100644 (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' =>
index 6c8f1253c53e19dec6675f2889966c3648fcadc6..9a666d15518030a267b7641ddbfcfb5717d3665b 100644 (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' =>
index 0ca3d3d6bed21c58402d1f3a2dd072c71c0e04b0..f871a956307e33285dee8d3499462f4e62777a3b 100644 (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' =>
index 652afdbdf961351cf01e0f8eab9f777d9700a927..301076ec94e7cb9658df0a86f2f4bac87be64e95 100644 (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' =>
index 4f3a45dcdcc661ed41b3838c740f25dc28478f3e..430e89594e91b9300bc494c75c82b1b1372bb9e4 100644 (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' =>
index 9883650206810d0dc82ea80008a17233a42651d7..0feeaba89e54aa1988746a5a2b98a4b465870231 100644 (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' */
index 8462dfc2c6085af96f448868af23a6dc4d45157e..8e674e62b8634716be03698e328875fc436c8053 100644 (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' =>
index 56793d0ff6b4dc5c054f0d806371e3bf191a77de..55c21cd923520152d7f444139944dc82bee43645 100644 (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' =>
index 1cff453d61fff3c515404608667e737449d50e46..d65fe3f0e51cd45a637d4c5ba6cc8806efde8341 100644 (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' =>
index 9a1f4110d1c12fe6a53fab2f7b61d015cfdf5dd7..1e13f8d80114db370523c1f133ffe42f08d65ee4 100644 (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' =>
index 6e682a4f87c70bd0975c25a4541e8ff9a93a8e45..f04e61c698dd401cf534491affde800d3949dddd 100644 (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' =>
index bed0d8d49e3d8160e98535d3e2e5cf347aecb663..4b4bf8f447d24d203a3807eb4160b7225e263198 100644 (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' =>
index 89f71fe866030537d5935a481356f65b6284ce3c..f5373aa947663147513b97492898a9ef54568476 100644 (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' =>
index 8d43f53b9a3f6849b55f0e774e79c5cb9d9cdaef..5ca2e7714221be769b0acae3a09641c8e8c03f16 100644 (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' =>
index 91c67f5f799d2f669b49a4699f04dc258f5b25a9..11bade80342e9a67be78a06cee4810627fcb325d 100644 (file)
@@ -197,7 +197,7 @@ class MsnPlugin extends ImPlugin {
     public function onPluginVersion(&$versions) {\r
         $versions[] = array(\r
             'name' => 'MSN',\r
-            'version' => STATUSNET_VERSION,\r
+            'version' => GNUSOCIAL_VERSION,\r
             'author' => 'Luke Fitzgerald',\r
             'homepage' => 'http://status.net/wiki/Plugin:MSN',\r
             'rawdescription' =>\r
index 217fe7356cc49064cb0ae6df42a877bff681a2d3..a7aed15067fa4211fa442bbeb96d5e1025658c60 100644 (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.
index 1dd636930ef36517ae12f0afd18b48d34f1ac3ac..a2e3d8c49b781868e67c1e1cf5b061b6b79a6abc 100644 (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' =>
index 0be250372676d9dd890526f7ad2471ccf102a55a..d5b9dfa0da5138020f3763ae23ec9d305a434eb9 100644 (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' =>
index 293eb3155a1e60fc0ab41b65f825af57ffe64bc1..b0bdc2885c1c41d5f9042655d31d070e4a5f2635 100644 (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' =>
index 7285cf1ca836f2b530780b34850e56c073b48357..6385d82102b6742f4e485a03c6160edaa88a2a72 100644 (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' =>
index d3b73a96148b0184bde067633c909bc285a8507c..6ae394b61d49470df6cc808bbfbc088fc422c325 100644 (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' =>
index 2c8558671570a2c8d8893de2317dbf1c6ec47d75..7b8be7900f10beb0d83901a7fe14471013b4daea 100644 (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' =>
index 558db71534c21654039dd4cbdb629b3650e17b23..3b4ccd272b258afd485a758e6866b7106e142008 100644 (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' =>
index eff2f7b491b60fc87f0abaaa87bc8c4e358bc273..badc24bbd74cef84a000f49d20b18fa359aba06f 100644 (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' =>
index cac5baf8b72e81fa339a19de656e82a1ba69254f..7696333145afd0106753e1c62561fcfa7556a20b 100644 (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' =>
index 37cfcb9be3044e0b2d16e557c93a7fdb3e542d83..a4709df462e6f97ce92e4e37f863c1fab320b991 100644 (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' =>
index 73a2dcc76acb9a3eb567fb4dbc8435212e5c4ef8..10bf2a3c0488a2ae40dec0b132ec334597019777 100644 (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' =>
index 2cfd98aad77dc169a27bbd5546e28b4d9ac6da9a..a049bfc4972e6b29784e6c0e52bc5fd48d616544 100644 (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' =>
index 8ad41fe05d6620c981423684dbf17d30f4692777..f7e17f80c8dd190549be5ad252d2c172722ac4c5 100644 (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',
index 568c1c9584f0b08d4cf7781040a342970fb3924f..959648bc8909ee3fb833c62e68a02b4cacbfc2ab 100644 (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' =>
index 20dfb88676e19cc23e430f5656a0729fd0a1a101..a29a7f5bea218237b870c58e636c56df94bb5853 100644 (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' =>
index de6ea2391760ce72f2b8840d8398e473528801b6..b20f72be424cd396ad28c511acbb7a4f377846d7 100644 (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' =>
index 93654106137dc27d70e0036e288b6c61c33f0ce8..0a0e50b3606c2d6330c0fe9f4dbf6a68b4f97038 100644 (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' =>
index 86ecfa88374d12b64baf4a4951c1ba6d324fc80f..fa1323d6f1b9f7c0caa8684e4dc7606a3112fa57 100644 (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' =>
index acf0e91e61b8939fcc967e54e2fe374fa2f5ecc6..574b466df659b43fd9df0571d7fb218d65c13f77 100644 (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' =>
index d65aba1222b32cdb4a6416d2f575bffcb6a546ac..ca165893167fd7989d9181dfab977ee25c7c74b6 100644 (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' =>
index 2a87a647456abe1e5aa8305206f13d676decb2f7..b3cf058a05d2eb5f36708d27adfc72d8f93b58a6 100644 (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' =>
index 7abfb04e9d2e18ac6990e00fd55111e9f11553aa..be7fc9536861c7f3bc77066e355ea437e849a2a0 100644 (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' =>
index 2c675e90ef5aa9097d7f213c1150c9edf6a3de6d..682b10cad287f01bfbece89e61fd5f80b18d1ee5 100644 (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' =>
index 7eb30d4d9d4578a09bbccea27688449226e04a4c..ca797c8531405c4b14e6d182f23cd9fbedb50ecb 100644 (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' =>
index 2bc6d0fa62914accd44811cd7641cbdc9938006a..b19a03d11c1d554d799be0514a440b4d0dd76d51 100644 (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' =>
index 58f3d06b1141a55a1de77b27de4771dc476df8d4..0dd7a902efe1d8868a5607a83468ed43791c9181 100644 (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' =>
index 6d96f40bc584db3aeee1e89f421c985f6700b21c..d9414a8e8c427866d1e01ddff33ea9edc6c18182 100644 (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' =>
index a5e4a481b8b9fe9162690f7eb543973c9c1d16f4..fff313834749c86c5c2f2cb66e612bad171e3eef 100644 (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' =>
index b8f091e2bb9964bb03fd58e696c2f60352df6285..03d4374547c61d62e658781771582fa4c684cb0e 100644 (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?
 
     /**
index 22955a2ebc0ee19ee1929f99fb0fed5093e003de..490a08f4a8e64fc3362bfb76da179be924ddd857 100644 (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' =>
index eec008180baacef9c1bba0901010c12419ad168b..f881e9006a210a66ff227950ca01da7a568e8d1c 100644 (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' =>
index 7e3453ffb2978a77916d95ffb05a2a0d1b986e84..f7e428e54cd8202caa31b131c604a5fc62ae6925 100644 (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.
index 3532ca598783c9f384d828f1bd0b69e1fd34c93f..6f45da6a707cbbbe8efbafad2736ed94f311c0ab 100644 (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' =>
index 5b10718eafe5df762ed1593aa07a77526b267372..794356f60aaace681ae97e2935d4d8766e4921e7 100644 (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' =>
index 17e8b8d50a48225dd053a5f04cb90c587b48c64e..5fab1ad08259ae95865e59052ce3e16275c0cedc 100644 (file)
@@ -465,7 +465,7 @@ class XmppPlugin extends ImPlugin
     function onPluginVersion(&$versions)
     {
         $versions[] = array('name' => 'XMPP',
-                            'version' => STATUSNET_VERSION,
+                            'version' => GNUSOCIAL_VERSION,
                             'author' => 'Craig Andrews, Evan Prodromou',
                             'homepage' => 'http://status.net/wiki/Plugin:XMPP',
                             'rawdescription' =>
index ac0a5c83dcc380a9bab719506d4c498aecc759fd..6341b72706cc0b5e1878c8ce59265334d18029b5 100755 (executable)
@@ -72,9 +72,9 @@ if ($plugin) {
 
 function getVersion()
 {
-    // define('STATUSNET_VERSION', '0.9.1');
+    // define('GNUSOCIAL_VERSION', '0.9.1');
     $source = file_get_contents(INSTALLDIR . '/lib/common.php');
-    if (preg_match('/^\s*define\s*\(\s*[\'"]STATUSNET_VERSION[\'"]\s*,\s*[\'"](.*)[\'"]\s*\)\s*;/m', $source, $matches)) {
+    if (preg_match('/^\s*define\s*\(\s*[\'"]GNUSOCIAL_VERSION[\'"]\s*,\s*[\'"](.*)[\'"]\s*\)\s*;/m', $source, $matches)) {
         return $matches[1];
     }
     return 'unknown';
index 024e3330d8b2b1eb755786aabb1147edfa13d64a..dbe9c54c5ba9d838787dc2affbc3afe0265585f2 100644 (file)
@@ -30,4 +30,4 @@ END_OF_HELP;
 
 require_once INSTALLDIR.'/scripts/commandline.inc';
 
-print STATUSNET_VERSION."\n";
+print GNUSOCIAL_VERSION."\n";
index f8154280392867504c61cebd7c8906993bc55395..157cae067db619a491c0ed9d8a07a8f8ae97f1a5 100644 (file)
@@ -27,7 +27,7 @@ require_once INSTALLDIR.'/scripts/commandline.inc';
 $base = INSTALLDIR;
 $encBase = escapeshellarg($base);
 
-$ver = STATUSNET_VERSION;
+$ver = GNUSOCIAL_VERSION;
 
 // @fixme hack
 if (preg_match('/^(\d+)\.(\d+)\.(\d+)/', $ver, $matches)) {