1. 25 Apr, 2011 1 commit
  2. 14 Apr, 2011 1 commit
  3. 03 Apr, 2011 1 commit
  4. 16 Feb, 2011 1 commit
  5. 26 Jan, 2011 1 commit
  6. 24 Jan, 2011 1 commit
    • 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
  7. 23 Jan, 2011 1 commit
    • Evan Prodromou's avatar
      Make new menu the default menu · 592e2be5
      Evan Prodromou authored
      There's a new menu layout in this version of the software. It was
      implemented as a plugin in 0.9.x to avoid clashes with existing themes,
      but we're going to break that compatibility in this version, so we're just going for it.
      
      This change involved moving all the changes in NewMenuPlugin into the
      default code that was calling it. In addition, since
      accountsettingsaction and connectsettingsaction differed only by menu,
      I removed them, changed all references to them to the settingsmenu, and moved
      the combined nav to its own class.
      
      Let's put that episode behind us.
      
      The CSS shim that was loaded by NewMenuPlugin for certain themes and certain actions
      was removed.
      592e2be5
  8. 30 Oct, 2010 2 commits
  9. 21 Oct, 2010 1 commit
  10. 09 Apr, 2010 2 commits
  11. 19 Mar, 2010 1 commit
  12. 27 Jan, 2010 1 commit
    • Evan Prodromou's avatar
      Optionally set a separate Javascript server and path · c52951ce
      Evan Prodromou authored
      We have about 10-12 JavaScript pages per Web page. They usually
      are based on the same server as the Web pages, but since they're
      static files, it makes sense to offload them to a lite server that
      handles static files well.
      
      This commit lets you set a separate Javascript server and path for the
      default Javascript code in StatusNet.
      
      Squashed commit of the following:
      
      commit 139d1622fdafe5ad00c820224416d9021efc3234
      Author: Evan Prodromou <evan@status.net>
      Date:   Wed Jan 27 11:30:24 2010 -0500
      
          modules that call htmloutputter::script() don't prescribe js/ path
      
      commit c6ca3174af73efed55eaed5ff1e2a3bdc77d2d87
      Author: Evan Prodromou <evan@status.net>
      Date:   Wed Jan 27 11:28:07 2010 -0500
      
          configurable server and path for javascript files
      c52951ce
  13. 10 Dec, 2009 1 commit
  14. 07 Nov, 2009 1 commit
  15. 12 Sep, 2009 1 commit
  16. 03 Sep, 2009 1 commit
  17. 26 Aug, 2009 1 commit
  18. 25 Aug, 2009 4 commits
  19. 11 Aug, 2009 1 commit
  20. 05 Aug, 2009 1 commit
  21. 14 Apr, 2009 1 commit
  22. 13 Apr, 2009 1 commit
  23. 04 Mar, 2009 1 commit
  24. 27 Feb, 2009 1 commit
  25. 10 Feb, 2009 1 commit
  26. 06 Feb, 2009 2 commits
  27. 05 Feb, 2009 5 commits
  28. 03 Feb, 2009 1 commit
  29. 23 Jan, 2009 2 commits