Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-26 | Added unit test for _fix_ns for handling namespaces with forward slashes. | Lance Stout | |
2010-08-26 | Finished the update of ElementBase with docs and unit tests. | Lance Stout | |
Corrected bugs in equality comparisons between stanzas. | |||
2010-08-25 | Fixed ElementBase.match to respect namespaces. | Lance Stout | |
2010-08-25 | Updated ElementBase.match and added unit tests. | Lance Stout | |
2010-08-25 | Updated ElementBase._delSub and added unit tests. | Lance Stout | |
_delSub can now accept a path and will optionally remove any empty parent elements after deleting the target elements. | |||
2010-08-24 | Updated ElementBase._setSubText and added unit tests. | Lance Stout | |
_setSubText can now handle elements specified by an XPath expression, and will build up the element tree as needed, reusing an existing elements in the path. | |||
2010-08-24 | Updated ElementBase._getSubText and added unit tests. | Lance Stout | |
Also added ElementBase._fix_ns() to apply the stanza namespace to elements that don't have a namespace. | |||
2010-08-22 | fixed a but in stanza_pubsub | fritzy | |
2010-08-19 | Updated ElementBase methods _getAttr, _setAttr, and _delAttr with docs and ↵ | Lance Stout | |
tests. | |||
2010-08-19 | Updated ElementBase.__delitem__ and added unit tests. | Lance Stout | |
2010-08-19 | Updated ElementBase.__setitem__ and added unit tests. | Lance Stout | |
2010-08-13 | Updated ElementBase.__getitem__ with docs and unit tests. | Lance Stout | |
2010-08-13 | Updated getStanzaValues and setStanzaValues with docs and unit tests. | Lance Stout | |
2010-08-13 | Updated ElementBase.setup, and added unit tests. | Lance Stout | |
2010-08-13 | Added a generic checkStanza method to SleekTest. Updated the other check ↵ | Lance Stout | |
methods to use it. | |||
2010-08-12 | Removed unused xmlcompare.py. | Lance Stout | |
2010-08-12 | Updated SleekTest with docs and PEP8 style. | Lance Stout | |
2010-08-11 | Updated roster stanza with docs and PEP8 style. | Lance Stout | |
2010-08-11 | Updated SleekTest.streamClose to check that the stream was actually started ↵ | Lance Stout | |
before closing it. Updated tests for Iq stanzas to not start a stream for every test; tests now run a lot faster. The call to streamClose must still be in the tearDown method to ensure it is called in the case of an error. | |||
2010-08-06 | Updated SleekTest to use the new tostring function instead of ET.tostring | Lance Stout | |
2010-08-05 | Add unit tests for the tostring function. | Lance Stout | |
2010-08-05 | Updated tests to use a relative import for SleekTest to please Python3. | Lance Stout | |
Fixed some tabs/spaces issues. | |||
2010-08-03 | Update nick stanza with documentation and PEP8 style. | Lance Stout | |
2010-08-03 | Fix whitespace issues, and make some debugging statements clearer. | Lance Stout | |
2010-08-03 | Updated XHTML-IM stanza with documentation and PEP8 style. | Lance Stout | |
2010-08-03 | Updated presence stanza with documentation and PEP8 style. | Lance Stout | |
2010-08-03 | Updated message stanzas and tests with documentation and PEP8 style. | Lance Stout | |
2010-07-29 | Updated, cleaned, and documented Iq stanza class. Also added unit tests. | Lance Stout | |
2010-07-29 | Added unit tests for error stanzas. Corrected error in deleting conditions. | Lance Stout | |
2010-07-29 | Remove extra debugging lines and speed up stream testing in SleekTest. | Lance Stout | |
2010-07-26 | Update test to reflect change in reply() method that removes the from attribute. | Lance Stout | |
2010-07-26 | updated and moved jid class -- jids now have setters | Nathan Fritz | |
2010-07-20 | Update test_events to use SleekTest to make everything consistent. | Lance Stout | |
2010-07-20 | Updated pubsub stanzas to use xep_0004 stanza objects, and updated tests to ↵ | Lance Stout | |
match. | |||
2010-07-20 | Lots 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-20 | Updated license notices to use the correct MIT format. Also corrected ↵ | Lance Stout | |
references to nonexistant license.txt to LICENSE. | |||
2010-07-20 | Updated message stanza tests. | Lance Stout | |
2010-07-20 | Updated presence stanza to include a 'show' interface. Presence stanza tests ↵ | Lance Stout | |
updated accordingly. | |||
2010-07-19 | Updated SleekTest to implement the checkPresence method. | Lance Stout | |
Also, removed unnecessary TestStream class and shortened timeout during stream connection. | |||
2010-07-19 | more set/get Values changes | Nathan Fritz | |
2010-07-19 | updated sleektest to use new stanza get/set values api | Nathan Fritz | |
2010-07-19 | Condensed all of the stanzaPlugin functions into a single ↵ | Lance Stout | |
registerStanzaPlugin function. Updated plugins and tests to use new function. | |||
2010-07-14 | Updated SleekTest to be able to simulate and test interactions with an XML ↵ | Lance Stout | |
stream. | |||
2010-07-14 | Added initial stanza object version of the xep_0004 plugin. Items/reported ↵ | Lance Stout | |
elements still need to be unit tested | |||
2010-07-11 | Reworked the Gmail notification plugin to use stanza objects and expose more ↵ | Lance Stout | |
information. | |||
2010-06-27 | Refactored unit tests for XEP-0030, XEP-0033, and XEP-0085 to use the new ↵ | Lance Stout | |
SleekTest class. | |||
2010-06-27 | Added 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-22 | Added plugin and tests for XEP-0033, Extended Stanza Addresses. | Lance Stout | |
XEP-0033 can be useful for interacting with XMPP<->Email gateways. | |||
2010-05-31 | Merge branch 'xep_0085' into develop | Lance stout | |
2010-05-31 | Added implementation and tests for XEP-0085 - Chat State Notifications. | Lance stout | |
Chat states may be set using: msg['chat_state'].active() msg['chat_state'].composing() msg['chat_state'].gone() msg['chat_state'].inactive() msg['chat_state'].paused() Checking a chat state can be done with either: msg['chat_state'].getState() msg['chat_state'].name When a message with a chat state is receieved, the following events may occur: chatstate_active chatstate_composing chatstate_gone chatstate_inactive chatstate_paused where the event data is the message stanza. Note that currently these events are also triggered for messages sent by SleekXMPP, not just those received. |