Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 13, 2012
  1. @bboe
Commits on Jan 12, 2012
  1. @bboe

    Added automatic 504 retry support, minor fix and version bump.

    bboe authored
    Automatically retry three times (with the proper wait conditions) in the event
    of a 504 response.
    
    The _sorted and _selection helpers now properly take a variable number of
    arguments, rather than statically (and incorrectly) shadowing get_content.
    
    Also fixed a test failure.
Commits on Jan 5, 2012
  1. @bboe

    Clean up code since it depends on at least python 2.6.

    bboe authored
    The source uses properties which is a feature added in python 2.6. Given that the json libary is included in python 2.6 there is no need to failback to the simplejson import. Updated the pypi classifiers accordingly.
  2. @bboe
Commits on Jan 4, 2012
  1. @bboe
Commits on Jan 3, 2012
  1. @bboe

    Add ability to mark a message as unread.

    bboe authored
    Also worth noting: This API wrapper previously assumed Reddit supported marking multiple messages as read; this infact wasn't the case. I added a [pull request](reddit/reddit#299) to Reddit to support this feature, and in doing so have decided to leave the support in the Reddit API wrapper as I am hopeful they will integrate my pull request. I have also added a test for the multiple mark_as_read feature. This test will fail until my pull request is integrated.
  2. @bboe

    Support SSL login.

    bboe authored
Commits on Dec 27, 2011
  1. @soult @bboe

    Fix login example in README.md

    soult authored bboe committed
Commits on Dec 23, 2011
  1. @bboe

    Properly include subreddit 'r' parameter in ban/contributor/moderator…

    bboe authored
    … subreddit actions and added MoreComments support. Minor version bump.
    
    With MoreComments comes convenience functions, comments_flat, all_comments, and all_comments_flat which converts the MoreComments objects into their appropriate comments.
    
    Note that when using all_comments(_flat) that it will throw a ClientException if there are more than 10 MoreComments objects to convert as each mMoreComment object unfortunately requires a single request to fetch. You can manually query the comments from a MoreComments object via the `comment` method of the MoreComments object.
Commits on Dec 17, 2011
  1. @bboe
Commits on Dec 16, 2011
  1. @bboe
  2. @Tailszefox @bboe

    Added ability to report a submission, and get the reported submission…

    Tailszefox authored bboe committed
    …s of a subreddit (must be a mod)
    
    Alignment issue
Commits on Dec 13, 2011
  1. @bboe

    Corrected README example.

    bboe authored
  2. @bboe
  3. @bboe
Commits on Dec 10, 2011
  1. @bboe

    Version bump

    bboe authored
  2. @dahlia
  3. @dahlia

    It seems not to require setuptools. Added a common fallback for setup…

    dahlia authored
    …tools. This patch make the package able to be installed under system that doesn't have setuptools.
  4. @bboe

    Updated the README.

    bboe authored
  5. @bboe
  6. @bboe
Commits on Dec 9, 2011
  1. @bboe
  2. @bboe

    Quote consistency.

    bboe authored
  3. @bboe

    Remove remaining global config settings in favor of site-specific set…

    bboe authored
    …tings.
    
    A positive side effect of this change is that the api_request_delay now
    operates on a per-domain basis. Thus there are different rate limits for
    different sites that you are connecting to. Note that the key for the last_call
    is the domain name, thus even though the Reddit or config object may be
    different, if the domain is the same, then the rate limit will apply.
Commits on Dec 7, 2011
  1. @bboe

    Fixed create_subreddit and added tests for a few untested functions.

    bboe authored
    Added test functionality for:
    
    * create_subreddit
    * get_all_comments
    * get_front_page
    * my_moderation
    * my_reddits
  2. @bboe
  3. @bboe

    Added tests for logout, send_feedback, and create_user, and fixed the…

    bboe authored
    … functions to work properly.
  4. @bboe
Commits on Dec 6, 2011
  1. @bboe

    Fixed semi-failing flair test by setting flairlist url to stale when …

    bboe authored
    …flair is updated. Did the same for a submission's permalink when comments are added.
  2. @bboe

    Added pylint and modified code to pass the tests. Refactored the redd…

    bboe authored
    …it class to group functions into extension classes.
  3. @bboe

    Added clear_flair_templates and add_flair_template features along wit…

    bboe authored
    …h dummy tests (no verification they worked) as there doesn't appear to be a nice way to get the current list of flair templates.
  4. @bboe

    Refactored the multisite implementation, and made stride to pass pylint.

    bboe authored
    More specific details:
    
    * Consolodated all api objects and their ancestors in objects.py
    * Cleaned up imports in __init__.py
    * Added Config class which holds the per-instance configuration thus allowing concurrent instances at multiple sites
    * Removed urls.py and moved url mapping to the new Config class
    * Replaced " with ' in some files for consistency.
Commits on Dec 4, 2011
  1. @bboe
  2. @bboe

    Added the ability to connect to another running instance of reddit th…

    bboe authored
    …at's
    
    somewhere other than reddit.com. See example_settings.py.
  3. @bboe
Something went wrong with that request. Please try again.