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

  1. 24 Jan, 2011 2 commits
    • Brion Vibber's avatar
      Fix XML API output for several profile update methods that returned a <user>... · 0a3c05fe
      Brion Vibber authored
      Fix XML API output for several profile update methods that returned a <user> entry but didn't set namespaces, causing XML parse failures.
      0a3c05fe
    • Brion Vibber's avatar
      Fix for ticket #3007: .bmp avatar uploads weren't being properly converted to PNG in all cases · 820dd293
      Brion Vibber authored
      Part of the reported issue was previuosly fixed by dc497ed0 (smaller size images being blanked).
      This commit fixes the remaining bug with original-size avatars being left as BMP (which could include the 96px size for instance, which could cause problems in browsers not supporting BMP natively)
      
      Added ImageFile::copyTo() as a convenient alias for resizeTo() when not resizing; this performs the BMP/XPM/XBM->PNG conversion if needed, or copies the original file.
      Copying instead of using move_uploaded_file() is fine here since:
      a) the files are cleaned up on script completion anyway (vs moving to remove it)
      b) we're already performing getimagesize() and possibly load/resize on the file before this point (vs needing to move the file into a usable area to work with open_basedir restrictions that prevent working directly with uploaded files in the temp dir; since this would fail anyway, we lose nothing)
      
      ImageFile::preferredType() now works on $this->type instead of asking for one, to make it handier to use from outside. (This is still needed in order for calling code to generate a target filename.)
      
      Recommended for future:
      * additional consolidation between the various ways of uploading avatars (touched avatarsettings, grouplogo, and apiaccountupdateprofileimage with similar minor changes)
      * consolidate type checks and file naming into Avatar class
      820dd293
  2. 21 Jan, 2011 5 commits
  3. 20 Jan, 2011 7 commits
  4. 19 Jan, 2011 2 commits
  5. 17 Jan, 2011 2 commits
  6. 14 Jan, 2011 3 commits
  7. 08 Jan, 2011 1 commit
  8. 07 Jan, 2011 1 commit
    • Brion Vibber's avatar
      Fix warning in subscribers/subscriptions list pages where we attempted to call... · 5616bfb5
      Brion Vibber authored
      Fix warning in subscribers/subscriptions list pages where we attempted to call free() an ArrayWrapper after it was used up, thus trying to forward the call to a nonexistent object.
      
      Removed the free calls (unneeded since destructors now work), and added an error check w/ logging & an exception for future attempts to forward calls to nonexistent object.
      5616bfb5
  9. 06 Jan, 2011 2 commits
  10. 29 Dec, 2010 1 commit
  11. 28 Dec, 2010 3 commits
  12. 27 Dec, 2010 1 commit
  13. 22 Dec, 2010 3 commits
  14. 18 Dec, 2010 2 commits
  15. 17 Dec, 2010 1 commit
  16. 15 Dec, 2010 2 commits
  17. 14 Dec, 2010 2 commits