summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-19Update XEP-0085 plugin to work with both ElementTree and cElementTreeLance Stout
Each state element must have its own stanza class now. A stanza class with an empty name field causes errors in ElementTree, even though it works fine with cElementTree.
2012-02-19Fix incompatibility with clearing an element between ElementTree and ↵Lance Stout
cElementTree
2012-02-19xml.etree.ElementTree raises ExpatError instead of SyntaxError or ParseError.Lance Stout
2012-02-19Centralize references to ET to make switching implementations easier.Lance Stout
2012-02-18Fix instances of using undefined variables.Lance Stout
2012-02-18More pyflakes cleanup.Lance Stout
2012-02-18More import cleanup based on pyflakes.Lance Stout
2012-02-18Use JID objects when dealing with roster items.Lance Stout
2012-02-17More extraneous import cleanup.Lance Stout
2012-02-17More import cleanups based on pyflakes results.Lance Stout
2012-02-17Fix pyflakes complaints for XEP-0115 plugin.Lance Stout
2012-02-17Make last_xml usage a little more explict.Lance Stout
2012-02-17Fix undeclared variable usage for reconnect.Lance Stout
2012-02-17Updated XEP-0009 to handle unicode stringsCorrel Roush
2012-02-16Fix fixing remove_stanza()Lance Stout
Fixes issue #146
2012-02-16Don't retrieve cert until a connection is made.Lance Stout
2012-02-16Fix remove_stanza().Lance Stout
Fixes issue #146
2012-02-10Don't shutdown completely after handling SyntaxError.Lance Stout
The ``shutdown = True`` line was preventing the stream from reconnecting after handling the error. Fixes issues #101, #145
2012-02-10Fix undefined variable references when DNS timeouts.Lance Stout
2012-02-09Use '=' as base64 value for empty string SASL results.Lance Stout
2012-02-10Fix IPv6 query logging.Lance Stout
2012-02-09Add support for querying and connecting to IPv6 addresses.Lance Stout
Tested using servers provided by Florian Jensen (flosoft.biz) during the 2012 FOSDEM XMPP Summit. Fixes issue #94.
2012-02-04Add ssl_cert event (direct).Lance Stout
The payload is a dictionary of parsed cert data, as provided by Python's getpeercert() socket method. It unfortunately does not provide much detail beyond basic info.
2012-02-03Add more XEP-0047 tests.Lance Stout
2012-02-03Fix XEP-0184 importsLance Stout
2012-02-03Fix infinite callback loop.Lance Stout
2012-02-03Don't assume data is ASCII in saslprep.Lance Stout
2012-02-03Merge remote-tracking branch 'whooo/master' into developLance Stout
2012-02-03Added fritzy to the copyright for xep_0184Erik Larsson
2012-02-02Fix data stanza based on test results.Lance Stout
2012-02-02Initial, mostly working XEP-0047 plugin.Lance Stout
This is inspired by the version from macdiesel and tomstrummer, but their version was heavily linked with XEP-0096 and focused solely on file transfer. This version is a more generic implementation.
2012-02-02Fix typo s/is_set/is_set()Lance Stout
2012-02-02Added plugin for XEP-0184Erik Larsson
2012-01-31examples: fix rpc examples. __init__ method was wrongly named "__init" ↵Thomas Hansen
causing proxy and handler class to not be initialized.
2012-01-28Make socket_error run as a direct event to ensure that it is handled.Lance Stout
Socket errors that occur before stream processing begins could not be handled as the event loop would not be running yet. Resolves issue #142
2012-01-25Bump version number in develop branch to 1.0.1dev.Lance Stout
2012-01-25Merge pull request #138 from rhcarvalho/patch-2Lance Stout
Set default argument value.
2012-01-24Fix a few typos.Lance Stout
2012-01-23Revert the X-GOOGLE-TOKEN mech to not perform HTTP requests.Lance Stout
Added new example for how to retrieve a Google token, following the best case, non-browser, workflow. Other thirdparty auth mechs (Facebook, MSN) follow a similar pattern of using an access token.
2012-01-23Merge pull request #140 from rhcarvalho/patch-3Lance Stout
Fix ValueError when line has more than one '='.
2012-01-22Fix ValueError when line has more than one '='.Rodolfo Carvalho
2012-01-22Set default argument value. Rodolfo Henrique Carvalho
Without this features/feature_mechanisms/mechanisms.py throws an error when calling the method `process' without arguments on this mechanism.
2012-01-21Add support for X-GOOGLE-TOKEN.Lance Stout
This is mainly just useful for authenticating without using TLS. If an access token is not provided, an attempt will be made to retrieve one from Google.
2012-01-21Require explicitly setting access_token value.Lance Stout
Silently substituting the password field was nice, but for mechs that can use either the password or an access token, it makes things very difficult. This really only affects MSN clients since Facebook clients should already be setting the api key.
2012-01-21Handle SASLCancelled and SASLError exceptions.Lance Stout
2012-01-21Add missing SASL <abort /> stanzaLance Stout
2012-01-20Make things work with Python3's byte semantics.Lance Stout
2012-01-20Allow attempting multiple SASL mechs during a single stream.Lance Stout
Instead of disconnecting when the first chosen mech fails, we will try all of them once.
2012-01-20Add support for X-FACEBOOK-PLATFORM SASL mechanism.Lance Stout
This requires an extra credential for SASL authentication: xmpp = ClientXMPP('user@chat.facebook.com', '...access_token...') xmpp.credentials['api_key'] = '...api_key...'
2012-01-20Add an extra config dict to store SASL credentials.Lance Stout
We'll need extra things beyond just a password, such as api_key.