Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-17 | Make tests pass for catching exceptions. | Lance Stout | |
May now use sys.excepthook to catch exceptions from threaded handlers. | |||
2010-12-17 | RootStanza raises unexpected exceptions | Florent Le Coz | |
We now raise the unexpected exceptions instead of sending them on the network. - avoids flood (sending a traceback on a MUC, for example…) and maybe some security issues. - lets you handle the traceback (catch it to handle it properly, or with except_hook, etc) - an exception cannot be raised without you knowing | |||
2010-12-07 | Actually make the Iq callbacks work for real. | Lance Stout | |
2010-12-07 | Added option for iq.send to accept a callhandler. | Lance Stout | |
The callback will be a stream level handler, and will not execute in its own thread. If you must have a thread, have the callback function raise a custom event, which can be processed by another event handler, which may run in an individual thread, like so: def handle_reply(self, iq): self.event('custom_event', iq) def do_long_operation_in_thread(self, iq): ... self.add_event_handler('custom_event', self.do_long_operation_in_thread) ...take out already prepared iq stanza... iq.send(callback=self.handle_reply) | |||
2010-11-17 | Fix RESPONSE_TIMEOUT dependency loops. | Lance Stout | |
2010-11-06 | Logging no longer uses root logger. | Lance Stout | |
Each module should now log into its own logger. | |||
2010-10-21 | presence no longer replies when exception is caught and tweaks to presence ↵ | Nathan Fritz | |
events | |||
2010-10-17 | Underscore names by default. | Lance Stout | |
Stanza objects now accept the use of underscored names. The CamelCase versions are still available for backwards compatibility, but are discouraged. The property stanza.values now maps to the old getStanzaValues and setStanzaValues, in addition to _set_stanza_values and _get_stanza_values. | |||
2010-10-16 | Cleanup, restore PEP8. | Lance Stout | |
2010-10-17 | Fix the error on non-number priority | Florent Le Coz | |
The priority is not a number: we consider it 0 as a default | |||
2010-10-07 | Corrected test errors. | Lance Stout | |
There was a bug in the XML compare method. | |||
2010-10-06 | More PEP8 compliance cleanups. | Lance Stout | |
Cleaned up the atom entry stanza. | |||
2010-08-11 | Updated roster stanza with docs and PEP8 style. | Lance Stout | |
2010-08-03 | Update nick stanza with documentation and PEP8 style. | 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-30 | Added optional default value to _getAttr. | 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 | Updated error stanza to be PEP8 compliant and include documentation. | Lance Stout | |
2010-07-29 | Fixed some PEP8 errors in RootStanza (trailing whitespace and line length) | Lance Stout | |
2010-07-28 | Updated RootStanza to use registerStanzaPlugin, and be PEP8 compliant. | Lance Stout | |
2010-07-26 | Replaced traceback calls to use logging.exception where applicable. | Lance Stout | |
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 presence stanza to include a 'show' interface. Presence stanza tests ↵ | Lance Stout | |
updated accordingly. | |||
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-19 | Fixed 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-06-02 | added very, very, very basic atom stanza | Nathan Fritz | |
2010-05-31 | Added missing 'internal-server-error' condition to error stanza interface. | Lance stout | |
2010-05-31 | Added 'resource-constraint' to the list of error conditions. | Lance stout | |
2010-05-25 | Modified the return values for several methods so that they can be chained. | Lance Stout | |
For example: iq.reply().error().setPayload(something.xml).send() | |||
2010-05-25 | Added the error attribute 'code' to the Error object interface. | Lance Stout | |
2010-05-12 | fixed a rather large memory leak | Nathan Fritz | |
2010-04-22 | bugfixes and continuing to work on pubsub tests | Nathan Fritz | |
2010-04-14 | adding tests, fixed stanzapath matching to match keys, fixed pubsub#owner ↵ | Nathan Fritz | |
stanzas | |||
2010-04-08 | fixed presence stanza. priority can be set. | Matthias Rieber | |
2010-04-07 | fixed html-im stanza plugin | Nathan Fritz | |
2010-03-26 | changed license to MITsleek-0.9RC10.9RC1 | Nathan Fritz | |
2010-03-26 | fixed bug #16 Roster not updating | Nathan Fritz | |
2010-02-27 | fixed some presence bugs | Nathan Fritz | |
2010-02-15 | got rid of stupid iq set/get/error/result methods | Nathan Fritz | |
2010-01-23 | fixed presence['type'] w/ show value bug and added test to prove | Nathan Fritz | |
2010-01-20 | unhandled iq's should only respond to errors when type=get/set | Nathan Fritz | |
2010-01-08 | muc message stanza enhancements | Nathan Fritz | |
2010-01-08 | * added tests | Nathan Fritz | |
2010-01-08 | * added first stanza tests | Nathan Fritz | |
* added stanza.keys() * stanza.getValues() now return substanzas and plugins * stanza.setValues() now can read substanzas and plugins * stanzas can now be iterable if stanza.subitem is set to a class | |||
2010-01-05 | * major stanza improvements | Nathan Fritz | |
* raise XMPPError in handler to reply with error stanza * started work on pubsub stanzas | |||
2009-12-22 | * fixed unhandled iqs | Nathan Fritz | |
2009-12-17 | * fixed many stanza bugs | Nathan Fritz | |
* added stanza unhandled (unhandled iqs now reply with feature-not-implemented) * added stanza exceptions (stanzas may now reply with exceptions when their handler raises an exception) |