]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
authorRoland Haeder <roland@mxchange.org>
Fri, 27 Feb 2015 15:55:03 +0000 (16:55 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 27 Feb 2015 15:55:13 +0000 (16:55 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
36 files changed:
1  2 
actions/shownotice.php
classes/File.php
index.php
lib/action.php
lib/apiaction.php
lib/attachmentlistitem.php
lib/docfile.php
lib/framework.php
lib/installer.php
lib/plugin.php
lib/rssaction.php
lib/util.php
plugins/Autocomplete/actions/autocomplete.php
plugins/Bookmark/actions/newbookmark.php
plugins/Cronish/CronishPlugin.php
plugins/DomainStatusNetwork/DomainStatusNetworkPlugin.php
plugins/DomainStatusNetwork/actions/globalapi.php
plugins/EmailReminder/scripts/sendemailreminder.php
plugins/EmailSummary/scripts/sendemailsummary.php
plugins/Event/actions/cancelrsvp.php
plugins/Event/actions/newrsvp.php
plugins/LinkPreview/actions/oembedproxy.php
plugins/Mapstraction/MapstractionPlugin.php
plugins/OStatus/lib/salmonaction.php
plugins/OpportunisticQM/OpportunisticQMPlugin.php
plugins/Poll/actions/newpoll.php
plugins/Poll/actions/respondpoll.php
plugins/QnA/actions/qnaclosequestion.php
plugins/QnA/actions/qnanewanswer.php
plugins/QnA/actions/qnanewquestion.php
plugins/QnA/actions/qnareviseanswer.php
plugins/QnA/actions/qnavote.php
plugins/Realtime/scripts/cleanupchannels.php
plugins/Recaptcha/RecaptchaPlugin.php
plugins/SearchSub/actions/searchsub.php
plugins/TagSub/actions/tagsub.php

Simple merge
Simple merge
diff --cc index.php
Simple merge
diff --cc lib/action.php
Simple merge
index f1304a1d1e4f40d7f28db1c480de4706628504df,062e6d07746fcf2cfa34b72cfac95f372b8d5575..062e6d07746fcf2cfa34b72cfac95f372b8d5575
mode 100644,100755..100644
Simple merge
diff --cc lib/docfile.php
Simple merge
index 283453f8eb2ed3251f3a2af63efd153df3178236,b71f365c244cd0e3320142c87be199dc219f1550..6fe6028f6e229699a1cfbf1152b51a1cf3ccf1ac
@@@ -102,31 -102,9 +102,31 @@@ function addPlugin($name, array $attrs=
  
  function _have_config()
  {
-     return StatusNet::haveConfig();
+     return GNUsocial::haveConfig();
  }
  
 +function common_get_temp_dir()
 +{
 +    // Try to get it from php.ini first
 +    $temp_path = trim(ini_get('upload_tmp_dir'));
 +
 +    // Is it empty?
 +    if (strlen($temp_path) == 0) {
 +        // Then try sys_get_temp_dir()
 +        $temp_path = trim(sys_get_temp_dir());
 +
 +        // Still empty?
 +        if (strlen($temp_path) == 0) {
 +            // Then set it to /tmp (ugly)
 +            // @TODO Hard-coded non-Windows stuff!
 +            $temp_path = '/tmp';
 +        }
 +    }
 +
 +    // Return found path
 +    return $temp_path;
 +}
 +
  function GNUsocial_class_autoload($cls)
  {
      if (file_exists(INSTALLDIR.'/classes/' . $cls . '.php')) {
Simple merge
diff --cc lib/plugin.php
Simple merge
Simple merge
diff --cc lib/util.php
Simple merge
Simple merge
index faf38378ecbb73f00bf968f67daac65e214410e2,d47a254940e45dcc099c8004f810bb599706b2d1..b283ce8da6460cba97e48774f843b62c87860ffb
@@@ -57,9 -57,9 +57,9 @@@ class GlobalApiAction extends Actio
       * @return boolean continuation flag
       */
  
 -    function prepare($args)
 +    function prepare(array $args=array())
      {
-         StatusNet::setApi(true); // reduce exception reports to aid in debugging
+         GNUsocial::setApi(true); // reduce exception reports to aid in debugging
  
          parent::prepare($args);
  
Simple merge
Simple merge
index 095cfe03d7cbe765b891f97433e9576756f022c7,97b0942441e94a8a93bcb9663ae13c26294fed51..c0473fb597633a75929b96edc397e7153ed2039f
@@@ -46,10 -46,10 +46,10 @@@ if (!defined('STATUSNET') && !defined('
   */
  class OembedproxyAction extends OembedAction
  {
 -    function handle($args)
 +    function handle(array $args=array())
      {
          // Trigger short error responses; not a human-readable web page.
-         StatusNet::setApi(true);
+         GNUsocial::setApi(true);
  
          // We're not a general oEmbed proxy service; limit to valid sessions.
          $token = $this->trimmed('token');
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge