Permalink
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 t.co URLs were expanded
    before image previews are processed. However, the t.co 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
    tweet.
    
    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 t.co 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 t.co length from Twitter

    Volvagia356 committed Jun 27, 2015
    Twitter shortens URLs by using their t.co 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 Dec 29, 2013
  1. fixed: search api

    shellexy committed Dec 29, 2013
Commits on Jul 5, 2013
Commits on May 14, 2013
  1. Merge pull request #549 from yuyichao/master

    lyricat committed May 14, 2013
    hopefully fix debian build......
  2. try fixing debian build

    yuyichao committed May 14, 2013
Commits on May 7, 2013
  1. update version

    lyricat committed May 7, 2013
Commits on Apr 27, 2013
  1. line wrap

    lyricat committed Apr 27, 2013
Commits on Apr 19, 2013
  1. Merge pull request #533 from abr4xas/master

    lyricat committed Apr 19, 2013
    Update es/messages.json
  2. Merge pull request #545 from haiiro-shimeji/develop1

    lyricat committed Apr 19, 2013
    Refactoring: Define 'column' as a keyword
  3. Merge pull request #543 from kuromabo/japanese_translation

    lyricat committed Apr 19, 2013
    Japanese translation updated.
  4. Merge pull request #541 from dazzyd/master

    lyricat committed Apr 19, 2013
    Short long url in tweet
Commits on Apr 18, 2013
Commits on Apr 17, 2013
Commits on Apr 13, 2013
  1. Update japanese translation.

    kuromabo committed Apr 13, 2013
Commits on Apr 10, 2013
  1. Add support to non-oob Consumer Key

    Dazzy Ding authored and kuromabo committed Mar 11, 2013
  2. Fix startup hang with recent webkit

    tante authored and kuromabo committed Feb 27, 2013
    For some reason the chrome integration triggers with certain webkit
    versions in the GTK (and maybe Qt) application.
    
    The startup hangs at "Loading Resources" because a reference to "chrome"
    cannot be resolved and triggers an uncaught exception locking up the
    startup.
    
    I wrapped the call to chrome in a try{} catch{} block to make it pass.
    Shouldn't break any chrome integration but will get unchromy things to
    startup properly.
  3. Fix interrupted streams handling

    tante authored and kuromabo committed Feb 27, 2013
    The embedded webkit instance seems (at least in linux) to trigger the
    "onreadystatechange" in the middle of handling data leading to the streaming to
    stop because of JSON Parse errors (as described in  Issue #473).
    
    This patch introduces a new variable to store the broken response to prepend it
    with the next incoming data forming a proper JSON string.
    
    The stream continues to run, and updates, broken replies just tend to lag a
    second due to having to wait for coming data.
    
    This is not a perfect fix but rather a workaround to keep streaming running
    (especially important due to API call limits coming).
  4. update manifest

    lyricat authored and kuromabo committed Feb 26, 2013
  5. emergency.

    lyricat authored and kuromabo committed Feb 26, 2013
  6. change version

    lyricat authored and kuromabo committed Feb 26, 2013
  7. fix lib.Network.encode_multipart_formdata in chrome 24+

    dazzyd authored and kuromabo committed Feb 25, 2013
    BlobBuilder(named WebkitBlobBuilder) is deprecated in chrome 24+.
    Use Blob constructor instead.
    
    Old function using BlobBuilder is kept for compatiblity.
    
    Links:
    Deprecated of BlobBuilder: https://developer.mozilla.org/en-US/docs/DOM/Blob
  8. Fix Issue #482.

    leafduo authored and kuromabo committed Feb 24, 2013
    Perspectival boolean attributes in timelines like these are "best
    effort", especially for embedded tweets. After some tests, I found that
    the outer values seems more reliable, so I copied them to the embedded
    one.
    
    See https://gist.github.com/leafduo/5023250 for a test case.
    This JSON object was captured from streaming api after @yukixz
    favorited and retweeted the original tweet. The favorite field of
    embedded tweet is `true`, which was _wrong_ since I didn't favorited
    that. But the outer one was correct. BTW, after a short period of
    time, the one in embedded tweet became `false`, which was correct.
    So, this may be an issue trading consistency for scalability.
    
    Useful links:
    https://dev.twitter.com/discussions/11632
    https://dev.twitter.com/discussions/14351
  9. fixes link of "Retweet by screen_name"

    dazzyd authored and kuromabo committed Feb 24, 2013