1. 09 Jul, 2015 2 commits
  2. 09 Mar, 2014 1 commit
  3. 18 Aug, 2013 1 commit
    • mmn's avatar
      The overloaded DB_DataObject function staticGet is now called getKV · 2a4dc77a
      mmn 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
  4. 09 Apr, 2011 1 commit
  5. 31 Jan, 2011 1 commit
  6. 09 Apr, 2010 1 commit
  7. 25 Feb, 2010 1 commit
  8. 13 Dec, 2009 1 commit
  9. 13 Oct, 2009 1 commit
  10. 24 Sep, 2009 1 commit
  11. 26 Aug, 2009 1 commit
  12. 25 Aug, 2009 4 commits
  13. 06 Aug, 2009 1 commit
  14. 14 Jun, 2009 1 commit
  15. 17 Apr, 2009 1 commit
  16. 13 Apr, 2009 2 commits
    • Evan Prodromou's avatar
      isReadOnly() now takes arguments · 7f81597a
      Evan Prodromou authored
      Add an array of arguments to isReadOnly() method of actions, to let
      them change their results depending on what actions are called.
      Primarily used by the 'api' action. Ideally in the future that will be
      multiple actions. But this might still be useful.
      7f81597a
    • Evan Prodromou's avatar
      isReadOnly() now takes arguments · e9e75fc9
      Evan Prodromou authored
      Add an array of arguments to isReadOnly() method of actions, to let
      them change their results depending on what actions are called.
      Primarily used by the 'api' action. Ideally in the future that will be
      multiple actions. But this might still be useful.
      e9e75fc9
  17. 20 Feb, 2009 1 commit
  18. 25 Jan, 2009 1 commit
  19. 21 Jan, 2009 1 commit
  20. 19 Jan, 2009 2 commits
  21. 15 Jan, 2009 1 commit
    • Evan Prodromou's avatar
      Convert all actions to use new UI functions · eaa81d25
      Evan Prodromou authored
      I did a massive search-and-replace to get all the action subclasses to
      use the new output function (common_element() -> $this->element(), etc.)
      
      There's still a lot to do, but it's a first step
      eaa81d25
  22. 11 Dec, 2008 1 commit
  23. 23 Dec, 2008 4 commits
    • Evan Prodromou's avatar
      move opening brace of class declaration to next line · b264c03d
      Evan Prodromou authored
      Another gigantor PEAR coding standards patch. Here, I've moved the
      opening curly bracket on a class statement to the following line.
      
      darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
      b264c03d
    • Evan Prodromou's avatar
      change function headers to K&R style · 04ef1ba8
      Evan Prodromou authored
      Another huge change, for PEAR code standards compliance. Function
      headers have to be in K&R style (opening brace on its own line),
      instead of having the opening brace on the same line as the function
      and parameters. So, a little perl magic found all the function
      definitions and move the opening brace to the next line (properly
      indented... usually).
      
      darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
      04ef1ba8
    • Evan Prodromou's avatar
      replace NULL with null · eb2f9c98
      Evan Prodromou authored
      Another global search-and-replace update. Here, I've replaced the PHP
      keyword 'NULL' with its lowercase version. This is another PEAR code
      standards change.
      
      darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
      eb2f9c98
    • Evan Prodromou's avatar
      replace all tabs with four spaces · edbc0c66
      Evan Prodromou authored
      The PEAR coding standards decree: no tabs, but indent by four spaces.
      I've done a global search-and-replace on all tabs, replacing them by
      four spaces. This is a huge change, but it will go a long way to
      getting us towards phpcs-compliance. And that means better code
      readability, and that means more participation.
      
      darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
      edbc0c66
  24. 11 Dec, 2008 1 commit
  25. 21 Nov, 2008 1 commit
  26. 20 Nov, 2008 2 commits
  27. 28 Sep, 2008 2 commits
    • Evan Prodromou's avatar
      change arguments to Notice::publicStream · d3d5942a
      Evan Prodromou authored
      darcs-hash:20080928132747-5ed1f-9e9b6d8b91f855758ca4b269418f6d5d6e4a2ae0.gz
      d3d5942a
    • Evan Prodromou's avatar
      single function for important streams, with memcached support · 02a3f24b
      Evan Prodromou authored
      I moved the 4 streams for a user (with friends, faves, replies,
      personal) into functions on the User object. Added a helper function
      in Notice for making notice streams. Also, will fetch notice streams
      out of the memcached server, if possible. Made the API, RSS, and HTML
      output all use the same streams (hopefully cached).
      
      Added some code to Notice to blow the cache when a notice is posted.
      Also, added code to favor and disfavor actions to blow the faves
      cache, too.
      
      darcs-hash:20080928120119-5ed1f-ead542348bcd3cf315be6f42934353154402eb16.gz
      02a3f24b
  28. 22 Aug, 2008 1 commit
  29. 24 Jul, 2008 1 commit