Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Work in Progress #1

Merged
merged 19 commits into from
May 15, 2014
Merged

Work in Progress #1

merged 19 commits into from
May 15, 2014

Commits on May 10, 2014

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

Commits on May 13, 2014

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

Commits on May 14, 2014

  1. Adds incomplete User and Room, and a failing test setting some goals.

            me = client.get_me()
            sandbox = client.get_room(11540)
    
            with sandbox.messages() as messages:
                sandbox.send_message("hello worl")
    
                for message in messages:
                    if message.owner is me:
                        assert my_message.content == "hello worl"
    
    ref Manishearth#65, ref Manishearth#52, ref Manishearth#43
    jeremyBanks committed May 14, 2014
    Configuration menu
    Copy the full SHA
    a572d36 View commit details
    Browse the repository at this point in the history
  2. Move some request methods to browser.

    The message scraping methods haven't been moved yet; they'll need to be
    disentangled from Message logic.
    
    PEP-8 formatting changes in browser.
    
    ref Manishearth#59
    jeremyBanks committed May 14, 2014
    Configuration menu
    Copy the full SHA
    f5fecc5 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2014

  1. Style/minor structure changes to browser.

    Adds user_id/user_name attributes to browser.
    jeremyBanks committed May 15, 2014
    Configuration menu
    Copy the full SHA
    5425b46 View commit details
    Browse the repository at this point in the history
  2. Adds @_utils.log_and_ignore_exceptions decorator.

    We had some function that did this previously. If we want it in the
    future, this decorator is a cleaner approach than repeating it in every
    function.
    jeremyBanks committed May 15, 2014
    Configuration menu
    Copy the full SHA
    3729868 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e8ea3d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ff735f2 View commit details
    Browse the repository at this point in the history
  5. Moves remaining request and soup logic (Message scraping) to browser.

    Made pinning/starring methods more intelligent with known attributes.
    
    ref Manishearth#59
    jeremyBanks committed May 15, 2014
    Configuration menu
    Copy the full SHA
    ca0ea38 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5ee27d5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9ecc191 View commit details
    Browse the repository at this point in the history
  8. Starts using Room and User instances instead of bare names and IDs.

    They still have no scraping implemented for unknown values.
    
    ref Manishearth#52, Manishearth#65
    jeremyBanks committed May 15, 2014
    Configuration menu
    Copy the full SHA
    e077b09 View commit details
    Browse the repository at this point in the history
  9. fix error in last comit

    jeremyBanks committed May 15, 2014
    Configuration menu
    Copy the full SHA
    943dc53 View commit details
    Browse the repository at this point in the history
  10. Removes deprecated hosts support.

    Fixes a syntax error in chat example.
    jeremyBanks committed May 15, 2014
    Configuration menu
    Copy the full SHA
    3aaf6b0 View commit details
    Browse the repository at this point in the history
  11. Adds User profile scraping and room info scraping, with simple tests.

    Moves some logic from client to room.
    
    Adds simple docstrings with epydoc annotations to public fields and
    methods of Client. Also adds epydoc as a dev dependency, and adds
    `make epydocs`.
    
    It probably isn't necessary to add this documentation to our internal
    methods, and I won't bother with browser for now, but I think it's
    useful to have for our user-friendly interface. (Both for users directly
    and through IDEs that recognize the type annotations, like PyCharm CE.)
    
    resolves Manishearth#52 - let's forget about slugs and message sets for now. We can
    reply to messages and a weak set of current messages might be pointless.
    
    ref Manishearth#65, Manishearth#43 - event/message iterators/contexts are still outstanding.
    jeremyBanks committed May 15, 2014
    Configuration menu
    Copy the full SHA
    6f213cc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    54cca16 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    697192c View commit details
    Browse the repository at this point in the history
  14. Increase request-timeout.

    jeremyBanks committed May 15, 2014
    Configuration menu
    Copy the full SHA
    9a54367 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c827f99 View commit details
    Browse the repository at this point in the history