summaryrefslogtreecommitdiff
path: root/sleekxmpp
AgeCommit message (Collapse)Author
2010-06-07Needed to use copy.deepcopy() to copy XML objects to make sure that the ↵Lance Stout
entire tree is copied.
2010-06-06Modified basexmpp.event() to pass a copy of the event data to each handler.Lance Stout
2010-06-06Added a __copy__ method to both ElementBase and StanzaBase.Lance Stout
Stanzas may now be copied using copy.copy(), which will be useful to prevent stanza objects from being shared between event handlers.
2010-06-03Modified xmlstream.py to pass a clean stanza object to each stream handler.Lance Stout
The previous version passed the same stanza object to each registered handler, which can cause issues when the stanza object is modified by one handler. The next handler receives the stanza with the modifications, not the original stanza.
2010-06-02Return result of iq.send() for disco requests. Events are still triggered, ↵Lance Stout
but now the caller can determine if there was a timeout.
2010-06-02Merge branch 'develop' of git://github.com/fritzy/SleekXMPP into developLance Stout
2010-06-01Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2010-06-01hack fix for session before bindNathan Fritz
2010-06-01if binding and session are advertised in the same go, do session firstNathan Fritz
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-06-01Added additional parameter to xep_0030's getInfo and getItems methods.Lance stout
By using dfrom, a server component may send disco requests using any of its JIDS.
2010-05-31included jobs pluginNathan Fritz
2010-05-31Make sure that the node is alway set in disco responses.Lance stout
2010-05-31Merge branch 'xep_0085' into developLance stout
2010-05-31Added 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.
2010-05-31Scheduler waits too longer, and pubsubstate registration was backwardsNathan Fritz
2010-05-31Added missing 'internal-server-error' condition to error stanza interface.Lance stout
2010-05-31Touched up the style of creating an Iq stanza.Lance stout
2010-05-31Added 'resource-constraint' to the list of error conditions.Lance stout
2010-05-31Updated the XEP-0030 plugin to work with stanza objects instead of ↵Lance Stout
manipulating XML directly. Four new events have been added: disco_info - A disco#info result has been received disco_info_request - A disco#info request has been received disco_items - A disco#items result has been received disco_items_request - A disco#items request has been received For disco_info_request and disco_items_request two default handlers are registered. These handlers will only run if they are the only handler for these two events so that multiple responses are not returned and cause errors. In your own handlers for these two events, you can call the default handlers to preserve the static node behaviour as so: self.plugin['xep_0030'].handle_disco_info(iq, True) The forwarded=True will disable the check for other registered handlers. Agents can now dynamically respond to disco requests by using these events. (cherry picked from commit 0fc3381492a8bd75e6a9858539a972334881d8ff)
2010-05-28control-c fixesNathan Fritz
2010-05-27added pubsub state stanzas and scheduled eventsNathan Fritz
2010-05-26adding schedulerNathan Fritz
2010-05-26fixed dns unicode problemNathan Fritz
2010-05-26plugins now are checked for post_init having ran when process() is calledNathan Fritz
2010-05-26Fixed error registering a plugin. To add a feature to another plugin, it ↵Hernan E Grecco
should look into xmpp.plugin dict
2010-05-24Merge branch 'master' of git@github.com:fritzy/SleekXMPPNathan Fritz
2010-05-24updated README, index fix for componentNathan Fritz
2010-05-25Added a flag to registerPlugin to control calling the plugin's post_init method.Lance Stout
2010-05-25Modified 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-25Added the error attribute 'code' to the Error object interface.Lance Stout
2010-05-24added plugin indexing to componentsNathan Fritz
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-12fixed a rather large memory leakNathan Fritz
2010-05-11refactored presence tracking and fixed jidInRoomNathan Fritz
2010-04-23pubsub test workNathan Fritz
2010-04-22bugfixes and continuing to work on pubsub testsNathan Fritz
2010-04-21added pubsub#event stanzas, multi-subtypes iterable stanzas, pubsub#event ↵Nathan Fritz
test coverage
2010-04-20started work on pubsub#event stanzasNathan Fritz
2010-04-19added pubsub tests and fixed match on iterator errorNathan Fritz
2010-04-18changed_status event now happens with got_offline/got_online eventsNathan Fritz
2010-04-14adding tests, fixed stanzapath matching to match keys, fixed pubsub#owner ↵Nathan Fritz
stanzas
2010-04-13bugfix for .disconnect() hangingNathan Fritz
2010-04-13bugfix for .disconnect() hangingNathan Fritz
2010-04-08fixed presence stanza. priority can be set.Matthias Rieber
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