elya5
edd9199be8
Fix UnboundlocalError in disco_browser.py example
...
If self.get is in self.info_types and self.items_types, only self['xep_0030'].get_info is executed and not self['xep_0030'].get_items. So the condition in line 129 is successful but items is not assigned.
2015-07-09 17:15:36 +02:00
Mike Taylor
bb094cc649
Merge pull request #365 from jdowner/staging
...
Fixed imports
2015-07-05 15:46:04 -04:00
Steven Roose
92901637ec
Change to roster migration example
...
I did have the chance to test the script yet, but it seems like that line should be outside the for loop.
2015-05-25 01:01:08 +02:00
Joshua Downer
a0c6bf15e9
Fixed imports
...
Removed unused modules/packages and added getpass, which was missing.
2015-05-13 17:24:06 -04:00
Sangeeth Saravanaraj
80b60fc048
Merge remote-tracking branch 'origin/develop' into xep_0332
2015-04-28 16:53:40 +05:30
Mike Taylor
86e85f9835
Merge pull request #313 from mayflower/develop
...
Proposing #310 again in fixed version
2015-04-11 20:12:19 -04:00
Richard Kellner
81b7b2c190
Fixed bug #353 Python3 XEP-0084 error
2015-03-25 14:04:46 +01:00
Sangeeth Saravanaraj
9044807121
Added help for running example..
2015-02-05 18:11:41 +05:30
Sangeeth Saravanaraj
24264d3a07
Updated Example..
2015-02-05 18:10:10 +05:30
Sangeeth Saravanaraj
8afba7de85
renamed example for convenience.
2015-01-22 16:38:16 +05:30
Sangeeth Saravanaraj
1ce42d3a2f
Boilerplate example.
2015-01-22 11:30:38 +05:30
Robin Gloster
afc939708f
cleanup semicolons, whitespace and mutable default arguments
2014-08-23 12:47:29 +02:00
Robin Gloster
3dd379cdf1
Revert "cleanup semicolons, whitespace and mutable default arguments"
...
This reverts commit 7265682a4d
.
2014-08-18 15:15:14 +02:00
Robin Gloster
7265682a4d
cleanup semicolons, whitespace and mutable default arguments
2014-08-18 00:52:24 +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