We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

  1. 02 Oct, 2013 2 commits
  2. 01 Oct, 2013 3 commits
  3. 30 Sep, 2013 5 commits
    • mattl's avatar
      Fixed regression in OStatus sub from WebFinger/XML_XRD update · a7e74847
      mattl authored
      XML_XRD::getAll requires arguments (at least relation). If one really
      want all links, just get the 'links' array. It's public!
      Also, not all XML_XRD_Element_Link were migrated from the previous
      array style.
    • mattl's avatar
      Fixed regression in latest Avatar fixes · cced063e
      mattl authored
      I thought typing would fix it, but there's a problem earlier in the
      execution chain which will be fixed in the future.
    • mattl's avatar
    • mattl's avatar
      Avatar resizing improvements and better code reuse · a23c4aa2
      mattl 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 http://status.net/open-source/issues/3478
    • mattl's avatar
      Implemented WebFinger and replaced our XRD with PEAR XML_XRD · a0e107f1
      mattl authored
      New plugins:
      * LRDD
          LRDD implements client-side RFC6415 and RFC7033 resource descriptor
          discovery procedures. I.e. LRDD, host-meta and WebFinger stuff.
          OStatus and OpenID now depend on the LRDD plugin (XML_XRD).
      * WebFinger
          This plugin implements the server-side of RFC6415 and RFC7033. Note:
          WebFinger technically doesn't handle XRD, but we serve both that and
          JRD (JSON Resource Descriptor), depending on Accept header and one
          ugly hack to check for old StatusNet installations.
          WebFinger depends on LRDD.
      We might make this even prettier by using Net_WebFinger, but it is not
      currently RFC7033 compliant (no /.well-known/webfinger resource GETs).
      Disabling the WebFinger plugin would effectively render your site non-
      federated (which might be desired on a private site).
      Disabling the LRDD plugin would make your site unable to do modern web
      URI lookups (making life just a little bit harder).
  4. 29 Sep, 2013 7 commits
  5. 28 Sep, 2013 1 commit
  6. 25 Sep, 2013 3 commits
  7. 24 Sep, 2013 3 commits
  8. 23 Sep, 2013 12 commits
  9. 21 Sep, 2013 3 commits
  10. 19 Sep, 2013 1 commit