We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

  1. 14 Jan, 2016 3 commits
  2. 07 Jan, 2016 1 commit
  3. 21 Jan, 2015 1 commit
  4. 13 Jan, 2015 1 commit
  5. 07 Nov, 2014 1 commit
  6. 27 Jun, 2014 1 commit
    • mattl's avatar
      pluginified most of hasFave, getFaves and related calls · fcdd061b
      mattl authored
      The code is now more event-driven when it comes to rendering notices
      and their related HTML elements, since we can't have direct calls from
      core to a plugin.
      
      lib/activitymover.php has a function to move a Favorite activity which
      will not happen now. The move must be pluginified and performed as an
      event which plugins can catch on to.
      fcdd061b
  7. 15 Oct, 2013 1 commit
    • mattl's avatar
      Making many of the API actions more consistent with coding style · 29d0871e
      mattl authored
      clientError and serverError exit after they're done so no need for
      break or return. Also, $this->format is default.
      
      We also got rid of the incredibly verbose version of $this->isPost()
      which was spread all over the place.
      
      Not all of this cleaning up is done yet.
      29d0871e
  8. 06 Oct, 2013 1 commit
  9. 05 Oct, 2013 1 commit
  10. 09 Sep, 2013 1 commit
  11. 18 Aug, 2013 1 commit
    • mattl's avatar
      The overloaded DB_DataObject function staticGet is now called getKV · 2a4dc77a
      mattl authored
      I used this hacky sed-command (run it from your GNU Social root, or change the first grep's path to where it actually lies) to do a rough fix on all ::staticGet calls and rename them to ::getKV
      
         sed -i -s -e '/DataObject::staticGet/I!s/::staticGet/::getKV/Ig' $(grep -R ::staticGet `pwd`/* | grep -v -e '^extlib' | grep -v DataObject:: |grep -v "function staticGet"|cut -d: -f1 |sort |uniq)
      
      If you're applying this, remember to change the Managed_DataObject and Memcached_DataObject function definitions of staticGet to getKV!
      
      This might of course take some getting used to, or modification fo StatusNet plugins, but the result is that all the static calls (to staticGet) are now properly made without breaking PHP Strict Standards. Standards are there to be followed (and they caused some very bad confusion when used with get_called_class)
      
      Reasonably any plugin or code that tests for the definition of 'GNUSOCIAL' or similar will take this change into consideration.
      2a4dc77a
  12. 15 Jun, 2013 8 commits
  13. 03 Apr, 2011 1 commit
  14. 06 Jan, 2011 1 commit
  15. 02 Dec, 2010 1 commit
    • Brion Vibber's avatar
      Fix for tickets #2917, #2262: user URL shortening options not being applied in non-web channels · aa96c3c1
      Brion Vibber authored
      common_shorten_links() can only access the web session's logged-in user, so never properly took user options into effect for posting via XMPP, API, mail, etc.
      
      Adds an optional $user parameter on common_shorten_links(), and a $user->shortenLinks() as a clearer interface for that.
      Tweaked some lower-level functions so $user gets passed down -- making the $notice_id param previously there for saving URLs at notice save time generalized a little.
      
      Note also ticket #2919: there's a lot of duplicate code calling the shortening, checking the length, and reporting near-identical error messages. These should be consolidated to aid in code and translation maintenance.
      aa96c3c1
  16. 03 Nov, 2010 1 commit
  17. 27 Oct, 2010 1 commit
  18. 20 Oct, 2010 2 commits
  19. 12 Sep, 2010 1 commit
  20. 29 Jul, 2010 2 commits
  21. 27 May, 2010 1 commit
  22. 08 May, 2010 2 commits
  23. 07 May, 2010 1 commit
  24. 22 Apr, 2010 1 commit
  25. 09 Apr, 2010 2 commits
  26. 18 Mar, 2010 1 commit
  27. 27 Jan, 2010 1 commit