1. 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
  2. 12 Aug, 2013 1 commit
    • mmn's avatar
      staticGet for sub-Managed_DataObject classes now calls parent · 1a9a8ea7
      mmn authored
      The parent class for our database objects, Managed_DataObject, has a
      dynamically assigned class in staticGet which objects get put into,
      leaving us with less code to do the same thing.
      
      We will probably have to move away from the DB_DataObject 'staticGet'
      call as it is nowadays deprecated.
      1a9a8ea7
  3. 22 Aug, 2011 1 commit
  4. 22 Mar, 2011 1 commit
    • Evan Prodromou's avatar
      Mass replacement of #-comments with //-comments · 83fb5e60
      Evan Prodromou authored
      like leprous boils in our code. So, I've replaced all of them with //
      comments instead. It's a massive, meaningless, and potentially buggy
      change -- great one for the middle of a release cycle, eh?
      83fb5e60
  5. 28 Sep, 2010 1 commit
  6. 05 Mar, 2010 2 commits
  7. 25 Aug, 2009 1 commit
  8. 24 Aug, 2009 1 commit
  9. 18 Aug, 2009 1 commit
  10. 10 Aug, 2009 1 commit
  11. 30 Jul, 2009 1 commit
  12. 28 May, 2009 1 commit
  13. 07 May, 2009 1 commit
  14. 29 Apr, 2009 1 commit
  15. 14 Apr, 2009 1 commit
  16. 05 Jan, 2009 2 commits
  17. 23 Dec, 2008 4 commits
    • Evan Prodromou's avatar
      TRUE · 7ad2f2a3
      Evan Prodromou authored
      More PEAR coding standards global changes. Here, I've changed all
      instances of TRUE to true and FALSE to false.
      
      darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
      7ad2f2a3
    • 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
  18. 06 Dec, 2008 1 commit
  19. 19 Nov, 2008 1 commit
  20. 17 Nov, 2008 1 commit
  21. 26 Sep, 2008 3 commits
  22. 23 Sep, 2008 1 commit
  23. 28 Aug, 2008 2 commits
  24. 27 Aug, 2008 1 commit
  25. 19 Aug, 2008 1 commit
  26. 20 Jul, 2008 1 commit
  27. 15 Jul, 2008 1 commit
  28. 09 Jul, 2008 1 commit
  29. 22 Jun, 2008 1 commit
  30. 27 May, 2008 1 commit
    • Evan Prodromou's avatar
      server-side storage model · 9977591b
      Evan Prodromou authored
      First pass at a server-side storage model. New tables for consumers,
      tokens, and nonces, with associated classes. An OAuthDataStore class
      interfaces with the OAuth.php library to enable server logic.
      
      Some additional work to get pretty-OK random number generation into
      the utilities library. Use /dev/urandom if available; else use
      mt_rand().
      
      darcs-hash:20080527200721-84dde-308c047af2ebc2c4d753c1e1e24af20fef862a7e.gz
      9977591b