has moved to IP address -- please double check where you are logging in.

  1. 06 May, 2017 1 commit
  2. 27 Oct, 2015 1 commit
  3. 04 Mar, 2015 1 commit
  4. 15 Jan, 2015 1 commit
  5. 09 Dec, 2014 1 commit
  6. 14 Jul, 2014 1 commit
  7. 05 Jul, 2014 1 commit
  8. 03 Jul, 2014 1 commit
  9. 02 Jul, 2014 2 commits
  10. 17 Jun, 2014 1 commit
  11. 03 Jun, 2014 2 commits
  12. 02 Jun, 2014 1 commit
  13. 29 Apr, 2014 1 commit
  14. 28 Apr, 2014 1 commit
  15. 28 Oct, 2013 2 commits
  16. 20 Oct, 2013 2 commits
    • mmn's avatar
      Apparently only one atom:content is allowed · d632df32
      mmn authored
    • mmn's avatar
      Switch order of html/text for StatusNet backwards compatibility · 802734d0
      mmn authored
      StatusNet chooses the first content element in an Atom feed, while
      it should really choose the 'html' representation for its 'rendered'
      and 'text' representation for the (text-only) 'content'.
      GNU social will implement a better algorithm for retrieving Atom
      feeds, but that is yet to be done. So to avoid having link-less posts
      on remote nodes, we'll just do the old switch-a-roo.
      Other Atom readers, such as Mozilla Firefox, has the reverse priority
      (choosing the last of the content elements).
  17. 08 Oct, 2013 2 commits
  18. 06 Oct, 2013 2 commits
  19. 02 Oct, 2013 2 commits
  20. 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!
  21. 30 Sep, 2013 1 commit
    • mmn's avatar
      Avatar resizing improvements and better code reuse · a23c4aa2
      mmn authored
      * getOriginal added to Avatar class
          This is a static function that retrieves the original avatar in a leaner
          way than Profile->getOriginalAvatar() did (see below).
          This will throw an Exception if there was none to be found.
      * getProfileAvatars added to Avatar class
          This gets all Avatars from a profile and returns them in an array.
      * newSize added to Avatar class
          This will scale an original avatar or throw an Exception (originally from
          Avatar::getOriginal) if one wasn't found.
      * deleteFromProfile added to Avatar class
          Deletes all avatars for a Profile. This makes the code much smarter when
          removing all avatars from a user.
          Previously only specific, hardcoded (through constants) sizes would be
          deleted. If you ever changed lib/framework.php then many oddsized avatars
          would remain with the old method.
      * Migrated Profile class to new Avatar::getOriginal support
          Profile class now uses Avatar::getOriginal through its own
          $this->getOriginalAvatar and thus remains backwards compatible.
      * Updating stock GNU Social to use Avatar::getOriginal
          All places where core StatusNet code used the
          $profile->getOriginalAvatar, it will now useAvatar::getOriginal with
          proper error handling.
      * Updated Profile class to use Avatar::newSize
          When doing setOriginal, the scaling will be done with the new method
          introduced in this merge.
          This also edits the _fillAvatar function to avoid adding NULL values to
          the array (which causes errors when attempting to access array entries as
          objects). See issue #3478 at
  22. 23 Sep, 2013 2 commits
  23. 09 Sep, 2013 1 commit
    • mmn's avatar
      Tidying up getUser calls to profiles and some events · 747fe9d5
      mmn authored
      getUser calls are much more strict, and one place where this was found was
      in the (un)subscribe start/end event handlers, which resulted in making the
      Subscription class a bit stricter, regarding ::start and ::cancel at least.
      Several minor fixes in many files were made due to this.
      This does NOT touch the Foreign_link function, which should also have a more
      strict getUser call. That is a future project.
  24. 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.
  25. 09 Jun, 2013 3 commits
  26. 08 Jun, 2013 2 commits
  27. 07 Jun, 2013 3 commits