]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 1.0.x
authorBrion Vibber <brion@pobox.com>
Thu, 10 Jun 2010 22:37:06 +0000 (15:37 -0700)
committerBrion Vibber <brion@pobox.com>
Thu, 10 Jun 2010 22:37:06 +0000 (15:37 -0700)
Conflicts:
lib/default.php
lib/util.php
plugins/UrlShortener/UrlShortenerPlugin.php (has been removed?)

13 files changed:
1  2 
actions/apiaccountupdatedeliverydevice.php
index.php
lib/apiaction.php
lib/default.php
lib/router.php
lib/util.php
plugins/BitlyUrl/BitlyUrlPlugin.php
plugins/ClientSideShorten/ClientSideShortenPlugin.php
plugins/Imap/imapmanager.php
plugins/LilUrl/LilUrlPlugin.php
plugins/PtitUrl/PtitUrlPlugin.php
plugins/SimpleUrl/SimpleUrlPlugin.php
plugins/TightUrl/TightUrlPlugin.php

diff --cc index.php
Simple merge
Simple merge
diff --cc lib/default.php
index 52a4ec7836e7a7d4b76259525235fa94df38a821,950c6018d8f167095e7b9d30a9eeb9a63e823c17..754cf5728b28c0d2d9164fae73d933ac032eb0e6
@@@ -306,8 -304,7 +306,11 @@@ $default 
          array('subscribers' => true,
                'members' => true,
                'peopletag' => true),
-               'maxnoticelength' => -1)
 +        'url' =>
 +        array('shortener' => 'ur1.ca',
 +              'maxlength' => 25,
++              'maxnoticelength' => -1),
+         'http' => // HTTP client settings when contacting other sites
+         array('ssl_cafile' => false // To enable SSL cert validation, point to a CA bundle (eg '/usr/lib/ssl/certs/ca-certificates.crt')
+               ),
          );
diff --cc lib/router.php
Simple merge
diff --cc lib/util.php
index c6d8f814df7593fd778bac80ddf9f338777be4ee,2a90b56a992dcb27383f13b30243aba65c52eba9..d8fb3b65e44070e4f83dd680f6d607ee97570df1
@@@ -1270,10 -1243,18 +1270,9 @@@ function common_enqueue_notice($notice
          $transports[] = 'plugin';
      }
  
-     // @fixme move these checks into QueueManager and/or individual handlers
-     if ($notice->is_local == Notice::LOCAL_PUBLIC ||
-         $notice->is_local == Notice::LOCAL_NONPUBLIC) {
 -    $xmpp = common_config('xmpp', 'enabled');
 -
 -    if ($xmpp) {
 -        $transports[] = 'jabber';
 -    }
 -
+     // We can skip these for gatewayed notices.
+     if ($notice->isLocal()) {
          $transports = array_merge($transports, $localTransports);
 -        if ($xmpp) {
 -            $transports[] = 'public';
 -        }
      }
  
      if (Event::handle('StartEnqueueNotice', array($notice, &$transports))) {
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge