summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2012-01-19Add basic start for a client side XEP-0077 plugin.Lance Stout
2012-01-18Fix detecting end of result set paging.Lance Stout
2012-01-18Merge branch 'docs' into developLance Stout
Conflicts: docs/index.rst
2012-01-18Gah, too many branch conflicts.Lance Stout
2012-01-18Merge branch 'docs' of github.com:fritzy/SleekXMPP into docsLance Stout
Conflicts: docs/index.rst
2012-01-18Fix some more merge conflicts.Lance Stout
2012-01-18Add example of accessing plugins to the README.Lance Stout
2012-01-18Fix merge errors and bot example.Lance Stout
2012-01-18Merge branch 'docs' into developLance Stout
Conflicts: docs/_static/haiku.css docs/_static/header.png docs/conf.py docs/getting_started/muc.rst docs/index.rst examples/muc.py
2012-01-18Update home page to include bot example, and example of using a plugin.Lance Stout
2012-01-18Revert "Remove stream feature handlers on session_start."Lance Stout
This reverts commit 4274f49ada77d709b931f65e34d3a64e75b81638. The SASL mech was choking on this, so let's send it back for some more refining.
2012-01-17Fix roster key issue for non-JID keys.Lance Stout
2012-01-17Hash JIDs based on full JID string.Lance Stout
This makes JID objects equivalent to strings in dictionaries, etc. >>> j = JID('foo@example.com') >>> s = 'foo@example.com' >>> d = {j: 'yay'} >>> d[j] 'yay' >>> d[s] 'yay' >>> d[s] = 'yay!!' >>> d[j] 'yay!!'
2012-01-17Pre-parse StanzaPath paths to speed up matching.Lance Stout
The parsing and namespace cleaning isn't terribly expensive, but it does add up. It was adding an extra 5sec when processing 100,000 basic message stanzas.
2012-01-17Remove stream feature handlers on session_start.Lance Stout
Based on profiling, using around 35 stream handlers quarters the number of basic message stanzas that can be processed in a second, in comparison to only using the bare minimum of four handlers. To help, we can drop handlers for stream features once the session has started. So that we can re-enable these handlers when a stream must restart, the 'stream_start' event has been added which fires whenever a stream header is received. The 'stream_start' event is a more generic replacement for the existing start_stream_handler() method.
2012-01-16Merge pull request #137 from rhcarvalho/patch-1Lance Stout
Use jid.bare as a key instead of a JID instance.
2012-01-16Use jid.bare as a key instead of a JID instance.Rodolfo Henrique Carvalho
2012-01-15Tidy up and update the plugin __init__ file.Lance Stout
2012-01-14Fix xep_0030 reference warning.Lance Stout
2012-01-14Don't serialize XML unless we need to.Lance Stout
2012-01-12Don't dump exception logs for XML stream parsing errors.Lance Stout
The exceptions are handled, so we don't need to clutter the output logs.
2012-01-12Update Roster stanza to use RosterItem substanzas.Lance Stout
get_roster() now returns the Iq result stanza instead of True (stanzas also evaluate to True).
2012-01-11update_caps() can now do presence broadcasting.Lance Stout
As part of adding this feature: - fixed bug in update_caps() not assigning verstrings - fixed xep_0004 typo - can now use None as a roster key which will map to boundjid.bare - fixed using JID objects in disco node handlers - fixed failing test related to get_roster Several of these bugs I've fixed before, so I either didn't push them earlier, or I clobbered something when merging. *shrug*
2012-01-10Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2012-01-10Make the roster easier to inspect.Lance Stout
The __repr__ version now looks like a regular dictionary.
2012-01-10Make get_roster(block=False) work properly.Lance Stout
Fixes issue #136
2012-01-09Fix setup.py Unicode issue with README.rstLance Stout
Fixes issue #135
2012-01-07Sync with Suelta.Lance Stout
2012-01-06Add support for MSN with X-MESSENGER-OAUTH2 SASL support.Lance Stout
NOTE: This requires already having the access token. It does NOT perform any OAuth requests.
2012-01-06Fix client_roster when the bare JID changes after binding.Lance Stout
Adds session_bind event.
2012-01-05Fix a few typos.Lance Stout
2012-01-05Apply Te-Je's MUC guide patch.Lance Stout
2012-01-05More &yet brandingLance Stout
2012-01-05Add &yet contact infoLance Stout
2012-01-05Update doc settings to new theme, add examples, use 1.0Lance Stout
2012-01-05Merge branch 'develop-1.1' into developLance Stout
2012-01-05Break the docs out into their own branch.Lance Stout
2012-01-03Update version and README for 1.0 release.sleek-1.01.0Lance Stout