summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
AgeCommit message (Collapse)Author
2011-08-31Fix requesting pubsub node configuration, and add tests.Lance Stout
- <default /> doesn't have a type attribute in the XEP - <configure /> isn't used anymore for requesting default configuration
2011-08-31Added pubsub error stanza.Lance Stout
iq['error']['pubsub']['condition'] iq['error']['pubsub']['unsupported']
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-30fixed form accessors in pubsub stanzasNathan Fritz
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-30fixed test further... but now I have an out of order problemNathan Fritz
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2011-08-30added publish-options elementNathan Fritz
2011-08-30Get/set pubsub subscription options.Lance Stout
2011-08-30Test and fix XEP-0060 delete_node()Lance Stout
2011-08-30Fix typoLance Stout
2011-08-29Finish up all major actions in the current XEP-0060.Lance Stout
Still need tests and docs.
2011-08-29Stub out missing functionality for pubsubLance Stout
2011-08-26The ifrom parameter doesn't need special treatment.Lance Stout
2011-08-26Add docs + extended Iq send arguments to pubsub methods.Lance Stout
2011-08-26Fix typos in XEP-0060, start of docs and tests.Lance Stout
2011-08-17Update plugins that use Iq stanzas to work with new exceptions.Lance Stout
2011-08-17Return '' instead of None from form fields with no values.Lance Stout
2011-08-13Add form.field back in for backwards compatibility.Lance Stout
2011-08-13Add tests for setting a form's type to 'submit' or 'cancel'.Lance Stout
Form fields now remember their current type if the type is deleted. This allows for fields to properly format their values if set after the form has been changed to the 'submit' type.
2011-08-13Update XEP-0050 to use new IQ exceptions.Lance Stout
IqError is now caught and forwarded to the command error handler referenced in the session. Errors are now caught and processed by the session's error handler whether or not the results Iq stanza includes the <command> substanza. Added the option for blocking command calls. The blocking option is set during start_command with block=True. Subsequent command flow methods use session['block'] to determine their blocking behaviour. If you use blocking commands, then you will need to wrap your command calls in a try/except block for IqTimeout exceptions.
2011-08-12Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2011-08-12fixed indenting and merged in exceptions branchNathan Fritz
2011-08-12updated pubsub plugin to use stanzasNathan Fritz
2011-08-11Reorganize XEP-0004.Lance Stout
Changes: May now use underscored method names form.field is replaced by form['fields'] form.get_fields no longer accepts use_dict parameter, it always returns an OrderedDict now form.set_fields will accept either an OrderedDict, or a list of (var, dict) tuples as before. Setting the form type to 'submit' will remove extra meta data from the form fields, leaving just the 'var' and 'value' Setting the form type to 'cancel' will remove all fields.
2011-08-10Don't include ping stanza in the ping result.Lance Stout
2011-08-06Fix XEP-0078 using the new stream feature workflow.Lance Stout
Honestly, this is mainly just a demo/proof of concept that we can handle dependencies and ordering issues with stream features. DON'T use XEP-0078 if you are able to use the normal SASL method, which should be the case unless you are dealing with a very old XMPP server implementation.
2011-08-04Cosmetic PEP8 fixes.Lance Stout
2011-08-04Fix Python3 issue with dict.has_key()Lance Stout
2011-08-04Fix imports using __all__.Lance Stout
2011-08-04Actually, we can work around needing dateutil.Lance Stout
If dateutil is present, we'll use that. If not, we'll use some regexes from the fixed_datetime module.
2011-08-04Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-04Fix imports for xep_0060Lance Stout
2011-08-04Sadly, dateutil is not actually part of the standard lib.Lance Stout
Thus, using the XEP-0082 and XEP-0202 introduces a dependency on the dateutil package (installable using pip install python-dateutil). Maybe we'll be able to rework how these plugins work to avoid needing dateutil, but for now this will have to do.
2011-08-03the great xep_0060 re-organization in preperation for rewriteNathan Fritz
2011-08-03Merge branch 'stream_features' into developLance Stout
2011-08-03started transition to xep_0060 rewriteNathan Fritz
2011-08-03Merge branch 'develop' into stream_featuresLance Stout
2011-07-05Added support for custom OOB transfer handlers.Lance Stout
Accepting download requests can be done using: self['xep_0066'].register_url_handler(handler=self.oob_download) # Add jid=... to specify a handler for a particular JID for a # componenent. def oob_download(self, iq): if iq['from'] not in self.custom_oob_whitelist: raise XMPPError('not-authorized') try: data = urllib2.urlopen(iq['oob_transfer']['url']) file = open('oob_download', 'w+') file.write(data.read()) file.close() data.close() except: raise XMPPError('item-not-found')
2011-07-03Add logging to XEP-0066.Lance Stout
2011-07-03Added XEP-0224 Attention plugin.Lance Stout
2011-07-03Update version number to beta6.Lance Stout
XEP-0092 now uses sleekxmpp.__version__ as a default version number.
2011-07-03Let XEP-0202 specify the local timezone offset in the config.Lance Stout
2011-07-03Updated XEP-0202 plugin to new format and use XEP-0082.Lance Stout
2011-07-03Fix some bugs in time handling.Lance Stout
Namely, minutes and seconds were reversed.
2011-07-03Added XEP-0203 Delayed Delivery plugin.Lance Stout
2011-07-03Added XEP-0082 plugin.Lance Stout
This should make things much easier for any stanza that uses timestamps.
2011-07-03Merge branch 'develop' into stream_featuresLance Stout
2011-07-03Added XEP-0066: Out-of-Band DataLance Stout