Commits on Aug 12, 2015
  1. Fix #584. Read image preview URLs from entities

    Volvagia356 committed Aug 12, 2015
    Previously, the code that generates image previews reads URLs from the
    tweet body text. This worked before as the URLs were expanded
    before image previews are processed. However, the expansion code
    was moved to after the image preview code in a previous bugfix, breaking
    the image preview functionality for URLs.
    To fix this, the image preview code now reads the URLs directly from the
    entities provided by Twitter, instead of reading it from tweet body.
Commits on Jul 2, 2015
  1. Merge pull request #583 from Volvagia356/master

    Volvagia356 committed Jul 2, 2015
    Misc. bug fixes
Commits on Jun 28, 2015
  1. Fix #4. Read extended media entities for media preview

    Volvagia356 committed Jun 28, 2015
    A while ago, Twitter added the ability to upload multiple images to a
    tweet. Hotot didn't support this and just displays the first image for a
    Data about entities are placed in the 'entities' key of the response.
    However, the data there only contains information for the first image.
    It turns out that Twitter added an extra key called 'extended_entities',
    which contains data on all uploaded images. Thus, the bug is fixed by
    modifying Hotot to read from 'extended_entities' instead of 'entities'.
  2. Fix #2. Fix #3. Rearranged entity parsing code.

    Volvagia356 committed Jun 28, 2015
    The previous entity parsing code misdetects a List entity when @ is used
    within a URL. It also misdetects some punctuation next to a URL as being
    part of the URL.
    This is fixed by parsing all other entities first before parsing the
    URLs. Also, the URLs are now directly replaced with the final HTML,
    instead of being expanded to the full URLs first before adding the HTML.
Commits on Jun 27, 2015
  1. Fix #1. Calculate tweet length using length from Twitter

    Volvagia356 committed Jun 27, 2015
    Twitter shortens URLs by using their link shortener. The bug is
    caused by Hotot assuming the length of links from the URL shortener to
    be 20 characters. This is fixed by requesting the proper length of URLs
    of the URL shortener from Twitter and using that instead.
Commits on Feb 8, 2015
  1. Stopped zipping Chrome extension after compiling.

    Volvagia356 committed Feb 8, 2015
    No point zipping it if you're using it yourself.
    The zipping was done badly anyway. Full path was included in zip file.
Commits on Jun 25, 2014
Commits on Jul 5, 2013