1. 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.
  2. 09 Jun, 2013 3 commits
  3. 08 Jun, 2013 2 commits
  4. 22 Aug, 2011 1 commit
  5. 02 Dec, 2010 2 commits
    • Brion Vibber's avatar
      URL shortening fix for direct messages: if we're going to shorten the text,... · 043f0ad1
      Brion Vibber authored
      URL shortening fix for direct messages: if we're going to shorten the text, shorten the rendered text too.
    • 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.
  6. 28 Sep, 2010 1 commit
  7. 29 Jul, 2010 1 commit
  8. 15 Dec, 2009 1 commit
  9. 16 Nov, 2009 1 commit
  10. 21 Aug, 2009 2 commits
  11. 23 Dec, 2008 3 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).
    • 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.
    • 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.
  12. 28 Nov, 2008 1 commit
  13. 26 Sep, 2008 3 commits
  14. 17 Sep, 2008 3 commits
  15. 16 Sep, 2008 2 commits
  16. 27 Aug, 2008 1 commit
  17. 19 Aug, 2008 1 commit
  18. 20 Jul, 2008 1 commit
  19. 15 Jul, 2008 1 commit
  20. 09 Jul, 2008 1 commit
  21. 22 Jun, 2008 1 commit
  22. 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