Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
python version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
match.
|
|
Forms have default type of 'form'
setFields now uses a list of tuples instead of a dictionary because ordering is important.
getFields defaults to returning a list of tuples, but the use_dict parameter can change that
|
|
|
|
references to nonexistant license.txt to LICENSE.
|
|
|
|
|
|
updated accordingly.
|
|
Also, removed unnecessary TestStream class and shortened timeout during stream connection.
|
|
|
|
|
|
|
|
removed later.
Updated uses of add_handler to include a name.
|
|
attribute accessors
|
|
|
|
|
|
|
|
registerStanzaPlugin function.
Updated plugins and tests to use new function.
|
|
Uses the alt_0004 plugin for jabber:x:data stanza objects.
|
|
The Roster stanza object builds item elements manually, and did not handle the
case where the name attribute is set to None, which would crash SleekXMPP.
|
|
|
|
|
|
|
|
stream.
|
|
elements still need to be unit tested
|
|
information.
|
|
|
|
SleekTest class.
|
|
|
|
Can now use: (where self is a SleekTest instance)
self.stanzaPlugin(stanza, plugin)
self.Message() \
self.Iq() > Just like basexmpp.Message(), etc.
self.Presence() /
self.checkMessage(msg, xmlstring)
self.checkIq(iq, xmlstring)
self.checkPresence(pres, xmlstring) <- Not implemented yet, but stub is there.
The check* methods also accept a use_values keyword argument that defaults to True.
When this value is True, an additional test is executed by creating a stanza using
getValues() and setValues(). Since some stanza objects can override these two methods,
disabling this test is sometimes required.
|
|
The method getAddresses was removing addresses by mistake.
Several instances of using self.attrib instead of self.xml.attrib.
|
|
|
|
|
|
|