Skip to content
Commits on Jan 22, 2011
Commits on Nov 17, 2010
  1. @fritzy
  2. @fritzy
Commits on Nov 9, 2010
  1. @louiz @legastero

    Add a groupchat_subject event

    louiz committed with legastero Nov 10, 2010
    Use this event to get notified of the subject changes (or to get the
    subject of the room when joining one)
Commits on Nov 8, 2010
  1. @louiz @legastero

    Doesn't fail if host has NO SRV record

    louiz committed with legastero Nov 8, 2010
    Just catch an other exception type coming from the dns resolver that
    could be raised with hosts like "anon.example.com" which just don't have
    any SRV record.
Commits on Nov 6, 2010
  1. @legastero

    Logging no longer uses root logger.

    legastero committed Nov 6, 2010
    Each module should now log into its own logger.
  2. @legastero

    Simplified SleekTest.

    legastero committed Nov 5, 2010
    * check_stanza does not require stanza_class parameter. Introspection!
    * check_message, check_iq, and check_presence removed -- use check
      instead.
    * stream_send_stanza, stream_send_message, stream_send_iq, and
      stream_send_presence removed -- use send instead.
    * Use recv instead of recv_message, recv_presence, etc.
    * check_jid instead of check_JID
    * stream_start may accept multi=True to return a new SleekTest instance
      for testing multiple streams at once.
Commits on Nov 4, 2010
  1. @legastero

    Fix bug introduced while fixing another bug.

    legastero committed Nov 4, 2010
    Threaded event handlers now handle exceptions again.
  2. @fritzy

    fixed indent errors

    fritzy committed Nov 4, 2010
Commits on Nov 3, 2010
  1. @legastero

    Fixes for XEP-0199 plugin.

    legastero committed Nov 3, 2010
    Quick fixes to get the XEP-0199 plugin working until a proper cleanup is
    done.
  2. @legastero
  3. @legastero

    Catch exceptions for direct events.

    legastero committed Nov 3, 2010
    Events triggered with direct=True will have exceptions caught.
    
    Note that all event handlers in a direct event will currently run
    in the same thread.
  4. @legastero
Commits on Oct 31, 2010
  1. @legastero

    Fix bug in XEP-0030 plugin.

    legastero committed Oct 31, 2010
    xep_0030 still referenced event_handlers. Added the method event_handled
    which will return the number of registered handlers for an event to
    resolve the issue.
Commits on Oct 28, 2010
  1. @legastero

    Added try/except for setting signal handlers.

    legastero committed Oct 28, 2010
    Setting signal handlers from inside a thread is not supported in Python,
    but some applications need to run Sleek from a child thread.
    
    SleekXMPP applications that run inside a child thread will NOT be able
    to detect SIGHUP or SIGTERM events. Those must be caught and managed by
    the main program.
Commits on Oct 27, 2010
  1. @legastero

    SSL and signal fixes.

    legastero committed Oct 27, 2010
    Made setting the SIG* handlers conditional on if the signal defined for
    the OS.
    
    Added the attribute ssl_version to XMLStream to set the version of SSL
    used during connection. It defaults to ssl.PROTOCOL_TLSv1, but OpenFire
    tends to require ssl.PROTOCOL_SSLv23.
Commits on Oct 26, 2010
  1. @legastero

    Added XEP-202 Entity Time plugin.

    legastero committed Oct 25, 2010
    Contributed by Cesar Alcalde.
  2. @legastero

    Added XEP-0012 Last Activity plugin.

    legastero committed Oct 25, 2010
    Contributed by Cesar Alcalde.
Commits on Oct 25, 2010
  1. @legastero

    Made exceptions work.

    legastero committed Oct 25, 2010
    Raising an XMPPError exception from an event handler now works, even if
    from a threaded handler.
    
    Added stream tests to verify.
    
    We should start using XMPPError, it really makes things simple!
  2. @legastero

    Added more presence stream tests.

    legastero committed Oct 25, 2010
    Tests auto_authorize=False, and got_online.
  3. @legastero

    Fixed bug in presence subscription handling.

    legastero committed Oct 25, 2010
    Subscription requests and responses were not setting the correct 'to'
    attribute.
Commits on Oct 24, 2010
  1. @legastero

    Added stream tests for presence events.

    legastero committed Oct 24, 2010
    First batch of tests, currently focuses on the got_offline event.
  2. @legastero

    Added test for error stanzas.

    legastero committed Oct 24, 2010
  3. @legastero

    More JID unit tests.

    legastero committed Oct 24, 2010
    sleekxmpp.xmlstream.jid now has 100% coverage!
  4. @legastero
  5. @legastero

    Fixed resource bug in JIDs.

    legastero committed Oct 24, 2010
    JIDs without resources will return '' instead of the bare JID.
    
    Cleaned up JID tests, and added check_JID to SleekTest.
  6. @legastero

    Make SleekTest streams register all plugins.

    legastero committed Oct 24, 2010
    Makes test coverage nicer.
  7. @legastero

    ComponentXMPP saves all of its config data now.

    legastero committed Oct 24, 2010
    ComponentXMPP was ignoring plugin_config and plugin_whitelist
    parameters, making register_plugins() fail.
  8. @legastero
  9. @legastero
  10. @legastero

    Fixed error in client roster handling.

    legastero committed Oct 24, 2010
    The roster result iq was not being passed to the roster update
    handler.
Commits on Oct 21, 2010
  1. @fritzy
  2. @legastero

    Fixed mixed text and elements bug in tostring.

    legastero committed Oct 21, 2010
    XML of the form <a>foo <b>bar</b> baz</a> was outputted as
    <a>foo <b>bar</b> baz baz</a>.
    
    Includes unit test.
  3. @fritzy

    misc small tweaks

    fritzy committed Oct 20, 2010
  4. @fritzy

    pep8 fixes on core library

    fritzy committed Oct 20, 2010
Something went wrong with that request. Please try again.