1. 12 Feb, 2016 1 commit
  2. 28 Jun, 2014 1 commit
  3. 09 Mar, 2014 1 commit
  4. 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
  5. 03 Apr, 2011 1 commit
  6. 30 Jan, 2011 1 commit
  7. 20 May, 2010 1 commit
    • Brion Vibber's avatar
      Added block link to subscription notification emails; block action can now... · 68305d4b
      Brion Vibber authored
      Added block link to subscription notification emails; block action can now take a profile ID on the URL; added profile details to block page so there's an indication of who you're blocking before you pull the trigger.
      
      Fixed typo in RedirectingAction when no return-to data provided in form submission.
      RedirectingAction::returnToArgs() has been renamed to returnToPrevious() to avoid conflict with Action::returnToArgs() which returns arguments to be passed to other actions as return-to arguments. All callers should now be updated.
      More profile settings actions will now redirect through a login form if visited as a GET request, as would be expected from a bookmark, link sent in e-mail etc.
      68305d4b
  8. 09 Apr, 2010 1 commit
    • Brion Vibber's avatar
      Maintain 'page' parameter for block from subscribers list, block & make-admin... · 5dbaaed4
      Brion Vibber authored
      Maintain 'page' parameter for block from subscribers list, block & make-admin from group members list.
      
      Refactored some of the returnto handling code. It looks like we have several different ways of handling this in the software, icky!
      Marked the session-based functions with fixmes (they'll stomp on other forms when multiple tabs/windows are used) and combined some commonish bits of code between ProfileFormAction and the group block & makeadmin actions where they're using hidden form parameters. Extended that to allow passing dynamic parameters (eg 'page') as well as static ones (action, target user/group).
      5dbaaed4
  9. 13 Dec, 2009 1 commit
  10. 16 Nov, 2009 2 commits
  11. 26 Aug, 2009 1 commit
  12. 25 Aug, 2009 5 commits
  13. 20 Jun, 2009 2 commits
  14. 14 Jun, 2009 1 commit
    • Evan Prodromou's avatar
      Some UI improvements for blocking and unblocking · 203a5aba
      Evan Prodromou authored
      Add unblock to the router table, so unblocking will work at all.
      
      Block form and unblock form return to subscribers list, not
      subscriptions list, by default.
      
      showstream action sends its parameters to block and unblock forms to
      better return to the right page.
      203a5aba
  15. 01 Apr, 2009 2 commits
    • Evan Prodromou's avatar
      Try to do intelligent redirect codes · 5067939e
      Evan Prodromou authored
      After fixing the redirect code output, there are a lot of weirdnesses
      with e.g. form handling. Try to add explicit redirect codes where
      needed -- principly when handling a POST.
      5067939e
    • Evan Prodromou's avatar
      Try to do intelligent redirect codes · c172cbaf
      Evan Prodromou authored
      After fixing the redirect code output, there are a lot of weirdnesses
      with e.g. form handling. Try to add explicit redirect codes where
      needed -- principly when handling a POST.
      c172cbaf
  16. 23 Jan, 2009 1 commit
  17. 15 Jan, 2009 1 commit
  18. 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
  19. 08 Dec, 2008 2 commits