summaryrefslogtreecommitdiff
path: root/sleekxmpp/basexmpp.py
AgeCommit message (Collapse)Author
2010-11-06Logging no longer uses root logger.Lance Stout
Each module should now log into its own logger.
2010-10-25Fixed bug in presence subscription handling.Lance Stout
Subscription requests and responses were not setting the correct 'to' attribute.
2010-10-24Fixed got_offline triggering bug.Lance Stout
2010-10-21presence no longer replies when exception is caught and tweaks to presence ↵Nathan Fritz
events
2010-10-20when disconnected, reset the rosterNathan Fritz
2010-10-17Underscore 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-17Import plugins from string referenced modules.Lance Stout
2010-10-16Cleanup, restore PEP8.Lance Stout
2010-10-17Remove deprecation warningsFlorent Le Coz
Remove all the deprecation warnings by using only boundjid. And also fix a indentation error.
2010-10-14deprecated jid, fulljid, server, user, resource properties and added ↵Nathan Fritz
boundjid JID
2010-10-07Removed debug log statement.Lance Stout
2010-10-06Made first pass at cleaning up ClientXMPP.Lance Stout
Added self.stream_ns to BaseXMPP. Moved connected/disconnected events and logging to XMLStream.
2010-10-06Made a first pass at cleaning up ComponentXMPP.Lance Stout
2010-10-01Made first pass at cleaning BaseXMPP.Lance Stout
Have not intregrated the new JID class yet.
2010-10-01Moved event functions to XMLStream.Lance Stout
This is just a transplant, modifying event to use the main event queue has not been implemented yet.
2010-10-01Moved add_handler, send, and sendXML to XMLStream.Lance Stout
2010-10-01Moved getNewId and getId to XMLStream.Lance Stout
This prepares the way for moving add_handler to XMLStream. Since stanzas, matchers, and handlers in any XML stream will typically use unique IDs, XMLStream is a good place for these methods.
2010-08-27Updated the suite of handler classes with documentation.Lance Stout
Updated XMLStream to return True or False from removeHandler to indicate if the handler existed and was removed. Waiter handlers now unregister themselves after timing out.
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-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-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-19Condensed all of the stanzaPlugin functions into a single ↵Lance Stout
registerStanzaPlugin function. Updated plugins and tests to use new function.
2010-06-06Modified basexmpp.event() to pass a copy of the event data to each handler.Lance Stout
2010-06-01Make sure that the id parameter used in xmpp.makeIq is converted to a string.Lance stout
Otherwise, SleekXMPP will barf on trying to serialize an integer when it expects text.
2010-05-26plugins now are checked for post_init having ran when process() is calledNathan Fritz
2010-05-25Added a flag to registerPlugin to control calling the plugin's post_init method.Lance Stout
2010-05-21Added del_event_handler to remove handler functions for a given event.Lance Stout
All registered handlers for the event which use the given function will be removed. Using this method allows agents to reconfigure their behaviour on the fly without needing to add extra state information to event handling functions.
2010-05-12added test for unsolicided unavailable presence and fixed bug to make it passNathan Fritz
2010-05-11refactored presence tracking and fixed jidInRoomNathan Fritz
2010-04-18changed_status event now happens with got_offline/got_online eventsNathan Fritz
2010-04-07fixed html-im stanza pluginNathan Fritz
2010-04-07added missing docstrings to tests and added deprecated warning to ↵Nathan Fritz
basexmpp.send when using xml mask waiting
2010-04-07replaced usage of deprecated iq result on send. Fixed old send result to use ↵Nathan Fritz
stanzas instead of ElementTree
2010-03-26changed license to MITsleek-0.9RC10.9RC1Nathan Fritz
2010-03-26added memleak test and attempted to fix presence leakNathan Fritz
2010-02-27fixed some presence bugsNathan Fritz
2010-02-25fixed some unicode problems for 2.6Nathan Fritz
2010-02-15tweaked presence handlerNathan Fritz
2010-01-27fixed status change issueNathan Fritz
2010-01-08* python 2.6 compatibilityNathan Fritz
2010-01-05* major stanza improvementsNathan Fritz
* raise XMPPError in handler to reply with error stanza * started work on pubsub stanzas
2009-12-17* fixed many stanza bugsNathan 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)
2009-12-15makeMessage and makePresence now use new stanza classesNathan Fritz
fixed component usage of stanzas
2009-12-11* started converstion to stanza objectsNathan Fritz
2009-12-10tweaked stanzas for easy useNathan Fritz
2009-12-10* added proper message and iq stanzas. presence left to doNathan Fritz
2009-11-11* clean up offline contactsNathan Fritz
2009-09-25bugfixesNathan Fritz