mathieui
83d00a5913
Fix examples relying on the changed API
2015-02-28 19:02:44 +01:00
mathieui
c66a4d4097
Update the documentation and examples
...
- update most of the examples with slixmpp
- change the help channels pointed out in the doc
- add a page listing differences from slixmpp and how to use asyncio
nicely with slixmpp
- fix some in-code rst documentation
2015-02-24 22:47:15 +01:00
Emmanuel Gil Peyrot
7c3e61950d
Remove all deprecated alias in the core of slixmpp, and wherever they were used.
2014-09-28 23:58:46 +02:00
Emmanuel Gil Peyrot
49beb3ac08
Don’t set the wait time to True instead of leaving its float default, in examples.
2014-09-28 23:58:46 +02:00
Emmanuel Gil Peyrot
17174016ec
Remove all trailing whitespaces.
2014-09-01 02:47:15 +02:00
Emmanuel Gil Peyrot
8660148960
Move examples from the deprecated optparse to argparse, and remove the redundant -v option.
2014-09-01 02:47:15 +02:00
Emmanuel Gil Peyrot
67ca2dd0f4
Import getpass from getpass, instead of using getpass.getpass everytime.
2014-09-01 02:47:15 +02:00
Emmanuel Gil Peyrot
882f984b26
Remove (usually) useless comments in examples about OpenFire and how to verify a certificate.
2014-09-01 02:47:15 +02:00
Emmanuel Gil Peyrot
6175cbcd99
Reintroduce XMLStream.process, making it run the asyncio event loop.
2014-09-01 02:47:08 +02:00
Emmanuel Gil Peyrot
476d76a533
Remove threaded from examples’ add_event_handler.
2014-09-01 02:42:45 +02:00
Emmanuel Gil Peyrot
df68bb4896
Remove raw_input usage and other python2 support in examples
2014-09-01 02:42:45 +02:00
Emmanuel Gil Peyrot
815e647c97
Set the shebang to python3 everywhere.
2014-09-01 02:42:45 +02:00
Florent Le Coz
373505f483
Clean a new bunch of stuf
2014-07-21 20:32:09 +02:00
Florent Le Coz
5ab77c7452
Rename to slixmpp
2014-07-17 14:19:04 +02:00
Anton Ryzhov
cebfd84416
Examples fixes
2014-01-21 16:19:27 +04:00
Lance Stout
cd2d25cf87
Chmod +x examples, and add shebang lines
2013-09-20 11:50:51 -07:00
Lance Stout
24c474a9ec
Merge branch 'xep_0323_325' of git://github.com/joachimlindborg/SleekXMPP into joachimlindborg-xep_0323_325
...
Conflicts:
sleekxmpp/plugins/__init__.py
2013-09-05 16:26:18 -07:00
Joachim Lindborg
c85f2494a8
first functional IoT_Test
2013-09-03 22:51:11 +02:00
Lance Stout
c0437d2de8
Add roster migration example
2013-06-22 14:35:00 -07:00
Lance Stout
fae39e1ab4
Fix some errors in the IBB plugin.
2013-03-29 13:16:18 -07:00
Lance Stout
82bbe5d1a6
Merge branch 'develop'
2013-02-25 09:53:35 -08:00
Anton Ryzhov
d9906756cf
Don't use internally deprecated methods
2013-02-22 01:48:03 +04:00
Lance Stout
9a6bfc6614
Enable force_registration in the register account example.
2013-02-08 09:44:39 -08:00
Lance Stout
79914fb56b
Add option to XEP-0077 plugin to force registration attempts.
2013-02-08 09:36:51 -08:00
Lance Stout
3423589ba1
Updated XEP-0199 to take and return standardized values.
...
Handles Iq errors appropriately when the recipient can't be found.
2013-01-20 20:14:16 -08:00
Lance Stout
12e8bb6ddc
Turns out not all data is UTF-8, so don't try to decode it.
...
Fixes issue #204
2012-10-31 00:16:58 -07:00
Paul Molodowitch
52feabbe76
added setdefaultencoding method so reload(sys) not needed
...
reload(sys) could cause problem in user code - ie, sys.stdout, excepthook, and displayhook would be reset, etc
2012-10-24 13:06:36 -07:00
Lance Stout
295d23ccf3
Fix disco browser example to handle errors.
2012-08-07 16:44:52 -07:00
Lance Stout
26dc6e90ea
Add example for setting an avatar.
2012-07-25 01:37:03 -07:00
Lance Stout
fb221a8dc0
Add XEP-0133 support, which just makes the appropriate XEP-0050 calls.
2012-07-22 13:58:23 -07:00
Lance Stout
474390fa00
Add example for retrieving avatars.
2012-07-20 18:10:14 -07:00
Lance Stout
9307a6915f
Add notes to echo_client.py example on working with Facebook and MSN.
2012-06-23 22:30:24 -07:00
Lance Stout
95a0e51b41
Add example for dealing with GTalk custom domain certificates.
2012-06-19 00:02:36 -07:00
Lance Stout
110e45e187
Add examples for using IBB.
2012-06-19 00:02:17 -07:00
Lance Stout
6ddb430fef
Spell thirdparty correctly.
2012-05-16 12:00:00 -07:00
Lance Stout
9c4886e746
Remove extra connection info so that examples run without modification.
...
GTalk users may still need to change the connect() call if dnspython is
not installed, as usual.
2012-05-14 22:17:39 -07:00
Lance Stout
e0bcd5d722
Add more documentation to the custom stanza examples.
2012-05-14 22:12:52 -07:00
Erick Pérez Castellanos
ba854e7d85
Added custom_stanza example
2012-05-14 21:47:43 -07:00
Lance Stout
24234bf718
Update other examples to use threaded mode for handlers that call disconnect()
2012-05-06 20:19:02 -07:00
Lance Stout
ec99339140
Update send_client.py to call disconnect() from a threaded handler.
2012-05-06 20:07:05 -07:00
Lance Stout
1c83391948
Merge remote-tracking branch 'hansent/master' into develop
2012-03-20 11:50:57 -07:00
Lance Stout
b077ef9150
Fix error in the registration example.
...
The now=True parameter was not being passed to allow the registration
submission to be submitted while the send queue is paused.
2012-03-19 06:05:15 -07:00
Lance Stout
e2ce5ae222
Add example for using user location.
...
Uses http://freegeoip.com to get an approximate location based
on the machine's IP address.
2012-03-18 23:42:03 -07:00
Lance Stout
0c24fbdb06
Add pubsub examples.
...
Run pubsub commands via pubsub_client, and watch events as they come in
with pubsub_events.
2012-03-16 23:18:59 -07:00
Lance Stout
549a9ab472
Add support for XEP-0118.
...
See examples/user_tune.py for a demonstration using the currently
playing song in iTunes.
2012-03-10 10:30:32 -08:00
Thomas Hansen
5a4df56836
examples: fix rpc examples. __init__ method was wrongly named "__init" causing proxy and handler class to not be initialized.
2012-01-31 12:38:41 -06:00
Lance Stout
69940a8ab9
Fix a few typos.
2012-01-24 00:07:31 -08:00
Lance Stout
13158e3cdf
Revert the X-GOOGLE-TOKEN mech to not perform HTTP requests.
...
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-23 23:58:40 -08:00
Lance Stout
02f4006153
Add basic start for a client side XEP-0077 plugin.
2012-01-19 02:37:36 -08:00
Lance Stout
4f4c121d9b
Fix merge errors and bot example.
2012-01-18 15:16:56 -08:00