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

  1. 09 Oct, 2015 1 commit
  2. 27 Feb, 2015 1 commit
  3. 13 Feb, 2015 1 commit
  4. 31 Jan, 2015 1 commit
  5. 10 Nov, 2014 6 commits
  6. 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
  7. 14 Oct, 2013 2 commits
  8. 06 Oct, 2013 2 commits
  9. 09 Sep, 2013 3 commits
  10. 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
  11. 25 May, 2011 2 commits
  12. 01 Apr, 2011 1 commit
  13. 21 Feb, 2011 1 commit
    • Evan Prodromou's avatar
      Extend authorization framework to cover login and API use · 1525acdc
      Evan Prodromou authored
      I've extended the rights framework (centering on the Right class and Profile::hasRight()) to cover
      Web login and API use. This will make it possible to prevent login and API use by users.
      
      I added two new Right constants to the Right class: WEBLOGIN and API. I check these rights using
      Profile::hasRight() when initializing users. If the rights check fails, I throw an exception.
      
      I created a new AuthorizationException class for this particular
      exception, in order to allow a different UI for these kinds of exceptions (or whatever).
      1525acdc
  14. 20 Jan, 2011 2 commits
  15. 19 Jan, 2011 1 commit
  16. 20 Oct, 2010 2 commits
  17. 19 Oct, 2010 1 commit
  18. 13 Sep, 2010 1 commit
  19. 16 Jul, 2010 1 commit
  20. 27 May, 2010 1 commit
  21. 08 May, 2010 2 commits
  22. 07 May, 2010 1 commit
  23. 22 Apr, 2010 1 commit
  24. 10 Apr, 2010 2 commits
  25. 26 Mar, 2010 2 commits