summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2013-09-03first functional IoT_TestJoachim Lindborg
2013-02-25Merge branch 'develop'Lance Stout
2013-02-22Don't use internally deprecated methodsAnton Ryzhov
2013-02-08Enable force_registration in the register account example.Lance Stout
2013-02-08Add option to XEP-0077 plugin to force registration attempts.Lance Stout
2013-01-20Updated XEP-0199 to take and return standardized values.Lance Stout
Handles Iq errors appropriately when the recipient can't be found.
2012-10-31Turns out not all data is UTF-8, so don't try to decode it.Lance Stout
Fixes issue #204
2012-10-24added setdefaultencoding method so reload(sys) not neededPaul Molodowitch
reload(sys) could cause problem in user code - ie, sys.stdout, excepthook, and displayhook would be reset, etc
2012-08-07Fix disco browser example to handle errors.Lance Stout
2012-07-25Add example for setting an avatar.Lance Stout
2012-07-22Add XEP-0133 support, which just makes the appropriate XEP-0050 calls.Lance Stout
2012-07-20Add example for retrieving avatars.Lance Stout
2012-06-23Add notes to echo_client.py example on working with Facebook and MSN.Lance Stout
2012-06-19Add example for dealing with GTalk custom domain certificates.Lance Stout
2012-06-19Add examples for using IBB.Lance Stout
2012-05-16Spell thirdparty correctly.Lance Stout
2012-05-14Remove extra connection info so that examples run without modification.Lance Stout
GTalk users may still need to change the connect() call if dnspython is not installed, as usual.
2012-05-14Add more documentation to the custom stanza examples.Lance Stout
2012-05-14Added custom_stanza exampleErick Pérez Castellanos
2012-05-06Update other examples to use threaded mode for handlers that call disconnect()Lance Stout
2012-05-06Update send_client.py to call disconnect() from a threaded handler.Lance Stout
2012-03-20Merge remote-tracking branch 'hansent/master' into developLance Stout
2012-03-19Fix error in the registration example.Lance Stout
The now=True parameter was not being passed to allow the registration submission to be submitted while the send queue is paused.
2012-03-18Add example for using user location.Lance Stout
Uses http://freegeoip.com to get an approximate location based on the machine's IP address.
2012-03-16Add pubsub examples.Lance Stout
Run pubsub commands via pubsub_client, and watch events as they come in with pubsub_events.
2012-03-10Add support for XEP-0118.Lance Stout
See examples/user_tune.py for a demonstration using the currently playing song in iTunes.
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-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-19Add basic start for a client side XEP-0077 plugin.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-05Apply Te-Je's MUC guide patch.Lance Stout
2012-01-05Update doc settings to new theme, add examples, use 1.0Lance Stout
2012-01-02Merge pull request #132 from rhcarvalho/masterLance Stout
Fix a typo in several files.
2012-01-02Fix a typo in several files.Rodolfo Carvalho
This fixes several instances of "intial" for "initial".
2011-12-31Merge pull request #131 from rhcarvalho/masterLance Stout
Small changes to the examples
2011-12-31Remove unused import.Rodolfo Carvalho
I forgot about this one before!
2011-12-31Ask interactively for missing command line arguments.Rodolfo Carvalho
Instead of complaining that the arguments were not given, ask interactively for input. This example was the only one to behave differently from the others.
2011-12-31Remove unused imports in the examples.Rodolfo Carvalho
2011-12-31Add missing import.Rodolfo Carvalho
2011-12-30Merge pull request #130 from rhcarvalho/masterLance Stout
Some small fixes
2011-12-30Update examples to use the block'' argument instead of the deprecated ↵Rodolfo Carvalho
threaded''.
2011-12-30Replace pydns with dnspython in the comments of the examples.Rodolfo Carvalho
2011-11-19Tidy up logging calls.Lance Stout
2011-11-20This change stops sleekxmpp from spending huge amounts of time unnecessarily ↵Vijay Pandurangan
computing logging data that may never be used. This is a HUGE performance improvement; in some of my test runs, unnecessary string creation was accounting for > 60% of all CPU time. Note that using % in a string will _always_ perform the sting substitutions, because the strings are constructed before the function is called. So log.debug('%s' % expensiveoperation()) will take about the same CPU time whether or not the logging level is DEBUG or INFO. if you use , no substitutions are performed unless the string is actually logged
2011-11-18Remove the config_component example in favor of echo_component.sleek-1.0-RC31.0-RC3Lance Stout
The roster portion of the example is too outdated.
2011-11-17Add echo component example.Lance Stout
2011-08-23Remove extra debugging code that made it into a commit.sleek-1.0-RC11.0-RC1Lance Stout
2011-08-18Update examples to work with Python3 (raw_input vs input)Lance Stout