summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-26Update test to reflect change in reply() method that removes the from attribute.Lance Stout
2010-07-26Merge branch 'experimental' of git@github.com:fritzy/SleekXMPP into experimentalNathan Fritz
2010-07-26removed jid from stanzabase to external fileNathan Fritz
2010-07-26updated and moved jid class -- jids now have settersNathan Fritz
2010-07-26Replaced traceback calls to use logging.exception where applicable.Lance Stout
2010-07-26Merge branch 'experimental' of github.com:fritzy/SleekXMPP into experimentalLance Stout
2010-07-26Add StateManager as replacement for StateMachine.Lance Stout
2010-07-26Fix shebang line for testall.pyLance Stout
2010-07-23Fix shebang line for testall.pyLance Stout
2010-07-23Fix shebang lines to use #!/usr/bin/env python instead of hard coding a ↵Lance Stout
python version.
2010-07-20Issue 26. Only set from address in reply() for componentsJoe Hildebrand
2010-07-20Modified example to take JID and password on command lineJoe Hildebrand
2010-07-20fixed resource binding element to conform to specNathan Fritz
2010-07-20don't send resource in bind request if you don't have oneNathan Fritz
2010-07-20Upated xep_0045 to use old_0004 for now.Lance Stout
2010-07-20Updated xep_0050 to use old_0004 for now.Lance Stout
2010-07-20Update test_events to use SleekTest to make everything consistent.Lance Stout
2010-07-20Updated pubsub stanzas to use xep_0004 stanza objects, and updated tests to ↵Lance Stout
match.
2010-07-20Lots of XEP-0004 bug fixes.Lance Stout
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
2010-07-20Please tab nanny.Lance Stout
2010-07-20Updated license notices to use the correct MIT format. Also corrected ↵Lance Stout
references to nonexistant license.txt to LICENSE.
2010-07-20Updated message stanza tests.Lance Stout
2010-07-20Update XEP-0128 to use new xep_0004Lance Stout
2010-07-20Updated presence stanza to include a 'show' interface. Presence stanza tests ↵Lance Stout
updated accordingly.
2010-07-19Updated SleekTest to implement the checkPresence method.Lance Stout
Also, removed unnecessary TestStream class and shortened timeout during stream connection.
2010-07-19Removed outdated MANIFEST file. Setuptools will generate a new one when needed.Lance Stout
2010-07-19more set/get Values changesNathan Fritz
2010-07-19updated sleektest to use new stanza get/set values apiNathan Fritz
2010-07-19Can now pass a name to add_handler so that the handler can be reliably ↵Lance Stout
removed later. Updated uses of add_handler to include a name.
2010-07-19stanza should not have setValues/getValues because that conflicts with ↵Nathan Fritz
attribute accessors
2010-07-19indent problem on stanzabaseNathan Fritz
2010-07-19added fromXML/getXML compatiblity to the new xep-0004 w/ deprecated warningsNathan Fritz
2010-07-19made Lance's new XEP-4 stanzas the default, and put xep-0004 as old_0004Nathan Fritz
2010-07-19Condensed all of the stanzaPlugin functions into a single ↵Lance Stout
registerStanzaPlugin function. Updated plugins and tests to use new function.
2010-07-19Added implementation for XEP-0128 Service Discovery Extensions.Lance Stout
Uses the alt_0004 plugin for jabber:x:data stanza objects.
2010-07-19Fixed error in updateRoster when the name keyword parameter is left out.Lance Stout
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.
2010-07-19Merge branch 'develop' of git://github.com/fritzy/SleekXMPP into developLance Stout
2010-07-15accidental debugging return left in the code from last commitNathan Fritz
2010-07-15fixed updateRoster and delRosterItemNathan Fritz
2010-07-14Updated SleekTest to be able to simulate and test interactions with an XML ↵Lance Stout
stream.
2010-07-14Added initial stanza object version of the xep_0004 plugin. Items/reported ↵Lance Stout
elements still need to be unit tested
2010-07-11Reworked the Gmail notification plugin to use stanza objects and expose more ↵Lance Stout
information.
2010-07-11Fixed tabs to please tab nanny.Lance Stout
2010-06-27Refactored unit tests for XEP-0030, XEP-0033, and XEP-0085 to use the new ↵Lance Stout
SleekTest class.
2010-06-27Fixed indentation to please tab nanny during unit tests.Lance Stout
2010-06-27Added a new SleekTest class that provides useful methods for test cases.Lance Stout
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.
2010-06-27Fixed several errors in xep_0033 plugin.Lance Stout
The method getAddresses was removing addresses by mistake. Several instances of using self.attrib instead of self.xml.attrib.
2010-06-27Fixed error in setState() method.Lance Stout
2010-06-27Fixed typoLance Stout
2010-06-27Fixed tab and spacing issue to please the Tab Nanny during unit tests.Lance Stout