summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
AgeCommit message (Collapse)Author
2010-10-17Default history is 0Florent Le Coz
2010-10-17MUC leave message and MUC history requestFlorent Le Coz
It is now possible to ask for "any number of history stanzas" when joining a muc (with history=None). Also we use "maxchars" when asking NO history ("0") since it's a MUST in the XEP. And you can specify a message when leaving a MUC.
2010-10-14fixed socket name collision in xmlstream.py and fixed python 3.x compatibilityNathan Fritz
2010-10-01Fixed typo in XEP-0033 plugin.Lance Stout
2010-09-23added room events for specific rooms, added buildForm to xep_0004 pluginNathan Fritz
2010-08-31xep-0004 merge should deal with dictionariesfritzy
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-19added some xep-0004 compatibility changesNathan Fritz
2010-08-19fixed todo mergeNathan Fritz
2010-08-19fixed jobsNathan Fritz
2010-07-26Replaced traceback calls to use logging.exception where applicable.Lance Stout
2010-07-20Upated xep_0045 to use old_0004 for now.Lance Stout
2010-07-20Updated xep_0050 to use old_0004 for now.Lance Stout
2010-07-20Updated pubsub stanzas to use xep_0004 stanza objects, and updated tests to ↵Lance Stout
match.
2010-07-20Lots 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-20Updated license notices to use the correct MIT format. Also corrected ↵Lance Stout
references to nonexistant license.txt to LICENSE.
2010-07-20Update XEP-0128 to use new xep_0004Lance Stout
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-19added fromXML/getXML compatiblity to the new xep-0004 w/ deprecated warningsNathan Fritz
2010-07-19made Lance's new XEP-4 stanzas the default, and put xep-0004 as old_0004Nathan Fritz
2010-07-19Condensed all of the stanzaPlugin functions into a single ↵Lance Stout
registerStanzaPlugin function. Updated plugins and tests to use new function.
2010-07-19Added implementation for XEP-0128 Service Discovery Extensions.Lance Stout
Uses the alt_0004 plugin for jabber:x:data stanza objects.
2010-07-14Added initial stanza object version of the xep_0004 plugin. Items/reported ↵Lance Stout
elements still need to be unit tested
2010-07-11Reworked the Gmail notification plugin to use stanza objects and expose more ↵Lance Stout
information.
2010-07-11Fixed tabs to please tab nanny.Lance Stout
2010-06-27Fixed indentation to please tab nanny during unit tests.Lance Stout
2010-06-27Fixed several errors in xep_0033 plugin.Lance Stout
The method getAddresses was removing addresses by mistake. Several instances of using self.attrib instead of self.xml.attrib.
2010-06-27Fixed error in setState() method.Lance Stout
2010-06-27Fixed typoLance Stout
2010-06-27Fixed tab and spacing issue to please the Tab Nanny during unit tests.Lance Stout
2010-06-22Added plugin and tests for XEP-0033, Extended Stanza Addresses.Lance Stout
XEP-0033 can be useful for interacting with XMPP<->Email gateways.
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-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-31Touched up the style of creating an Iq stanza.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-27added pubsub state stanzas and scheduled eventsNathan 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-24updated README, index fix for componentNathan 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