Permalink
Commits on Jan 13, 2012
  1. Fix bug I introduced yesterday. Thanks to octatone for catching it. V…

    bboe committed Jan 13, 2012
    …ersion bump required.
Commits on Jan 12, 2012
  1. Added automatic 504 retry support, minor fix and version bump.

    bboe committed Jan 6, 2012
    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. Clean up code since it depends on at least python 2.6.

    bboe committed Jan 5, 2012
    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.
Commits on Jan 4, 2012
Commits on Jan 3, 2012
  1. Add ability to mark a message as unread.

    bboe committed Jan 3, 2012
    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. Support SSL login.

    bboe committed Jan 3, 2012
Commits on Dec 27, 2011
  1. Fix login example in README.md

    soult committed with bboe Dec 27, 2011
Commits on Dec 23, 2011
  1. Properly include subreddit 'r' parameter in ban/contributor/moderator…

    bboe committed Dec 23, 2011
    … 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
Commits on Dec 16, 2011
  1. Added ability to report a submission, and get the reported submission…

    Tailszefox committed with bboe Dec 14, 2011
    …s of a subreddit (must be a mod)
    
    Alignment issue
Commits on Dec 13, 2011
  1. Corrected README example.

    bboe committed Dec 13, 2011
Commits on Dec 10, 2011
  1. Version bump

    bboe committed Dec 10, 2011
  2. It seems not to require setuptools. Added a common fallback for setup…

    dahlia committed Dec 10, 2011
    …tools. This patch make the package able to be installed under system that doesn't have setuptools.
  3. Updated the README.

    bboe committed Dec 10, 2011
  4. Added get_banned, get_contributors, get_moderators and tested their a…

    bboe committed Dec 10, 2011
    …ssociated functions.
Commits on Dec 9, 2011
  1. Added tests for mark_as_read and search_reddit_name as well as added …

    bboe committed Dec 9, 2011
    …get_unread function.
  2. Quote consistency.

    bboe committed Dec 9, 2011
  3. Remove remaining global config settings in favor of site-specific set…

    bboe committed Dec 9, 2011
    …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. Fixed create_subreddit and added tests for a few untested functions.

    bboe committed Dec 7, 2011
    Added test functionality for:
    
    * create_subreddit
    * get_all_comments
    * get_front_page
    * my_moderation
    * my_reddits
  2. Added tests for logout, send_feedback, and create_user, and fixed the…

    bboe committed Dec 7, 2011
    … functions to work properly.
Commits on Dec 6, 2011
  1. Fixed semi-failing flair test by setting flairlist url to stale when …

    bboe committed Dec 6, 2011
    …flair is updated. Did the same for a submission's permalink when comments are added.
  2. Added pylint and modified code to pass the tests. Refactored the redd…

    bboe committed Dec 6, 2011
    …it class to group functions into extension classes.
  3. Added clear_flair_templates and add_flair_template features along wit…

    bboe committed Dec 6, 2011
    …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. Refactored the multisite implementation, and made stride to pass pylint.

    bboe committed Dec 6, 2011
    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. Added the ability to connect to another running instance of reddit th…

    bboe committed Dec 4, 2011
    …at's
    
    somewhere other than reddit.com. See example_settings.py.