Merge remote-tracking branch 'upstream/master' into social-master
authorRoland Haeder <roland@mxchange.org>
Mon, 11 Jan 2016 21:45:53 +0000 (22:45 +0100)
committerRoland Haeder <roland@mxchange.org>
Mon, 11 Jan 2016 21:45:53 +0000 (22:45 +0100)
Maintained a type-hint

Signed-off-by: Roland Haeder <roland@mxchange.org>
36 files changed:
1  2 
actions/apilistmemberships.php
actions/apilists.php
actions/apisearchatom.php
actions/peopletagautocomplete.php
actions/peopletagsbyuser.php
actions/peopletagsforuser.php
classes/Avatar.php
classes/File_redirection.php
classes/File_thumbnail.php
classes/Notice.php
classes/User_group.php
lib/attachmentlist.php
lib/attachmentlistitem.php
lib/httpclient.php
lib/noticelistitem.php
lib/profileaction.php
lib/threadednoticelist.php
lib/util.php
plugins/DirectionDetector/DirectionDetectorPlugin.php
plugins/Directory/actions/groupdirectory.php
plugins/Directory/lib/sortablegrouplist.php
plugins/Event/classes/RSVP.php
plugins/Favorite/classes/Fave.php
plugins/Mapstraction/actions/map.php
plugins/NoticeTitle/NoticeTitlePlugin.php
plugins/OStatus/OStatusPlugin.php
plugins/OStatus/classes/Ostatus_profile.php
plugins/OStatus/lib/ostatusqueuehandler.php
plugins/Oembed/actions/oembed.php
plugins/OpenID/OpenIDPlugin.php
plugins/OpportunisticQM/lib/opportunisticqueuemanager.php
plugins/Realtime/RealtimePlugin.php
plugins/SubMirror/classes/SubMirror.php
scripts/checkschema.php
scripts/updateurls.php
scripts/upgrade.php

Simple merge
index 129691a3b42f8c58b09835c38b906c179f12dea4,0b241638ad6c8fd61616efb2fdfd2ab8691c02f7..42672e6191c40aacf46561341a184d778fa4c5c5
@@@ -185,10 -185,10 +185,10 @@@ class ApiListsAction extends ApiBareAut
  
          list($this->lists,
               $this->next_cursor,
-              $this->prev_cursor) = Profile_list::getAtCursor($fn, array($this->auth_user), $cursor, $count);
+              $this->prev_cursor) = Profile_list::getAtCursor($fn, array($this->scoped), $cursor, $count);
      }
  
 -    function isReadOnly($args)
 +    function isReadOnly(array $args=array())
      {
          return false;
      }
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc lib/util.php
Simple merge
index 73ea99940804e800b3d304c44725483937e22edc,b721ebb20e62f7195b1cff6ed22b65cc1fe8c2db..468a9441ddc3d6674de56f06018a4e5aa1b5430d
@@@ -36,7 -36,8 +36,8 @@@ class DirectionDetectorPlugin extends P
       *
       * @param object $notice notice is going to be saved
       */
 -    public function onStartNoticeSave($notice){
 +    public function onStartNoticeSave(Notice $notice) {
+         // don't use getRendered() here since it's not saved yet and thus can't ->update in case that would happen
          if(!preg_match('/<span class="rtl">/', $notice->rendered) && self::isRTL($notice->content))
              $notice->rendered = '<span class="rtl">'.$notice->rendered.'</span>';
          return true;
Simple merge
Simple merge
Simple merge
Simple merge
index ca1708282e9c392cff1a5b452033ffb4ff348de7,d36cbe21d66c902579e680224cfa2d0a967da3d5..9d41b6727341d41eaa31949f574bd1b2c6cd47c4
@@@ -371,12 -371,12 +371,13 @@@ class Ostatus_profile extends Managed_D
       * send immediately but won't get the return value.
       *
       * @param mixed $entry XML string, Notice, or Activity
 +     * @param Profile $actor Acting profile
       * @return boolean success
       */
 -    public function notifyDeferred($entry, $actor)
 +    public function notifyDeferred($entry, Profile $actor)
      {
          if ($this->salmonuri) {
+             common_debug("OSTATUS: user {$actor->getNickname()} ({$actor->getID()}) wants to ping {$this->localProfile()->getNickname()} on {$this->salmonuri}");
              $data = array('salmonuri' => $this->salmonuri,
                            'entry' => $this->notifyPrepXml($entry),
                            'actor' => $actor->getID(),
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge