summaryrefslogtreecommitdiff
path: root/sleekxmpp
AgeCommit message (Collapse)Author
2010-08-25Updated 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-24Fixed indenting issue.Lance Stout
2010-08-24Updated 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-24Updated 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-22fixed a but in stanza_pubsubfritzy
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-19Merge branch 'develop' of git@github.com:fritzy/SleekXMPP into developNathan Fritz
2010-08-19added some xep-0004 compatibility changesNathan Fritz
2010-08-19Updated ElementBase methods _getAttr, _setAttr, and _delAttr with docs and ↵Lance Stout
tests.
2010-08-19Small cleanup in ElementBase.__setitem__Lance Stout
2010-08-19Updated ElementBase.__delitem__ and added unit tests.Lance Stout
2010-08-19fixed todo mergeNathan Fritz
2010-08-19fixed jobsNathan Fritz
2010-08-19Updated ElementBase.__setitem__ and added unit tests.Lance Stout
2010-08-13Updated ElementBase.__getitem__ with docs and unit tests.Lance Stout
2010-08-13Updated getStanzaValues and setStanzaValues with docs and unit tests.Lance Stout
2010-08-13Updated ElementBase.enable and ElementBase.initPluginLance Stout
2010-08-13Updated ElementBase.setup, and added unit tests.Lance Stout
2010-08-13Updated ElementBase.__init__Lance Stout
2010-08-13Adjust first level indenting in ElementBase to prepare for cleanup.Lance Stout
2010-08-13Updated registerStanzaPlugin and the XML test type.Lance Stout
2010-08-12Cleaned stanzabase imports.Lance Stout
2010-08-11Updated roster stanza with docs and PEP8 style.Lance Stout
2010-08-11Updated sleekxmpp.exceptions with PEP8 style and docs.Lance Stout
2010-08-05Updated the use of tostring in xmlstream.pyLance Stout
Now uses the xmlns and stream parameters to reduce the number of extra xmlns attributes used in the logging output. Added self.default_ns to XMLStream just to be safe.
2010-08-05Update tostring docs to clarify what the xmlns and stanza_ns parameters do.Lance Stout
2010-08-05Replaced the ToString class with a tostring function.Lance Stout
The sleekxmpp.xmlstream.tostring and sleekxmpp.xmlstream.tostring26 packages have been merged to sleekxmpp.xmlstream.tostring. The __init__.py file will import the appropriate tostring function depending on the Python version. The setup.py file has been updated with the package changes. ElementBase is now a direct descendent of object and does not subclass ToString. Stanza objects now return their XML contents for __repr__.
2010-08-04Modified sleekxmpp.xmlstream.tostring to import ToString class based on ↵Lance Stout
Python version. The package sleekxmpp.xmlstream.tostring26 remains for now until stanzabase is updated, but is no longer needed.
2010-08-04Updated and simplified new JID class to have more documentation and use PEP8 ↵Lance Stout
style.
2010-08-03Update nick stanza with documentation and PEP8 style.Lance Stout
2010-08-03Updated XHTML-IM stanza with documentation and PEP8 style.Lance Stout
2010-08-03Updated presence stanza with documentation and PEP8 style.Lance Stout
2010-08-03Updated message stanzas and tests with documentation and PEP8 style.Lance Stout
2010-07-30Added optional default value to _getAttr.Lance Stout
2010-07-29Updated, cleaned, and documented Iq stanza class. Also added unit tests.Lance Stout
2010-07-29Added unit tests for error stanzas. Corrected error in deleting conditions.Lance Stout
2010-07-29Added useful imports to the xmlstream, xmlstream.handler, and ↵Lance Stout
xmlstream.matcher __init__.py files to make it simpler to import common classes.
2010-07-29Added RESPONSE_TIMEOUT constant to sleekxmpp.xmlstream to serve as a single ↵Lance Stout
place to specify a default timeout value when waiting for a stanza response.
2010-07-29Updated error stanza to be PEP8 compliant and include documentation.Lance Stout
2010-07-29Modified ElementBase _getSubText, _setSubText, and _delSubText toLance Stout
use the namespace in a tag name if one is given and to use self.namespace otherwise.
2010-07-29Fixed some PEP8 errors in RootStanza (trailing whitespace and line length)Lance Stout
2010-07-28Updated RootStanza to use registerStanzaPlugin, and be PEP8 compliant.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-26Add StateManager as replacement for StateMachine.Lance 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-20fixed resource binding element to conform to specNathan Fritz