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

  1. 04 Jun, 2015 1 commit
  2. 05 Mar, 2015 1 commit
  3. 24 Feb, 2015 1 commit
    • mattl's avatar
      Don't store duplicates of files. · 325e784c
      mattl authored
      If a new file is uploaded, it will be matched with a previously uploaded
      file so we don't have to store duplicates. SHA256 is random enough and
      also unlikely enough to cause collisions.
      325e784c
  4. 19 Feb, 2015 2 commits
  5. 23 Jan, 2015 1 commit
  6. 22 Jan, 2015 1 commit
  7. 21 Jan, 2015 1 commit
  8. 30 Sep, 2014 1 commit
  9. 10 May, 2014 1 commit
    • mattl's avatar
      FileAction removed (we have AttachmentAction). · ce23c68d
      mattl authored
      It seems it was only used to get a _single_ file attachment from
      the posted notice, with no possibility to get multiple attachments.
      
      If one fetches metadata about attachments for the notice, we have
      enough data there to fulfill anyone's fetching dreams.
      ce23c68d
  10. 22 Apr, 2014 1 commit
  11. 21 Apr, 2014 2 commits
    • mattl's avatar
      Dynamically generate thumbnails (see full text) · d59eb5e1
      mattl authored
      The File object now stores width and height of files that can
      supply this kind of information. Formats which we can not read
      natively in PHP do not currently benefit from this. However an
      event hook will be introduced later.
      
      The CreateFileImageThumbnail event is renamed to:
      CreateFileImageThumbnailSource to clarify that the hooks should not
      generate their own thumbnails but only the source image. Also it now
      accepts File objects, not MediaFile objects.
      
      The thumbnail generation is documented in the source code. For
      developers, call 'getThumbnail' on a File object and hope for the best.
      
      Default thumbnail sizes have increased to be more appealing.
      d59eb5e1
    • mattl's avatar
      Better event name (creating thumbnail _source_) · 86ddf120
      mattl authored
      86ddf120
  12. 18 Apr, 2014 1 commit
  13. 16 Apr, 2014 2 commits
    • mattl's avatar
      Original name preserved in uploaded file. · d3b4a861
      mattl authored
      Avoiding collisions with date (shorter than before) and 4 character
      random alphanumeric string. I bet someone could mass-upload files
      and generate all combinations of aaaa-zzzz during the course of a
      day, but then maybe that user should be disabled anyway :)
      (filling the collision space will cause a never-ending loop).
      d3b4a861
    • mattl's avatar
      MediaFile thumbnail event hooks + VideoThumbnails plugin · 06d4cecf
      mattl authored
      The exception thrown from MediaFile will be caught and simply result in
      no thumbnail at all right now. In the future we might use a catch-all
      and have a "cannot generate preview"-icon or something.
      
      VideoThumbnails requires php5-ffmpeg and php5-gd.
      06d4cecf
  14. 08 Mar, 2014 4 commits
  15. 05 Oct, 2013 1 commit
  16. 18 Aug, 2013 1 commit
    • 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
  17. 22 Dec, 2010 1 commit
  18. 09 Nov, 2010 3 commits
  19. 04 Nov, 2010 1 commit
  20. 12 Sep, 2010 2 commits
  21. 28 Jun, 2010 1 commit
    • Brion Vibber's avatar
      Enhanced upload file type detection. If given an original filename, we'll... · 9c7b6698
      Brion Vibber authored
      Enhanced upload file type detection. If given an original filename, we'll attempt to detect type from the extension if we were unable to make a definitive match from content. Generic octet-stream, zip, and MS Office type are explicitly singled out for re-checks, which fixes OpenOffice and MS Office documents to come up with the proper types when misdetected.
      File extensions can also be added to the upload type whitelist; they'll be normalized to types for the actual comparison, so only known extensions will work.
      9c7b6698
  22. 24 Mar, 2010 1 commit
  23. 02 Mar, 2010 1 commit
  24. 10 Jan, 2010 1 commit
    • Siebrand Mazeland's avatar
      Lots of tiny message changes. · 4af6b7f5
      Siebrand Mazeland authored
      * Mostly punctuation updates so that the same message is used consistently in all of StatusNet.
      * Some cases of "Title Case" removed, because that does not appear to be used consistently.
      4af6b7f5
  25. 02 Nov, 2009 1 commit
  26. 29 Oct, 2009 2 commits
  27. 28 Oct, 2009 3 commits