git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

  1. 16 Feb, 2011 1 commit
  2. 02 Dec, 2010 1 commit
    • Brion Vibber's avatar
      Fix for tickets #2917, #2262: user URL shortening options not being applied in non-web channels · aa96c3c1
      Brion Vibber authored
      common_shorten_links() can only access the web session's logged-in user, so never properly took user options into effect for posting via XMPP, API, mail, etc.
      
      Adds an optional $user parameter on common_shorten_links(), and a $user->shortenLinks() as a clearer interface for that.
      Tweaked some lower-level functions so $user gets passed down -- making the $notice_id param previously there for saving URLs at notice save time generalized a little.
      
      Note also ticket #2919: there's a lot of duplicate code calling the shortening, checking the length, and reporting near-identical error messages. These should be consolidated to aid in code and translation maintenance.
      aa96c3c1
  3. 27 Oct, 2010 1 commit
  4. 20 Oct, 2010 1 commit
  5. 16 Oct, 2010 1 commit
  6. 12 Sep, 2010 1 commit
  7. 08 May, 2010 2 commits
  8. 07 May, 2010 1 commit
  9. 15 Dec, 2009 1 commit
  10. 01 Dec, 2009 1 commit
  11. 08 Nov, 2009 1 commit
  12. 13 Oct, 2009 1 commit
  13. 12 Oct, 2009 1 commit
  14. 09 Oct, 2009 2 commits
  15. 03 Oct, 2009 1 commit