1. 14 Oct, 2013 1 commit
  2. 06 Oct, 2013 1 commit
  3. 02 Oct, 2013 2 commits
  4. 01 Oct, 2013 1 commit
    • mmn's avatar
      Properly unlink all old avatars when deleting/uploading a new · b0dfc70a
      mmn authored
      We're also now using $config['image']['jpegquality'] to determine the
      quality setting for resized images.
      
      To set Avatar max size, adjust $config['avatar']['maxsize']
      
      The getAvatar call now throws exceptions too. Related changes applied.
      Now let's move Profile->avatarUrl to the Avatar class!
      b0dfc70a
  5. 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
  6. 25 Apr, 2011 1 commit
  7. 30 Oct, 2010 1 commit
  8. 09 Nov, 2009 1 commit
  9. 08 Nov, 2009 1 commit
  10. 26 Aug, 2009 1 commit
  11. 25 Aug, 2009 5 commits
  12. 20 Jun, 2009 2 commits
  13. 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
  14. 06 Feb, 2009 1 commit
    • Evan Prodromou's avatar
      Move common_avatar_* functions to Avatar · 343cd6f2
      Evan Prodromou authored
      Moved the common_avatar_* functions to the Avatar class. Typically
      either as methods on the object or as static methods. Replaced all the
      uses of the functions in other modules.
      343cd6f2
  15. 23 Jan, 2009 1 commit
  16. 22 Jan, 2009 1 commit
  17. 15 Jan, 2009 1 commit
  18. 23 Dec, 2008 3 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 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
  19. 13 Jul, 2008 1 commit
  20. 12 Jul, 2008 2 commits
  21. 11 Jul, 2008 1 commit
    • Evan Prodromou's avatar
      get avatar by nickname · 69445a61
      Evan Prodromou authored
      This is to support third-party apps that want to build an URL to an
      avatar given a user's name.
      
      darcs-hash:20080711060045-84dde-08b0072de764d5b67ce7abe73fa0553f32de4ab3.gz
      69445a61