summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/jid.py
AgeCommit message (Collapse)Author
2010-10-17Remove deprecation warningsFlorent Le Coz
Remove all the deprecation warnings by using only boundjid. And also fix a indentation error.
2010-10-17Anonymous authenticationFlorent Le Coz
Implemented ANONYMOUS authentication on the ClientXMPP class. To use it, you just need to provide a domain (e.g 'anon.example.com') with an optional resource (e.g 'anon.example.com/resource') as the JID, with no password. The JID class has been improved to accept domains as fulljid. You can test this with echo_client.py python echo_client.py -j anon.louiz.org/ # anonymous with a resource # defined by the server python echo_client.py -j anon.louiz.org/resource # anonymous with given # resource The "normal" authentication method still works exactly like before.
2010-10-14fixed JID to accept server/domain/host as the sameNathan Fritz
2010-08-21added form compatibility with old api, stanzas now bool() to True on 2.x, ↵fritzy
jid attributes will return '' if not set
2010-08-04Updated and simplified new JID class to have more documentation and use PEP8 ↵Lance Stout
style.
2010-07-26updated and moved jid class -- jids now have settersNathan Fritz