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

  1. 28 Oct, 2013 3 commits
  2. 21 Oct, 2013 3 commits
  3. 20 Oct, 2013 3 commits
  4. 07 Oct, 2013 1 commit
  5. 05 Oct, 2013 2 commits
  6. 04 Oct, 2013 1 commit
  7. 03 Oct, 2013 1 commit
  8. 01 Oct, 2013 1 commit
    • mattl's avatar
      Properly unlink all old avatars when deleting/uploading a new · b0dfc70a
      mattl 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
  9. 30 Sep, 2013 2 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.
      a7e74847
    • 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).
      a0e107f1
  10. 29 Sep, 2013 1 commit
  11. 28 Sep, 2013 1 commit
  12. 24 Sep, 2013 1 commit
  13. 23 Sep, 2013 2 commits
  14. 21 Sep, 2013 1 commit
  15. 10 Sep, 2013 1 commit
  16. 09 Sep, 2013 1 commit
    • mattl's avatar
      Tidying up getUser calls to profiles and some events · 747fe9d5
      mattl 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.
      747fe9d5
  17. 28 Aug, 2013 1 commit
    • mattl's avatar
      plugins onAutoload now only overloads if necessary (extlibs etc.) · de55d8f8
      mattl authored
      lib/plugin.php now has a parent onAutoload function that finds most common
      files that are used in plugins (actions, dataobjects, forms, libs etc.) if
      they are put in the standardised directories ('actions', 'classes', 'forms',
      'lib' and perhaps some others in the future).
      de55d8f8
  18. 21 Aug, 2013 3 commits
  19. 20 Aug, 2013 1 commit
  20. 19 Aug, 2013 1 commit
  21. 18 Aug, 2013 4 commits
    • mattl's avatar
      IMPORTANT - fixed Magicsig to properly overload getKV (prev. staticGet) · 7e4718a4
      mattl authored
      In commit e95f77d3 Magicsig lost the 'staticGet' function (later renamed to getKV in 2a4dc77a ), which was important to properly initialize the Magicsig object (fromString)
      7e4718a4
    • mattl's avatar
      1710a619
    • mattl's avatar
      The overloaded DB_DataObject function staticGet is now called getKV · 2a4dc77a
      mattl 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
    • mattl's avatar
      Updating all Memcached_DataObject extended classes to Managed_DataObject · e95f77d3
      mattl authored
      In some brief tests, this causes no problems.
      
      In this state however, you would need to modify DB_DataObject to have a static declaration of staticget (and probably pkeyGet). The next commit will change the staticGet overload to a unique function name (like getKV for getKeyValue), which means we can properly call the function by PHP Strict Standards.
      e95f77d3
  22. 12 Aug, 2013 1 commit
  23. 15 Jun, 2013 1 commit
  24. 28 Jul, 2012 1 commit
  25. 04 Jul, 2012 2 commits