Permalink
Commits on Oct 21, 2010
  1. capture SIGHUP and SIGTERM (windows) and disconnect; also testall no …

    fritzy committed Oct 21, 2010
    …longer loads string26 with python3
Commits on Oct 20, 2010
  1. fixed disconnect

    fritzy committed Oct 20, 2010
Commits on Oct 18, 2010
  1. Underscore names by default.

    legastero committed Oct 18, 2010
    Stanza objects now accept the use of underscored names.
    
    The CamelCase versions are still available for backwards compatibility,
    but are discouraged.
    
    The property stanza.values now maps to the old getStanzaValues and
    setStanzaValues, in addition to _set_stanza_values and
    _get_stanza_values.
Commits on Oct 17, 2010
  1. Cleanup, restore PEP8.

    legastero committed Oct 17, 2010
  2. Fix the error on non-number priority

    louiz committed with legastero Oct 16, 2010
    The priority is not a number: we consider it 0 as a default
  3. Default history is 0

    louiz committed with legastero Oct 16, 2010
  4. MUC leave message and MUC history request

    louiz committed with legastero Oct 16, 2010
    It is now possible to ask for "any number of history stanzas" when
    joining a muc (with history=None).
    Also we use "maxchars" when asking NO history ("0") since it's a MUST in
    the XEP.
    And you can specify a message when leaving a MUC.
  5. Remove deprecation warnings

    louiz committed with legastero Oct 16, 2010
    Remove all the deprecation warnings by using only boundjid.
    And also fix a indentation error.
  6. Anonymous authentication

    louiz committed with legastero Oct 16, 2010
    Implemented ANONYMOUS authentication on the ClientXMPP class.
    To use it, you just need to provide a domain (e.g 'anon.example.com')
    with an optional resource (e.g 'anon.example.com/resource') as the JID,
    with no password. The JID class has been improved to accept
    domains as fulljid.
    
    You can test this with echo_client.py
    python echo_client.py -j anon.louiz.org/  # anonymous with a resource
                                              # defined by the server
    python echo_client.py -j anon.louiz.org/resource  # anonymous with given
                                                      # resource
    
    The "normal" authentication method still works exactly like before.
Commits on Oct 14, 2010
  1. don't import statemachine

    fritzy committed Oct 14, 2010
  2. fixed stream tests

    fritzy committed Oct 14, 2010
  3. disconnect cleanly

    fritzy committed Oct 14, 2010
  4. new state machine in place

    fritzy committed Oct 14, 2010
Commits on Oct 7, 2010
  1. Added example live stream test.

    legastero committed Oct 7, 2010
    Run using:
    python tests/live_test.py
  2. SleekTest may now run against a live stream.

    legastero committed Oct 7, 2010
    Moved SleekTest to sleekxmpp.test package.
    Corrected error in XML compare method.
    Added TestLiveSocket to run stream tests against live streams.
    Modified XMLStream to work with TestLiveSocket.
  3. Corrected test errors.

    legastero committed Oct 7, 2010
    There was a bug in the XML compare method.
  4. Removed debug log statement.

    legastero committed Oct 7, 2010
  5. Unit test reorganization.

    legastero committed Oct 7, 2010
    Moved SleekTest to sleekxmpp.test.
    
    Organized test suites by their focus.
    - Suites focused on testing stanza objects are named test_stanza_X.py
    - Suites focused on testing stream behavior are name test_stream_X.py
  6. Fixed dealing with deleting handlers.

    legastero committed Oct 7, 2010
    The call to .index() may raise a ValueError if the item is not in the
    list. So both the .index() and .pop() calls should be in the try block.
Commits on Oct 6, 2010
  1. Corrected stream header tester.

    legastero committed Oct 6, 2010
    Added test for testing stream headers.
  2. Updated method names.

    legastero committed Oct 6, 2010
    Using underscored names where possible.
  3. Updated SleekTest and related tests.

    legastero committed Oct 6, 2010
    May now use a component for stream testing.
    Methods provided for testing stream headers.
  4. More PEP8 compliance cleanups.

    legastero committed Oct 6, 2010
    Cleaned up the atom entry stanza.