1. 12 Feb, 2015 1 commit
  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. 28 Sep, 2010 1 commit
  5. 12 Feb, 2010 1 commit
    • Brion Vibber's avatar
      PHP 5.3 compatibility hack for DB_DataObject · fd3c9334
      Brion Vibber authored
      statusnet.links.ini file could not be read anymore due to the entry for nonce containing a comma in its key value.
      PHP's parse_ini_file() function no longer allows commas in keys, and rejects the *ENTIRE FILE* if it's present, breaking various automatic joins.
      fd3c9334
  6. 07 Mar, 2009 1 commit
    • Evan Prodromou's avatar
      Fix nonce usage in OAuth store · 1179ecd1
      Evan Prodromou authored
      The OAuth store was failing on getting a request token, because the
      token value was forced to be non-null in the DB. Let this value be
      null, and use the correct primary key (consumer, timestamp, nonce).
      Drop the reference to token table, and don't ever use it.
      1179ecd1
  7. 23 Dec, 2008 2 commits
    • 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
  8. 26 Sep, 2008 3 commits
  9. 15 Jul, 2008 1 commit
  10. 09 Jul, 2008 1 commit
  11. 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