Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter searches and subscriptions by blocked accounts #22

Closed
wants to merge 7 commits into from

Commits on Nov 12, 2010

  1. don't search tweets from blocked accounts

    Regularly poll the list of blocked accounts and filter search and
    subscription results by this list.
    This is a very close copy of the friends list handling.
    mmitch committed Nov 12, 2010
    Configuration menu
    Copy the full SHA
    c2100fa View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2010

  1. fix block lists for multiple accounts

    Only the block list for the current account was read.  This has been
    changed to querying all accounts for their block lists.  Every block
    applies globally, e.g. it filters results from _any_ account.
    
    Seems reasonable to me because I use blocks to remove unwanted results
    (spammers etc.) and these results don't become wanted just because
    another account stumbles upon them.
    mmitch committed Nov 22, 2010
    Configuration menu
    Copy the full SHA
    041300d View commit details
    Browse the repository at this point in the history
  2. remove paging from load_blocks()

    Gedge found out that Twitter does not honor the page attribute to the
    blocks/blocking method which makes us download the same block list 10
    times for every account.  Talk about The Big Freeze on startup...
    mmitch committed Nov 22, 2010
    Configuration menu
    Copy the full SHA
    8788c3e View commit details
    Browse the repository at this point in the history
  3. document block list poll intervall

    The existing twitter_friends_poll setting is used for both friends and blocks.
    mmitch committed Nov 22, 2010
    Configuration menu
    Copy the full SHA
    1b81188 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2010

  1. store and compare blocked accounts in lowercase

    This should fix a case-related bug that seems to pop up sometime
    (don't know why, though).  Account names are case insensitive so
    using all lowercase can't hurt.
    mmitch committed Dec 2, 2010
    Configuration menu
    Copy the full SHA
    c569ad8 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2010

  1. Configuration menu
    Copy the full SHA
    c1fe49b View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2011

  1. fix block list polling

    As Gedge pointed out, $settings{blocks_poll} does not exist.  Use
    $settings{friends_poll} instead, as documented in html/using.html.
    
    I don't see much sense in polling the friends and blocks lists at
    different intervals, so just use the same setting for both lists for
    now.
    mmitch committed Feb 4, 2011
    Configuration menu
    Copy the full SHA
    3d59a8d View commit details
    Browse the repository at this point in the history