]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'master' of https://git.gnu.io/gnu/gnu-social into social-master
authorRoland Haeder <roland@mxchange.org>
Fri, 3 Jul 2015 20:21:00 +0000 (22:21 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 3 Jul 2015 20:21:00 +0000 (22:21 +0200)
+ kept type-hint 'array' for $data parameter (long tested and working).

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
actions/apiaccountratelimitstatus.php
actions/public.php
actions/userbyid.php
classes/File_redirection.php
lib/apioauthaction.php
lib/clienterroraction.php
lib/servererroraction.php
plugins/OpenID/actions/publicxrds.php
plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php

42 files changed:
1  2 
actions/apiaccountratelimitstatus.php
actions/apiconversation.php
actions/apitimelinetag.php
actions/recoverpassword.php
actions/replies.php
actions/tag.php
actions/tagrss.php
classes/File_redirection.php
classes/File_thumbnail.php
classes/Memcached_DataObject.php
classes/Notice.php
classes/Notice_tag.php
extlib/DB/DataObject.php
lib/action.php
lib/apiaction.php
lib/apioauthaction.php
lib/default.php
lib/framework.php
lib/implugin.php
lib/installer.php
lib/profileaction.php
lib/profileminilist.php
lib/publictagcloudsection.php
lib/urlmapper.php
lib/util.php
plugins/AntiBrute/AntiBrutePlugin.php
plugins/Directory/DirectoryPlugin.php
plugins/Favorite/classes/Fave.php
plugins/ModPlus/ModPlusPlugin.php
plugins/OStatus/OStatusPlugin.php
plugins/OStatus/classes/Ostatus_profile.php
plugins/OStatus/lib/salmonaction.php
plugins/OStatus/scripts/update-profile.php
plugins/Oembed/classes/File_oembed.php
plugins/OpenID/OpenIDPlugin.php
plugins/OpenID/actions/publicxrds.php
plugins/QnA/QnAPlugin.php
plugins/RequireValidatedEmail/RequireValidatedEmailPlugin.php
plugins/WebFinger/WebFingerPlugin.php
plugins/Xmpp/XmppPlugin.php
scripts/console.php
scroller_plugin

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc actions/tag.php
Simple merge
Simple merge
index a9d35cbd8e66f936ec906516ee4fc0078390df46,ba516e462325698847294a89cf965bb7f395b214..388fb8b5759e806bb1ef28feea72a0a40e92435f
@@@ -347,7 -342,7 +342,7 @@@ class File_redirection extends Managed_
          return $out_url;
      }
  
-     function saveNew(array $data, $file_id, $url) {
 -    static function saveNew($data, $file_id, $url) {
++    static function saveNew(array $data, $file_id, $url) {
          $file_redir = new File_redirection;
          $file_redir->urlhash = File::hashurl($short_url);
          $file_redir->url = $url;
Simple merge
Simple merge
Simple merge
Simple merge
index 684a98c92a4c3a1e42edf8ba37ac88a5d4eb20e7,1a7b34665d174224ef50528dd4355b9e348cbdf7..1a7b34665d174224ef50528dd4355b9e348cbdf7
mode 100644,100755..100644
diff --cc lib/action.php
Simple merge
index 0eea08bed63f147a4c05b1edaec6fbfc68793cd2,724447f120cbadc7df1c66bd09ee095d597ba0fb..724447f120cbadc7df1c66bd09ee095d597ba0fb
mode 100644,100755..100644
Simple merge
diff --cc lib/default.php
Simple merge
Simple merge
Simple merge
Simple merge
index 3da3c11246d3e7997ffbd098232c0dac8246a58c,7161f0d4a3b90eb08af9f95ef928d5ae823ea6bb..1cda2b509422f451db256b7d2adf97da25c8adcc
@@@ -109,10 -80,15 +80,15 @@@ abstract class ProfileAction extends Ma
  
      protected function profileActionPreparation()
      {
-         // No-op by default.
+         // Nothing to do by default.
+     }
+     public function getTarget()
+     {
+         return $this->target;
      }
  
 -    function isReadOnly($args)
 +    function isReadOnly(array $args=array())
      {
          return true;
      }
Simple merge
Simple merge
Simple merge
diff --cc lib/util.php
Simple merge
index 365937fedf9bf4d1a6c27bbfbce31e8d1d946415,c2291cbf1da18c27be1f5d6882101222248a8c06..c2291cbf1da18c27be1f5d6882101222248a8c06
mode 100644,100755..100644
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 0000000000000000000000000000000000000000,25801e7861cb1d3798f26141e6d5128890021100..eaeb84147db9474fe9a716e73a2150b7fa8e471b
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,77 +1,77 @@@
 -    function isReadOnly($args)
+ <?php
+ /**
+  * Public XRDS for OpenID
+  *
+  * PHP version 5
+  *
+  * @category Action
+  * @package  StatusNet
+  * @author   Evan Prodromou <evan@status.net>
+  * @author   Craig Andrews <candrews@integralblue.com>
+  * @author   Robin Millette <millette@status.net>
+  * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org
+  * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
+  * @link     http://status.net/
+  *
+  * StatusNet - the distributed open-source microblogging tool
+  * Copyright (C) 2008, 2009, StatusNet, Inc.
+  *
+  * This program is free software: you can redistribute it and/or modify
+  * it under the terms of the GNU Affero General Public License as published by
+  * the Free Software Foundation, either version 3 of the License, or
+  * (at your option) any later version.
+  *
+  * This program is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  * GNU Affero General Public License for more details.
+  *
+  * You should have received a copy of the GNU Affero General Public License
+  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+  */
+ if (!defined('GNUSOCIAL')) { exit(1); }
+ require_once __DIR__.'/../openid.php';
+ /**
+  * Public XRDS
+  *
+  * @category Action
+  * @package  StatusNet
+  * @author   Evan Prodromou <evan@status.net>
+  * @author   Robin Millette <millette@status.net>
+  * @author   Craig Andrews <candrews@integralblue.com>
+  * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org
+  * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
+  * @link     http://status.net/
+  */
+ class PublicxrdsAction extends Action
+ {
+     /**
+      * Is read only?
+      *
+      * @return boolean true
+      */
++    function isReadOnly(array $args=array())
+     {
+         return true;
+     }
+     /**
+      * Class handler.
+      *
+      * @param array $args array of arguments
+      *
+      * @return nothing
+      */
+     protected function handle()
+     {
+         parent::handle();
+         $xrdsOutputter = new XRDSOutputter();
+         $xrdsOutputter->startXRDS();
+         Event::handle('StartPublicXRDS', array($this,&$xrdsOutputter));
+         Event::handle('EndPublicXRDS', array($this,&$xrdsOutputter));
+         $xrdsOutputter->endXRDS();
+     }
+ }
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc scroller_plugin
index 5d38f65bb9c791b341a5516d95cd471a4e5cec23,0000000000000000000000000000000000000000..5ee9a41671e42e25b938bcc19bb041c42d73ce4d
mode 160000,000000..160000
--- /dev/null
@@@ -1,1 -1,0 +1,1 @@@
- Subproject commit 5d38f65bb9c791b341a5516d95cd471a4e5cec23
++Subproject commit 5ee9a41671e42e25b938bcc19bb041c42d73ce4d